/* ============================================================
   Hypomeister landing — full-page section styles
   (loads after base.css)
   ============================================================ */

/* ---------- Top nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  transition: background .3s var(--ease), border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,12,22,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border-1);
  padding: 12px 32px;
}
.nav .links { display: flex; gap: 30px; }
.nav .links a { color: var(--fg-3); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav .links a:hover { color: var(--fg-1); }
.nav .right { display: flex; align-items: center; gap: 14px; }
.nav .btn { border-radius: var(--r-lg); }
@media (max-width: 880px){
  .nav .links { display: none; }
  .nav { padding: 12px 18px; }
  .nav .right .lang,
  .nav .right a.btn-primary { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: 110px 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -1px; line-height: 1.08; margin: 0 0 16px;
}
.section-head p { color: var(--fg-3); font-size: clamp(15px,1.6vw,18px); line-height: 1.6; margin: 0 auto; max-width: 580px; }
.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.reveal { opacity: 1; transform: none; }
html.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ html.anim .reveal { opacity:1 !important; transform:none !important; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero .mesh { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 78% 8%, rgba(59,130,246,0.22), transparent 70%),
    radial-gradient(42% 42% at 90% 60%, rgba(0,211,242,0.14), transparent 70%),
    radial-gradient(40% 40% at 8% 30%, rgba(59,130,246,0.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; position: relative; }
.hero .copy { max-width: 560px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -1.4px; line-height: 1.12; margin: 0;
}
.hero .lede { color: var(--fg-2); font-size: clamp(16px,1.5vw,18px); line-height: 1.6; margin: 22px 0 28px; max-width: 500px; }
.hero .capture { margin-bottom: 16px; }
.hero .below { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-stage .glow-orb { position: absolute; border-radius: 50%; filter: blur(72px); }
.hero-stage .orb1 { width: 460px; height: 460px; background: rgba(0,211,242,0.26); right: -30px; top: 30px; }
.hero-stage .orb2 { width: 380px; height: 380px; background: rgba(59,130,246,0.34); left: 0; bottom: -10px; }
.hero-stage .phone { width: 300px; transform: rotate(3deg); }
.hero-stage .chip-1 { left: -30px; top: 80px; }
.hero-stage .chip-2 { right: -34px; top: 280px; }
.hero-stage .chip-3 { left: -6px; bottom: 80px; }
@media (max-width: 960px){
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero { padding-top: 120px; }
  .hero .copy { max-width: 620px; }
  .hero-stage { min-height: 500px; margin-top: 10px; }
  .hero-stage .chip-1, .hero-stage .chip-3 { display: none; }
}
@media (max-width: 520px){
  .hero .capture { flex-direction: column; }
  .hero .capture .btn { width: 100%; }
  .hero-stage .phone { width: 250px; }
  .hero-stage .chip-2 { right: -10px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); background: rgba(255,255,255,0.015); }
.trust-strip .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding: 26px 32px; }
.trust-strip .item { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 14px; font-weight: 500; }
.trust-strip .item svg { width: 18px; height: 18px; color: var(--primary-300); flex: none; }

/* ============================================================
   FEATURES — sticky scrollytelling
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: start; }
.feat-sticky { position: sticky; top: 100px; height: calc(100vh - 130px); min-height: 520px; display: grid; place-items: center; }
.feat-device { position: relative; }
.feat-device .phone { width: 290px; }
.feat-device .phone .screen .layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.feat-device .phone .screen .layer.on { opacity: 1; }
.feat-device .phone .screen .layer img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.feat-device .phone .screen .layer.inset img { transform: scale(1.085); transform-origin: center 46%; }
.feat-device .glow-orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(70px);
  background: rgba(59,130,246,0.26); left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: -1; transition: background .6s; }

.feat-steps { display: flex; flex-direction: column; }
.feat-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }
.feat-step .tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--primary-300); padding: 6px 12px; border: 1px solid rgba(59,130,246,0.3);
  border-radius: var(--r-pill); background: rgba(59,130,246,0.08); margin-bottom: 18px;
}
.feat-step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,34px); letter-spacing: -0.6px; line-height: 1.12; margin: 0 0 14px; }
.feat-step p { color: var(--fg-3); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 440px; }
.feat-step ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-step li { display: flex; align-items: center; gap: 12px; color: var(--fg-2); font-size: 15px; }
.feat-step li .tick { width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center;
  background: rgba(94,233,181,0.14); color: var(--green); }
.feat-step li .tick svg { width: 13px; height: 13px; }

@media (max-width: 900px){
  .feat-grid { grid-template-columns: 1fr; gap: 0; }
  .feat-sticky { position: relative; top: 0; height: auto; min-height: 0; margin-bottom: 36px; }
  .feat-steps { gap: 70px; }
  .feat-step { min-height: 0; }
  .feat-device .phone { width: 250px; }
}

/* ============================================================
   GALLERY marquee
   ============================================================ */
