/* ================================================================
   SkiptheAgent — Website Stylesheet
   21st.dev theme tokens + SkiptheAgent brand
   Font: Plus Jakarta Sans | Primary: Indigo | Dark: #0B1829
   ================================================================ */

/* ── Design Tokens (21st.dev theme) ─────────────────────────── */
:root {
  --card: #f5f5f4;
  --ring: #6366f1;
  --input: #d6d3d1;
  --muted: #e7e5e4;
  --accent: #eef2ff;
  --border: #d6d3d1;
  --radius: 1.25rem;
  --popover: #f5f5f4;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-deeper: #4338ca;
  --secondary: #d6d3d1;
  --background: #fafaf9;
  --foreground: #1e293b;
  --muted-foreground: #6b7280;
  --secondary-foreground: #4b5563;
  --card-foreground: #1e293b;
  --accent-foreground: #4338ca;
  --primary-foreground: #ffffff;
  --destructive: #ef4444;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  /* Brand-specific */
  --dark-bg: #0B1829;
  --dark-card: #142035;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #d97706;
  --warning-bg: #fef3c7;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.09), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-primary: 0 8px 24px rgba(99,102,241,0.30);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 110px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────────── */
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { line-height: 1.7; }

.gradient-text {
  background: linear-gradient(90deg, #c4b5fd, #818cf8, #6366f1, #a78bfa, #c4b5fd);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShimmer 4s linear infinite;
}
@keyframes gradientShimmer {
  0%   { background-position: 0%   50%; }
  100% { background-position: 300% 50%; }
}

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--dark-bg); }
.section-muted { background: var(--muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
  box-shadow: 0 12px 32px rgba(99,102,241,0.42);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--muted); border-color: var(--foreground); }

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.65); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}
.badge-primary { background: var(--accent); color: var(--primary); }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-amber { background: var(--warning-bg); color: var(--warning); }
.badge-indigo { background: var(--accent); color: var(--primary); }
.badge-white { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

/* ── Section Headers ─────────────────────────────────────────── */
.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 600px;
}
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250,250,249,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 -20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo { flex-shrink: 0; margin-right: -20px; }
.nav-logo img { height: 180px; width: 220px; object-fit: contain; border-radius: 16px; }

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

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--muted); color: var(--primary); }

.nav-coming-soon { color: var(--muted-foreground) !important; cursor: default; opacity: 0.75; }
.nav-coming-soon:hover { background: transparent !important; color: var(--muted-foreground) !important; }
.nav-soon-badge {
  display: inline-block;
  font-size: 0.425rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--primary);
  color: #fff;
  padding: 1px 6px;
  border-radius: 99px;
  vertical-align: middle;
  margin-left: 4px;
  position: relative;
  top: -1px;
}

