/* ==========================================================================
   OSNOVAS — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color: deep graphite/navy base, off-white text, violet→blue accent */
  --bg: #0d0f16;
  --bg-alt: #10131b;
  --surface: #161a24;
  --surface-2: #1c212d;
  --surface-hover: #212636;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f3f4f7;
  --text-muted: #a3a9b7;
  --text-faint: #6b7180;

  --accent-violet: #8b7cf6;
  --accent-blue: #5b8def;
  --accent-gradient: linear-gradient(120deg, var(--accent-violet), var(--accent-blue));
  --accent-soft: rgba(139, 124, 246, 0.12);
  --accent-border: rgba(139, 124, 246, 0.35);

  --success: #4ade80;
  --error: #f87171;

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);

  --container: 1200px;
  --nav-height: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint grid + noise backdrop on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .section-tight { padding: 64px 0; }
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

h2.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

.btn-primary {
  background: var(--accent-gradient);
  color: #0a0b10;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139, 124, 246, 0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 14px 18px;
}
.btn-ghost:hover { color: var(--text); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(13, 15, 22, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled {
  background: rgba(11, 13, 19, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-gradient);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 55% 30%, 55% 0, 30% 0, 30% 55%, 0 55%);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

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

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(10, 11, 16, 0.98);
  backdrop-filter: blur(14px);
  z-index: 190;
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--nav-height) + 100px) 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(139,124,246,0.22), rgba(91,141,239,0.06) 55%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-copy h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  margin-bottom: 22px;
}

.hero-copy p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 13.5px;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-violet); flex-shrink: 0; }

/* Hero visual — abstract browser / growth dashboard */
.hero-visual { position: relative; }

.browser-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.browser-url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.browser-body { padding: 26px; }

.mock-line { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.07); margin-bottom: 10px; }
.mock-line.w-60 { width: 60%; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-80 { height: 16px; width: 80%; background: rgba(255,255,255,0.12); margin-bottom: 16px; }

.mock-chart {
  margin-top: 22px;
  height: 140px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(139,124,246,0.1), transparent);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mock-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.mock-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.mock-stat .num { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 18px; }
.mock-stat .lbl { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

.floating-card {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.floating-card.card-1 { top: -18px; left: -30px; animation: float-a 6s ease-in-out infinite; }
.floating-card.card-2 { bottom: 10px; right: -26px; animation: float-b 7s ease-in-out infinite; }
.floating-card .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(74,222,128,0.15); }

@keyframes float-a { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
@keyframes float-b { 0%,100% { transform: translateY(0);} 50% { transform: translateY(10px);} }

@media (max-width: 620px) {
  .floating-card { display: none; }
  .browser-mock { transform: none; }
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }

.icon-tile {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-violet);
  margin-bottom: 20px;
}
.icon-tile svg { width: 22px; height: 22px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Problem section
   ========================================================================== */

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .problem-list { grid-template-columns: 1fr; } }

.problem-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.problem-item svg { width: 18px; height: 18px; color: var(--error); flex-shrink: 0; margin-top: 2px; }
.problem-item p { color: var(--text-muted); font-size: 14.5px; }
.problem-item strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 15px; }

.problem-callout {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(139,124,246,0.09), rgba(91,141,239,0.05));
  border: 1px solid var(--accent-border);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Before / After
   ========================================================================== */

.compare-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .compare-wrap { grid-template-columns: 1fr; } }

.compare-panel {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.compare-panel.before { background: var(--surface); opacity: 0.85; }
.compare-panel.after {
  background: linear-gradient(160deg, rgba(139,124,246,0.1), rgba(91,141,239,0.04));
  border-color: var(--accent-border);
}
.compare-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.compare-panel.before .compare-tag { background: rgba(248,113,113,0.12); color: var(--error); }
.compare-panel.after .compare-tag { background: var(--accent-soft); color: var(--accent-violet); }

.compare-panel ul { display: flex; flex-direction: column; gap: 14px; }
.compare-panel li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: 14.5px; }
.compare-panel.after li { color: var(--text); }
.compare-panel li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.compare-panel.before li svg { color: var(--error); }
.compare-panel.after li svg { color: var(--success); }

