/* FixLinks AI — Minimal-Luxury Design System */
/* Fonts: DM Sans (headings) + Source Sans 3 (body) */
/* Primary: #6C3CE1 | Accent: #F59E0B | Dark: #0F172A */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,700;9..40,800&family=Source+Sans+3:wght@400;600&display=swap');

/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #6C3CE1;
  --primary-dk:    #5428C8;
  --primary-lt:    #EDE9FF;
  --accent:        #F59E0B;
  --accent-dk:     #D97706;
  --dark:          #0F172A;
  --dark-2:        #1E293B;
  --muted:         #64748B;
  --border:        #E2E8F0;
  --surface:       #FFFFFF;
  --bg:            #F8FAFC;
  --text:          #1E293B;
  --text-muted:    #64748B;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;

  --font-display:  'DM Sans', sans-serif;
  --font-body:     'Source Sans 3', sans-serif;

  --shadow-sm:     0 1px 3px rgba(108,60,225,0.08);
  --shadow-md:     0 4px 24px rgba(108,60,225,0.10);
  --shadow-lg:     0 8px 40px rgba(108,60,225,0.16);
  --shadow-xl:     0 20px 60px rgba(108,60,225,0.20);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --transition:    0.2s ease;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.nav-brand-name span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-lt);
  text-decoration: none;
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
  background: var(--primary-dk) !important;
  color: #fff !important;
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(108,60,225,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245,158,11,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,60,225,0.25);
  border: 1px solid rgba(108,60,225,0.4);
  color: #C4B5FD;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: #94A3B8;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #C4B5FD;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196,181,253,0.4);
  cursor: pointer;
  min-height: 48px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(196,181,253,0.1);
  border-color: rgba(196,181,253,0.7);
  color: #fff;
  text-decoration: none;
}

.hero-screenshot {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.browser-mockup {
  background: #1E293B;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.browser-bar {
  background: #2D3748;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #EF4444; }
.browser-dot:nth-child(2) { background: #F59E0B; }
.browser-dot:nth-child(3) { background: #10B981; }

.browser-url {
  flex: 1;
  background: #1A202C;
  border-radius: 4px;
  height: 24px;
  margin-left: 12px;
}

.browser-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.social-proof {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.proof-item strong {
  color: var(--dark);
  font-family: var(--font-display);
}

.stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: -1px;
}

.proof-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.section-center { text-align: center; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 96px 0;
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
  list-style: none;
  padding: 0;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-lt) 0%, var(--primary) 50%, var(--primary-lt) 100%);
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lt);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(108,60,225,0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   PRODUCT DEMO
   ============================================================ */
.demo {
  padding: 96px 0;
  background: var(--surface);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}

.demo-item figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  font-weight: 600;
}

.demo-item .browser-mockup {
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 96px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 2px;
}

.cross-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--border);
  margin-top: 2px;
}

.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-plan:hover {
  background: var(--primary-dk);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-plan.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-plan.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-lt);
}

.btn-plan.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-plan.btn-accent:hover {
  background: var(--accent-dk);
  color: var(--dark);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 96px 0;
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  min-height: 64px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg); }

.faq-question[aria-expanded="true"] {
  background: var(--primary-lt);
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer.open { display: block; }

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #1E1B4B 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(108,60,225,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.final-cta p {
  color: #94A3B8;
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto 36px;
}

.guarantee {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 12px;
}

