/* =====================================================
   RAPIDPROTO — style.css
   ===================================================== */

/* ── Variables ───────────────────────────────────────── */
:root {
  --navy:     #0A1628;
  --navy2:    #0D1F3C;
  --card-bg:  #112240;
  --blue:     #0066FF;
  --teal:     #00C9A7;
  --white:    #FFFFFF;
  --ink:      #1A1A2E;
  --muted:    #8892B0;
  --border:   rgba(255,255,255,0.08);
  --light-bg: #F8FAFC;
  --light-text:#1A1A2E;

  --font:     'Inter', system-ui, sans-serif;
  --mono:     'JetBrains Mono', monospace;

  --ease:     cubic-bezier(0.4,0,0.2,1);
  --fast:     0.2s var(--ease);
  --med:      0.35s var(--ease);
  --slow:     0.6s var(--ease);

  --radius:   16px;
  --radius-lg:24px;
  --shadow:   0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg:0 20px 60px rgba(0,0,0,0.45);
}

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

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

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ── Utility ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.text-accent { color: var(--teal); }
.text-blue   { color: var(--blue); }

.icon-good  { color: var(--teal); }
.icon-bad   { color: #FF5B5B; }
.icon-muted { color: var(--muted); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0052CC);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,255,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid transparent;
  padding: 0.75rem 1.25rem;
}
.btn-ghost:hover { color: var(--white); }

/* ── Section Common ──────────────────────────────────── */
.section { padding: 7rem 0; }

.bg-light {
  background: var(--light-bg);
  color: var(--light-text);
}
.bg-light .section-tag  { color: var(--blue); }
.bg-light h2            { color: var(--ink); }
.bg-light h3            { color: var(--ink); }
.bg-light p             { color: #c0c5cd; }
.bg-light .muted        { color: #718096; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  font-family: var(--mono);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light .section-desc { color: #718096; }

/* ── Grid helpers ────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Scroll Reveal ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--slow), transform var(--slow);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION ──────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
}

.navbar.scrolled { background: rgba(10,22,40,0.97); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #fff 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color var(--fast), background var(--fast);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0052CC);
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  margin-left: 0.75rem;
  transition: transform var(--fast), box-shadow var(--fast);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,102,255,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--fast), opacity var(--fast);
}
.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); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,102,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-img-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,102,255,0.12);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.hero-img-wrap:hover .hero-img { transform: scale(1.015); }

/* ── PROBLEM SECTION ─────────────────────────────────── */
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--med), box-shadow var(--med);
}
.problem-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.problem-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(0,201,167,0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.problem-card h3 { color: var(--ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.problem-card p  { color: #4A5568; font-size: 0.95rem; line-height: 1.7; }

/* ── COMPARISON TABLE ────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th, .comparison-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.col-good { color: var(--teal); }
.col-bad  { color: var(--muted); }

.comparison-table td:first-child { color: var(--white); font-weight: 500; width: 22%; }
.comparison-table thead th.col-good { color: var(--teal); }

/* ── PROCESS SECTION ─────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  transition: transform var(--med), box-shadow var(--med);
}
.process-step:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }

.step-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0,102,255,0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), #0052CC);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.process-step h3 { color: var(--ink); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.process-step p  { color: #4A5568; font-size: 0.92rem; line-height: 1.65; }

/* ── SCORECARD ───────────────────────────────────────── */
.scorecard-wrap { max-width: 760px; margin: 0 auto; }

.scorecard {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.sc-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sc-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.sc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 6px;
  transition: width 0.4s var(--ease);
}

.sc-progress-label {
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--muted);
  white-space: nowrap;
}

.sc-questions { position: relative; min-height: 260px; }

.sc-question { display: none; }
.sc-question.active {
  display: block;
  animation: qFadeIn 0.35s var(--ease);
}

@keyframes qFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sc-question h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.75rem;
  line-height: 1.45;
}

.sc-opts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sc-opt {
  text-align: left;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--fast), background var(--fast), color var(--fast), transform var(--fast);
}
.sc-opt:hover {
  border-color: rgba(0,102,255,0.4);
  background: rgba(0,102,255,0.06);
  color: var(--white);
  transform: translateX(4px);
}
.sc-opt.selected {
  border-color: var(--teal);
  background: rgba(0,201,167,0.1);
  color: var(--white);
}
.sc-opt.selected::before {
  content: '✓ ';
  color: var(--teal);
  font-weight: 700;
}

.sc-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sc-textarea,
.sc-email-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sc-textarea:focus,
.sc-email-input:focus {
  outline: none;
  border-color: var(--accent);
}

.sc-email-input {
  resize: none;
}

.sc-char-count {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sc-input-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sc-email-error {
  color: #e53935;
  font-size: 0.85rem;
}

.sc-min-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Results */
.sc-results { animation: qFadeIn 0.5s var(--ease); }

.sc-result-score {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.sc-score-ring {
  min-width: 100px;
  text-align: center;
}
.sc-score-num {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--teal);
  line-height: 1;
  display: block;
}
.sc-score-out { font-size: 0.85rem; color: var(--muted); font-family: var(--mono); }

.sc-tier-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
}
.tier-idea     { background: rgba(255,91,91,0.15);  color: #FF5B5B;  border: 1px solid rgba(255,91,91,0.3); }
.tier-blueprint{ background: rgba(0,102,255,0.15);  color: #4D9FFF; border: 1px solid rgba(0,102,255,0.3); }
.tier-sprint   { background: rgba(0,201,167,0.15);  color: var(--teal); border: 1px solid rgba(0,201,167,0.3); }

.sc-tier-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.sc-recs { margin-bottom: 1.75rem; }
.sc-recs h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--white); }

.sc-rec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.sc-rec-item i  { color: var(--teal); font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.sc-rec-item p  { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin: 0; }

.sc-result-cta { margin-bottom: 1.5rem; }
.sc-next-step  { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.sc-next-step strong { color: var(--white); }

.sc-result-actions { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ── PACKAGES ────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pkg-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform var(--med), box-shadow var(--med), border-color var(--med);
  position: relative;
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-color: rgba(0,102,255,0.25);
}

.pkg-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(0,102,255,0.3), var(--shadow);
}
.pkg-featured:hover { border-color: var(--blue); }

.pkg-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pkg-label-hot { color: var(--teal); }

.pkg-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }

.pkg-price {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--white);
  margin: 1rem 0;
  letter-spacing: -0.03em;
}