/* ==========================================================================
   Growth section (numbered)
   ========================================================================== */

.growth-item {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.growth-item:last-child { border-bottom: none; }
.growth-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-violet);
  width: 34px;
  flex-shrink: 0;
  padding-top: 3px;
}
.growth-item h3 { font-size: 18px; margin-bottom: 6px; }
.growth-item p { color: var(--text-muted); font-size: 15px; }

/* ==========================================================================
   Process timeline
   ========================================================================== */

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--border-strong), transparent);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 26px;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-violet);
  z-index: 1;
}
.timeline-content { padding-top: 8px; }
.timeline-content h3 { font-size: 20px; margin-bottom: 8px; }
.timeline-content p { color: var(--text-muted); max-width: 560px; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, rgba(139,124,246,0.09), var(--surface) 60%);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}
@media (max-width: 980px) { .price-card.featured { transform: none; } }

.price-badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--accent-gradient);
  color: #0a0b10;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.price-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-violet); margin-bottom: 12px; }
.price-desc { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; min-height: 42px; }
.price-value { font-family: var(--font-display); font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.price-value small { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.price-note { font-size: 13px; color: var(--text-faint); margin-bottom: 26px; }

.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-muted); }
.price-features svg { width: 17px; height: 17px; color: var(--accent-violet); flex-shrink: 0; margin-top: 2px; }

.pricing-disclaimer {
  margin-top: 44px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 900px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .addon-grid { grid-template-columns: 1fr; } }

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14.5px;
}
.addon-item span.price { font-family: var(--font-display); font-weight: 700; color: var(--accent-violet); font-size: 13.5px; white-space: nowrap; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-stars { display: flex; gap: 4px; color: var(--accent-violet); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote { color: var(--text-muted); font-size: 15px; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.7;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 12.5px; color: var(--text-faint); }
.placeholder-note {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  align-self: flex-start;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
}
.faq-question .icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent-violet); transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(139,124,246,0.14), rgba(91,141,239,0.08));
  border: 1px solid var(--accent-border);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) { .cta-band { padding: 48px 24px; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin: 16px 0 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover { color: var(--text); border-color: var(--accent-border); background: var(--accent-soft); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-col li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.footer-col li svg { width: 15px; height: 15px; margin-top: 3px; color: var(--accent-violet); flex-shrink: 0; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--text-muted); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.06s; }
.reveal-2 { transition-delay: 0.12s; }
.reveal-3 { transition-delay: 0.18s; }
.reveal-4 { transition-delay: 0.24s; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */

.page-hero {
  padding: calc(var(--nav-height) + 76px) 0 72px;
  position: relative;
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 18px; max-width: 760px; }
.page-hero p.lead { color: var(--text-muted); font-size: 17.5px; max-width: 620px; }
.breadcrumb-bar {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-faint); margin-bottom: 22px;
}
.breadcrumb-bar a:hover { color: var(--text-muted); }

/* ==========================================================================
   Detailed service blocks (services page)
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; gap: 24px; } }

.service-block-head .service-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-violet);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.service-block-head h3 { font-size: 24px; margin-bottom: 12px; }
.service-block-head p { color: var(--text-muted); font-size: 15px; }

.service-block-body .sb-row { margin-bottom: 22px; }
.service-block-body .sb-row:last-child { margin-bottom: 0; }
.service-block-body h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.service-block-body p { color: var(--text-muted); font-size: 15px; }
.service-block-body ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
@media (max-width: 560px) { .service-block-body ul { grid-template-columns: 1fr; } }
.service-block-body li { display: flex; gap: 8px; color: var(--text-muted); font-size: 14.5px; }
.service-block-body li svg { width: 15px; height: 15px; color: var(--accent-violet); margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   Why OSNOVAS
   ========================================================================== */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   About page
   ========================================================================== */

.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }

.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.founder-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(139,124,246,0.18), transparent 60%);
}
.founder-photo svg { width: 96px; height: 96px; color: var(--text-faint); opacity: 0.5; position: relative; }
.founder-photo .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text-faint); }