/* Resources dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 2px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(25,28,30,0.13);
  padding: 6px;
  min-width: 180px;
  z-index: 200;
  border: 1px solid rgba(0,0,0,0.06);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--muted); color: var(--primary); }

/* Mobile nav section label */
.nav-mobile-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  padding: 10px 14px 4px;
  margin: 0;
}
.nav-mobile-sub { padding-left: 24px !important; font-size: 0.9rem; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border-radius: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(250,250,249,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px 24px;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { color: var(--foreground); }
.nav-mobile-actions { display: flex; gap: 10px; margin-top: 12px; }
.nav-mobile-actions .btn { flex: 1; justify-content: center; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(139,92,246,0.40) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 15%, rgba(59,130,246,0.28) 0%, transparent 48%),
    radial-gradient(ellipse at 65% 85%, rgba(236,72,153,0.20) 0%, transparent 45%),
    radial-gradient(ellipse at 35% 20%, rgba(99,102,241,0.22) 0%, transparent 45%);
  pointer-events: none;
  transform-origin: center center;
  animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { transform: scale(1)    rotate(0deg);   opacity: 1; }
  50%  { transform: scale(1.15) rotate(4deg);   opacity: 0.85; }
  100% { transform: scale(1.05) rotate(-3deg);  opacity: 1; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px 96px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #a5b4fc;
  width: fit-content;
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 0 60px rgba(99,102,241,0.35), 0 0 120px rgba(139,92,246,0.15);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-stars { color: #fbbf24; font-size: 0.9375rem; letter-spacing: 1px; }
.hero-proof-text { font-size: 0.875rem; color: rgba(255,255,255,0.50); }

/* App Mockup */
.hero-visual { display: flex; justify-content: center; align-items: flex-start; }

.app-mockup {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 40px rgba(99,102,241,0.20);
  position: relative;
  z-index: 2;
  animation: mockupGlow 4s ease-in-out infinite;
}
@keyframes mockupGlow {
  0%, 100% {
    box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06),
                inset 0 1px 0 rgba(255,255,255,0.12), 0 0 40px rgba(99,102,241,0.20);
  }
  50% {
    box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.10),
                inset 0 1px 0 rgba(255,255,255,0.12), 0 0 70px rgba(99,102,241,0.50),
                0 0 120px rgba(139,92,246,0.25);
  }
}

.mockup-bar {
  background: rgba(255,255,255,0.08);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mockup-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; border-radius: 0 0 20px 20px; }

.mockup-greeting { font-size: 0.8125rem; color: rgba(255,255,255,0.42); font-weight: 500; }

.mockup-metric {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mockup-metric-label { font-size: 0.8125rem; color: rgba(255,255,255,0.42); margin-top: 4px; }

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mockup-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mockup-stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 4px;
}
.mockup-stat-value { font-size: 1.125rem; font-weight: 700; color: #fff; }

.mockup-list { display: flex; flex-direction: column; gap: 8px; }
.mockup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
}
.mockup-dot-sm { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mockup-item-text { flex: 1; min-width: 0; }
.mockup-item-title { font-size: 0.8125rem; color: rgba(255,255,255,0.85); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-item-sub { font-size: 0.6875rem; color: rgba(255,255,255,0.38); }
.mockup-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hero CTA pulse glow */
.hero .btn-primary {
  animation: ctaPulse 3s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(99,102,241,0.6), 0 8px 24px rgba(99,102,241,0.4);
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0   rgba(99,102,241,0.5), 0 8px 24px rgba(99,102,241,0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(99,102,241,0),   0 8px 32px rgba(99,102,241,0.6); }
}

/* Vignette overlay */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(11,24,41,0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Floating particles */
.hero-particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0)   translateX(0)    scale(1);   opacity: inherit; }
  25%  { transform: translateY(-80px)  translateX(15px)  scale(1.2); }
  50%  { transform: translateY(-180px) translateX(-10px) scale(0.8); }
  75%  { transform: translateY(-280px) translateX(20px)  scale(1.1); }
  100% { transform: translateY(-400px) translateX(0)    scale(0.6); opacity: 0; }
}

/* Hero glassmorphism extras */
.hero-visual { position: relative; }

.hero-glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.45) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.75;
}
.hero-blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.65) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: blobDrift1 12s ease-in-out infinite;
}
.hero-blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.4) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: blobDrift2 15s ease-in-out infinite;
}
.hero-blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, transparent 70%);
  top: 40%; right: 10%;
  animation: blobDrift1 18s ease-in-out infinite reverse;
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-20px, 20px); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-30px, 20px); }
  66% { transform: translate(20px, -40px); }
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 9999px;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite;
}
.hero-chip--1 {
  top: 12%;
  right: -24px;
  animation-delay: 0s;
}
.hero-chip--2 {
  bottom: 18%;
  left: -24px;
  animation-delay: 1.5s;
}
.hero-chip--3 {
  bottom: 38%;
  right: -16px;
  animation-delay: 3s;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-chip-icon { font-size: 1rem; }
.hero-chip-body { display: flex; flex-direction: column; }
.hero-chip-val { font-size: 0.8125rem; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-chip-label { font-size: 0.7rem; color: rgba(255,255,255,0.60); line-height: 1.2; }

/* ── Stats Bar ───────────────────────────────────────────────── */
.stats-bar { background: #ffffff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; }

/* ── Steps / How it works ────────────────────────────────────── */
.steps-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.04);
  padding: 6px;
  border-radius: var(--radius);
  margin-bottom: 48px;
  overflow-x: auto;
}
.step-tab {
  flex: 1;
  min-width: 140px;
  padding: 13px 20px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border: none;
  font-family: var(--font-sans);
}
.step-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

.step-panel { display: none; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.step-panel.active { display: grid; }

.step-number {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step-title { margin-bottom: 14px; }
.step-desc { font-size: 1.0625rem; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 28px; }

.step-features { display: flex; flex-direction: column; gap: 14px; }
.step-feature { display: flex; align-items: flex-start; gap: 12px; }
.step-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}
.step-feature-title { font-size: 0.9375rem; font-weight: 600; color: var(--foreground); margin-bottom: 2px; }
.step-feature-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.55; }

.step-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
}
.step-visual-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.visual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--muted);
  border-radius: 10px;
}
.visual-item-icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.visual-item-title { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.visual-item-sub { font-size: 0.8125rem; color: var(--muted-foreground); }
.visual-item-badge { margin-left: auto; flex-shrink: 0; }

/* ── Features Grid ───────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); border-color: rgba(99,102,241,0.3); }

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 16px;
}
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.6; }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 9999px;
}

/* ── Benefit Cards ───────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.benefit-icon { font-size: 2rem; margin-bottom: 16px; }
.benefit-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.benefit-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.benefit-desc { font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pricing-toggle-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.pricing-toggle-label.active { color: var(--foreground); }

.toggle-track {
  position: relative;
  width: 52px;
  height: 28px;
  background: #cbd5e1;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.toggle-track.annual { background: var(--primary); }
.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.25s ease;
}
.toggle-track.annual .toggle-thumb { left: 28px; }

.pricing-save-badge {
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08), var(--shadow-xl);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}
.pricing-plan-desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pricing-price-wrap { margin-bottom: 6px; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.pricing-currency { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.pricing-amount-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-period { font-size: 0.9375rem; color: var(--muted-foreground); }
.pricing-sub { font-size: 0.8125rem; color: var(--muted-foreground); margin-bottom: 24px; min-height: 18px; }

.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }

.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
}
.pricing-check-icon { color: var(--primary); flex-shrink: 0; margin-top: 1px; font-size: 1rem; }
.pricing-cta { width: 100%; justify-content: center; margin-top: auto; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-stars { color: #fbbf24; font-size: 0.9375rem; margin-bottom: 14px; letter-spacing: 1px; }
.testimonial-quote { font-size: 0.9375rem; color: var(--foreground); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.9375rem; font-weight: 700; }
.testimonial-location { font-size: 0.8125rem; color: var(--muted-foreground); }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(79,70,229,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 0.875rem; color: rgba(255,255,255,0.35); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: #141210; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo img { height: 36px; }
.footer-tagline { font-size: 0.9375rem; color: rgba(255,255,255,0.42); line-height: 1.65; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.48);
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover { background: rgba(99,102,241,0.25); color: #a5b4fc; }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.9375rem; color: rgba(255,255,255,0.42); transition: color 0.15s; }
.footer-link:hover { color: rgba(255,255,255,0.80); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copyright { font-size: 0.875rem; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.875rem; color: rgba(255,255,255,0.28); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.58); }

/* ── Modals ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,24,41,0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 6px 36px 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.28);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-card { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--muted);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
}
.modal-close:hover { background: var(--border); }

.modal-logo { display: flex; justify-content: center; margin-bottom: -6px; }
.modal-logo img { max-width: 240px; width: 100%; height: auto; display: block; border-radius: 16px; }

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-bg);
  text-align: center;
  margin-top: 2px;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.modal-subtitle { font-size: 0.9375rem; color: var(--muted-foreground); text-align: center; margin-bottom: 12px; }

.form-group { margin-bottom: 10px; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: #f5f5f4;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-input:focus { background: #fff; border-color: var(--primary); }
/* Darker than --muted-foreground — on long forms (many empty fields at
   once, e.g. the rental application) the lighter shade read as too
   faint against the #f5f5f4 input background. */
.form-input::placeholder { color: #4b5563; }
select.form-input:invalid,
select.form-input option[value=""] { color: #4b5563; }

.form-forgot { text-align: right; margin-top: -8px; margin-bottom: 6px; }
.form-forgot a { font-size: 0.8125rem; font-weight: 600; color: var(--primary); }

.form-divider { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.form-divider-line { flex: 1; height: 1px; background: var(--border); }
.form-divider-text { font-size: 0.8125rem; color: var(--muted-foreground); }

.btn-google {
  width: 100%;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  background: #fff;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-google:hover { background: var(--muted); border-color: var(--foreground); }
.google-g {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #4285f4;
}

.btn-full { width: 100%; justify-content: center; padding: 13px 20px; font-size: 0.9375rem; }

.modal-footer-link { text-align: center; margin-top: 10px; font-size: 0.9375rem; color: var(--muted-foreground); }
.modal-footer-link a { font-weight: 700; color: var(--primary); }

/* ── Plan Tabs (pricing page) ────────────────────────────────── */
.plan-tabs {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto 36px;
  background: #fff;
}

.plan-tab {
  flex: 1;
  padding: 18px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.4;
}
.plan-tab:last-child { border-right: none; }
.plan-tab:hover { background: var(--muted); color: var(--foreground); }
.plan-tab.active { background: var(--primary); color: #ffffff; }
.plan-tab .plan-tab-price {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 3px;
  opacity: 0.75;
}
.plan-tab.active .plan-tab-price { opacity: 0.85; }

.plan-panel { display: none; opacity: 0; }
.plan-panel.active { display: block; animation: planFadeIn 0.4s ease forwards; }
@keyframes planFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.two-col-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .two-col-cards { grid-template-columns: 1fr; }
}
.two-col-cards .plan-card { max-width: none; margin: 0; }

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .pricing-preview-grid { grid-template-columns: 1fr; max-width: 520px; }
}
.pricing-preview-grid .plan-card { max-width: none; margin: 0; }

.plan-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.plan-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.08), var(--shadow-xl); }

.plan-card-header { margin-bottom: 28px; }
.plan-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  margin-bottom: 6px;
}
.plan-card-desc { font-size: 1rem; color: var(--muted-foreground); line-height: 1.6; }

.plan-price-block { margin-bottom: 8px; }
.plan-price-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 4px;
}
.plan-price-row { display: flex; align-items: baseline; gap: 3px; }
.plan-price-currency { font-size: 1.375rem; font-weight: 700; color: var(--foreground); }
.plan-price-amount { font-size: 3.5rem; font-weight: 800; color: var(--foreground); letter-spacing: -0.04em; line-height: 1; }
.plan-price-period { font-size: 1rem; color: var(--muted-foreground); }
.plan-price-note { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 6px; margin-bottom: 28px; }