.pkg-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }

.pkg-features {
  margin-bottom: 1.5rem;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.pkg-features li:last-child { border-bottom: none; }
.pkg-features li i { color: var(--teal); margin-top: 0.15rem; flex-shrink: 0; }

.pkg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.badge-guarantee { background: rgba(0,201,167,0.12); color: var(--teal); border: 1px solid rgba(0,201,167,0.25); }
.badge-investor  { background: rgba(0,102,255,0.12);  color: #4D9FFF; border: 1px solid rgba(0,102,255,0.25); }

.pkg-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.pkg-note i { color: var(--blue); margin-right: 0.25rem; }

/* ── RETAINER TABLE ──────────────────────────────────── */
.retainer-block {
  margin-top: 1rem;
  background: var(--navy2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: var(--white);
}

/* Override bg-light colour inheritance for retainer block headings/text */
.bg-light .retainer-block h2          { color: var(--white); }
.bg-light .retainer-block .section-tag { color: var(--teal); }
.bg-light .retainer-block p,
.bg-light .retainer-block .section-desc { color: var(--muted); }

.retainer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.retainer-table th, .retainer-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--white);
}
.retainer-table td:first-child { text-align: left; color: var(--muted); }
.retainer-table tbody tr:hover td { background: rgba(255,255,255,0.04); }
.retainer-table tbody tr:last-child td { border-bottom: none; }

.tier-featured { background: rgba(0,102,255,0.06); border-left: 1px solid rgba(0,102,255,0.2); border-right: 1px solid rgba(0,102,255,0.2); }
.retainer-table thead .tier-featured { border-top: 1px solid rgba(0,102,255,0.3); border-radius: var(--radius) var(--radius) 0 0; }

.tier-head { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.75rem 0; }
.tier-badge-hot { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-family: var(--mono); }
.tier-name  { font-size: 0.95rem; font-weight: 700; color: var(--white); }
.tier-price { font-size: 1.5rem; font-weight: 900; color: var(--white); font-family: var(--mono); letter-spacing: -0.03em; }
.tier-price small { font-size: 0.75rem; font-weight: 400; color: var(--muted); margin-left: 0.1rem; }

/* ── RETAINER TABLE – bg-light overrides ────────────── */
.bg-light .tier-name  { color: var(--white); }
.bg-light .tier-price { color: var(--white); }
.bg-light .tier-price small { color: #718096; }
.bg-light .retainer-table th,
.bg-light .retainer-table td { border-bottom-color: rgba(0,0,0,0.08); }
.bg-light .retainer-table td:first-child { color: var(--muted); }
.bg-light .retainer-table tbody tr:hover td { background: rgba(0,0,0,0.03); }
.bg-light .table-wrap { border-color: rgba(0,0,0,0.1); }

/* ── STACK SECTION ───────────────────────────────────── */
.stack-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: rgba(0,102,255,0.07);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: var(--radius);
  margin-bottom: 3.5rem;
}
.stack-callout i { color: var(--blue); font-size: 1.5rem; margin-top: 0.2rem; flex-shrink: 0; }
.stack-callout p { font-size: 1.05rem; color: var(--white); line-height: 1.65; font-style: italic; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stack-layer {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--med), border-color var(--med);
}
.stack-layer:hover { transform: translateY(-4px); border-color: rgba(0,102,255,0.25); }

.stack-layer h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stack-layer h4 i { color: var(--blue); }

.tech-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tech-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  transition: background var(--fast), color var(--fast);
}
.tech-badge:hover { background: rgba(0,201,167,0.1); color: var(--teal); }

