/* ============================================
   NC Phone — Premium Aesthetic Edition
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================
   THEME TOKENS
   ========================================= */
:root {
  /* Brand */
  --red: #E30613;
  --red-soft: #ff4d5a;
  --blue: #336699;
  --blue-soft: #5b9bd5;
  --violet: #7c3aed;
  --grad: linear-gradient(135deg, #E30613 0%, #336699 100%);
  --grad-wide: linear-gradient(135deg, #E30613 0%, #336699 100%);

  /* Light surfaces */
  --bg: #fafbfe;
  --bg-alt: #f0f2f8;
  --card: #ffffff;
  --card-hover: #fafbfe;
  --glass: rgba(255,255,255,.55);
  --glass-strong: rgba(255,255,255,.78);
  --nav-bg: rgba(250,251,254,.75);

  /* borders */
  --bdr: rgba(0,0,0,.06);
  --bdr-focus: rgba(51,102,153,.3);

  /* text */
  --t1: #111827;
  --t2: #4b5563;
  --t3: #9ca3af;
  --t-over-dark: #ffffff;
  --t-over-dark-sub: rgba(255,255,255,.7);
  --t-over-dark-dim: rgba(255,255,255,.4);

  /* shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.04);
  --sh-sm: 0 2px 8px rgba(0,0,0,.05);
  --sh: 0 8px 30px rgba(0,0,0,.07);
  --sh-lg: 0 16px 50px rgba(0,0,0,.09);
  --sh-device: 0 24px 80px rgba(0,0,0,.12);
  --sh-glow-r: 0 0 50px rgba(227,6,19,.08);
  --sh-glow-b: 0 0 50px rgba(51,102,153,.06);

  /* Orbs */
  --orb-o: .08;
  --grid-o: .025;
  --particle-c: rgba(51,102,153,.08);

  /* sizing */
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 99px;
  --ease: cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --dur: .4s;
  --font: 'Figtree', system-ui, -apple-system, sans-serif;
  --max-w: 1180px;
}



/* =========================================
   RESET
   ========================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;scroll-snap-type:y mandatory}
body{font-family:var(--font);color:var(--t1);background:var(--bg);line-height:1.65;overflow-x:hidden}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}
button{border:none;background:none;cursor:pointer;font-family:inherit;color:inherit}

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

/* Scroll snap — each section fills the viewport */
.hero,.platforms,.features,.showcase,.diff,.comply,.faq,.cta-band{
  scroll-snap-align:start;
  min-height:100vh;
  display:flex;
  align-items:center;
}
.site-footer{scroll-snap-align:start}
/* Ensure inner wrap fills width inside flex sections */
.platforms > .wrap,
.features > .wrap,
.showcase > .wrap,
.diff > .wrap,
.comply > .wrap,
.faq > .wrap,
.cta-band > .wrap{width:100%}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,h2,h3,h4{font-weight:700;color:var(--t1);line-height:1.12;transition:color .6s}
h1{font-size:clamp(2.6rem,5.5vw,4.2rem);font-weight:900;letter-spacing:-.035em}
h2{font-size:clamp(2rem,3.8vw,3rem);letter-spacing:-.025em}
h3{font-size:1.15rem;font-weight:600}
p{color:var(--t2);transition:color .6s}

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

.tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 14px;border-radius:var(--pill);
  font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--red);background:rgba(227,6,19,.06);border:1px solid rgba(227,6,19,.1);
}

.sec-head{text-align:center;max-width:650px;margin:0 auto 60px}
.sec-head p{margin-top:14px;font-size:1.08rem}