.founder-copy .eyebrow { margin-bottom: 12px; }
.founder-copy h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; }
.founder-copy p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.founder-tags span {
  font-size: 13px; padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.contact-info-card h3 { font-size: 18px; margin-bottom: 22px; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-row .icon-tile { margin-bottom: 0; width: 40px; height: 40px; flex-shrink: 0; }
.contact-info-row .icon-tile svg { width: 18px; height: 18px; }
.contact-info-row strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.contact-info-row span, .contact-info-row a { font-size: 14px; color: var(--text-muted); }
.contact-info-row a:hover { color: var(--accent-violet); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (max-width: 560px) { .form-card { padding: 26px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .opt { color: var(--text-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { font-size: 12.5px; color: var(--error); min-height: 16px; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  position: relative;
}
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label {
  display: inline-flex;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.radio-pill input:checked + label {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--text);
}
.radio-pill input:focus-visible + label { outline: 2px solid var(--accent-blue); outline-offset: 2px; }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.form-success.is-visible { display: block; }
.form-success .icon-tile { margin: 0 auto 20px; width: 62px; height: 62px; }
.form-success .icon-tile svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }
.form-body.is-hidden { display: none; }

.form-error-banner {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.form-error-banner.is-visible { display: flex; }
.form-error-banner svg { color: var(--error); flex-shrink: 0; margin-top: 1px; }
.form-error-banner a { color: var(--error); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Booking widget
   ========================================================================== */

.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.booking-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.booking-step {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-faint);
  position: relative;
}
.booking-step.is-active { color: var(--accent-violet); }
.booking-step.is-done { color: var(--text-muted); }
.booking-step::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: transparent;
}
.booking-step.is-active::after { background: var(--accent-gradient); }

.booking-panel { padding: 36px; }
@media (max-width: 560px) { .booking-panel { padding: 22px; } }
.booking-panel-section { display: none; }
.booking-panel-section.is-active { display: block; }

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-header h4 { font-family: var(--font-display); font-size: 16px; }
.cal-nav-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
}
.cal-nav-btn:hover { background: var(--surface-2); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav-btn svg { width: 16px; height: 16px; }

.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-weekdays { margin-bottom: 8px; }
.cal-weekdays span { text-align: center; font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  border: 1px solid transparent;
  background: transparent;
}
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-available { color: var(--text); border-color: var(--border); cursor: pointer; }
.cal-day.is-available:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.cal-day.is-selected { background: var(--accent-gradient); color: #0a0b10; font-weight: 700; }
.cal-day.is-disabled { color: var(--text-faint); opacity: 0.35; }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
@media (max-width: 480px) { .time-grid { grid-template-columns: repeat(2, 1fr); } }
.time-slot {
  padding: 12px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-muted);
}
.time-slot:hover { border-color: var(--accent-border); color: var(--text); }
.time-slot.is-selected { background: var(--accent-gradient); color: #0a0b10; border-color: transparent; font-weight: 700; }

.booking-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}
.booking-summary svg { width: 18px; height: 18px; color: var(--accent-violet); flex-shrink: 0; }

.booking-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 36px;
  border-top: 1px solid var(--border);
}
@media (max-width: 560px) { .booking-footer { padding: 16px 22px; } }

.booking-confirm { text-align: center; padding: 40px 20px; }
.booking-confirm .icon-tile { margin: 0 auto 20px; width: 62px; height: 62px; }
.booking-confirm .icon-tile svg { width: 28px; height: 28px; }
.booking-confirm h3 { font-size: 22px; margin-bottom: 10px; }
.booking-confirm p { color: var(--text-muted); max-width: 420px; margin: 0 auto; }
.booking-confirm-details {
  margin: 26px auto 0;
  max-width: 340px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: left;
  font-size: 14px;
}
.booking-confirm-details div { display: flex; justify-content: space-between; padding: 6px 0; }
.booking-confirm-details span:first-child { color: var(--text-faint); }
.booking-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

/* ==========================================================================
   Small utilities
   ========================================================================== */

.mt-0 { margin-top: 0; }
.center-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge-strip span {
  font-size: 12.5px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent-gradient);
  color: #0a0b10;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 24px; top: 12px; }