.exit-ready {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.exit-ready h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.exit-ready h3 i { color: var(--teal); }

.exit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.exit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}
.exit-item i { color: var(--teal); flex-shrink: 0; }

/* ── CASE STUDIES ────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform var(--med), box-shadow var(--med);
  border: 1px solid rgba(0,0,0,0.06);
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.case-industry-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background: rgba(0,102,255,0.1);
  color: var(--blue);
  border: 1px solid rgba(0,102,255,0.2);
  margin-bottom: 1.25rem;
  font-family: var(--mono);
}
.badge-fintech { background: rgba(0,201,167,0.1); color: #00A388; border-color: rgba(0,201,167,0.25); }
.badge-edtech  { background: rgba(255,167,38,0.1); color: #D4800A; border-color: rgba(255,167,38,0.25); }
.badge-telem   { background: rgba(156,66,245,0.1);  color: #7B2FBE; border-color: rgba(156,66,245,0.25); }

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.case-section { margin-bottom: 1.1rem; }
.case-section strong { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 0.35rem; font-family: var(--mono); }
.case-section p { font-size: 0.9rem; color: #4A5568; line-height: 1.65; margin: 0; }

.case-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,0.07); }

.tech-pill {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: rgba(0,102,255,0.07);
  color: var(--blue);
  border-radius: 6px;
  border: 1px solid rgba(0,102,255,0.15);
}

/* ── BLOG ────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--med), box-shadow var(--med), border-color var(--med);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0,102,255,0.25); }

.blog-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-family: var(--mono);
  margin-bottom: 1rem;
}

.blog-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 1rem; }
.blog-card h3 a { color: var(--white); transition: color var(--fast); }
.blog-card h3 a:hover { color: var(--teal); }

.blog-teaser { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: auto; padding-bottom: 1.25rem; }

.blog-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.blog-meta i { margin-right: 0.3rem; }

.blog-link { font-size: 0.88rem; font-weight: 600; color: var(--teal); transition: gap var(--fast); }
.blog-link:hover { color: #00f2d6; }

/* ── GUARANTEE SECTION ───────────────────────────────── */
.guarantee-section {
  background: var(--navy2);
  position: relative;
  overflow: hidden;
}

.guarantee-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,201,167,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.guarantee-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,201,167,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.guarantee-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.guarantee-item {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--med), border-color var(--med);
}
.guarantee-item:hover { transform: translateY(-5px); border-color: rgba(0,201,167,0.25); }

