/* ===========================================
   FECdesk Design System
   =========================================== */

/* --- Design Tokens --- */
:root {
  --navy: #0F1B35;
  --navy-light: #1a2a4a;
  --navy-lighter: #243352;
  --blue: #2563EB;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --coral: #FF6B6B;
  --coral-light: #ff8a8a;
  --coral-dark: #e85d5d;
  --white: #FFFFFF;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #22c55e;
  --green-light: #dcfce7;
  --amber: #f59e0b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s 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: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--gray-600); }

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 5rem 0;
}

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
  transform: translateY(-1px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(255,107,107,0.3);
}

.btn-coral:hover {
  background: var(--coral-dark);
  box-shadow: 0 4px 12px rgba(255,107,107,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--blue);
  padding: 0.5rem 0;
}

.btn-ghost:hover {
  color: var(--blue-dark);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.btn:disabled, .btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.navbar-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 0.875rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: var(--navy);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-toggle button {
  padding: 0.25rem 0.625rem;
  color: var(--gray-500);
  transition: all var(--transition);
}

.lang-toggle button.active {
  background: var(--blue);
  color: var(--white);
}

.lang-toggle button:hover:not(.active) {
  color: var(--navy);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .navbar-links { display: none; }
  .navbar-actions .btn { display: none; }
  
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
  }
  
  .navbar-links.open a {
    font-size: 1.0625rem;
    padding: 0.25rem 0;
  }
  
  .navbar-links.open .mobile-cta {
    display: block;
  }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-icon.blue { background: rgba(37,99,235,0.1); }
.card-icon.coral { background: rgba(255,107,107,0.1); }
.card-icon.green { background: rgba(34,197,94,0.1); }
.card-icon.amber { background: rgba(245,158,11,0.1); }

/* --- Hero Section --- */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.06);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '\2728';
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}

.hero-mockup-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.mockup-dot:first-child { background: var(--coral); }
.mockup-dot:nth-child(2) { background: var(--amber); }
.mockup-dot:nth-child(3) { background: var(--green); }

.mockup-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.mockup-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-card .bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
}

.mockup-card .bar:first-child {
  width: 60%;
  background: var(--blue);
  opacity: 0.7;
}

.mockup-card .bar:nth-child(2) { width: 80%; }
.mockup-card .bar:nth-child(3) { width: 45%; }

@media (max-width: 768px) {
  .hero { padding: 6.5rem 0 3rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

/* --- Problem Section --- */
.problem-section {
  background: var(--gray-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.problem-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.problem-card h3 {
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

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

.feature-card {
  padding: 2rem;
}

.feature-card .feature-emoji {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  opacity: 0.2;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-grid::before { display: none; }
}

/* --- White-label Section --- */
.whitelabel-section {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.whitelabel-section h2 {
  color: var(--white);
}

.whitelabel-section .section-header p {
  color: rgba(255,255,255,0.6);
}

.whitelabel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.whitelabel-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}

.whitelabel-card:hover {
  background: rgba(255,255,255,0.1);
}

.whitelabel-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.whitelabel-mockup {
  aspect-ratio: 16/10;
  background: var(--navy-lighter);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.whitelabel-mockup-content {
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wm-sidebar {
  width: 25%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  position: absolute;
  left: 0;
  top: 0;
}

.wm-main {
  margin-left: 27%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 0.75rem;
}

.wm-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.wm-bar.short { width: 40%; }
.wm-bar.medium { width: 60%; }
.wm-bar.long { width: 85%; }
.wm-bar.accent { background: rgba(37,99,235,0.4); }

.whitelabel-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .whitelabel-grid { grid-template-columns: 1fr; }
}

/* --- Pricing Section --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.pricing-toggle span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-toggle span.active {
  color: var(--navy);
  font-weight: 600;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--gray-200);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-switch.active {
  background: var(--blue);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.toggle-switch.active::after {
  transform: translateX(22px);
}

.annual-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  border-radius: 0 0 2px 2px;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price .currency {
  font-size: 1.25rem;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-period {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

/* Addons */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.addon-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.addon-card h4 {
  margin-bottom: 0.25rem;
}

.addon-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.addon-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .addons-grid { grid-template-columns: 1fr; max-width: 380px; margin: 2.5rem auto 0; }
}

/* --- Partners Section --- */
.partners-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
  color: var(--white);
}

.partners-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.partners-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.partners-content > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.partner-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  list-style: none;
}

.partner-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
}

.partner-benefits li::before {
  content: '\2713';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.partners-content .btn {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}

.partners-content .btn:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gray-50);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
}

.cta-section > .container > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .navbar-logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

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

.footer-bottom .footer-love {
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* --- Auth Pages (Login/Signup) --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 2rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
}

.auth-card .navbar-logo {
  justify-content: center;
  margin-bottom: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--gray-500);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.venue-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.venue-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}

.venue-type-btn .vt-icon {
  font-size: 1.25rem;
}

.venue-type-btn:hover {
  border-color: var(--blue-light);
}

.venue-type-btn.selected {
  border-color: var(--blue);
  background: rgba(37,99,235,0.04);
  color: var(--blue);
}

@media (max-width: 480px) {
  .venue-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--gray-400);
  font-size: 0.8125rem;
}

.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.form-error {
  background: rgba(239,68,68,0.08);
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  background: rgba(34,197,94,0.08);
  color: #16a34a;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.auth-footer a {
  color: var(--blue);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.terms-text {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 1rem;
}

.terms-text a {
  color: var(--blue);
}

/* --- Pricing Page (detailed) --- */
.pricing-page-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 8rem 0 3rem;
  text-align: center;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 3rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--navy);
  position: sticky;
  top: 0;
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-xl) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-xl) 0 0;
}

.comparison-table tbody tr:hover {
  background: var(--gray-50);
}

.comparison-table .feature-name {
  font-weight: 500;
  color: var(--gray-700);
}

.comparison-table .check {
  color: var(--green);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table .dash {
  color: var(--gray-300);
}

.comparison-table .highlight-col {
  background: rgba(37,99,235,0.03);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Loading spinner --- */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

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

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.hidden { display: none; }
