/* ============================================================
   Atelier — Main Stylesheet
   No Tailwind @apply (CDN doesn't support it) — pure CSS
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --color-primary:       #4f46e5;
  --color-primary-dark:  #4338ca;
  --color-primary-light: #eef2ff;
  --color-secondary:     #f59e0b;
  --color-bg:            #ffffff;
  --color-bg-alt:        #f9fafb;
  --color-text:          #1f2937;
  --color-text-muted:    #6b7280;
  --color-success:       #10b981;
  --color-error:         #ef4444;
  --color-border:        #e5e7eb;
  --sidebar-bg:          #1e1b4b;
  --radius-card:         1rem;
  --shadow-card:         0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-card-hover:   0 4px 12px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --nav-height:          72px;
  --transition-base:     200ms ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { color: var(--color-text-muted); line-height: 1.7; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-alt); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  min-height: 44px;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  border: 2px solid var(--color-primary);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  min-height: 44px;
}
.btn-secondary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  min-height: 44px;
}
.btn-white:hover {
  background: #f0f0ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  min-height: 44px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-1px);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-new {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-popular {
  background: var(--color-primary);
  color: #fff;
}
.badge-primary {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* ── Section Labels ──────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.nav-scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  transition: color var(--transition-base);
}
.nav-scrolled .nav-logo { color: var(--color-text); }

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-base);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-scrolled .nav-link { color: var(--color-text-muted); }
.nav-scrolled .nav-link:hover, .nav-scrolled .nav-link.active { color: var(--color-primary); }
.nav-scrolled .nav-link.active::after { background: var(--color-primary); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Hamburger ───────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition-base);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.nav-scrolled .hamburger:hover { background: var(--color-bg-alt); }

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease, background var(--transition-base);
}
.nav-scrolled .hamburger-line { background: var(--color-text); }

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Drawer ───────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-links {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 0.5rem;
  transition: background var(--transition-base), color var(--transition-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.mobile-nav-cta {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
  background-size: 300% 300%;
  animation: gradient-shift 8s ease infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-text { color: #fff; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title { color: #fff; margin-bottom: 1.25rem; }
.hero-title span { color: var(--color-secondary); }
.hero-subtitle { color: rgba(255,255,255,.8); font-size: 1.125rem; margin-bottom: 2rem; max-width: 480px; }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,.65); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Dashboard Mockup ─────────────────────────────────────────── */
.mockup-wrapper {
  animation: dashboard-float 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.35));
}

.mockup-browser {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.mockup-bar {
  background: #2d2b55;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-url {
  flex: 1;
  margin: 0 1rem;
  height: 20px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.05em;
}

.mockup-screen {
  display: flex;
  height: 340px;
}

.mockup-sidebar {
  width: 160px;
  background: var(--sidebar-bg);
  padding: 1rem 0.75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-brand {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  padding: 0.5rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 0.5rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,.6);
  transition: background var(--transition-base);
}
.sidebar-item.active {
  background: rgba(79,70,229,.5);
  color: #fff;
}
.sidebar-icon {
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 3px;
  opacity: 0.7;
  flex-shrink: 0;
}
.sidebar-item.active .sidebar-icon { opacity: 1; }

.mockup-content {
  flex: 1;
  background: #f8fafc;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e1b4b;
}

.mockup-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.mockup-stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 0.625rem;
  border: 1px solid #e5e7eb;
}

.mockup-stat-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  margin-bottom: 0.375rem;
}
.mockup-stat-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.125rem;
}
.mockup-stat-lbl { font-size: 0.5625rem; color: #9ca3af; }

.mockup-table {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.mockup-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.5625rem;
  color: #374151;
  align-items: center;
  animation: shimmer 2s ease-in-out infinite;
}
.mockup-row:last-child { border-bottom: none; }

.mockup-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 9999px;
  font-size: 0.5rem;
  font-weight: 600;
}
.status-active  { background: #d1fae5; color: #065f46; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-paid    { background: #dbeafe; color: #1e40af; }

/* ── Problem/Solution Section ────────────────────────────────── */
.problem-grid, .solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid #fee2e2;
  text-align: center;
}

