/* ══════════════════════════════════════════════════════════════
   LobbyPilot Landing Page — VDFU Corporate Design
   Primary: #0066B3 · Accent: #00A651 · BG: #F7F8FA
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066B3;
  --primary-dark: #004A82;
  --primary-light: #3D8FCC;
  --primary-10: rgba(0, 102, 179, 0.10);
  --primary-05: rgba(0, 102, 179, 0.05);
  --accent: #00A651;
  --accent-dark: #008A43;
  --accent-10: rgba(0, 166, 81, 0.10);
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --border: #E2E5EA;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max-width: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-10);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Header / Navbar ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.navbar-brand:hover { color: var(--text-primary); }

.navbar-logo {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-logo svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.navbar-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 12px rgba(0, 102, 179, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 102, 179, 0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-05);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-xs);
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-10);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Illustration */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 32px;
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-card-dot.red { background: #FF6B6B; }
.hero-card-dot.yellow { background: #FFD93D; }
.hero-card-dot.green { background: #6BCB77; }

.hero-card-line {
  height: 10px;
  background: var(--bg);
  border-radius: 5px;
  margin-bottom: 12px;
}
.hero-card-line:nth-child(2) { width: 100%; }
.hero-card-line:nth-child(3) { width: 85%; }
.hero-card-line:nth-child(4) { width: 92%; }
.hero-card-line:nth-child(5) { width: 70%; }

.hero-card-btn {
  margin-top: 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-xs);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.hero-float-badge.top-right {
  top: -16px;
  right: -16px;
  animation-delay: 0s;
}
.hero-float-badge.bottom-left {
  bottom: -16px;
  left: -16px;
  animation-delay: 3s;
}
.hero-float-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-icon.blue { background: var(--primary-10); }
.badge-icon.green { background: var(--accent-10); }
.badge-icon svg { width: 18px; height: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 32px rgba(0, 102, 179, 0.08);
  transform: translateY(-2px);
}
.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.blue {
  background: var(--primary-10);
  color: var(--primary);
}
.feature-icon.green {
  background: var(--accent-10);
  color: var(--accent);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How it works ─────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: white;
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-header .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.666% + 24px);
  right: calc(16.666% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.2;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.step:nth-child(1) .step-number {
  background: var(--primary-10);
  color: var(--primary);
}
.step:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--primary-10), var(--accent-10));
  color: var(--primary);
}
.step:nth-child(3) .step-number {
  background: var(--accent-10);
  color: var(--accent);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ── VDFU Section ─────────────────────────────────────────── */
.vdfu-section {
  padding: 100px 0;
}

.vdfu-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.vdfu-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.vdfu-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.vdfu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}
.vdfu-link:hover {
  gap: 10px;
}
.vdfu-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.vdfu-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vdfu-stat {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}
.vdfu-stat .stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.vdfu-stat .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-section {
  padding: 0 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background: var(--bg);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Legal Pages ──────────────────────────────────────────── */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vdfu-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  /* Mobile menu */
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps::before {
    display: none;
  }

  .vdfu-card {
    padding: 28px;
  }
  .vdfu-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .vdfu-highlights {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}