/* ── Reset & tokens ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #e8821e;
  --primary-dark:  #c46a10;
  --primary-light: #fde8d2;
  --success:       #00c292;
  --warning:       #fec90f;
  --error:         #fc4b6c;
  --accent:        #38bdf8;
  --bg:            #ffffff;
  --surface:       #f4f7fb;
  --text:          #1a2035;
  --muted:         #6b7280;
  --border:        #e2e8f0;
  --dark:          #080d1a;
  --dark-surface:  #0f1629;
  --dark-border:   rgba(255,255,255,.08);
  --mono:          'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --card-shadow:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --radius:        10px;
  --radius-lg:     16px;
  --font:          'DM Sans', sans-serif;
}

html, body { height: 100%; font-family: var(--font); font-size: 16px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; }
p { line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white; border: none;
  border-radius: 8px; padding: 12px 28px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(219,117,33,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 8px;
  padding: 10px 26px; font-family: var(--font); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s; text-decoration: none;
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-size: 16px; font-weight: 600;
  color: var(--text); border-radius: 8px;
  transition: background .15s; text-decoration: none;
}
.btn-ghost:hover { background: var(--surface); }

/* ── Labels & typography helpers ────────────────────────────────── */
.section-label {
  display: inline-block; background: rgba(219,117,33,.1); color: var(--primary);
  border-radius: 100px; padding: 4px 14px; font-size: 13px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.navbar.scrolled { border-color: var(--border); box-shadow: 0 1px 8px rgba(0,0,0,.07); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

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

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links .nav-cta { margin-left: 8px; }
.nav-demo-link {
  color: var(--primary) !important; font-weight: 600 !important;
  border: 1.5px solid var(--primary-light); border-radius: 8px;
  background: var(--primary-light);
}
.nav-demo-link:hover { background: var(--primary) !important; color: white !important; border-color: var(--primary) !important; }
.nav-links .nav-cta a { padding: 10px 20px; font-size: 15px; }

.btn-login {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--text);
  border: 1.5px solid var(--border);
  transition: border-color .15s, color .15s;
  text-decoration: none;
}
.btn-login:hover { border-color: var(--primary); color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: white; flex-direction: column; align-items: stretch;
    padding: 16px 24px 24px; border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,.1); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 8px; }
  .nav-links .nav-cta a { width: 100%; justify-content: center; }
}

/* ── Scroll animations ──────────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* Fallback: if JS hasn't run yet, don't hide critical content */
.no-js .fade-in { opacity: 1; transform: none; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  background: #fff;
  background-image:
    radial-gradient(ellipse 55% 60% at -5% 50%, rgba(232,130,30,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 105% 20%, rgba(232,130,30,.07) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1.2' fill='rgba(219,117,33,.07)'/%3E%3C/svg%3E");
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px;
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font-size: clamp(32px,4vw,52px); font-weight: 800; line-height: 1.13; margin-bottom: 20px; color: var(--text); }
.hero-title .highlight {
  background: linear-gradient(90deg, var(--primary) 0%, #f5a030 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 460px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: #aaa; }

/* ── Mobile hero panel (hidden on desktop) ─────────────────────── */
.hero-mobile-panel { display: none; }
.hmp-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.18); padding: 7px 12px;
}
.hmp-url {
  font-size: 10px; color: rgba(255,255,255,.55); flex: 1; text-align: center;
  background: rgba(0,0,0,.18); border-radius: 4px; padding: 2px 10px;
}

/* ── Early Access price ladder ──────────────────────────────────── */
.ea-price-ladder {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.ea-arrow { color: rgba(255,255,255,.3); font-size: 16px; flex-shrink: 0; }
.ea-price-step { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ea-step-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.4); }
.ea-step-price { font-family: var(--mono); font-size: 18px; font-weight: 800; line-height: 1; }
.ea-step-price small { font-size: 11px; font-weight: 500; }
.ea-step-sub { font-size: 9px; color: rgba(255,255,255,.4); }
.ea-step-now .ea-step-price { color: var(--success); }
.ea-step-founder .ea-step-price { color: var(--primary); }
.ea-step-standard .ea-step-price { color: rgba(255,255,255,.3); }
.ea-strikethrough { text-decoration: line-through; }

/* Status badge */
.hero-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 12px; margin-bottom: 16px; letter-spacing: .3px;
}
.status-dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(0,194,146,.2); }
  50%      { box-shadow: 0 0 0 5px rgba(0,194,146,.08); }
}

/* Trust bar */
.hero-trust-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 16px; width: fit-content;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.trust-item { font-size: 12px; color: var(--muted); letter-spacing: .2px; }
.trust-num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--primary); }
.trust-sep { color: var(--border); font-size: 16px; line-height: 1; }