.problem-icon {
  width: 56px;
  height: 56px;
  background: #fee2e2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.solution-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid #d1fae5;
  text-align: center;
}

.solution-icon {
  width: 56px;
  height: 56px;
  background: #d1fae5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ── Features Grid ────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* ── How It Works Timeline ─────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-border);
}

.timeline-progress {
  position: absolute;
  top: 28px;
  left: 12.5%;
  height: 2px;
  background: var(--color-primary);
  width: 0;
  transition: width 1.5s ease;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.timeline-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}
.timeline-step.active .timeline-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.timeline-step h4 { margin-bottom: 0.5rem; }
.timeline-step p { font-size: 0.875rem; }

/* ── Pricing Cards ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.pricing-card.popular {
  border: 2px solid var(--color-primary);
  box-shadow: 0 8px 32px rgba(79,70,229,.2);
  transform: scale(1.03);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-price {
  margin: 1rem 0;
}
.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.pricing-period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.pricing-features {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.check-icon, .cross-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
}
.check-icon { background: #d1fae5; color: #065f46; }
.cross-icon { background: #fee2e2; color: #991b1b; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.testimonials-track {
  display: flex;
  transition: transform 600ms ease;
}

.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-company { font-size: 0.8125rem; color: var(--color-text-muted); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition-base), transform var(--transition-base);
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--color-primary) 100%);
  padding: 5rem 0;
  text-align: center;
}

.newsletter-title { color: #fff; margin-bottom: 1rem; }
.newsletter-subtitle { color: rgba(255,255,255,.75); margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-base), background var(--transition-base);
  backdrop-filter: blur(8px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.15);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.5em;
}
.form-message.success { color: #6ee7b7; }
.form-message.error   { color: #fca5a5; }

/* ── CTA Section ──────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 6rem 0;
  text-align: center;
}
.cta-title { color: #fff; margin-bottom: 1rem; }
.cta-subtitle { color: rgba(255,255,255,.8); margin-bottom: 2.5rem; font-size: 1.125rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #0f0e1a;
  color: rgba(255,255,255,.65);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition-base);
}
.footer-link:hover { color: #fff; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── Feature Deep-Dive (features.html) ───────────────────────── */
.feature-section {
  padding: 5rem 0;
  overflow: hidden;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-screenshot {
  background: var(--color-bg-alt);
  border-radius: var(--radius-card);
  aspect-ratio: 16/10;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.feature-screenshot-inner {
  width: 90%;
  height: 85%;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.screenshot-header {
  height: 12px;
  background: var(--color-primary-light);
  border-radius: 4px;
  width: 60%;
}
.screenshot-row {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
}
.screenshot-row.short { width: 45%; }
.screenshot-row.med   { width: 70%; }
.screenshot-row.long  { width: 90%; }
.screenshot-highlight {
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary-light), #c7d2fe);
  border-radius: 6px;
  border-left: 3px solid var(--color-primary);
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.feature-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.benefit-check {
  width: 20px;
  height: 20px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Comparison Table ────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--sidebar-bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--color-text);
  font-weight: 500;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--color-bg-alt); }
.comparison-table .col-popular { background: var(--color-primary-light); }
.comparison-table th.col-popular { background: var(--color-primary); }

/* ── FAQ Accordion ─────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  gap: 1rem;
  min-height: 44px;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 300ms ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-item.open .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, padding 400ms ease;
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ── Toast Notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  animation: toast-in 300ms ease forwards;
  max-width: 320px;
}
.toast.success { background: #065f46; color: #fff; }
.toast.error   { background: #991b1b; color: #fff; }
.toast.hiding  { animation: toast-out 300ms ease forwards; }

@keyframes toast-in  { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

/* ── Demo Page ─────────────────────────────────────────────────── */
.calendly-wrapper {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 700px;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--sidebar-bg);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ── Section Header Utility ─────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.0625rem; }

/* ── Screen Reader Only ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Loading Spinner ─────────────────────────────────────────── */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