/* =========================================
   BUTTONS
   ========================================= */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 30px;border-radius:var(--pill);
  font-weight:600;font-size:.92rem;
  transition:all var(--dur) var(--ease);
  position:relative;overflow:hidden;
}
.btn-hero{
  padding:16px 36px;font-size:1rem;
  background:var(--grad);color:#fff;
  box-shadow:0 6px 24px rgba(227,6,19,.25);
}
.btn-hero:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 10px 35px rgba(227,6,19,.35)}
.btn-ghost{
  background:var(--glass);border:1.5px solid var(--bdr);
  color:var(--t1);backdrop-filter:blur(14px);
}
.btn-ghost:hover{border-color:var(--bdr-focus);transform:translateY(-2px)}
.btn-white{background:#fff;color:var(--red);font-weight:700;box-shadow:0 6px 24px rgba(0,0,0,.1)}
.btn-white:hover{transform:translateY(-3px);box-shadow:0 10px 35px rgba(0,0,0,.15)}
.btn-outl{border:1.5px solid rgba(255,255,255,.25);color:#fff}
.btn-outl:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-nav{padding:10px 22px;font-size:.82rem}

/* =========================================
   AMBIENT BACKGROUND
   ========================================= */
.ambient{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.orb{
  position:absolute;border-radius:50%;filter:blur(100px);
  opacity:var(--orb-o);transition:opacity .8s;
  animation:drift 28s ease-in-out infinite;
}
.orb-r{width:550px;height:550px;background:var(--red);top:-8%;left:-4%}
.orb-b{width:480px;height:480px;background:var(--blue);top:35%;right:-8%;animation-delay:-8s;animation-duration:32s}
.orb-v{width:350px;height:350px;background:var(--blue-soft);bottom:8%;left:25%;animation-delay:-14s;animation-duration:24s;opacity:calc(var(--orb-o)*.4)}
@keyframes drift{
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(40px,-25px) scale(1.08)}
  66%{transform:translate(-30px,35px) scale(.94)}
}
.grid-bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(120,120,140,var(--grid-o)) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(120,120,140,var(--grid-o)) 1px,transparent 1px);
  background-size:72px 72px;
}
.particle{
  position:fixed;border-radius:50%;pointer-events:none;z-index:0;
  background:var(--particle-c);
  animation:rise linear infinite;
}
@keyframes rise{
  0%{transform:translateY(100vh) translateX(0);opacity:0}
  8%{opacity:1}92%{opacity:1}
  100%{transform:translateY(-100vh) translateX(30px);opacity:0}
}

/* z-layers */
nav,main,.site-footer{position:relative;z-index:1}

/* =========================================
   NAV
   ========================================= */
nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:var(--nav-bg);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
  border-bottom:1px solid var(--bdr);
  transition:background .6s,box-shadow .3s,border-color .6s;
}
nav.scrolled{box-shadow:var(--sh)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:34px;width:auto}

