/* ============================================================
   Capcun Connect — Premium Marketing Website
   ============================================================ */

:root {
  --bg: #fafcfc;
  --bg-dark: #0b1a1e;
  --ink: #0f1f24;
  --ink-soft: #3a5058;
  --muted: #6b8891;
  --border: #e2ebe9;
  --border-light: #f0f5f4;
  --primary: #25D366;
  --primary-dark: #1BAA52;
  --primary-deeper: #128C40;
  --primary-light: #d5f5e3;
  --primary-glow: rgba(37, 211, 102, 0.15);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-orange: #f59e0b;
  --accent-teal: #14b8a6;
  --accent-red: #ef4444;
  --card: #ffffff;
  --card-hover: #f8fffe;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 25px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 252, 252, 0.75);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; gap: 20px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand-icon {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.brand-text {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
}
.brand-accent { color: var(--primary-dark); }

.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; transition: all var(--transition);
  border: 1px solid transparent; white-space: nowrap;
}
.nav-btn-outline {
  background: var(--primary-light); color: var(--primary-deeper);
  border-color: rgba(37, 211, 102, 0.2);
}
.nav-btn-outline:hover { background: rgba(37, 211, 102, 0.2); }
.nav-btn-ghost {
  color: var(--ink-soft);
}
.nav-btn-ghost:hover { color: var(--ink); background: var(--border-light); }
.nav-btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.nav-btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; transition: all var(--transition);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.7); color: var(--ink);
  border-color: var(--border); backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: #fff; border-color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-white {
  background: #fff; color: var(--primary-deeper);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-outline-white {
  border-color: rgba(255,255,255,0.4); color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-md); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: 140px 0 60px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(37,211,102,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(59,130,246,0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #f0f8f6 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%; opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.shape-1 {
  width: 400px; height: 400px; top: -100px; right: -50px;
  background: radial-gradient(circle, rgba(37,211,102,0.12) 0%, transparent 70%);
}
.shape-2 {
  width: 300px; height: 300px; bottom: -50px; left: -80px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  animation-delay: -7s;
}
.shape-3 {
  width: 200px; height: 200px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary-deeper);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid rgba(37, 211, 102, 0.2);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px; color: var(--ink-soft); max-width: 620px;
  margin: 0 auto 32px; line-height: 1.7;
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}

/* Hero Dashboard Preview */
.hero-dashboard {
  position: relative; z-index: 2;
  margin-top: 60px; perspective: 1200px;
}
.dash-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.02);
  transform: rotateX(2deg);
  transition: transform .6s ease;
}
.dash-window:hover { transform: rotateX(0deg); }

.dash-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(180deg, #f8fafa 0%, #f2f6f5 100%);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #ff5f56; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #27c93f; }
.dash-url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--muted);
  background: rgba(0,0,0,0.03); padding: 4px 16px;
  border-radius: 6px;
}

.dash-body { display: flex; min-height: 320px; }