.plan-price-split {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--muted);
  border-radius: 12px;
  margin-bottom: 28px;
}
.plan-price-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-price-split-label { font-size: 0.9375rem; color: var(--muted-foreground); font-weight: 500; }
.plan-price-split-val { font-size: 1.25rem; font-weight: 800; color: var(--foreground); letter-spacing: -0.02em; }
.plan-price-split-sub { font-size: 0.8125rem; color: var(--muted-foreground); }

.plan-divider { height: 1px; background: var(--border); margin: 24px 0; }

.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; }
.plan-check { color: var(--primary); flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.plan-feat-label { color: var(--foreground); }

.plan-cta { width: 100%; justify-content: center; padding: 15px 20px; font-size: 1rem; }

/* ── Pricing Three-Column Grid ───────────────────────────────── */
.pricing-cards-section { background: var(--muted); }

.pricing-toggle-above {
  margin-bottom: 36px;
}

.pricing-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-col-card {
  max-width: none;
  margin: 0;
  padding: 32px;
  border-radius: 20px;
  position: relative;
}

.pricing-col-featured {
  border: 2px solid var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.10), 0 8px 32px rgba(25,28,30,0.10) !important;
}

.pricing-popular-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .pricing-three-col {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ── Pricing Page Hero ───────────────────────────────────────── */
.page-hero {
  background: var(--dark-bg);
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(99,102,241,0.15) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.page-hero-title { color: #fff; margin-bottom: 16px; }
.page-hero-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.58); margin-bottom: 0; max-width: 540px; margin: 0 auto; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  border: none;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--muted); }
.faq-chevron { font-size: 1.125rem; color: var(--muted-foreground); transition: transform 0.25s; flex-shrink: 0; }
.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;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ── Fade in animations ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 70ms; }
.fade-up:nth-child(3) { transition-delay: 140ms; }
.fade-up:nth-child(4) { transition-delay: 210ms; }
.fade-up:nth-child(5) { transition-delay: 280ms; }
.fade-up:nth-child(6) { transition-delay: 350ms; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; padding: 60px 24px 80px; }
  .hero-text { align-items: center; }
  .hero-subtitle { max-width: 540px; }
  .hero-proof { justify-content: center; }
  .hero-visual { order: -1; }
  .app-mockup { max-width: 340px; }
  .step-panel.active { grid-template-columns: 1fr; }
  .step-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-height: 150px; }
  .nav { overflow: visible; }
  .nav-container { justify-content: center; position: relative; padding: 0 60px; }
  .nav-logo { margin: 0 !important; flex-shrink: 0; }
  .nav-logo img { height: 140px !important; width: auto !important; object-fit: contain; }
  .nav-hamburger { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; }
  .nav-links, .nav-actions { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-card { padding: 6px 20px 16px; }
  .hero-actions { flex-direction: column; width: 100%; align-items: center; }

  /* How it works — mobile: wrap content in a card and make features scannable */
  .step-panel.active { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
  .step-row { display: flex !important; flex-direction: column !important; gap: 32px !important; align-items: stretch !important; }
  .step-row .step-visual { display: none; }
  .step-number { font-size: 0.75rem; margin-bottom: 6px; }
  .step-title { font-size: 1.5rem; margin-bottom: 10px; }
  .step-desc { font-size: 0.9375rem; margin-bottom: 20px; }
  .step-features { gap: 10px; }
  .step-feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    align-items: flex-start;
  }
  .step-check { width: 28px; height: 28px; font-size: 0.8125rem; flex-shrink: 0; margin-top: 0; }
  .step-feature-title { font-size: 0.9375rem; }
  .step-feature-desc { font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-tabs { gap: 4px; }
  .step-tab { font-size: 0.875rem; padding: 11px 14px; min-width: 0; }
}

/* ================================================================
   Listings Page — Additional Styles
   ================================================================ */

/* ── Listings Two-Column Layout ─────────────────────────────── */
.listings-section { padding-top: 48px; }

.listings-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.listings-main {
  min-width: 0;
}

/* ── Filter Sidebar ─────────────────────────────────────────── */
.listings-sidebar {
  position: sticky;
  top: 110px;
}

.filter-sidebar-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(25, 28, 30, 0.07);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filter-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.filter-search-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  background: var(--muted);
  outline: none;
  transition: border-color 0.15s;
}
.filter-input:focus {
  border-color: var(--primary);
  background: #ffffff;
}
.filter-input::placeholder { color: var(--muted-foreground); }