.nav-menu{display:flex;align-items:center;gap:6px}
.nav-menu a{padding:8px 16px;font-size:.88rem;font-weight:500;color:var(--t2);border-radius:var(--pill);transition:var(--dur)}
.nav-menu a:not(.btn):hover{color:var(--t1);background:rgba(51,102,153,.06)}
.nav-menu .btn{margin-left:8px;color:#fff}
.burger{display:none;flex-direction:column;gap:5px;padding:8px}
.burger span{display:block;width:22px;height:2px;background:var(--t1);border-radius:2px;transition:var(--dur)}

/* ── Language Switcher ── */
.lang-switcher{position:relative;margin-left:8px}
.lang-toggle{
  display:flex;align-items:center;gap:5px;
  padding:6px 12px;border-radius:var(--pill);
  background:var(--glass);border:1px solid var(--bdr);
  color:var(--t2);font-size:.78rem;font-weight:600;
  cursor:pointer;transition:var(--dur);
  font-family:inherit;backdrop-filter:blur(10px);
}
.lang-toggle:hover{color:var(--t1);border-color:var(--bdr-focus);background:rgba(51,102,153,.06)}
.lang-toggle svg{opacity:.6}
.lang-dropdown{
  position:absolute;top:calc(100% + 8px);right:0;
  min-width:150px;padding:6px;
  background:var(--card);border:1px solid var(--bdr);
  border-radius:var(--r);box-shadow:var(--sh-lg);
  opacity:0;visibility:hidden;transform:translateY(-4px);
  transition:opacity .2s,transform .2s,visibility .2s;
  z-index:1001;
}
.lang-dropdown.open{opacity:1;visibility:visible;transform:translateY(0)}
.lang-btn{
  display:flex;align-items:center;gap:8px;width:100%;
  padding:8px 12px;border:none;background:none;
  color:var(--t2);font-size:.84rem;font-weight:500;
  cursor:pointer;border-radius:6px;transition:var(--dur);
  font-family:inherit;text-align:left;
}
.lang-btn:hover{background:rgba(51,102,153,.06);color:var(--t1)}
.lang-btn.active{color:var(--red);font-weight:600}

/* =========================================
   HERO — centered cinematic layout
   ========================================= */
.hero{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  padding:90px 0 40px;position:relative;overflow:hidden;
}
.hero-centered{
  display:flex;flex-direction:column;align-items:center;
  text-align:center;width:100%;
}

/* Top text block */
.hero-top{max-width:700px;margin-bottom:40px}
.hero h1{margin-bottom:18px}
.hero p.sub{font-size:1.1rem;color:var(--t2);margin-bottom:28px;line-height:1.75;max-width:560px;margin-left:auto;margin-right:auto}
.hero p.sub strong{color:var(--t1)}
.hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* Devices — floating cinematic */
.hero-devices-centered{
  position:relative;width:100%;max-width:820px;
  height:420px;margin:0 auto;
}
.hero-devices-centered .dev-glow{
  position:absolute;width:90%;height:70%;bottom:0;left:5%;
  background:radial-gradient(ellipse,rgba(227,6,19,.1),rgba(51,102,153,.08),transparent 70%);
  filter:blur(60px);opacity:.7;z-index:0;
  animation:glow-breathe 5s ease-in-out infinite alternate;
}
.hero-devices-centered .dev.mac{
  position:absolute;left:50%;top:50%;z-index:2;
  width:62%;transform:translate(-55%,-48%) rotate(-2deg);opacity:0;
}
.hero-devices-centered .dev.mac.in{
  transform:translate(-55%,-48%) rotate(0);opacity:1;
}
.hero-devices-centered .dev.phone{
  position:absolute;right:8%;top:12%;z-index:3;
  width:22%;max-width:200px;
  aspect-ratio:9/19.5;
  overflow:hidden;border-radius:26px;
  transform:translateX(80px) rotate(4deg);opacity:0;
}
.hero-devices-centered .dev.phone video,
.hero-devices-centered .dev.phone img{
  width:100%;height:100%;object-fit:cover;object-position:top center;
}
.hero-devices-centered .dev.phone.in{
  transform:translateX(0) rotate(0);opacity:1;transition-delay:.25s;
}

/* Stats bar at bottom */
.hero-stats{
  display:flex;gap:48px;justify-content:center;
  padding:20px 40px;margin-top:16px;
  background:var(--glass);backdrop-filter:blur(14px);
  border:1px solid var(--bdr);border-radius:var(--pill);
}
.stat b{display:block;font-size:1.3rem;font-weight:800;color:var(--t1)}
.stat b em{font-style:normal;color:var(--red)}
.stat small{font-size:.72rem;color:var(--t3);font-weight:500;text-transform:uppercase;letter-spacing:.06em}

@keyframes glow-breathe{0%{opacity:.4;transform:scale(.96)}100%{opacity:.7;transform:scale(1.04)}}

/* Base device styles */
.dev{
  position:relative;z-index:2;
  opacity:0;transition:transform 1.4s var(--spring),opacity 1s var(--ease);
}
.dev.mac{overflow:hidden;border-radius:12px;box-shadow:var(--sh-device)}
.dev.mac img,.dev.mac video{border-radius:0;box-shadow:none;border:none;max-width:100%;width:100%;height:auto;display:block;background:transparent;object-fit:cover}

.dev.phone{
  position:absolute;right:-6%;bottom:-8%;z-index:3;
  width:38%;max-width:210px;
  transform:translateX(100px) rotate(6deg);
  overflow:hidden;border-radius:26px;box-shadow:var(--sh-device);border:1px solid var(--bdr);
}
.dev.phone.in{transform:translateX(0) rotate(0);opacity:1;transition-delay:.2s}
.dev.phone img,.dev.phone video{border-radius:0;box-shadow:none;border:none;width:100%;height:auto;display:block;background:transparent;object-fit:cover}

/* Showcase-specific overrides: dramatic slide-in */
.showcase .dev.mac{width:90%;transform:translateX(-280px) scale(.92);opacity:0}
.showcase .dev.mac.in{transform:translateX(0) scale(1);opacity:1;transition:transform 1.6s var(--spring),opacity 1.2s var(--ease)}
.show-flip .dev.phone{position:relative;right:auto;bottom:auto;width:55%;max-width:260px;margin:0 auto;transform:translateX(280px) scale(.92);opacity:0}
.show-flip .dev.phone.in{transform:translateX(0) scale(1);opacity:1;transition:transform 1.6s var(--spring),opacity 1.2s var(--ease)}

/* Floating ring decoration */
.ring{
  position:absolute;border:2px solid var(--bdr);border-radius:50%;
  opacity:.4;pointer-events:none;z-index:1;
}
.ring-1{width:300px;height:300px;top:-10%;right:0;animation:spin 40s linear infinite}
.ring-2{width:200px;height:200px;bottom:5%;left:-5%;animation:spin 30s linear infinite reverse}
@keyframes spin{100%{transform:rotate(360deg)}}

/* =========================================
   PLATFORMS
   ========================================= */
.platforms{padding:40px 0}
.plat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.plat{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:24px 14px;background:var(--card);
  border:1px solid var(--bdr);border-radius:var(--r);
  transition:all var(--dur) var(--ease);text-align:center;
}
.plat:hover{
  border-color:var(--bdr-focus);transform:translateY(-6px);
  box-shadow:var(--sh),var(--sh-glow-b);
}
.plat-ico{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:13px;color:#fff;
}
.plat-ico.a{background:linear-gradient(135deg,#333,#555)}
.plat-ico.b{background:linear-gradient(135deg,#3ddc84,#27a65c)}
.plat-ico.c{background:linear-gradient(135deg,#0078d4,#005a9e)}
.plat-ico.d{background:linear-gradient(135deg,#555,#777)}
.plat-ico.e{background:var(--grad)}
.plat small{font-size:.68rem;color:var(--t3);text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.plat strong{font-size:.92rem;color:var(--t1);transition:color .6s}

/* =========================================
   FEATURES
   ========================================= */
.features{padding:60px 0}
.feat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.fc{
  background:var(--card);border-radius:var(--r);padding:30px 22px;
  border:1px solid var(--bdr);position:relative;overflow:hidden;
  transition:all var(--dur) var(--ease);
}
.fc::after{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--grad-wide);transform:scaleX(0);transform-origin:left;
  transition:transform .6s var(--ease);
}
.fc:hover{
  transform:translateY(-6px);border-color:var(--bdr-focus);
  box-shadow:var(--sh),var(--sh-glow-r);
}
.fc:hover::after{transform:scaleX(1)}

.fc-ico{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:13px;margin-bottom:16px;
  background:rgba(227,6,19,.06);color:var(--red);
  transition:all var(--dur) var(--ease);
}
.fc:hover .fc-ico{background:var(--grad);color:#fff;box-shadow:0 4px 16px rgba(227,6,19,.2)}
.fc h3{margin-bottom:7px}
.fc p{font-size:.86rem;line-height:1.65}

/* =========================================
   SHOWCASE
   ========================================= */
.showcase{padding:60px 0;position:relative;overflow:hidden}
.showcase::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent,rgba(227,6,19,.015),transparent);
  pointer-events:none;
}
.show-row{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:center}

.show-devices{position:relative;display:flex;align-items:center;justify-content:center;min-height:450px}
.show-glow{
  position:absolute;width:80%;height:60%;bottom:5%;left:10%;
  background:radial-gradient(ellipse,rgba(51,102,153,.1),transparent 70%);
  filter:blur(50px);opacity:.5;z-index:0;
}
.show-mac{width:68%}
.show-mac img{border-radius:10px;box-shadow:var(--sh-device);border:1px solid var(--bdr)}
.show-phone{position:absolute;left:-8%;top:8%;z-index:3;width:35%;max-width:190px}
.show-phone img{border-radius:26px;box-shadow:var(--sh-device);border:1px solid var(--bdr)}

.show-list{display:flex;flex-direction:column;gap:14px}
.show-item{
  display:flex;gap:14px;align-items:flex-start;
  padding:14px;border-radius:var(--r);transition:var(--dur);
}
.show-item:hover{background:var(--glass)}
.show-item-ico{
  width:40px;height:40px;min-width:40px;display:flex;align-items:center;justify-content:center;
  background:rgba(51,102,153,.07);border-radius:11px;color:var(--blue);
}
.show-item strong{display:block;margin-bottom:2px}
.show-item span{font-size:.86rem;color:var(--t2)}

/* Flipped showcase (mobile section: text left, phone right) */
.show-flip .show-row{grid-template-columns:1fr 1.2fr}

.showcase .show-devices .dev.mac{width:90%}

/* =========================================
   DIFFERENTIATORS (dark band)
   ========================================= */
.diff{
  padding:60px 0;background:#0f1120;color:#fff;
  position:relative;overflow:hidden;
}
.diff::before{
  content:'';position:absolute;top:-60px;right:-80px;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(227,6,19,.1),transparent 65%);
}
.diff .tag{color:rgba(255,255,255,.4);background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.07)}
.diff h2,.diff h3{color:#fff}
.diff p{color:rgba(255,255,255,.55)}
.diff .sec-head p{color:rgba(255,255,255,.55)}

.diff-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.dc{
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);
  border-radius:var(--r);padding:30px 22px;transition:var(--dur);
  position:relative;overflow:hidden;
}
.dc::before{
  content:'';position:absolute;inset:-1px;border-radius:var(--r);
  background:linear-gradient(135deg,rgba(227,6,19,.15),rgba(51,102,153,.15));
  opacity:0;transition:opacity .5s;z-index:0;
}
.dc:hover::before{opacity:1}
.dc:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.12)}
.dc>*{position:relative;z-index:1}
.dc-ico{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.06);border-radius:13px;margin-bottom:16px;
  color:var(--red-soft);
}
.dc h3{margin-bottom:7px}

/* =========================================
   COMPLIANCE
   ========================================= */
.comply{padding:40px 0}
.badge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.badge{
  text-align:center;padding:32px 20px;
  background:var(--card);border:1px solid var(--bdr);border-radius:var(--r);
  transition:var(--dur);
}
.badge:hover{transform:translateY(-4px);border-color:var(--bdr-focus);box-shadow:var(--sh),var(--sh-glow-b)}
.badge-ico{
  width:52px;height:52px;display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;background:rgba(51,102,153,.06);border-radius:14px;color:var(--blue);
}
.badge h3{margin-bottom:5px;font-size:1rem}
.badge p{font-size:.82rem}

/* =========================================
   FAQ
   ========================================= */
.faq{padding:60px 0}
.faq-list{max-width:720px;margin:0 auto}
.fq{border-bottom:1px solid var(--bdr)}
.fq-q{
  display:flex;justify-content:space-between;align-items:center;width:100%;
  padding:22px 0;font-size:1.02rem;font-weight:600;
  color:var(--t1);text-align:left;transition:var(--dur);
}
.fq-q:hover{color:var(--red)}
.fq-q svg{min-width:18px;transition:transform .3s;color:var(--t3)}
.fq.open .fq-q svg{transform:rotate(180deg);color:var(--red)}
.fq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.fq.open .fq-a{max-height:300px;padding-bottom:18px}
.fq-a p{font-size:.93rem}

/* =========================================
   CTA
   ========================================= */
.cta-band{
  padding:60px 0;text-align:center;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--blue) 0%,#0f1120 100%);
}
.cta-band::before{
  content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:700px;height:700px;border-radius:50%;
  background:radial-gradient(circle,rgba(227,6,19,.14),transparent 58%);
}
.cta-inner{position:relative;z-index:2}
.cta-band h2{color:#fff;margin-bottom:14px}
.cta-band p{color:var(--t-over-dark-sub);font-size:1.08rem;margin-bottom:32px;max-width:480px;margin-left:auto;margin-right:auto}
.cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* =========================================
   FOOTER
   ========================================= */
.site-footer{
  background:#0b0c14;color:rgba(255,255,255,.6);
  padding:56px 0 28px;border-top:1px solid rgba(255,255,255,.05);
}
.ft-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px;margin-bottom:36px}
.ft-brand p{color:rgba(255,255,255,.35);font-size:.88rem;margin-top:12px;line-height:1.65}
.ft-col h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.3);margin-bottom:14px}
.ft-col ul{display:flex;flex-direction:column;gap:9px}
.ft-col a{font-size:.88rem;color:rgba(255,255,255,.5);transition:var(--dur)}
.ft-col a:hover{color:#fff}
.ft-bottom{border-top:1px solid rgba(255,255,255,.05);padding-top:20px;display:flex;justify-content:space-between}
.ft-bottom p{font-size:.78rem;color:rgba(255,255,255,.28)}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.a{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.a.v{opacity:1;transform:translateY(0)}
.d1{transition-delay:.06s}.d2{transition-delay:.12s}.d3{transition-delay:.18s}
.d4{transition-delay:.24s}.d5{transition-delay:.3s}.d6{transition-delay:.36s}
.d7{transition-delay:.42s}.d8{transition-delay:.48s}

/* =========================================
   RESPONSIVE
   ========================================= */

/* ── Tablet landscape / small desktop ──── */
@media(max-width:1024px){
  /* Scroll-snap softer on tablet */
  html{scroll-snap-type:y proximity}

  .hero-row{grid-template-columns:1fr;gap:40px}
  .hero{min-height:auto;padding:110px 0 48px}
  .hero-devices{max-width:520px;margin:0 auto}

  /* Grids: 2-column for all card sections */
  .feat-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .diff-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .badge-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .plat-grid{grid-template-columns:repeat(4,1fr);gap:10px}

  /* Showcases stacked */
  .show-row{grid-template-columns:1fr;gap:36px}
  .show-devices{max-width:520px;margin:0 auto;order:-1}
  .show-flip .show-devices{order:-1}
  .show-flip .show-row{grid-template-columns:1fr}

  /* Footer */
  .ft-grid{grid-template-columns:repeat(2,1fr)}

  /* Reduce section vertical padding */
  .features,.diff{padding:48px 0}
  .comply{padding:36px 0}
  .sec-head{margin-bottom:40px}
}

/* ── Tablet portrait ───────────────────── */
@media(max-width:768px){
  /* ── Disable CSS scroll-snap on mobile ── */
  html{scroll-snap-type:none !important}
  .hero,.platforms,.features,.showcase,.diff,.comply,.faq,.cta-band,.site-footer{
    scroll-snap-align:none;
    min-height:auto;
    height:auto;
    overflow:visible;
  }

  /* ── Nav: polished burger menu ── */
  .nav-inner{height:56px}
  .logo img{height:26px}
  .nav-menu{display:none}
  .nav-menu.open{
    display:flex;flex-direction:column;
    position:absolute;top:56px;left:0;right:0;
    background:rgba(250,251,254,.97);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
    padding:10px 16px 16px;border-bottom:1px solid var(--bdr);gap:2px;
    z-index:100;
    animation:menuSlide .3s var(--ease);
  }
  @keyframes menuSlide{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
  .nav-menu.open a{
    padding:12px 14px;width:100%;border-radius:10px;
    font-size:.92rem;font-weight:500;
    transition:background .2s;
  }
  .nav-menu.open a:active{background:rgba(51,102,153,.08)}
  .nav-menu.open .btn{
    margin-left:0;margin-top:6px;width:100%;
    justify-content:center;color:#fff;
    padding:14px;font-size:.95rem;
  }
  .burger{display:flex}
  .lang-switcher{margin-left:auto;margin-right:8px}
  .lang-toggle{padding:5px 10px;font-size:.72rem}
  .lang-dropdown{min-width:140px}

  /* ── Hero — compact, no forced height ── */
  .hero{
    padding:68px 0 24px;
    min-height:auto;
    display:flex;flex-direction:column;justify-content:center;
  }
  .hero h1{font-size:1.85rem;line-height:1.18;letter-spacing:-.02em}
  .hero-top{margin-bottom:16px}
  .hero p.sub{font-size:.9rem;line-height:1.6;margin-bottom:16px}
  .hero p.sub br{display:none}
  .hero-centered{justify-content:center;padding:0 12px}
  .hero-devices-centered{
    height:280px;max-width:100%;
    margin-top:4px;
  }
  .hero-devices-centered .dev.mac{width:70%}
  .hero-devices-centered .dev.phone{width:24%;max-width:150px;right:5%;top:8%}
  .hero-btns{flex-direction:column;align-items:center;gap:8px}
  .hero-btns .btn{width:100%;justify-content:center;padding:14px 20px}

  /* ── Section headings — tighter ── */
  .sec-head{margin-bottom:20px}
  .sec-head h2{font-size:1.45rem;letter-spacing:-.015em}
  .sec-head p{font-size:.88rem;line-height:1.55}

  /* ── Platforms — compact 2x2 ── */
  .platforms{padding:28px 0}
  .plat-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .plat{padding:14px 10px;gap:6px;border-radius:12px}
  .plat-ico{width:36px;height:36px;border-radius:10px}
  .plat-ico svg{width:16px;height:16px}
  .plat small{font-size:.6rem}
  .plat strong{font-size:.82rem}

  /* ── Features — compact horizontal cards ── */
  .features{padding:28px 0}
  .feat-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .fc{
    padding:14px 12px;
    display:flex;flex-direction:column;
    align-items:flex-start;
    gap:8px;
    border-radius:12px;
  }
  .fc-ico{
    width:36px;height:36px;min-width:36px;
    border-radius:10px;margin-bottom:0;
    flex-shrink:0;
  }
  .fc-ico svg{width:18px;height:18px}
  .fc h3{font-size:.82rem;margin-bottom:2px}
  .fc p{font-size:.76rem;line-height:1.5}

  /* ── Showcases — stacked, compact ── */
  .showcase{padding:28px 0}
  .show-row{grid-template-columns:1fr;gap:20px}
  .show-devices{max-width:100%;margin:0 auto;order:-1;min-height:280px}
  .show-flip .show-devices{order:-1}
  .showcase .show-devices .dev.mac{width:85%}
  .show-flip .dev.phone{width:45%;max-width:200px}
  .show-text{padding:0 4px}
  .show-text h2{font-size:1.35rem;margin-bottom:8px}
  .show-text p{font-size:.88rem;line-height:1.55}
  .show-list{gap:6px}
  .show-item{padding:10px;border-radius:10px;gap:10px}
  .show-item-ico{width:34px;height:34px;min-width:34px;border-radius:9px}
  .show-item-ico svg{width:16px;height:16px}
  .show-item strong{font-size:.86rem}
  .show-item span{font-size:.78rem}

  /* ── Differentiators — compact 2-col cards ── */
  .diff{padding:28px 0}
  .diff-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .dc{
    padding:14px 12px;
    display:flex;flex-direction:column;
    align-items:flex-start;
    gap:8px;
    border-radius:12px;
  }
  .dc-ico{
    width:36px;height:36px;min-width:36px;
    border-radius:10px;margin-bottom:0;
    flex-shrink:0;
  }
  .dc-ico svg{width:18px;height:18px}
  .dc h3{font-size:.82rem;margin-bottom:2px}
  .dc p{font-size:.76rem;line-height:1.5}

  /* ── Compliance — compact 2-col badges ── */
  .comply{padding:28px 0}
  .badge-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .badge{
    display:flex;flex-direction:column;
    align-items:center;
    gap:8px;
    text-align:center;
    padding:14px 10px;
    border-radius:12px;
  }
  .badge-ico{
    margin:0;flex-shrink:0;
    width:40px;height:40px;border-radius:10px;
  }
  .badge-ico svg{width:22px;height:22px}
  .badge h3{font-size:.82rem;margin-bottom:1px}
  .badge p{font-size:.72rem;line-height:1.45}

  /* ── FAQ — compact touch targets ── */
  .faq{padding:28px 0}
  .fq-q{
    font-size:.9rem;padding:14px 4px;
    min-height:46px;
    -webkit-tap-highlight-color:transparent;
  }
  .fq-a p{font-size:.84rem;padding:0 4px}

  /* ── CTA ── */
  .cta-band{padding:36px 0}
  .cta-band h2{font-size:1.35rem}
  .cta-band p{font-size:.88rem;margin-bottom:24px}
  .cta-btns{flex-direction:column;align-items:center;gap:8px}
  .cta-btns .btn{width:100%;max-width:300px;justify-content:center;padding:14px 20px}

  /* ── Device defaults ── */
  .dev.phone{width:30%;max-width:140px;right:-2%}

  /* ── Footer — compact ── */
  .ft-grid{grid-template-columns:1fr;gap:20px;text-align:center}
  .ft-brand{display:flex;flex-direction:column;align-items:center}
  .ft-col{text-align:center}
  .ft-col ul{align-items:center}
  .ft-bottom{flex-direction:column;gap:4px;text-align:center}
  .ft-bottom p{font-size:.72rem}
  .site-footer{padding:36px 0 20px}

  /* ── General mobile polish ── */
  .wrap{padding:0 16px}
}

/* ── Small phones ──────────────────────── */
@media(max-width:480px){
  .wrap{padding:0 14px}

  /* Hero — even tighter */
  .hero{padding:62px 0 20px}
  .hero h1{font-size:1.55rem}
  .hero p.sub{font-size:.84rem}
  .hero-devices-centered{height:230px}
  .hero-devices-centered .dev.mac{width:74%}
  .hero-devices-centered .dev.phone{width:26%;right:3%;top:12%}

  /* Section headings */
  .sec-head h2{font-size:1.25rem}
  .sec-head p{font-size:.82rem}

  /* Platforms — stays 2-col, even more compact */
  .plat-grid{grid-template-columns:repeat(2,1fr);gap:6px}
  .plat{padding:12px 8px;border-radius:10px}
  .plat-ico{width:32px;height:32px;border-radius:8px}
  .plat-ico svg{width:14px;height:14px}
  .plat small{font-size:.56rem}
  .plat strong{font-size:.78rem}

  /* Features — 2-col mini cards */
  .feat-grid{gap:6px}
  .fc{padding:12px 10px;gap:6px;border-radius:10px}
  .fc-ico{width:32px;height:32px;min-width:32px;border-radius:8px}
  .fc-ico svg{width:16px;height:16px}
  .fc h3{font-size:.78rem}
  .fc p{font-size:.7rem;line-height:1.45}

  /* Differentiators — 2-col mini */
  .diff-grid{gap:6px}
  .dc{padding:12px 10px;gap:6px;border-radius:10px}
  .dc-ico{width:32px;height:32px;min-width:32px;border-radius:8px}
  .dc h3{font-size:.78rem}
  .dc p{font-size:.7rem;line-height:1.45}

  /* Compliance — 2-col mini */
  .badge-grid{gap:6px}
  .badge{padding:12px 8px;border-radius:10px}
  .badge-ico{width:36px;height:36px;border-radius:9px}
  .badge-ico svg{width:20px;height:20px}
  .badge h3{font-size:.76rem}
  .badge p{font-size:.68rem}

  /* Showcase */
  .show-devices{min-height:230px}
  .showcase .show-devices .dev.mac{width:90%}
  .show-flip .dev.phone{width:42%;max-width:170px}
  .show-text h2{font-size:1.2rem}

  /* CTA */
  .cta-band h2{font-size:1.2rem}
  .cta-btns .btn{max-width:100%;font-size:.88rem}
}
