/* Page-specific CSS for websites.html */

/* ============================================================
   HERO
============================================================ */
#hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(0,201,177,.12) 0%, rgba(29,111,255,.1) 35%, transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,111,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,201,177,.1);
  border: 1px solid rgba(0,201,177,.28);
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
  flex-shrink: 0;
}
.hero-h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(125deg, var(--teal), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   PROBLEM
============================================================ */
#problem {
  background: var(--off-white);
  padding: 100px 0;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.7; }
.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prob-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.prob-vis { width: 100%; margin-bottom: 24px; border-radius: 10px; overflow: hidden; line-height: 0; }
.prob-vis svg { width: 100%; height: auto; display: block; }
.prob-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 12px; }
.prob-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   WHAT WE BUILD
============================================================ */
#what {
  background: var(--white);
  padding: 100px 0;
}
.what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.what-text h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 800; margin-bottom: 20px; }
.what-text > p { font-size: 16.5px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.what-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.what-checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.chk-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(29,111,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.what-checks li p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.what-checks li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}
.what-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.metric-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.metric-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.metric-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  color: var(--blue);
}
.metric-label { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.metric-label strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.what-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.what-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.what-stat {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 20px 0 12px;
}
.what-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; line-height: 1.25; }
.what-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   PROCESS
============================================================ */
#process {
  background: var(--white);
  padding: 100px 0;
}
.process-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}
.process-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.process-head p { font-size: 17px; color: var(--muted); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.steps-grid::before { display: none; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step .prob-vis { margin-bottom: 0; border-radius: 0; }
.step-body { padding: 28px; }
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   WHY CUSTOM CODE
============================================================ */
#why {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,201,177,.1) 0%, transparent 55%);
  pointer-events: none;
}
.why-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.why-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.why-head p { font-size: 17px; color: rgba(255,255,255,.55); line-height: 1.65; }
.why-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  overflow: hidden;
}
.compare-table {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.compare-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.compare-head span {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.compare-head span:not(:first-child) { border-left: 1px solid rgba(255,255,255,.06); text-align: center; }
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.compare-row:last-child { border-bottom: none; }
.compare-row span {
  padding: 14px 18px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
.compare-row span:not(:first-child) { border-left: 1px solid rgba(255,255,255,.06); text-align: center; }
.compare-row span.yes { color: #4ade80; font-weight: 700; }
.compare-row span.no { color: rgba(255,255,255,.28); }
.compare-row span.partial { color: #fbbf24; }
.compare-row .row-label { font-weight: 500; color: rgba(255,255,255,.8); }

/* ============================================================
   FINAL CTA
============================================================ */
#cta {
  background: linear-gradient(180deg, var(--navy) 0%, #020810 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,201,177,.10) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.cta-inner h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-trust span {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 7px;
}
.cta-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — 900px
============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hero-copy     { display: contents; }
  .hero-badge    { order: 1; }
  .hero-h1       { order: 2; }
  .hero-visual   { order: 3; margin: 36px auto 32px; }
  .hero-sub      { order: 4; max-width: none; }
  .hero-ctas     { order: 5; justify-content: center; }
  .hero-visual img { width: 100%; max-width: 420px; height: auto; }
  .prob-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .why-inner { grid-template-columns: 1fr; gap: 52px; }
}

/* ============================================================
   RESPONSIVE — 640px
============================================================ */
@media (max-width: 640px) {
  #hero { padding: 100px 0 60px; }
  #problem, #what, #process, #why, #cta { padding: 70px 0; }
  .prob-grid { max-width: none; }
  .what-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-visual img { width: 100%; height: auto; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 340px; }
  .compare-head span, .compare-row span { padding: 10px 12px; font-size: 12px; }
}