.filter-search-btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  font-size: 0.8125rem;
  border-radius: 9999px;
  line-height: 1;
}

.filter-select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  background: var(--muted);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.filter-select:focus { border-color: var(--primary); background-color: #ffffff; }

.filter-footer {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-result-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.filter-clear-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.filter-clear-link:hover { text-decoration: underline; }

/* ── Listings Grid ──────────────────────────────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.listing-empty {
  text-align: center;
  padding: 80px 24px;
}
.listing-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.listing-empty h3 { margin-bottom: 8px; }
.listing-empty p { color: var(--muted-foreground); margin-bottom: 24px; }

.listings-gst-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Listing Card ───────────────────────────────────────────── */
.listing-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.listing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.3);
}

.listing-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--muted);
}

.listing-card-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: var(--muted-foreground);
}

/* ── Listings Search & Filter Card ────────────────────────────
   Sits above the live listings grid. Filtering is entirely client-side
   in listings.js over the already-streaming Firestore listings — no
   new queries, no debounce needed at this scale. */

.listings-filter-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.listings-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.listings-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 140px;
  min-width: 120px;
}

.listings-filter-field label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.listings-filter-field input,
.listings-filter-field select {
  background: #f5f5f4;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.listings-filter-field input:focus,
.listings-filter-field select:focus {
  border-color: var(--primary);
  background: var(--background);
}

.listings-filter-location { flex: 2 1 200px; }
.listings-filter-price { flex: 1 1 100px; }

.listings-filter-actions { display: flex; }

.listings-filter-clear {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 10px 4px;
  cursor: pointer;
  white-space: nowrap;
}

.listings-filter-clear:hover { color: var(--foreground); }

.listings-result-count {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 10px;
  padding-left: 2px;
}

/* ── Leased Listing Treatment ─────────────────────────────────
   A `leased` listing (status set the instant a tenancy agreement is
   fully signed for that property, reset back to `active` when the
   tenancy ends) still shows up in the public feed rather than being
   filtered out — greyed out with a red ink-stamp across the photo,
   and Apply disabled (see detailApplyBtn handling in listings.js).
   Shared .leased-stamp-text/::before ring styling is reused by the
   larger .detail-leased-stamp below so the grid card and the detail
   modal read as the same visual treatment at two sizes. */
.listing-photo-frame {
  position: relative;
}

.listing-card-photo.is-leased {
  filter: grayscale(90%) brightness(0.82);
}

.listing-card.is-leased .listing-card-body {
  opacity: 0.82;
}

.listing-leased-stamp,
.detail-leased-stamp {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid rgba(220, 38, 38, 0.88);
  pointer-events: none;
}
.listing-leased-stamp::before,
.detail-leased-stamp::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 38, 38, 0.5);
}
.listing-leased-stamp-text,
.detail-leased-stamp-text {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(185, 28, 28, 0.92);
}