.guarantee-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0,201,167,0.15), rgba(0,102,255,0.15));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal);
  margin: 0 auto 1.5rem;
}

.guarantee-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white); }
.guarantee-item p  { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--fast);
}
.faq-q:hover { color: var(--blue); }
.faq-q.open   { color: var(--blue); }

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--blue);
  transition: transform var(--fast);
}
.faq-q.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding var(--fast);
}
.faq-a.open { max-height: 300px; padding-bottom: 1.25rem; }

.faq-a p { font-size: 0.95rem; color: #4A5568; line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--white) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.footer-tagline { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.5; }

.footer-email {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  transition: color var(--fast);
}
.footer-email:hover { color: #00f2d6; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-family: var(--mono);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  transition: color var(--fast);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer-legal { font-size: 0.78rem !important; max-width: 600px; margin: 0 auto !important; line-height: 1.6; }

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRINT STYLES (Scorecard Report) ─────────────────── */
@media print {
  body * { visibility: hidden; }
  #scorecard, #scorecard * { visibility: visible; }
  #scorecard { position: absolute; inset: 0; background: white; color: black; padding: 2rem; }
  .sc-results { display: block !important; color: black; }
  .sc-score-num { color: #0066FF; }
  .navbar, .hero, #problem, #difference, #process, #services, #stack,
  #case-studies, #blog, #guarantee, #faq, .footer { display: none; }
  .sc-result-actions { display: none; }
  .sc-rec-item { border: 1px solid #ddd; }
}

/* ── RESPONSIVE — 1200px ─────────────────────────────── */
@media (max-width: 1200px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE — 992px ──────────────────────────────── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cases-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

/* ── RESPONSIVE — 768px ──────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform var(--med);
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { transform: translateY(0); }

  .nav-link { width: 100%; padding: 0.75rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav-cta  { margin-left: 0; margin-top: 0.5rem; width: 100%; text-align: center; justify-content: center; }

  .hero { padding: 5rem 0 4rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }

  .grid-3 { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .exit-grid { grid-template-columns: 1fr; }

  .comparison-table td, .comparison-table th { padding: 0.85rem 1rem; font-size: 0.85rem; }

  .scorecard { padding: 2rem 1.5rem; }

  .sc-result-score { flex-direction: column; text-align: center; }

  .retainer-table { font-size: 0.82rem; }
  .retainer-table th, .retainer-table td { padding: 0.75rem 0.6rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  h2 { font-size: 1.9rem; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── RESPONSIVE — 480px ──────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .scorecard { padding: 1.5rem 1.25rem; }
  .hero-headline { font-size: 1.9rem; }
}

/* ── BLOG PAGES ─────────────────────────────────────────── */
:root { --accent: var(--blue); }

.blog-hero {
  background: var(--navy2);
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin: 1rem 0;
  max-width: 820px;
}
.blog-hero .blog-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.5rem;
}
.blog-article {
  padding: 3rem 0 4rem;
}
.blog-container {
  max-width: 760px;
}
.blog-container h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}
.blog-container h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 1.75rem 0 0.5rem;
}
.blog-container p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.blog-container ul, .blog-container ol {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-container li { margin-bottom: 0.4rem; }
.blog-container code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--navy2);
  color: var(--teal);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}
.blog-container pre {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.blog-container pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.blog-container blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.75rem 1.25rem;
  background: var(--navy2);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--white);
}
.blog-container a { color: var(--accent); text-decoration: underline; }
.blog-container a:hover { color: var(--teal); }
.blog-nav-section { padding: 2.5rem 0; }
.blog-checklist { list-style: none; padding: 0; }
.blog-checklist li { padding: 0.4rem 0 0.4rem 1.75rem; position: relative; color: var(--muted); }
.blog-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Scorecard CAPTCHA + Submit */
.sc-captcha-wrap {
  margin: 1.25rem 0 1rem;
}
.sc-submit-status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}
.sc-submit-ok  { color: #16a34a; }
.sc-submit-err { color: #dc2626; }
