/* ============================================================
   Sentira — design system (minimalist, elegant)
   ============================================================ */
:root {
  --bg:        #0a0e16;
  --bg-2:      #0d1220;
  --surface:   #111725;
  --surface-2: #161d2e;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.13);

  --text:      #edf0f6;
  --muted:     #98a2b4;
  --muted-2:   #6a7488;

  /* Restrained, minimal color palette */
  --blue:      #4f7cf0;    /* primary action */
  --cyan:      #5bb8d6;    /* accent, used sparingly */
  --grad:      linear-gradient(100deg, #3f6fe0 0%, #5285ee 54%, #5bb8d6 100%);

  --radius:    12px;
  --radius-sm: 8px;
  --maxw:      1160px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { 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; } }

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

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--cyan); }

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--surface-2); color: var(--text); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--primary {
  background: var(--blue); color: #fff; font-weight: 600;
  box-shadow: 0 4px 16px -8px rgba(79,124,240,.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(79,124,240,.6); }
.btn--ghost { border-color: var(--line-2); color: var(--muted); background: transparent; }
.btn--ghost:hover { border-color: rgba(255,255,255,.3); color: var(--text); }

/* ---------- Starfield Background ---------- */
.starfield {
  position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.8), rgba(255,255,255,0)),
                    radial-gradient(1px 1px at 60px 70px, rgba(255,255,255,.6), rgba(255,255,255,0)),
                    radial-gradient(1px 1px at 50px 50px, rgba(255,255,255,.7), rgba(255,255,255,0)),
                    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,.5), rgba(255,255,255,0)),
                    radial-gradient(1px 1px at 90px 10px, rgba(255,255,255,.6), rgba(255,255,255,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.4;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,14,22,.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }

.nav__links { display: flex; gap: 32px; }
.nav__links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--cyan); transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 10px 24px 20px;
  background: rgba(10,14,22,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 14px 4px; color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 500; }
.nav__mobile a:last-child { border: 0; margin-top: 12px; justify-content: center; }
.nav.is-open .nav__mobile { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.hero__content { max-width: 680px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 999px;
  background: transparent; margin-bottom: 28px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(91,184,214,.5); }

.hero__title { font-size: clamp(2.8rem, 6.8vw, 4.8rem); margin-bottom: 28px; font-weight: 700; }
.hero__title .grad { display: block; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 680px; margin-bottom: 38px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }

/* Hero media panel */
.hero__media { position: relative; }
.hero__media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 768 / 1146; max-height: 640px; margin-left: auto;
  background: transparent;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; display: block; background: transparent; }
.hero__chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 12px; font-weight: 500; color: var(--text);
  padding: 9px 14px; border-radius: 999px;
  background: rgba(10,14,22,.7); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(91,184,214,.7); }

/* ---------- POV ---------- */
.pov { padding: 100px 0; border-bottom: 1px solid var(--line); }
.pov__text { font-family: var(--font-head); font-size: clamp(1.4rem, 3.2vw, 2.2rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; max-width: 960px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 64px; }
.kicker { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 20px; font-weight: 700; }
.section__sub { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 36px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card__num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--cyan); letter-spacing: .1em; margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.card p { color: var(--muted); margin-bottom: 22px; line-height: 1.7; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.card__list li { position: relative; padding-left: 24px; color: var(--text); font-size: 15px; }
.card__list li::before { content:""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 1px; background: var(--cyan); }

/* ---------- Contrast ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contrast__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 36px; background: var(--surface); }
.contrast__col h3 { font-size: 1.3rem; margin-bottom: 26px; }
.contrast__col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contrast__col li { position: relative; padding-left: 30px; color: var(--muted); line-height: 1.6; }
.contrast__col--bad li::before { content:"✕"; position: absolute; left: 0; top: -2px; color: #e07482; font-weight: 700; font-size: 18px; }
.contrast__col--good { background: linear-gradient(180deg, rgba(91,184,214,.06), transparent); border-color: rgba(91,184,214,.25); }
.contrast__col--good li { color: var(--text); }
.contrast__col--good li::before { content:"✓"; position: absolute; left: 0; top: -2px; color: var(--cyan); font-weight: 700; font-size: 18px; }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.outcome { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 32px; background: var(--surface); transition: background .3s, border-color .3s; }
.outcome:hover { background: var(--surface-2); border-color: var(--line-2); }
.outcome h3 { font-size: 1.15rem; margin-bottom: 10px; }
.outcome p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 36px; background: var(--surface); }
.plan--feature { border-color: var(--cyan); background: linear-gradient(180deg, rgba(91,184,214,.08), var(--surface)); box-shadow: 0 12px 40px -24px rgba(91,184,214,.3); }
.plan__badge { display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; margin-bottom: 20px; }
.plan__badge--hot { color: #fff; background: var(--blue); border-color: transparent; }
.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan__meta { color: var(--cyan); font-size: 13px; font-family: var(--font-head); margin-bottom: 18px; }
.plan > p { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text); }
.plan li::before { content:""; position:absolute; left:0; top:7px; width:6px; height:6px; border-radius:1px; background: var(--cyan); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.faq-item {
  border-bottom: 1px solid var(--line); padding-bottom: 32px;
}
.faq-item h3 { font-size: 1.2rem; margin-bottom: 14px; }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- Responsive FAQ ---------- */
@media (max-width: 900px){
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}
.case-studies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-study {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
  background: var(--surface); transition: transform .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.case-study:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case-study__metric {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px;
}
.case-study__number {
  font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: var(--cyan); line-height: 1;
}
.case-study__unit { font-size: 1.8rem; }
.case-study__label { font-family: var(--font-head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.case-study h3 { font-size: 1.15rem; margin-bottom: 16px; }
.case-study p { color: var(--muted); font-size: 15px; margin-bottom: 12px; line-height: 1.7; }
.case-study p strong { color: var(--text); font-weight: 600; }

/* ---------- Responsive case studies ---------- */
@media (max-width: 900px){
  .case-studies { grid-template-columns: 1fr; }
}
.cta { padding: 140px 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 20px; font-weight: 700; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; line-height: 1.7; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 80px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer__cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; }
.footer__cols a { display: block; color: var(--muted); padding: 8px 0; font-size: 15px; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; color: var(--muted-2); font-size: 14px; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { max-width: 680px; }
  .hero__media { order: -1; }
  .hero__media-frame { max-height: 380px; max-width: 480px; margin: 0 auto; aspect-ratio: 16 / 10; }
  .hero__media-frame img { object-position: center 20%; }
  .cards, .contrast, .outcomes, .plans, .footer__inner { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .footer__inner { gap: 44px; }
}
@media (max-width: 560px){
  body { font-size: 16px; }
  .section { padding: 90px 0; }
  .hero { padding: 140px 0 50px; }
  .outcomes { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta__actions .btn { width: 100%; }
  .plans { grid-template-columns: 1fr; }
}