.listing-leased-stamp {
  top: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%) rotate(-16deg);
}
.listing-leased-stamp .listing-leased-stamp-text { font-size: 0.9375rem; }

.listing-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.listing-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.listing-type-badge {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}

.listing-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--muted);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}

.listing-address {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.35;
  margin: 0;
}

.listing-suburb {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.listing-price {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.listing-price-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.listing-available {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.listing-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.listing-view-link {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.15s;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
}
.listing-view-link:hover { background: var(--accent); }

/* ── Listing Detail Modal ───────────────────────────────────── */
.listing-detail-modal {
  align-items: flex-start;
  padding: 0;
}

.listing-detail-card {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 720px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  margin-left: auto;
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
  transform: translateX(40px);
  transition: transform 0.3s ease;
}
.listing-detail-modal.open .listing-detail-card { transform: translateX(0); }
.listing-detail-modal .modal-backdrop { cursor: pointer; }

.detail-gallery { position: relative; }
.detail-main-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.detail-main-photo.is-leased {
  filter: grayscale(90%) brightness(0.82);
}

/* Leased ink-stamp over the detail modal's main photo — see the shared
   .listing-leased-stamp rules above for the ring/text styling this
   reuses at a larger size. Positioned with a fixed top offset (half of
   .detail-main-photo's fixed 320px height) rather than top: 50%, since
   .detail-gallery's own height also includes .detail-photo-strip below
   the photo — percentage centering would drift the stamp downward
   whenever the strip is visible (2+ photos). */
.detail-leased-stamp {
  top: 160px;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%) rotate(-16deg);
  z-index: 2;
}
.detail-leased-stamp .detail-leased-stamp-text { font-size: 1.1875rem; }

/* Photo strip — thumbnail rail below the main detail photo, driven by
   renderDetailPhotoStrip() in assets/js/listings.js. Mirrors the
   .coverflow-slide transition style (opacity/transform) above rather than
   introducing a new visual language. */
.detail-photo-strip {
  display: flex;
  gap: 8px;
  padding: 12px 32px;
  overflow-x: auto;
  background: #ffffff;
}
.detail-strip-photo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.55;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.35s ease,
              box-shadow 0.35s ease;
}
.detail-strip-photo.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.detail-body { padding: 32px; }

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.detail-address {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.detail-suburb {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.detail-price-block { text-align: right; flex-shrink: 0; }
.detail-price-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-top: 2px;
}

.detail-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.detail-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--muted);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
}