.gallery { overflow: hidden; }
.marquee { position: relative; display: flex; gap: 28px; width: max-content; animation: slidegal 64s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes slidegal { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.marquee .phone { width: 240px; flex: none; }
.gallery .fade-l, .gallery .fade-r { position: absolute; top: 0; bottom: 0; width: 140px; z-index: 3; pointer-events: none; }
.gallery .fade-l { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.gallery .fade-r { right: 0; background: linear-gradient(270deg, var(--bg-0), transparent); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tcard { background: var(--surface); border: 1px solid var(--border-1); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.tcard .stars { color: #FBBF24; font-size: 15px; letter-spacing: 1px; }
.tcard blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg-2); flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.tcard .who b { display: block; font-size: 14px; color: var(--fg-1); }
.tcard .who span { font-size: 12.5px; color: var(--fg-4); }
@media (max-width: 860px){ .tgrid { grid-template-columns: 1fr; } }

/* ============================================================
   SECURITY
   ============================================================ */
.sec-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sec-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.8vw,42px); letter-spacing: -1px; line-height: 1.1; margin: 16px 0 16px; }
.sec-copy > p { color: var(--fg-3); font-size: 17px; line-height: 1.6; margin: 0 0 30px; max-width: 460px; }
.sec-points { display: flex; flex-direction: column; gap: 18px; }
.sec-point { display: flex; gap: 16px; }
.sec-point .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(59,130,246,0.12); color: var(--primary-300); border: 1px solid rgba(59,130,246,0.22); }
.sec-point .ic svg { width: 20px; height: 20px; }
.sec-point b { display: block; font-size: 16px; color: var(--fg-1); margin-bottom: 4px; }
.sec-point p { margin: 0; color: var(--fg-4); font-size: 14px; line-height: 1.5; }
.sec-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.sec-shield { position: relative; width: 220px; height: 220px; border-radius: 32px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--border-2);
  display: grid; place-items: center; box-shadow: var(--shadow-float); }
.sec-shield svg { width: 92px; height: 92px; color: var(--primary-300); }
.sec-visual .ring { position: absolute; border: 1px solid var(--border-1); border-radius: 50%; }
.sec-visual .r1 { width: 320px; height: 320px; } .sec-visual .r2 { width: 420px; height: 420px; opacity:.6; }
.sec-visual .orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(70px); background: rgba(59,130,246,0.2); }
@media (max-width: 860px){ .sec-wrap { grid-template-columns: 1fr; gap: 40px; } .sec-visual { min-height: 300px; } }

/* ============================================================
   DOWNLOAD / badges
   ============================================================ */
