:root {
  --bg: #fafafa;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --text: #09090b;
  --text-muted: #52525b;
  --gray: #a1a1aa;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 1px solid var(--border);
  animation: nav-in 1s ease forwards;
}

@keyframes nav-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.logo-svg {
  height: 32px;
  width: auto;
}

.nav-left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 40px !important;
}

.nav-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
}

.nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 24px !important;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  color: var(--blue-light) !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: rgba(37, 99, 235, 0.4) !important;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-muted);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
  user-select: none;
}

.lang-toggle:hover {
  background: var(--bg);
  border-color: rgba(0, 0, 0, 0.12);
}

.lang-toggle .flag-icon,
.lang-option .flag-icon {
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
}

.lang-toggle .flag-icon {
  width: 20px;
  height: 14px;
}

.lang-option .flag-icon {
  width: 22px;
  height: 16px;
  border-radius: 3px;
}

.lang-toggle .flag-icon svg,
.lang-option .flag-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-toggle .chevron-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.lang-toggle .chevron-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-dropdown.open .lang-toggle .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown.open .lang-toggle {
  background: var(--bg-card);
  border-color: rgba(0, 0, 0, 0.12);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.lang-option:hover {
  background: var(--bg);
}

.lang-option.active {
  background: rgba(37, 99, 235, 0.06);
}

.lang-option.active::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.lang-option .lang-info {
  display: flex;
  flex-direction: column;
}

.lang-option .lang-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.lang-option .lang-code {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.2;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 40px;
  animation: fade-up 0.8s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
  animation: badge-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badge-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, #60a5fa 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: -0.2px;
  margin-bottom: 48px;
  animation: fade-up 0.8s ease 0.6s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Email form */
.email-form {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  animation: fade-up 0.8s ease 0.8s forwards;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.email-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.email-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 18px;
  letter-spacing: -0.2px;
  min-width: 0;
}

.email-form input::placeholder {
  color: var(--gray);
}

.email-form button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-form button .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.email-form button .btn-icon svg {
  width: 100%;
  height: 100%;
}

.email-form button:hover .btn-icon {
  transform: translateX(2px);
}

.email-form button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.email-form button:hover {
  background-color: var(--blue-light);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.email-form button:hover::before {
  opacity: 1;
}

.email-form button:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(37, 99, 235, 0.3);
}

/* Form states */
.email-form.success {
  border-color: rgba(34, 197, 94, 0.3);
}

.email-form.success button {
  background: #16a34a;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.email-form.error {
  border-color: rgba(239, 68, 68, 0.4);
}

.email-form.error button {
  background: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.email-form.loading button {
  pointer-events: none;
  opacity: 0.8;
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast */
.form-toast {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.form-toast.visible {
  opacity: 1;
}

.form-toast.toast-error {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.form-toast.toast-success {
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}


/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 40px 24px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 960px;
  width: 100%;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card {
  padding: 40px 32px;
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg);
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.feature-icon-box svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.feature-card:nth-child(1),
.feature-card:nth-child(4),
.feature-card:nth-child(6) {
  grid-column: span 2;
}

/* Bottom CTA */
.bottom-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 120px;
}

.bottom-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.bottom-cta p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 36px;
}

.bottom-cta .email-form {
  margin: 0 auto;
  opacity: 1;
  transform: none;
  animation: none;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}

footer .footer-links {
  display: flex;
  gap: 24px;
}

footer .footer-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--text);
}

/* Section label shared */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ========== How It Works ========== */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 60px 24px 100px;
  max-width: 820px;
  margin: 0 auto;
}

.hiw-header {
  margin-bottom: 64px;
}

.hiw-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  max-width: 500px;
}

.hiw-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Vertical line connecting steps */
.hiw-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--border) 0%, transparent 100%);
}

.hiw-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

.hiw-number {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hiw-card {
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  flex: 1;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hiw-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hiw-step--right .hiw-card {
  margin-left: 48px;
}

.hiw-icon {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hiw-icon svg {
  width: 100%;
  height: 100%;
}

.hiw-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.hiw-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== Before / After ========== */
.before-after {
  position: relative;
  z-index: 1;
  padding: 60px 24px 100px;
  text-align: center;
}

.ba-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 56px;
}

.ba-container {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.ba-panel {
  flex: 1;
  text-align: left;
}

.ba-panel-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 4px;
}

.ba-panel-tag--blue {
  color: var(--blue-light);
}

.ba-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
}

.ba-divider svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

/* Before - Notion mockup */
.ba-mock-notion {
  background: #f5f5f4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ba-notion-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.ba-notion-icon {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #000;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-notion-breadcrumb {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 400;
}

.ba-notion-content {
  padding: 20px 20px 24px;
}

.ba-notion-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.ba-notion-block {
  height: 10px;
  border-radius: 3px;
  background: #e5e7eb;
  margin-bottom: 8px;
}

.ba-notion-block.ba-text-block {
  width: 85%;
}

.ba-notion-block.ba-text-block.short {
  width: 55%;
  margin-bottom: 18px;
}

.ba-notion-table {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.ba-notion-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba-notion-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}

.ba-notion-table-row:last-child {
  border-bottom: none;
}

.ba-cell-text {
  height: 8px;
  background: #e5e7eb;
  border-radius: 3px;
  width: 75%;
}

.ba-cell-text.short {
  width: 50%;
}

.ba-cell-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
}

.ba-tag-done {
  background: #dcfce7;
  color: #15803d;
}

.ba-tag-progress {
  background: #dbeafe;
  color: #1d4ed8;
}

.ba-tag-todo {
  background: #f3f4f6;
  color: #6b7280;
}

/* After - Portal mockup */
.ba-mock-portal {
  display: flex;
  background: #101012;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 260px;
}

.ba-portal-sidebar {
  width: 52px;
  background: #18181b;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ba-portal-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue);
  margin-bottom: 12px;
}

.ba-portal-nav-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.ba-portal-nav-item.active {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ba-portal-main {
  flex: 1;
  padding: 18px 20px;
}

.ba-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ba-portal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.ba-portal-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--blue-light);
}

.ba-portal-metrics {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.ba-portal-metric {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ba-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.ba-metric-label {
  font-size: 10px;
  color: #a1a1aa;
  font-weight: 400;
}

.ba-portal-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-portal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.ba-pr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ba-pr-green { background: #22c55e; }
.ba-pr-blue { background: var(--blue-light); }
.ba-pr-gray { background: var(--gray); }

.ba-pr-text {
  height: 7px;
  width: 80px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.ba-pr-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.ba-pr-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
  transition: width 0.6s ease;
}

/* ========== FAQ ========== */
.faq {
  position: relative;
  z-index: 1;
  padding: 60px 24px 100px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
  z-index: 1;
}

.faq-question span:first-child {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-chevron svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 16px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .email-form {
    flex-direction: column;
    max-width: 400px;
  }

  .email-form input {
    width: 100%;
    text-align: center;
  }

  .email-form button {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(4),
  .feature-card:nth-child(6) {
    grid-column: span 1;
  }


  /* How it works mobile */
  .hiw-step--right .hiw-card {
    margin-left: 0;
  }

  .hiw-timeline::before {
    left: 23px;
  }

  .hiw-card {
    padding: 20px;
  }

  /* Before/After mobile */
  .ba-container {
    flex-direction: column;
    gap: 24px;
  }

  .ba-divider {
    width: auto;
    height: 40px;
    transform: rotate(90deg);
  }

  .ba-portal-metrics {
    flex-direction: column;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 16px 18px;
  }

  .faq-answer p {
    padding: 0 18px 16px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}