.detail-available {
  font-size: 0.9375rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: var(--success-bg);
  border-radius: 10px;
  display: inline-block;
}

.detail-section { margin-bottom: 24px; }

.detail-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-top: 8px;
}

.detail-inspection {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.detail-inspection-time {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--muted);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.detail-apply-btn { flex: 1; justify-content: center; min-width: 180px; }
.detail-share-btn { flex-shrink: 0; }

/* ── Apply Modal ────────────────────────────────────────────── */
.apply-modal-card {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.apply-path-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 20px;
}

.apply-path-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--background);
}
.apply-path-option:hover { background: var(--muted); }
.apply-path-option.active {
  border-color: var(--primary);
  background: var(--accent);
}

.apply-path-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.apply-path-option.active .apply-path-radio {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.apply-path-title { font-size: 0.875rem; font-weight: 700; color: var(--foreground); }
.apply-path-desc { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 2px; }

/* ── Form Section Title ─────────────────────────────────────── */
.form-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.form-required { color: var(--destructive); }

/* ── NTD Consent Box ────────────────────────────────────────── */
.ntd-consent-box {
  background: rgba(99,102,241,0.06);
  border: 1.5px solid rgba(99,102,241,0.25);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.ntd-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

.ntd-consent-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

/* ── Apply Success State ────────────────────────────────────── */
.apply-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
}

.apply-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.apply-success-email {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 8px;
}

.apply-success-note {
  font-size: 0.8125rem;
  color: #b45309;
  background: #fef3c7;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  margin-top: 14px;
}

/* ── Multi-Applicant Apply Form ──────────────────────────────
   Applicant cards + job/rental reference rows are rendered by
   applicantCardHtml()/refRowHtml() in assets/js/listings.js — see
   openApplyModal / addApplicantCard / addRefRow. Kept visually
   consistent with .form-group/.form-input/.form-section-title
   above rather than introducing a parallel style. */
.applicant-card {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 18px 16px 4px;
  margin-bottom: 16px;
}

.applicant-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.applicant-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Chip-row selectors (smoking status, employment status) — pill options
   backed by a hidden input holding the selected value, so the rest of
   the form's read/validation logic (val(id)) works the same as any
   other field. */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip-option {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.15s;
}
.chip-option:hover { border-color: var(--foreground); }
.chip-option.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Job / rental reference rows — a repeatable mini-card inside each
   applicant card, 1 to 3 per list. */
.reference-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px 4px;
  margin-bottom: 10px;
}
.reference-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.reference-row-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