.footer-brand-name span { color: var(--primary); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #F8FAFC;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-bottom a {
  color: #94A3B8;
  font-size: 13px;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-main {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 64px 24px;
}

.thankyou-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: pop-in 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.success-icon svg { color: #fff; width: 36px; height: 36px; }

.thankyou-card h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.thankyou-card > p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-item p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================================
   BILLING PAGE
   ============================================================ */
.billing-main {
  min-height: calc(100vh - 70px);
  background: var(--bg);
  padding: 64px 24px;
}

.billing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.billing-card h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.billing-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.billing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.billing-row:last-child { border-bottom: none; }

.billing-row dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.billing-row dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  font-family: var(--font-display);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
}

.status-active   { background: #D1FAE5; color: #065F46; }
.status-cancelled  { background: #FEE2E2; color: #991B1B; }
.status-cancelling { background: #FEF3C7; color: #92400E; }
.status-pending    { background: #FEF3C7; color: #92400E; }

.key-code {
  font-family: monospace;
  font-size: 13px;
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  word-break: break-all;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
  text-decoration: none;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid #10B981; }
.alert-error   { background: #FEE2E2; color: #991B1B; border-left: 4px solid #EF4444; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .nav-links { display: none; }
  .nav-cta-mobile {
    display: inline-flex;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    min-height: 44px;
    align-items: center;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .billing-card { padding: 24px 20px; }
  .thankyou-card { padding: 36px 24px; }
  .social-proof-inner { flex-direction: column; gap: 12px; }
  .proof-divider { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .success-icon { animation: none; }
}

/* ============================================================
   CONTENT PAGES — added for SEO content cluster
   (additive only; does not alter existing rules above)
   ============================================================ */

/* 4-column footer */
.footer-grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }

/* Breadcrumbs */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; padding: 0; margin: 0; font-size: 14px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: '\203A'; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Article hero */
.article-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0 44px; }
.article-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px); font-weight: 800;
  letter-spacing: -0.025em; max-width: 820px; margin-top: 18px; line-height: 1.15;
}
.article-lead { font-size: 19px; color: var(--text-muted); max-width: 760px; margin-top: 16px; line-height: 1.6; }
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-size: 14px; color: var(--text-muted); margin-top: 22px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Article body wrap */
.article-main, .page-main, .hub-main { padding: 56px 0 80px; background: var(--surface); }
.article-wrap { max-width: 760px; margin: 0 auto; }

/* Prose typography */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  font-size: clamp(23px, 3vw, 31px); font-weight: 800; letter-spacing: -0.02em;
  margin-top: 1.9em; margin-bottom: 0.15em; scroll-margin-top: 90px; color: var(--dark);
}
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 1.6em; color: var(--dark); }
.prose a {
  color: var(--primary); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(108,60,225,0.35);
}
.prose a:hover { text-decoration-color: var(--primary); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--primary); }
.prose strong { color: var(--dark); }
.prose blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-lt);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--dark);
}
.prose code {
  font-family: monospace; background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px; font-size: 0.9em;
}
.prose pre {
  background: var(--dark); color: #E2E8F0; padding: 18px 20px;
  border-radius: var(--radius-md); overflow: auto; font-size: 14px; line-height: 1.6;
}
.prose pre code { background: none; border: none; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius-md); border: 1px solid var(--border); }

/* Tables (comparison pages) */
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--primary-lt); color: var(--dark); font-family: var(--font-display); font-weight: 700; }
.prose tbody tr:nth-child(even) { background: var(--bg); }

/* Zero-click answer box */
.answer-box {
  background: var(--primary-lt); border: 1px solid rgba(108,60,225,0.25);
  border-radius: var(--radius-md); padding: 20px 24px;
}
.answer-box p { margin: 0; font-size: 17px; color: var(--dark); }
.answer-box p + p { margin-top: 0.6em; }

/* Inline CTA inside articles */
.inline-cta {
  margin-top: 2.5em; background: linear-gradient(135deg, var(--dark) 0%, #1E1B4B 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 36px 32px; text-align: center;
}
.inline-cta h2 { color: #F8FAFC; margin-top: 0; font-size: 24px; }
.inline-cta p { color: #94A3B8; margin: 10px 0 22px; }

/* Related links */
.related { margin-top: 3em; border-top: 1px solid var(--border); padding-top: 28px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; }
.related-list a {
  display: block; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; font-weight: 600; color: var(--dark); transition: all var(--transition);
}
.related-list a:hover { border-color: var(--primary); background: var(--primary-lt); color: var(--primary); text-decoration: none; }

/* Homepage resources section */
.resources { padding: 96px 0; background: var(--surface); }
.resource-card h3 { font-size: 17px; margin-bottom: 8px; }
.resource-card h3 a { color: var(--dark); }
.resource-card h3 a:hover { color: var(--primary); text-decoration: none; }
.resource-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-display); font-size: 14px; margin-top: 12px; }
.resources-more { text-align: center; margin-top: 40px; font-size: 16px; color: var(--text-muted); }

/* Hub + glossary card grids */
.hub-group { margin-top: 48px; }
.hub-group:first-of-type { margin-top: 32px; }
.hub-group > h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.01em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px; background: var(--surface); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(108,60,225,0.25); text-decoration: none; }
.hub-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--dark); }
.hub-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.hub-card .hub-card-cta { color: var(--primary); font-weight: 700; font-size: 13px; font-family: var(--font-display); margin-top: 12px; display: inline-block; }
.hub-card.featured { border-color: rgba(108,60,225,0.4); box-shadow: var(--shadow-sm); }

/* Content-page responsive */
@media (max-width: 1024px) {
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid-4 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
}