.dl { position: relative; overflow: hidden; }
.dl-card { position: relative; border-radius: 28px; border: 1px solid var(--border-2);
  background: radial-gradient(120% 120% at 80% 0%, rgba(59,130,246,0.16), transparent 60%), linear-gradient(180deg,#0f1a2e,#0b1322);
  padding: 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; overflow: hidden; }
.dl-card h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,42px); letter-spacing:-1px; margin: 14px 0 14px; }
.dl-card > div > p { color: var(--fg-3); font-size: 17px; line-height: 1.6; margin: 0 0 26px; max-width: 420px; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 20px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,0.16); transition: transform .25s var(--ease), border-color .2s; cursor: pointer; }
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .lab small { display: block; font-size: 10px; color: #cbd5e1; letter-spacing: .3px; }
.store-badge .lab b { display: block; font-size: 17px; color: #fff; font-weight: 600; letter-spacing: .2px; line-height: 1.1; }
.dl-extra { display: flex; align-items: center; gap: 16px; margin-top: 24px; color: var(--fg-4); font-size: 13px; }
.qr { width: 84px; height: 84px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--fg-5); font-size: 11px; text-align:center; flex:none; }
.dl-phones { position: relative; display: grid; place-items: center; min-height: 360px; }
.dl-phones .phone { width: 250px; transform: rotate(-4deg); }
.dl-phones .glow-orb { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(70px); background: rgba(0,211,242,0.2); }
@media (max-width: 820px){ .dl-card { grid-template-columns: 1fr; padding: 36px; } .dl-phones { min-height: 320px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color .25s; }
.faq-item.open { border-color: var(--border-glow); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--fg-1); font-size: 16.5px; font-weight: 600; }
.faq-q .pm { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--primary-300); transition: transform .3s var(--ease); }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--fg-3); font-size: 15px; line-height: 1.6; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; padding: 130px 0; text-align: center; }
.cta .mesh { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0%, rgba(59,130,246,0.22), transparent 70%), radial-gradient(40% 60% at 50% 100%, rgba(0,211,242,0.12), transparent 70%); }
.cta .inner { position: relative; max-width: 680px; margin: 0 auto; padding: 0 24px; }
.cta .logo-badge { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 24px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-float); }
.cta .logo-badge img { width: 38px; height: 38px; }
.cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px,4.6vw,52px); letter-spacing: -1.2px; line-height: 1.06; margin: 0 0 16px; }
.cta p { color: var(--fg-3); font-size: 18px; margin: 0 0 30px; }
.cta .capture { margin: 0 auto; }
@media (max-width: 520px){ .cta .capture { flex-direction: column; } .cta .capture .btn { width: 100%; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border-1); padding: 64px 0 36px; background: var(--bg-1); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--fg-4); font-size: 14px; line-height: 1.6; margin: 16px 0 0; max-width: 280px; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--fg-2); margin: 0 0 16px; text-transform: uppercase; }
.foot-col a { display: block; color: var(--fg-4); font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--fg-1); }
.foot-disclaimer { font-size: 12px; line-height: 1.6; color: var(--fg-4); max-width: 640px;
  margin: 32px 0 0; padding: 14px 18px; border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--surface); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-1); }
.foot-bottom span { color: var(--fg-5); font-size: 13px; }
.foot-bottom .socials { display: flex; gap: 12px; }
.foot-bottom .socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-1); color: var(--fg-4); transition: color .2s, border-color .2s; }
.foot-bottom .socials a:hover { color: var(--fg-1); border-color: var(--border-2); }
.foot-bottom .socials svg { width: 17px; height: 17px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr 1fr; } .section { padding: 80px 0; } }

/* ---------- mobile menu sheet ---------- */
.menu-btn { display:none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-2); color: var(--fg-1); place-items:center; }
.menu-btn svg { width: 22px; height: 22px; }
.sheet { position: fixed; inset: 0; z-index: 200; background: rgba(7,12,22,0.96); backdrop-filter: blur(10px); display: none; flex-direction: column; padding: 24px; }
.sheet.open { display: flex; }
.sheet .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.sheet a { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--fg-1); padding: 16px 0; border-bottom: 1px solid var(--border-1); }
.sheet .btn { margin-top: 24px; border-radius: var(--r-lg); }
.sheet .sheet-lang { margin: 20px 0 0; align-self: flex-start; }
@media (max-width: 880px){ .menu-btn { display: grid; } }

/* ============================================================
   Cookie Consent — Hypomeister theme override
   ============================================================ */
#cc-main {
  --cc-font-family:        var(--font-sans);
  --cc-modal-border-radius: var(--r-xl);
  --cc-btn-border-radius:   var(--r-pill);

  /* colours */
  --cc-primary-color:       var(--primary);
  --cc-bg:                  var(--bg-1);
  --cc-secondary-bg:        var(--surface);
  --cc-text:                var(--fg-1);
  --cc-secondary-text:      var(--fg-3);
  --cc-separator-border-color: var(--border-1);
  --cc-cookie-category-block-bg: var(--surface);
  --cc-cookie-category-block-bg-hover: var(--surface-2);
  --cc-cookie-category-block-border: var(--border-1);

  /* accept-all button — matches .btn-primary */
  --cc-btn-primary-bg:      var(--primary);
  --cc-btn-primary-color:   #fff;
  --cc-btn-primary-hover-bg: var(--primary-600);

  /* necessary-only / secondary button */
  --cc-btn-secondary-bg:    rgba(255,255,255,0.04);
  --cc-btn-secondary-color: var(--fg-1);
  --cc-btn-secondary-hover-bg: rgba(255,255,255,0.09);

  /* toggle */
  --cc-toggle-on-bg:        var(--primary);
  --cc-toggle-off-bg:       var(--surface-2);
  --cc-toggle-enabled-icon-color: #fff;
  --cc-toggle-readonly-bg:  rgba(59,130,246,0.25);

  /* bar at bottom */
  --cc-bar-block-bg:        var(--bg-1);
  --cc-overlay-bg:          rgba(7,12,22,0.55);
  --cc-z-index:             190;   /* below mobile sheet (200) */
}