/* Small inline text-buttons for Add/Remove actions — same weight/size
   convention as .filter-clear-link elsewhere on this site. */
.form-inline-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}
.form-inline-link-btn:hover { text-decoration: underline; }
.form-inline-link-btn--remove { color: var(--destructive); }

.same-history-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 10px;
  cursor: pointer;
}

/* ── Listings Responsive ────────────────────────────────────── */
@media (max-width: 1200px) {
  .listings-layout { grid-template-columns: 1fr 280px; gap: 24px; }
}

@media (max-width: 900px) {
  /* Stack sidebar above the grid on smaller screens */
  .listings-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .listings-sidebar {
    position: static;
    order: -1; /* sidebar appears above the grid */
  }
  .listings-sidebar .filter-search-wrap { flex-direction: column; }
  .filter-search-btn { width: 100%; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .listing-grid { grid-template-columns: 1fr; }
  .apply-path-selector { grid-template-columns: 1fr; }
  .listing-detail-card { max-width: 100%; }
  .detail-header { flex-direction: column; }
  .detail-price-block { text-align: left; }
}

/* ── FAQ Floating Widget ─────────────────────────────────────── */
.faq-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 20px rgba(99,102,241,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s;
  color: #fff;
}
.faq-float-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 28px rgba(99,102,241,0.58);
}