/* Hero visual */
.hero-visual { position: relative; }
.kapay-shell {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.16); border: 1px solid #d0d0d0;
}
.browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; background: #f0f0f0; border-bottom: 1px solid #ddd;
}
.b-dots { display: flex; gap: 5px; }
.b-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.b-dots span:nth-child(1) { background: #fc6058; }
.b-dots span:nth-child(2) { background: #fec02f; }
.b-dots span:nth-child(3) { background: #2aca44; }
.b-url {
  flex: 1; text-align: center; font-size: 10px; color: #888;
  background: white; border: 1px solid #ddd; border-radius: 4px; padding: 2px 10px;
}
.kapay-layout { display: flex; height: 340px; }

/* Sidebar */
.kapay-sidebar {
  width: 160px; flex-shrink: 0; background: white;
  border-right: 1px solid var(--border); padding: 10px 0;
  overflow: hidden; display: flex; flex-direction: column;
}
.sb-brand { padding: 8px 14px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.sb-brand img { height: 22px; width: auto; }
.sb-cap { font-size: 9px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 8px 14px 4px; }
.sb-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 14px;
  font-size: 11px; font-weight: 500; color: var(--text); cursor: pointer;
  transition: background .12s; white-space: nowrap;
}
.sb-item .material-icons { font-size: 15px; color: var(--muted); }
.sb-item:hover { background: #f6f9fc; }
.sb-item.active { background: rgba(219,117,33,.1); color: var(--primary); }
.sb-item.active .material-icons { color: var(--primary); }

/* Main & Topbar */
.kapay-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.kapay-topbar {
  height: 50px; flex-shrink: 0; background: white;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 16px;
}
.kapay-topbar-space { flex: 1; }
.topbar-avatar img { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; }

/* Dashboard */
.dash-page { flex: 1; background: #fafafa; padding: 12px; overflow: auto; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dash-header h2 { font-size: 14px; font-weight: 700; }
.dash-header span { font-size: 11px; color: var(--muted); }

.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 10px; }
.kpi-card {
  background: white; border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.kpi-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kpi-icon .material-icons { font-size: 20px; }
.bg-lp { background: #fde8d2; } .bg-lp .material-icons { color: var(--primary); }
.bg-ls { background: #ebfaf2; } .bg-ls .material-icons { color: var(--success); }
.bg-lw { background: #fff8ec; } .bg-lw .material-icons { color: var(--warning); }
.kpi-val { font-size: 22px; font-weight: 700; color: #1a1a2e; line-height: 1.1; }
.kpi-lbl { font-size: 11px; font-weight: 600; color: #374151; margin-top: 1px; }
.kpi-sub { font-size: 9px; color: var(--muted); margin-top: 1px; }

.dash-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 14px 16px; }
.card-title-row { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.card-title-row .material-icons { font-size: 16px; color: var(--muted); }
.card-title-row span { font-size: 12px; font-weight: 600; }

.counter-grid { display: flex; align-items: center; justify-content: space-around; padding: 4px 0; }
.counter-item { flex: 1; text-align: center; }
.counter-val { font-size: 28px; font-weight: 700; line-height: 1; }
.counter-lbl { font-size: 10px; color: var(--muted); margin-top: 4px; }
.counter-div { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.c-primary { color: var(--primary); } .c-success { color: var(--success); } .c-error { color: var(--error); }

.bal-list { display: flex; flex-direction: column; gap: 0; }
.bal-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.bal-row .bal-lbl { color: var(--muted); font-size: 10px; }
.bal-div { height: 1px; background: var(--border); margin: 8px 0; }
.fw6 { font-weight: 600; }

/* Floating cards */
.floating-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: white; border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12); border: 1px solid var(--border);
  animation: float 3s ease-in-out infinite; z-index: 10;
}
.floating-card .fc-icon { font-size: 18px; }
.floating-card .fc-title { font-size: 12px; font-weight: 600; color: var(--text); margin: 0; }
.floating-card .fc-sub { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.card-1 { bottom: 10px; left: -28px; animation-delay: 0s; }
.card-2 { top: -14px; right: -20px; animation-delay: 1.5s; }
.card-3 { bottom: -16px; right: 32px; animation-delay: .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Live dot on floating card */
.live-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--success);
  flex-shrink: 0; align-self: center;
  animation: live-pulse 1.8s ease-in-out infinite;
}

/* Mobile-only elements — hidden on desktop */
.hero-mobile-stats { display: none; }
.hero-mobile-balance { display: none; }
.screen-mobile-preview { display: none; }

@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* ── EARLY ACCESS ───────────────────────────────────────────────── */
.early-access {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1a0e 100%);
  padding: 56px 0; border-top: 3px solid var(--primary);
}
.ea-inner {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 48px;
}
.ea-badge {
  display: inline-block;
  background: rgba(219,117,33,.18); border: 1px solid rgba(219,117,33,.45);
  color: var(--primary); border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; margin-bottom: 12px; white-space: nowrap;
}
.ea-left h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 6px; }
.ea-left p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.5; }
.ea-perks { display: flex; flex-direction: column; gap: 10px; }
.ea-perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.ea-perk-icon { font-size: 16px; flex-shrink: 0; }
.btn-ea {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--primary); color: white; border-radius: 8px;
  padding: 14px 28px; font-size: 16px; font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-ea:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(219,117,33,.4); }
@media (max-width: 900px) {
  .ea-inner { grid-template-columns: 1fr; gap: 28px; }
  .ea-perks { flex-direction: row; flex-wrap: wrap; }
}

/* ── FEATURES GRID ──────────────────────────────────────────────── */
.features-section { background: var(--surface); }
.features-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--border);
}
.feature-card {
  background: white; padding: 28px 22px;
  transition: background .18s; position: relative;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #f5a030);
  opacity: 0; transition: opacity .2s;
}
.feature-card:hover { background: #fffaf5; }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.features-cta { text-align: center; }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }

/* ── SCREEN SECTIONS ────────────────────────────────────────────── */
.screen-section { background: white; }
.screen-section.alt { background: var(--surface); }
.screen-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.screen-inner.reverse { grid-template-columns: 1.3fr 1fr; }
.screen-text { display: flex; flex-direction: column; align-items: flex-start; }
.screen-points { list-style: none; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.screen-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check {
  width: 22px; height: 22px; background: rgba(219,117,33,.12); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
@media (max-width: 900px) { .screen-inner, .screen-inner.reverse { grid-template-columns: 1fr; } }

/* Screen shell */
.screen-shell { border-radius: 10px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.14); border: 1px solid #d0d0d0; }
.browser-bar-mini { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #f0f0f0; border-bottom: 1px solid #ddd; }

/* Kapay card replica */
.kapay-card {
  background: white; padding: 20px 24px;
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.card-head-title { font-size: 18px; font-weight: 500; color: var(--text); }
.btn-mat { background: var(--primary); color: white; border: none; border-radius: 4px; padding: 6px 16px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font); }
.btn-mat-sm { background: var(--primary); color: white; border: none; border-radius: 4px; padding: 4px 12px; font-size: 12px; font-weight: 500; cursor: pointer; font-family: var(--font); }

.search-field {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid #dfe5ef; border-radius: 4px; padding: 7px 12px; margin-bottom: 10px;
}
.search-field .material-icons { font-size: 16px; color: var(--muted); }
.search-field span { font-size: 13px; color: #aaa; }

.filters { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.mat-select {
  border: 1.5px solid #dfe5ef; border-radius: 4px; padding: 6px 28px 6px 10px;
  font-size: 12px; color: var(--text); background: white; cursor: pointer; white-space: nowrap;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}

/* Tables */
.kapay-table { width: 100%; border-collapse: collapse; }
.kapay-table th { padding: 6px 12px; text-align: left; font-size: 12px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); white-space: nowrap; background: white; }
.kapay-table td { padding: 8px 12px; font-size: 12px; color: var(--text); border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.kapay-table tr:last-child td { border-bottom: none; }
.kapay-table tr:hover td { background: #f6f9fc; cursor: pointer; }

.name-cell { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 2px; flex-shrink: 0; }
.st-name { font-size: 12px; font-weight: 600; display: block; }
.st-email { font-size: 10px; color: #6c757d; display: block; line-height: 1.1; }

.activity-tag { font-size: 10px; padding: 1px 8px; border-radius: 20px; color: white; font-weight: 500; display: inline-block; white-space: nowrap; margin: 1px; }
.bookings-badge { font-weight: 500; font-size: 11px; color: #333; background: #e0e0e0; border-radius: 4px; padding: 2px 6px; display: inline-block; min-width: 20px; text-align: center; }
.success-icon { color: #28a745; font-size: 16px; vertical-align: middle; }
.amount-red { color: #dc3545; font-size: 12px; font-weight: 500; }

.status-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.badge-active { background: #ebfaf2; color: var(--success); }
.badge-invited { background: #fff8ec; color: #b37400; }

.mono { font-family: monospace; font-size: 11px; }
.text-muted-sm { font-size: 11px; color: var(--muted); }
.overdue { color: #f44336; font-weight: 500; font-size: 10px; margin-left: 6px; }
.fw6 { font-weight: 600; }

.mat-chip { display: inline-block; padding: 0 8px; height: 24px; line-height: 24px; border-radius: 16px; font-size: 11px; font-weight: 500; }
.chip-paid    { background: #ebfaf2; color: #00a07a; }
.chip-pending { background: #fff8ec; color: #a07800; }
.chip-partial { background: #fde8d2; color: #c06010; }
.chip-overdue { background: #f9e7eb; color: #d0004a; }

.payment-icon { font-size: 18px; color: var(--accent); cursor: pointer; vertical-align: middle; }

.kapay-paginator {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  font-size: 11px; color: var(--muted); border-top: 1px solid var(--border); justify-content: flex-end;
}
.pag-arrow { font-size: 18px; cursor: pointer; color: var(--text); }
.pag-arrow.off { color: #ccc; cursor: default; }
.pag-info { margin: 0 4px; }

/* ── HOW IT WORKS ───────────────────────────────────────────────── */
.how-section { background: white; }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num { font-size: 12px; font-weight: 800; color: var(--primary); background: rgba(219,117,33,.1); border-radius: 8px; padding: 6px 10px; flex-shrink: 0; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) { .how-inner { grid-template-columns: 1fr; gap: 48px; } }

/* ── CTA ────────────────────────────────────────────────────────── */
.cta-section { background: var(--surface); }
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #c06010 100%);
  border-radius: var(--radius-lg); padding: 72px 48px; text-align: center; color: white;
}
.cta-box h2 { font-size: clamp(22px,3vw,36px); font-weight: 800; margin-bottom: 14px; color: white; }
.cta-box p { font-size: 17px; opacity: .85; margin-bottom: 36px; }
.btn-large { font-size: 17px; padding: 15px 34px; background: white; color: var(--primary); }
.btn-large:hover { background: #f9f9f9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer { background: #111; color: #ccc; padding-top: 64px; }
.footer-inner { display: flex; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid #222; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-brand img { height: 28px; width: auto; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: #888; }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: white; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #888; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #555; text-align: center; }
@media (max-width: 640px) { .footer-inner { flex-direction: column; gap: 40px; } .footer-links { gap: 32px; } }

/* ── WA FLOAT ───────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: white; border-radius: 100px;
  padding: 14px 20px 14px 16px; box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none; font-family: var(--font); font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 28px rgba(37,211,102,.55); animation: none; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,.75); } }
@media (max-width: 480px) { .wa-float-label { display: none; } .wa-float { padding: 14px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; } }

/* ── PRICING PAGE ───────────────────────────────────────────────── */
.pricing-hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(232,130,30,.15) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(219,117,33,.05)'/%3E%3C/svg%3E"),
    #ffffff;
  border-bottom: 1px solid var(--border);
}
.pricing-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 14px; font-family: var(--mono); font-size: 11px; color: var(--muted);
  margin-bottom: 20px; letter-spacing: .3px;
}
.pricing-honest-row {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px;
}
.pricing-honest-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.pricing-honest-item .material-icons { font-size: 18px; color: var(--primary); }

/* Pricing cards */
.pricing-section { background: var(--surface); padding: 80px 0 64px; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto 32px;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 0;
}
.pricing-card-founder {
  background: white; border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(232,130,30,.18);
}
.pricing-card-standard {
  background: white; border: 1px solid var(--border);
  opacity: .75;
}

.pc-badge {
  display: inline-block; background: var(--primary); color: white;
  border-radius: 100px; padding: 4px 14px; font-size: 11px; font-weight: 700;
  margin-bottom: 20px; align-self: flex-start;
}
.pc-badge-grey { background: var(--border); color: var(--muted); }

.pc-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 12px; }

.pc-price-block { margin-bottom: 8px; }
.pc-price { display: flex; align-items: flex-end; gap: 4px; line-height: 1; }
.pc-currency { font-size: 24px; font-weight: 700; color: var(--text); padding-bottom: 4px; }
.pc-amount { font-family: var(--mono); font-size: 64px; font-weight: 800; color: var(--text); line-height: 1; }
.pc-period { font-size: 16px; color: var(--muted); padding-bottom: 8px; }
.pc-price-grey .pc-currency, .pc-price-grey .pc-amount, .pc-price-grey .pc-period { color: var(--muted); }
.pc-price-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.pc-then {
  display: flex; align-items: center; gap: 6px;
  background: rgba(232,130,30,.08); border: 1px solid rgba(232,130,30,.2);
  border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--text);
  margin: 16px 0; line-height: 1.4;
}
.pc-then .material-icons { font-size: 16px; color: var(--primary); flex-shrink: 0; }
.pc-then-grey { background: var(--surface); border-color: var(--border); color: var(--muted); }
.pc-then-grey .material-icons { color: var(--muted); }

.pc-cta {
  width: 100%; justify-content: center; font-size: 15px; padding: 14px;
  border-radius: 10px; margin-bottom: 8px;
}
.pc-cta-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--muted);
  margin-bottom: 8px; cursor: default;
}
.pc-cta-placeholder .material-icons { font-size: 16px; }

.pc-note { font-size: 12px; color: #aaa; text-align: center; }
.pc-note-grey { color: #ccc; }
.pc-divider { height: 1px; background: var(--border); margin: 24px 0; }
.pc-features-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 14px; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pc-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }
.pc-features .material-icons { font-size: 16px; color: var(--success); flex-shrink: 0; }
.pc-features li.pc-feat-missing { color: var(--muted); }
.pc-features li.pc-feat-missing .material-icons { color: var(--border); }
.pc-features-grey li { color: var(--muted); }
.pc-features-grey .material-icons { color: #ccc; }
/* Star items in founder */
.pc-features li:nth-child(n+9) .material-icons { color: var(--primary); }

.pricing-savings {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #e8821e, #c2410c);
  border-radius: 12px; padding: 18px 32px; max-width: 880px; margin: 0 auto;
}
.ps-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.7); }
.ps-amount { font-family: var(--mono); font-size: 22px; font-weight: 800; color: white; }
.ps-sub { font-size: 13px; color: rgba(255,255,255,.7); }

/* Timeline */
.timeline-section { background: white; padding: 96px 0; }
.tl-header { max-width: 560px; margin-bottom: 56px; }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--success) 30%, var(--primary) 60%, var(--border) 100%);
}
.tl-item { display: flex; gap: 28px; padding-bottom: 48px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--success); color: white;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: absolute; left: -40px; top: 0;
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--success);
}
.tl-dot .material-icons { font-size: 16px; }
.tl-dot-active { background: var(--primary); box-shadow: 0 0 0 4px white, 0 0 0 6px var(--primary); }
.tl-dot-upcoming { background: var(--border); color: var(--muted); box-shadow: 0 0 0 4px white, 0 0 0 6px var(--border); }
.tl-content { padding-top: 4px; }
.tl-phase { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.tl-item.tl-done .tl-phase { color: var(--success); }
.tl-item.tl-active .tl-phase { color: var(--primary); }
.tl-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.tl-content p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.tl-tag.done { background: #ebfaf2; color: var(--success); }
.tl-tag.active { background: rgba(232,130,30,.1); color: var(--primary); }
.tl-tag.upcoming { background: var(--surface); color: var(--muted); }

/* Roadmap grid inside timeline */
.tl-roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .tl-roadmap-grid { grid-template-columns: 1fr; } }
.tl-roadmap-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
}
.tl-roadmap-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.tl-roadmap-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.tl-roadmap-item span { font-size: 12px; color: var(--muted); line-height: 1.5; display: block; }

/* Why section */
.why-section { background: var(--surface); padding: 96px 0; }
.why-header { max-width: 560px; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: white; border-radius: 16px; padding: 32px 28px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #f5a030);
}
.why-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--primary);
  background: rgba(232,130,30,.1); border: 1px solid rgba(232,130,30,.2);
  border-radius: 6px; padding: 3px 8px; display: inline-block; margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* CTA badge inline */
.cta-badge-inline {
  display: inline-block; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3); border-radius: 100px;
  padding: 4px 14px; font-size: 12px; font-weight: 600; margin-bottom: 16px;
}

/* ── CONTACT PAGE ───────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(232,130,30,.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(232,130,30,.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(219,117,33,.05)'/%3E%3C/svg%3E"),
    #ffffff;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Pricing banner strip on contact page */
.contact-pricing-banner {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); padding: 14px 0;
}
.cpb-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cpb-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cpb-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: .4px;
}
.cpb-text { font-size: 13px; color: rgba(255,255,255,.5); }
.cpb-link {
  font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap;
  transition: opacity .15s;
}
.cpb-link:hover { opacity: .8; }
@media (max-width: 640px) { .cpb-inner { flex-direction: column; align-items: flex-start; } }
.page-hero .section-subtitle { margin: 0 auto; }
.contact-section { padding: 80px 0 96px; background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }

.direct-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.channel-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  border-radius: 12px; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.channel-wa { background: #f0fdf4; border-color: #bbf7d0; }
.channel-wa:hover { border-color: #16a34a; }
.channel-wa .channel-icon { color: #16a34a; }
.channel-email { background: #fff9f4; border-color: #fed7aa; }
.channel-email:hover { border-color: var(--primary); }
.channel-email .channel-icon { color: var(--primary); }
.channel-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.channel-icon .material-icons { font-size: 28px; }
.channel-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); display: block; }
.channel-value { font-size: 16px; font-weight: 700; color: var(--text); display: block; }
.channel-action { font-size: 13px; font-weight: 500; color: var(--muted); display: block; }

.divider-or { display: flex; align-items: center; gap: 12px; margin: 24px 0 20px; color: var(--muted); font-size: 13px; font-weight: 500; }
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.info-items { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { font-size: 22px; width: 44px; height: 44px; background: rgba(219,117,33,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.contact-form-wrap { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.contact-form h2 { font-size: 22px; font-weight: 800; margin-bottom: 28px; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 480px) { .field-group { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px; color: var(--text);
  background: white; outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(219,117,33,.12); }
.field input::placeholder, .field textarea::placeholder { color: #bbb; }
.field-error { font-size: 12px; color: #e53e3e; font-weight: 500; display: none; }
.field-error.show { display: block; }
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; font-size: 16px; padding: 14px; }
.form-note { text-align: center; font-size: 13px; color: #aaa; margin-top: 12px; }
.form-note a { color: var(--primary); }

.success-state { text-align: center; padding: 40px 20px; }
.success-state .success-emoji { font-size: 56px; display: block; margin-bottom: 20px; }
.success-state h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.success-state p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.success-state a { color: var(--primary); font-weight: 600; }

/* ── FEATURES PAGE ──────────────────────────────────────────────── */
.features-page-hero { padding: 140px 0 80px; }
.feat-disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feat-disc {
  background: white; border: 1px solid var(--border); border-radius: 100px;
  padding: 6px 16px; font-size: 14px; font-weight: 500; color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.features-list { padding: 48px 0 80px; background: white; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: none; }
.feature-row.rev { direction: rtl; }
.feature-row.rev > * { direction: ltr; }
@media (max-width: 768px) { .feature-row, .feature-row.rev { grid-template-columns: 1fr; direction: ltr; gap: 40px; } }
.feature-info .f-emoji { font-size: 40px; display: block; margin-bottom: 16px; }
.feature-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.feature-info p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.feature-pts { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-pts li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }

/* Feature visual mockups */
.feat-visual { width: 100%; }
.fv-shell {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.fv-shell-bar { display: flex; align-items: center; gap: 8px; background: #f0f0f0; padding: 7px 12px; border-bottom: 1px solid #ddd; }
.fv-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: white; }
.fv-payment-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px;
}
.fv-payment-item .fc-title { font-size: 12px; font-weight: 600; margin: 0; }
.fv-payment-item .fc-sub { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.fv-live { border-color: rgba(0,194,146,.3); background: #f0fdf9; }
.fv-warn { border-color: rgba(252,75,108,.2); background: #fff5f7; }
.fv-balance { background: var(--surface); border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; gap: 5px; }
.fv-bal-row { display: flex; justify-content: space-between; font-size: 12px; align-items: center; }
.fv-bal-pos { font-family: var(--mono); font-weight: 700; color: var(--success); font-size: 13px; }
.fv-bal-neg { font-family: var(--mono); font-weight: 700; color: var(--error); font-size: 13px; }

/* Schedule visual */
.fv-body-sched { padding: 0; gap: 0; }
.fv-sched-row {
  display: grid; grid-template-columns: 42px repeat(5,1fr);
  border-bottom: 1px solid #f0f0f0; min-height: 48px; align-items: center;
}
.fv-sched-row:last-child { border-bottom: none; }
.fv-sched-head { background: var(--surface); min-height: 32px; font-size: 10px; font-weight: 700; color: var(--muted); padding: 0 4px; }
.fv-sched-head span { text-align: center; }
.fv-time { font-size: 9px; font-family: var(--mono); color: var(--muted); padding: 0 4px; text-align: right; }
.fv-lesson { font-size: 9px; font-weight: 600; border-radius: 5px; padding: 4px 5px; margin: 3px; line-height: 1.3; }
.fv-lesson small { font-weight: 400; opacity: .8; }
.fv-kite { background: rgba(232,130,30,.12); color: #c2410c; border-left: 2px solid #e8821e; }
.fv-wing { background: rgba(25,160,227,.12); color: #0369a1; border-left: 2px solid #19a0e3; }
.fv-surf { background: rgba(139,92,246,.12); color: #6d28d9; border-left: 2px solid #8b5cf6; }
.fv-kaya { background: rgba(0,194,146,.12); color: #065f46; border-left: 2px solid #00c292; }
.fv-adv  { background: rgba(252,75,108,.12); color: #9f1239; border-left: 2px solid #fc4b6c; }

/* Table visual */
.fv-body-table { padding: 0; gap: 0; }
.fv-tbl-head {
  display: grid; grid-template-columns: 1fr 1.2fr 0.8fr 0.8fr;
  padding: 6px 12px 5px; background: var(--surface);
  font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .3px;
  border-bottom: 1px solid var(--border);
}
.fv-tbl-row {
  display: grid; grid-template-columns: 1fr 1.2fr 0.8fr 0.8fr;
  padding: 7px 12px; border-bottom: 1px solid #f5f5f5;
  font-size: 11px; color: var(--text); align-items: center;
}
.fv-tbl-row:last-child { border-bottom: none; }
.fv-row-warn { background: #fffbf5; }

/* KPI row in dashboard visual */
.fv-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.fv-kpi { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 10px; display: flex; align-items: center; gap: 8px; }
.fv-kpi-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fv-kpi-val { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--text); line-height: 1; }
.fv-kpi-lbl { font-size: 9px; color: var(--muted); margin-top: 2px; }

/* Discipline list */
.fv-discipline-list { display: flex; flex-direction: column; gap: 8px; }
.fv-disc-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.fv-disc-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fv-disc-info { flex: 1; }
.fv-disc-name { font-size: 13px; font-weight: 700; display: block; color: var(--text); }
.fv-disc-meta { font-size: 11px; color: var(--muted); display: block; }
.fv-disc-badge { font-size: 10px; font-weight: 600; padding: 2px 10px; border-radius: 100px; white-space: nowrap; }

/* ── SCHEDULE SECTION ───────────────────────────────────────────── */
.schedule-section { background: white; padding: 96px 0; }

.schedule-intro {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 40px; flex-wrap: wrap;
}
.si-text .section-title { margin-bottom: 10px; }
.si-text .section-subtitle { max-width: 480px; }
.si-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; justify-content: flex-end; }
.si-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.si-pill .material-icons { font-size: 15px; color: var(--primary); }

.schedule-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start;
}

/* ── Calendar ── */
.schedule-cal-wrap {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.schedule-cal { font-size: 12px; }

.cal-hdr-row {
  display: grid; grid-template-columns: 56px repeat(5, 1fr);
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.cal-day-hdr {
  padding: 10px 8px; text-align: center; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cal-day-hdr.today { background: rgba(232,130,30,.06); }
.cal-dn { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: .5px; text-transform: uppercase; }
.cal-dd { font-size: 10px; color: var(--muted); }

.cal-rows { display: flex; flex-direction: column; }
.cal-row {
  display: grid; grid-template-columns: 56px repeat(5, 1fr);
  border-bottom: 1px solid #f0f0f0; min-height: 68px;
}
.cal-row.cal-gap { border-top: 2px dashed #e5eaef; }
.cal-row:last-child { border-bottom: none; }

.cal-gutter {
  display: flex; align-items: flex-start; padding: 8px 8px 0;
  border-right: 1px solid var(--border); flex-shrink: 0;
}
.cal-time-lbl { font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.cal-cell {
  border-left: 1px solid #f0f0f0; padding: 4px; min-height: 68px;
  transition: background .15s; position: relative;
}
.cal-cell:hover { background: #fffaf5; }
.cal-cell.drop-ok { background: rgba(0,194,146,.08); border: 1.5px dashed var(--success); }
.cal-cell.drop-busy { background: rgba(252,75,108,.06); border: 1.5px dashed var(--error); }

/* ── Class card ── */
.class-card {
  border-radius: 8px; padding: 6px 8px; cursor: pointer;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  user-select: none;
}
.class-card:hover { transform: translateY(-1px); box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.class-card.dragging { opacity: .45; transform: rotate(1.5deg) scale(.97); }
.cc-name { font-size: 11px; font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.cc-teacher { font-size: 10px; color: var(--muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.cc-room { display: flex; align-items: center; gap: 2px; font-size: 9px; color: var(--muted); }
.cc-room .material-icons { font-size: 10px; }
.cc-cap { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--muted); }
.cc-cap.full { color: var(--error); }

/* ── Detail panel ── */
.schedule-detail {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06); background: white;
  position: sticky; top: 88px; min-height: 300px;
}
.sd-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px; text-align: center; color: var(--muted); gap: 8px;
}
.sd-empty-icon { font-size: 40px; color: var(--border); }
.sd-empty p { font-size: 14px; line-height: 1.5; }
.sd-empty-hint { font-size: 12px; color: #bbb; }

.sd-content { display: flex; flex-direction: column; }
.sd-header {
  padding: 18px 20px; display: flex; align-items: center; gap: 12px; color: white;
}
.sd-class-icon .material-icons { font-size: 28px; opacity: .9; }
.sd-class-name { font-size: 15px; font-weight: 800; color: white; }
.sd-teacher { font-size: 12px; opacity: .8; margin-top: 2px; }

.sd-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }

.sd-meta { display: flex; flex-direction: column; gap: 8px; }
.sd-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.sd-meta-item .material-icons { font-size: 16px; color: var(--muted); }

.sd-capacity { display: flex; flex-direction: column; gap: 6px; }
.sd-cap-row { display: flex; justify-content: space-between; align-items: center; }
.sd-cap-lbl { font-size: 12px; font-weight: 600; color: var(--text); }
.sd-cap-num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--text); }
.sd-cap-num.full { color: var(--error); }
.sd-cap-bar { height: 6px; background: var(--surface); border-radius: 100px; overflow: hidden; }
.sd-cap-fill { height: 100%; border-radius: 100px; transition: width .4s ease; }
.sd-cap-fill.full { background: var(--error) !important; }
.sd-free-msg { font-size: 11px; color: var(--success); font-weight: 600; }
.sd-full-msg { font-size: 11px; color: var(--error); font-weight: 600; }

.sd-students-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.sd-student-list { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
.sd-student { display: flex; align-items: center; gap: 10px; }
.sd-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white; opacity: .9;
}
.sd-student span { font-size: 13px; color: var(--text); }

.sd-actions { display: flex; gap: 8px; padding-top: 4px; border-top: 1px solid var(--border); }
.sd-btn-secondary {
  flex: 1; padding: 9px; border: 1.5px solid var(--border); background: white;
  border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: var(--font); transition: border-color .15s;
}
.sd-btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.sd-btn-danger {
  flex: 1; padding: 9px; border: none; background: #fff0f3;
  border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--error);
  cursor: pointer; font-family: var(--font); transition: background .15s;
}
.sd-btn-danger:hover { background: #ffe0e6; }

/* Toast */
.schedule-toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a2035; color: white; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 20px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 2000; pointer-events: none;
  white-space: nowrap;
}
.schedule-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.schedule-drag-hint {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; color: var(--muted);
}
.schedule-drag-hint .material-icons { font-size: 16px; color: var(--primary); }

@media (max-width: 960px) {
  .schedule-layout { grid-template-columns: 1fr; }
  .schedule-detail { position: static; }
  .schedule-intro { flex-direction: column; align-items: flex-start; }
  .si-pills { justify-content: flex-start; }
}

/* ── HERO PANEL (gradient container behind dashboard) ───────────── */
.hero-panel {
  background: linear-gradient(140deg, #f97316 0%, #ea580c 45%, #9a3412 100%);
  border-radius: 20px;
  padding: 24px 24px 0;
  box-shadow: 0 20px 56px rgba(234,88,12,.32), 0 4px 16px rgba(0,0,0,.12);
  overflow: hidden;
}
.hero-panel .kapay-shell {
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  border-color: rgba(0,0,0,.12);
}

/* ── BENTO FEATURES ─────────────────────────────────────────────── */
.bento-section { background: #f8f9fb; padding: 96px 0; }
.bento-header { margin-bottom: 48px; }
.bento-title { font-size: clamp(28px,3.5vw,40px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.bento-sub { font-size: 17px; color: var(--muted); max-width: 500px; }

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bc-a { grid-column: 1; grid-row: 1; }
.bc-b { grid-column: 2; grid-row: 1; }
.bc-c { grid-column: 1; grid-row: 2; }
.bc-d { grid-column: 2; grid-row: 2; }

.bento-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  min-height: 340px;
}
.bento-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

/* Gradient accent top strip per card */
.bc-a { border-top: 3px solid #e8821e; }
.bc-b { border-top: 3px solid #f59e0b; }
.bc-c { border-top: 3px solid #ea580c; }
.bc-d { border-top: 3px solid #c2410c; }

.bc-text { padding: 28px 28px 16px; flex-shrink: 0; }
.bc-text h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.bc-text p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.bc-visual { flex: 1; overflow: hidden; position: relative; }
.bc-overflow { overflow: hidden; }
.bc-center { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 20px 20px; gap: 12px; }

/* Mini shell inside bento cards */
.bc-shell {
  margin: 0 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.bc-shell-bar {
  display: flex; align-items: center; gap: 8px;
  background: #f0f0f0; padding: 6px 12px;
  border-bottom: 1px solid #ddd;
}
.bc-url { font-size: 10px; color: #888; flex: 1; text-align: center; }
.bc-card-inner { padding: 12px 16px; }
.bc-table-head {
  display: grid; grid-template-columns: 1.8fr 1fr 0.8fr 0.7fr;
  padding: 4px 0 8px; border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px;
}
.bc-table-row {
  display: grid; grid-template-columns: 1.8fr 1fr 0.8fr 0.7fr;
  padding: 7px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 11px; color: var(--text); align-items: center;
}
.bc-table-row:last-child { border-bottom: none; }
.bc-row-warn { background: #fffbf5; }
.bc-row-name { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.bc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.bc-dot.green { background: var(--success); }
.bc-dot.orange { background: var(--primary); }
.bc-dot.grey { background: #ccc; }
.bc-ok .material-icons { font-size: 14px; color: var(--success); vertical-align: middle; }

/* Payment stack (Card B) */
.bc-payment-stack { display: flex; flex-direction: column; gap: 8px; }
.bc-payment-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
}
.bc-payment-item .fc-title { font-size: 12px; font-weight: 600; margin: 0; }
.bc-payment-item .fc-sub { font-size: 11px; color: var(--muted); margin: 2px 0 0; }
.bc-payment-muted { opacity: .55; }
.bc-balance-total {
  background: linear-gradient(135deg, #e8821e, #c2410c);
  border-radius: 10px; padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.bc-balance-lbl { font-size: 11px; color: rgba(255,255,255,.7); }
.bc-balance-num { font-family: var(--mono); font-size: 22px; font-weight: 700; color: white; }

/* Booking list (Card C) */
.bc-booking-list { display: flex; flex-direction: column; gap: 8px; padding: 0 0 8px; }
.bc-booking {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: var(--surface);
  border-radius: 10px; border: 1px solid var(--border);
}
.bc-booking-day { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--primary); width: 28px; flex-shrink: 0; }
.bc-booking > div { flex: 1; }
.bc-booking-title { font-size: 12px; font-weight: 600; color: var(--text); display: block; }
.bc-booking-info { font-size: 10px; color: var(--muted); display: block; }
.bc-booking-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px; white-space: nowrap; }
.bc-booking-badge.full { background: #ebfaf2; color: var(--success); }
.bc-booking-badge.free { background: #fff8ec; color: #a07800; }
.bc-booking-badge.warn { background: #fde8d2; color: var(--primary); }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bc-a, .bc-b, .bc-c, .bc-d { grid-column: 1; grid-row: auto; }
  .bento-card { min-height: 280px; }
}

/* ── HOW IT WORKS override ──────────────────────────────────────── */
.step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--primary); background: rgba(232,130,30,.1);
  border: 1px solid rgba(232,130,30,.25);
  border-radius: 6px; padding: 5px 10px; flex-shrink: 0; letter-spacing: .5px;
}

/* ── TESTIMONIALS ───────────────────────────────────────────────── */
.testimonials-section { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: white; border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--card-shadow); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.10); }
.t-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.t-quote { font-size: 15px; color: var(--text); line-height: 1.7; flex: 1; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-name { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.t-role { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { background: white; }
.faq-list { max-width: 720px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--text);
  text-align: left; gap: 16px; transition: color .15s;
}
.faq-q:hover { color: var(--primary); }
.faq-arrow { font-size: 12px; color: var(--muted); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 20px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq-more { text-align: center; font-size: 15px; color: var(--muted); }
.faq-more a { color: var(--primary); font-weight: 600; }

/* ── INTERACTIVE DEMO SECTION ───────────────────────────────────── */
.demo-section { background: #f0f4f8; padding: 96px 0; }
.demo-section .section-header { margin-bottom: 48px; }

.demo-chrome {
  background: white; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 4px 32px rgba(0,0,0,.08);
}
.demo-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #f0f0f0; padding: 8px 16px; border-bottom: 1px solid #ddd;
}
.demo-url {
  font-size: 11px; color: #888; font-family: var(--mono);
  background: white; border: 1px solid #ddd; border-radius: 20px; padding: 3px 14px;
}
.demo-tabs {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0 16px; overflow-x: auto;
}
.demo-tab {
  display: flex; align-items: center; gap: 6px; padding: 12px 18px;
  border: none; background: none; font-family: var(--font); font-size: 13px; font-weight: 500;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; white-space: nowrap; margin-bottom: -1px;
}
.demo-tab .material-icons { font-size: 16px; }
.demo-tab:hover { color: var(--text); }
.demo-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.demo-content { position: relative; }
.demo-panel { display: none; padding: 24px; }
.demo-panel.active { display: block; }

.dp-month-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.dp-label { font-size: 13px; font-weight: 700; color: var(--text); }
.dp-months { display: flex; gap: 4px; flex-wrap: wrap; }
.dp-month {
  padding: 5px 13px; border: 1px solid var(--border); border-radius: 100px;
  background: white; font-family: var(--font); font-size: 12px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all .15s;
}
.dp-month:hover { border-color: var(--primary); color: var(--primary); }
.dp-month.active { background: var(--primary); color: white; border-color: var(--primary); }
.dp-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.dp-kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.dp-kpi-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.dp-kpi-icon .material-icons { font-size: 20px; }
.dp-bg-primary { background: var(--primary-light); }
.dp-bg-success { background: #ebfaf2; }
.dp-bg-warning { background: #fff8ec; }
.dp-icon-primary { color: var(--primary); }
.dp-icon-success { color: var(--success); }
.dp-icon-warning { color: var(--warning); }
.dp-kpi-val { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; }
.dp-kpi-lbl { font-size: 12px; color: var(--muted); }
.dp-main-row { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
.dp-chart-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.dp-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dp-chart-title { font-size: 13px; font-weight: 600; color: var(--text); }
.dp-chart-val { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--primary); }
.dp-chart-area { height: 110px; }
.dp-chart-labels { display: flex; justify-content: space-around; margin-top: 4px; }
.dp-chart-labels span { font-size: 10px; color: var(--muted); font-weight: 600; }
.dp-balance-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.dp-balance-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.dp-balance-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dp-balance-row span:first-child { color: var(--muted); }
.dp-pos { font-family: var(--mono); font-weight: 700; color: var(--success); }
.dp-neg { font-family: var(--mono); font-weight: 700; color: var(--error); }
.dp-warn { font-family: var(--mono); font-weight: 700; color: var(--warning); }
.dp-divider { height: 1px; background: var(--border); }

.bkd-filters { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.bkd-search-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; flex: 1; min-width: 200px;
}
.bkd-search-wrap .material-icons { font-size: 18px; color: var(--muted); }
.bkd-search { border: none; background: none; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; width: 100%; }
.bkd-search::placeholder { color: var(--muted); }
.bkd-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.bkd-pill {
  padding: 5px 14px; border: 1px solid var(--border); border-radius: 100px;
  background: white; font-family: var(--font); font-size: 12px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.bkd-pill:hover { border-color: var(--primary); color: var(--primary); }
.bkd-pill.active { background: var(--primary); color: white; border-color: var(--primary); }
.bkd-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; }
.bkd-table { width: 100%; border-collapse: collapse; }
.bkd-table thead { background: var(--surface); }
.bkd-table th {
  padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .4px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.bkd-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.bkd-table tbody tr:last-child td { border-bottom: none; }
.bkd-table tbody tr { cursor: pointer; transition: background .1s; }
.bkd-table tbody tr:hover { background: #fffaf5; }
.bkd-table tbody tr.selected { background: rgba(232,130,30,.06); }
.chip { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip-confirmed { background: #ebfaf2; color: #00875a; }
.chip-pending   { background: #fff8ec; color: #b45309; }
.chip-overdue   { background: #fff0f3; color: #be185d; }
.chip-cancelled { background: #f3f4f6; color: #6b7280; }
.bkd-detail {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  animation: dSlideDown .2s ease;
}
@keyframes dSlideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.bkd-detail-header {
  padding: 14px 18px; color: white; display: flex; justify-content: space-between; align-items: center;
}
.bkd-detail-header h4 { font-size: 15px; font-weight: 800; }
.bkd-detail-header small { font-size: 12px; opacity: .8; display: block; margin-top: 2px; }
.bkd-detail-close {
  background: rgba(255,255,255,.25); border: none; border-radius: 6px;
  color: white; width: 28px; height: 28px; cursor: pointer; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bkd-detail-close:hover { background: rgba(255,255,255,.4); }
.bkd-detail-body { padding: 16px 18px; background: white; }
.bkd-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 16px; }
.bkd-detail-item label { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; display: block; margin-bottom: 3px; }
.bkd-detail-item span { font-size: 15px; font-weight: 700; color: var(--text); }
.bkd-detail-actions { display: flex; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.bkd-btn-pay {
  display: flex; align-items: center; gap: 6px; background: var(--primary); color: white;
  border: none; border-radius: 8px; padding: 9px 18px; font-family: var(--font);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.bkd-btn-pay:hover:not(:disabled) { background: var(--primary-dark); }
.bkd-btn-pay:disabled { background: var(--success); cursor: default; }
.bkd-btn-secondary {
  display: flex; align-items: center; gap: 6px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 18px;
  font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s;
}
.bkd-btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.inv-modal-overlay {
  position: absolute; inset: 0; background: rgba(10,10,20,.45); display: flex;
  align-items: center; justify-content: center; z-index: 20; animation: dFadeIn .18s;
}
@keyframes dFadeIn { from { opacity:0; } to { opacity:1; } }
.inv-modal {
  background: white; border-radius: 12px; padding: 24px; max-width: 480px; width: 90%;
  box-shadow: 0 12px 48px rgba(0,0,0,.22); max-height: 80vh; overflow-y: auto;
}
.inv-modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.inv-modal-title { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.inv-number { font-family: var(--mono); font-size: 18px; font-weight: 800; color: var(--text); margin-top: 2px; }
.inv-modal-close {
  border: none; background: var(--surface); border-radius: 6px; padding: 5px 10px;
  cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap;
}
.inv-modal-close:hover { background: var(--border); }
.inv-logo-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--border);
}
.inv-logo-row img { height: 24px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.inv-party-label { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.inv-party-name { font-size: 13px; font-weight: 700; color: var(--text); }
.inv-party-detail { font-size: 12px; color: var(--muted); }
.inv-line-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.inv-line-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--border); text-align: left; }
.inv-line-table th:last-child, .inv-line-table td:last-child { text-align: right; }
.inv-line-table td { padding: 9px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.inv-total-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 2px solid var(--text); }
.inv-total-label { font-size: 14px; font-weight: 700; }
.inv-total-val { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--primary); }
.inv-modal-actions { display: flex; gap: 10px; margin-top: 16px; }

.demo-note { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.demo-note a { color: var(--primary); font-weight: 600; }
.demo-note a:hover { text-decoration: underline; }

.demo-toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a2035; color: white; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 20px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 3000; pointer-events: none;
}
.demo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .dp-main-row { grid-template-columns: 1fr; }
  .bkd-detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .dp-kpi-val { font-size: 20px; }
  .demo-tab .material-icons { display: none; }
}

/* ── STATS STRIP ─────────────────────────────────────────────────── */
.stats-strip { background: white; border-bottom: 1px solid var(--border); }
.stats-inner { display: flex; align-items: stretch; justify-content: center; }
.stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 0; gap: 5px; flex: 1;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--mono); font-size: 30px; font-weight: 800; color: var(--text); line-height: 1;
}
.stat-num-accent { color: var(--primary); }
.stat-lbl { font-size: 12px; font-weight: 500; color: var(--muted); text-align: center; max-width: 120px; line-height: 1.4; }
@media (max-width: 640px) {
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; padding: 18px 12px; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── PAIN SECTION ────────────────────────────────────────────────── */
.pain-section { background: var(--surface); }
.pain-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.pain-header .section-label { margin-bottom: 14px; }
.pain-header h2 { font-size: clamp(22px,3vw,34px); font-weight: 800; margin-bottom: 14px; }
.pain-header p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.pain-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: white; border-radius: 14px; padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.pain-emoji { font-size: 22px; margin-bottom: 10px; display: block; }
.pain-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.pain-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.pain-resolution {
  background: linear-gradient(135deg, var(--text) 0%, #2d3a5c 100%);
  border-radius: 14px; padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.pain-resolution-text { font-size: 18px; font-weight: 800; color: white; line-height: 1.4; }
.pain-resolution-text em {
  font-style: normal; color: var(--primary);
}
.pain-resolution-sub { font-size: 14px; color: rgba(255,255,255,.55); margin-top: 5px; display: block; font-weight: 400; }

/* ── DISCIPLINES PHOTO STRIP ─────────────────────────────────────── */
.disc-strip { border-bottom: 1px solid var(--border); overflow: hidden; }
.disc-strip-inner { display: flex; height: 220px; }
.disc-photo {
  flex: 1; position: relative; overflow: hidden;
  border-right: 2px solid white;
  cursor: pointer;
}
.disc-photo:last-child { border-right: none; }
/* Gradient fallback per discipline (shown when image missing) */
.disc-bg { position: absolute; inset: 0; }
.disc-bg-kite  { background: linear-gradient(160deg, #b05a00 0%, #e8821e 100%); }
.disc-bg-wing  { background: linear-gradient(160deg, #0369a1 0%, #38bdf8 100%); }
.disc-bg-surf  { background: linear-gradient(160deg, #5b21b6 0%, #8b5cf6 100%); }
.disc-bg-kayak { background: linear-gradient(160deg, #065f46 0%, #00c292 100%); }
.disc-bg-sup   { background: linear-gradient(160deg, #155e75 0%, #06b6d4 100%); }
/* Actual photo on top of fallback */
.disc-photo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
  filter: brightness(.72) saturate(1.1);
}
.disc-photo:hover .disc-photo-img { transform: scale(1.07); filter: brightness(.6) saturate(1.25); }
/* Fallback emoji (visible when no image) */
.disc-fallback-emoji {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; opacity: .3; pointer-events: none;
}
/* Label overlay */
.disc-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}
.disc-label-emoji { font-size: 16px; display: block; margin-bottom: 2px; }
.disc-label-name  { font-size: 13px; font-weight: 700; color: white; letter-spacing: .3px; display: block; }
@media (max-width: 640px) {
  .disc-strip-inner { height: 130px; }
  .disc-label-name  { font-size: 10px; }
  .disc-label-emoji { font-size: 12px; }
  .disc-fallback-emoji { font-size: 32px; }
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.testimonials-section { background: white; }
.testi-header { text-align: center; margin-bottom: 48px; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.testi-card {
  background: var(--surface); border-radius: 16px; padding: 28px 24px;
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.testi-card::before {
  content: '"'; position: absolute; top: 8px; right: 18px;
  font-size: 80px; color: rgba(232,130,30,.1); font-family: Georgia,serif; line-height: 1;
  pointer-events: none;
}
.testi-stars { font-size: 15px; letter-spacing: 2px; color: #f59e0b; }
.testi-quote { font-size: 15px; line-height: 1.75; color: var(--text); flex: 1; }
.testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: var(--border);
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-meta { font-size: 12px; color: var(--muted); line-height: 1.5; }
.testi-disc {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px; margin-top: 2px;
}
.disc-kite  { background: rgba(232,130,30,.15); color: #b05a00; }
.disc-surf  { background: rgba(139,92,246,.15);  color: #5b21b6; }
.disc-wing  { background: rgba(56,189,248,.15);  color: #0369a1; }
.testi-section-note {
  text-align: center; margin-top: 28px;
  font-size: 13px; color: var(--muted);
}
.testi-section-note a { color: var(--primary); font-weight: 600; }

/* ── DEMO BANNER (mid-page) ──────────────────────────────────────── */
.demo-banner { background: var(--dark); padding: 80px 0; }
.demo-banner-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .demo-banner-inner { grid-template-columns: 1fr; gap: 40px; } }
.demo-banner-text .section-label { background: rgba(232,130,30,.18); color: var(--primary); }
.demo-banner-text h2 {
  font-size: clamp(24px,3.5vw,40px); font-weight: 800; color: white;
  margin: 16px 0 14px; line-height: 1.15;
}
.demo-banner-text p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 28px; max-width: 400px; }
.demo-banner-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.demo-banner-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75);
}
.demo-banner-feat .material-icons { font-size: 18px; color: var(--primary); }
.demo-banner-note { font-size: 13px; color: rgba(255,255,255,.35); margin-top: 10px; }

/* Dark UI preview card */
.demo-preview-shell {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  background: #0d1424;
}
.demo-screenshot-img {
  display: block; width: 100%; height: auto;
}
.demo-preview-fallback {
  flex-direction: column;
}
.demo-preview-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #1a2035; border-bottom: 1px solid rgba(255,255,255,.07);
}
.demo-preview-url {
  flex: 1; text-align: center; font-size: 10px; color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06); border-radius: 4px; padding: 2px 8px;
}
.demo-preview-tabs {
  display: flex; background: #1a2035; border-bottom: 1px solid rgba(255,255,255,.07);
}
.demo-preview-tab {
  flex: 1; padding: 8px 12px; text-align: center; font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.35); border-bottom: 2px solid transparent;
  transition: color .15s;
}
.demo-preview-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.demo-preview-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.demo-preview-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.demo-preview-kpi {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 10px 12px;
}
.demo-preview-kpi-val { font-family: var(--mono); font-size: 22px; font-weight: 800; color: white; line-height: 1; }
.demo-preview-kpi-lbl { font-size: 9px; color: rgba(255,255,255,.4); margin-top: 4px; }
.demo-preview-row { display: flex; gap: 8px; }
.demo-preview-chart {
  flex: 1.6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 12px;
}
.demo-preview-chart-title { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.demo-preview-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; }
.demo-preview-bar { flex: 1; border-radius: 3px 3px 0 0; min-height: 8px; background: rgba(232,130,30,.4); transition: background .15s; }
.demo-preview-bar.hi { background: var(--primary); }
.demo-preview-balance {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 6px;
}
.demo-preview-bal-row { display: flex; justify-content: space-between; font-size: 10px; }
.demo-preview-bal-row span:first-child { color: rgba(255,255,255,.4); }
.demo-preview-pos { color: #00c292; font-weight: 700; font-family: var(--mono); }
.demo-preview-neg { color: #fc4b6c; font-weight: 700; font-family: var(--mono); }