.dash-sidebar {
  width: 180px; padding: 16px 10px;
  background: linear-gradient(180deg, #fafcfb 0%, #f5f8f7 100%);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 500; color: var(--muted);
  margin-bottom: 2px; transition: all var(--transition);
}
.dash-nav-item.active {
  background: var(--primary-light); color: var(--primary-deeper);
  font-weight: 600;
}
.dash-nav-item svg { opacity: 0.7; }
.dash-nav-item.active svg { opacity: 1; stroke: var(--primary-deeper); }

.dash-main { flex: 1; padding: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }

.stat-card {
  background: linear-gradient(135deg, #f8fffe 0%, #fafcfb 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.stat-label { font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--ink); margin: 4px 0 2px; letter-spacing: -0.02em; }
.stat-change { font-size: 11px; font-weight: 600; }
.stat-change.positive { color: var(--primary-dark); }

.dash-chart {
  background: linear-gradient(135deg, #f8fffe 0%, #fafcfb 100%);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px;
}
.chart-title { font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 16px; }
.chart-bars {
  display: flex; align-items: flex-end; gap: 12px; height: 100px;
}
.bar-group {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 6px; height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 8px; transition: height 1s ease;
}
.bar-group span { font-size: 10px; color: var(--muted); font-weight: 500; }

/* Floating notification cards */
.dash-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.dash-float-1 { top: 40px; left: -30px; }
.dash-float-2 { bottom: 60px; right: -20px; }
.float-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon.green { background: var(--primary); }
.float-icon.blue { background: var(--accent-blue); }
.float-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.float-sub { font-size: 11px; color: var(--muted); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: floatCard 5s ease-in-out infinite; }
.dash-float-2 { animation-delay: -2.5s; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-dark);
  padding: 48px 0;
  margin-top: 40px;
}
.stats-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.stat-block { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 900; color: var(--primary);
  letter-spacing: -0.02em;
}
.stat-desc { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.stat-divider {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center; max-width: 650px; margin: 0 auto 50px;
}
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary-deeper);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 16px;
  border: 1px solid rgba(37, 211, 102, 0.15);
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px; color: var(--muted); line-height: 1.6;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-section { padding: 100px 0 60px; }

.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-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.feature-card:hover {
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon-wrap.green { background: rgba(37,211,102,0.12); color: var(--primary-dark); }
.feature-icon-wrap.blue { background: rgba(59,130,246,0.1); color: var(--accent-blue); }
.feature-icon-wrap.purple { background: rgba(139,92,246,0.1); color: var(--accent-purple); }
.feature-icon-wrap.orange { background: rgba(245,158,11,0.1); color: var(--accent-orange); }
.feature-icon-wrap.teal { background: rgba(20,184,166,0.1); color: var(--accent-teal); }
.feature-icon-wrap.red { background: rgba(239,68,68,0.1); color: var(--accent-red); }

.feature-card h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em;
}
.feature-card > p {
  font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px;
}

.feature-list {
  list-style: none; padding: 0;
  display: grid; gap: 6px;
}
.feature-list li {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
  padding-left: 20px; position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary);
}

/* ============================================================
   WORKFLOW / HOW IT WORKS
   ============================================================ */
.workflow-section {
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(37,211,102,0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #f0f7f5 50%, var(--bg) 100%);
}
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 200px; max-width: 240px;
  text-align: center; padding: 0 12px;
}
.step-connector {
  display: flex; align-items: center;
  padding-top: 36px;
}
.step-number {
  font-size: 44px; font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.step-icon-wrap {
  width: 56px; height: 56px; margin: 16px auto;
  background: var(--card); border: 2px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.step-card:hover .step-icon-wrap {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-glow), var(--shadow-md);
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   AUTOMATION SHOWCASE
   ============================================================ */
.automation-showcase { padding: 100px 0; }
.auto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.auto-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.auto-content p {
  font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px;
}
.auto-features { display: grid; gap: 18px; }
.auto-feat {
  display: flex; gap: 14px; align-items: flex-start;
}
.auto-feat svg { flex-shrink: 0; margin-top: 2px; }
.auto-feat strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.auto-feat span { font-size: 13px; color: var(--muted); }

/* Flow diagram */
.auto-visual {
  display: flex; justify-content: center;
}
.flow-diagram {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8fffe 0%, #f5f9fa 100%);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.flow-node {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 18px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  max-width: 280px; text-align: left;
}
.flow-trigger { border-left: 3px solid var(--primary); }
.flow-action { border-left: 3px solid var(--accent-blue); }
.flow-condition { border-left: 3px solid var(--accent-orange); }
.flow-node.small { font-size: 11px; padding: 10px 14px; max-width: 220px; }
.flow-arrow { padding: 4px 0; }
.flow-branches { display: flex; gap: 20px; margin-top: 4px; }
.flow-branch {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.branch-label {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 999px;
}
.branch-label.yes { background: rgba(37,211,102,0.15); color: var(--primary-deeper); }
.branch-label.no { background: rgba(239,68,68,0.1); color: var(--accent-red); }

/* ============================================================
   USE CASES
   ============================================================ */
.use-cases-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0f7f5 0%, var(--bg) 100%);
}
.uc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.uc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.uc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,211,102,0.3);
}
.uc-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-light), #e8f8ef);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--primary-deeper);
}
.uc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.uc-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 60px 0 80px; }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2830 50%, #0b1e25 100%);
  border-radius: var(--radius-xl);
  padding: 70px 40px; text-align: center;
  box-shadow: var(--shadow-xl);
}
.cta-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,211,102,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.08) 0%, transparent 50%);
}
.cta-card h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; color: #fff; position: relative; z-index: 1;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.cta-card p {
  font-size: 17px; color: rgba(255,255,255,0.65); position: relative; z-index: 1;
  max-width: 550px; margin: 0 auto 30px;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 100px 0 80px; }
.faq-grid { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(37,211,102,0.3); }
.faq-item.active { box-shadow: var(--shadow-md); border-color: rgba(37,211,102,0.3); }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: none; border: none;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  text-align: left; font-family: var(--font);
  transition: all var(--transition);
}
.faq-question svg {
  flex-shrink: 0; transition: transform var(--transition); color: var(--muted);
}
.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark); padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-desc {
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin-top: 12px; max-width: 300px; line-height: 1.6;
}
.footer-links h4 {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.footer-links a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.5);
  padding: 4px 0; transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-contact a {
  word-break: break-word;
}

.footer-address {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

.site-footer .nav-brand { color: #fff; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-scroll] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-scroll].visible {
  opacity: 1; transform: translateY(0);
}

.animate-in {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s ease forwards;
}
.animate-in:nth-child(2) { animation-delay: .15s; }
.animate-in:nth-child(3) { animation-delay: .25s; }
.animate-in:nth-child(4) { animation-delay: .35s; }
.animate-in:nth-child(5) { animation-delay: .45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-grid { grid-template-columns: 1fr; gap: 40px; }
  .dash-float { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open,
  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--card);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .hero { padding: 110px 0 40px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }

  .features-grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .step-card { max-width: 300px; }

  .stats-grid { flex-direction: column; gap: 24px; }
  .stat-divider { width: 60px; height: 1px; }

  .dash-sidebar { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .cta-card { padding: 50px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .flow-branches { flex-direction: column; gap: 12px; }
}