.faq-panel {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 1000;
  width: 340px;
  max-height: 500px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.faq-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.faq-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 14px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.faq-header-title { font-size: 0.9rem; font-weight: 700; }
.faq-header-sub { font-size: 0.75rem; opacity: 0.82; margin-top: 2px; }
.faq-close-btn {
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.faq-close-btn:hover { background: rgba(255,255,255,0.3); }

.faq-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
}

.faq-q-list { display: flex; flex-direction: column; gap: 6px; }
.faq-q-btn {
  background: #f5f5f4;
  border: none;
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  line-height: 1.4;
  font-family: var(--font-sans);
}
.faq-q-btn:hover { background: var(--accent); color: var(--primary); }

.faq-ans-wrap { display: flex; flex-direction: column; gap: 10px; }
.faq-back-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  text-align: left;
  font-family: var(--font-sans);
}
.faq-ans-q {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
}
.faq-ans-text {
  background: var(--accent);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.855rem;
  line-height: 1.65;
  color: var(--foreground);
}
.faq-contact-link {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}
.faq-contact-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .faq-panel { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
  .faq-float-btn { right: 16px; bottom: 16px; }
}

/* ── About Section ── */
.about { padding: 96px 0; background: var(--background); }
.about-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.about-intro h2 { margin-bottom: 16px; }
.about-intro p { color: var(--muted-foreground); }
.about-intro ul { text-align: left; display: inline-block; margin-top: 16px; }

/* Coverflow */
.coverflow-wrap {
  perspective: 1400px;
  perspective-origin: 50% 50%;
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.coverflow-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.65s ease,
              box-shadow 0.65s ease;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  user-select: none;
}

/* Position states — set by JS via data-pos attribute.
   All transforms use identical function list (translateX translateY translateX translateZ rotateY scale)
   so CSS can interpolate smoothly between any two states. */
.coverflow-slide[data-pos="0"] {
  transform: translateX(-50%) translateY(-50%) translateX(0px)    translateZ(0px)    rotateY(0deg)   scale(1);
  z-index: 5;
  opacity: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 50px rgba(99,102,241,0.30);
}
.coverflow-slide[data-pos="-1"] {
  transform: translateX(-50%) translateY(-50%) translateX(-240px) translateZ(-160px) rotateY(42deg)  scale(0.88);
  z-index: 4;
  opacity: 0.72;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.coverflow-slide[data-pos="1"] {
  transform: translateX(-50%) translateY(-50%) translateX(240px)  translateZ(-160px) rotateY(-42deg) scale(0.88);
  z-index: 4;
  opacity: 0.72;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.coverflow-slide[data-pos="-2"] {
  transform: translateX(-50%) translateY(-50%) translateX(-430px) translateZ(-300px) rotateY(52deg)  scale(0.68);
  z-index: 3;
  opacity: 0.38;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.coverflow-slide[data-pos="2"] {
  transform: translateX(-50%) translateY(-50%) translateX(430px)  translateZ(-300px) rotateY(-52deg) scale(0.68);
  z-index: 3;
  opacity: 0.38;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Slide inner card */
.cf-screen {
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cf-bar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.cf-bar-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.02em;
}
.cf-body {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-metric {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.cf-metric-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.42);
  margin-top: -6px;
}
.cf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 10px;
}
.cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cf-badge {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  flex-shrink: 0;
}
.cf-badge.green  { background: rgba(34,197,94,0.18); color: #4ade80; }
.cf-badge.yellow { background: rgba(245,158,11,0.18); color: #fbbf24; }
.cf-badge.indigo { background: rgba(99,102,241,0.18); color: #a5b4fc; }
.cf-badge.purple { background: rgba(167,139,250,0.18); color: #c4b5fd; }
.cf-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Dot indicators */
.coverflow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.coverflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.coverflow-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}
