/* =========================================================
   ZXH OFFICIAL CALLER — STYLES
========================================================= */

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

:root{
  --bg:#f4f4f1;
  --bg2:#ffffff;
  --surface:rgba(255,255,255,.72);
  --surface-solid:#ffffff;
  --surface-dark:#111216;

  --text:#0b0c0f;
  --text2:#30333a;
  --muted:#747982;
  --line:rgba(10,12,16,.11);

  --black:#08090b;
  --white:#ffffff;

  --success:#168b5d;
  --danger:#d94359;

  --radius:28px;
  --radius-sm:18px;

  /* ORIGINAL FONTS — unchanged */
  --display:"Space Grotesk",sans-serif;
  --body:"DM Sans",sans-serif;

  --ease:cubic-bezier(.16,1,.3,1);
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  min-height:100dvh;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.dark,
html.dark-boot body{
  --bg:#08090c;
  --bg2:#0e1014;
  --surface:rgba(20,22,27,.72);
  --surface-solid:#121419;
  --text:#f5f6f7;
  --text2:#c3c7ce;
  --muted:#858b96;
  --line:rgba(255,255,255,.11);
  --black:#ffffff;
  --white:#08090c;
}

button,
input{
  font:inherit;
}

button{
  -webkit-tap-highlight-color:transparent;
}

a{
  color:inherit;
  text-decoration:none;
}

/* =========================================================
   GLOBAL
========================================================= */

.container{
  width:min(1320px,calc(100% - 40px));
  margin:auto;
}

.section{
  position:relative;
  padding:150px 0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:24px;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--muted);
}

.eyebrow::before{
  content:"";
  width:28px;
  height:1px;
  background:currentColor;
}

.section-title{
  max-width:950px;
  font-family:var(--display);
  font-size:clamp(3rem,7vw,7.2rem);
  line-height:.9;
  letter-spacing:-.075em;
  font-weight:600;
}

.section-title span{
  color:var(--muted);
}

.section-copy{
  max-width:620px;
  margin-top:30px;
  color:var(--muted);
  font-size:clamp(1rem,1.5vw,1.18rem);
  line-height:1.75;
}

/* =========================================================
   3D BACKDROP
========================================================= */

#three-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  opacity:.72;
}

body.dark #three-bg,
html.dark-boot #three-bg{
  opacity:.5;
}

.background-overlay{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      transparent 0%,
      rgba(244,244,241,.2) 40%,
      rgba(244,244,241,.82) 100%
    );
}

body.dark .background-overlay,
html.dark-boot .background-overlay{
  background:
    radial-gradient(
      ellipse at 50% 30%,
      transparent 0%,
      rgba(8,9,12,.18) 40%,
      rgba(8,9,12,.9) 100%
    );
}

.grain{
  position:fixed;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:.025;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   NAV
========================================================= */

.nav-wrap{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  padding:18px 0;
}

.nav{
  width:min(1320px,calc(100% - 30px));
  margin:auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;

  padding:11px 12px 11px 18px;

  border:1px solid var(--line);
  border-radius:22px;

  background:var(--surface);
  backdrop-filter:blur(24px) saturate(130%);
  -webkit-backdrop-filter:blur(24px) saturate(130%);

  box-shadow:
    0 15px 50px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.7) inset;
}

body.dark .nav,
html.dark-boot .nav{
  box-shadow:
    0 20px 70px rgba(0,0,0,.32),
    0 1px 0 rgba(255,255,255,.06) inset;
}

.logo{
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
}

.logo-box{
  width:42px;
  height:42px;
  border-radius:13px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:var(--text);
  color:var(--bg);

  font-family:var(--display);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:-.08em;

  box-shadow:
    0 7px 18px rgba(0,0,0,.18),
    0 1px 0 rgba(255,255,255,.3) inset;
}

.logo-text{
  font-family:var(--display);
  font-size:.9rem;
  font-weight:700;
  letter-spacing:-.04em;
}

.logo-text span{
  color:var(--muted);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
}

.nav-links a{
  position:relative;
  color:var(--muted);
  font-size:.72rem;
  font-weight:700;
  transition:color .25s;
}

.nav-links a:hover{
  color:var(--text);
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-7px;
  height:1px;
  background:var(--text);
  transition:right .3s var(--ease);
}

.nav-links a:hover::after{
  right:0;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.icon-btn{
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface-solid);
  color:var(--text);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s,background .2s;
}

.icon-btn:hover{
  transform:translateY(-2px);
  background:var(--surface);
}

.icon-btn svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.mobile-menu{
  display:none;
}

/* =========================================================
   HERO
========================================================= */

main{
  position:relative;
  z-index:5;
}

.hero{
  min-height:100dvh;
  position:relative;
  display:flex;
  align-items:center;
  /* ORIGINAL GAP restored */
  padding:170px 0 90px;
  overflow:hidden;
}

.hero-content{
  position:relative;
  z-index:4;
}

.hero-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:28px;

  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.live-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--text);
  box-shadow:0 0 0 5px rgba(0,0,0,.05);
}

.hero-title{
  max-width:1180px;
  font-family:var(--display);
  font-size:clamp(4.2rem,11vw,11.5rem);
  line-height:.82;
  letter-spacing:-.085em;
  font-weight:600;
}

.hero-title .muted{
  color:var(--muted);
}

.hero-description{
  max-width:600px;
  margin-top:42px;
  color:var(--muted);
  font-size:clamp(1rem,1.5vw,1.22rem);
  line-height:1.75;
}

.hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:36px;
}

.primary-btn,
.secondary-btn{
  min-height:56px;
  padding:0 23px;
  border-radius:15px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  transition:
    transform .25s var(--ease),
    box-shadow .25s,
    background .25s;
}

.primary-btn{
  border:1px solid var(--text);
  background:var(--text);
  color:var(--bg);
  box-shadow:0 16px 35px rgba(0,0,0,.16);
}

.primary-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 45px rgba(0,0,0,.23);
}

.secondary-btn{
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--text);
  backdrop-filter:blur(15px);
}

.secondary-btn:hover{
  transform:translateY(-3px);
  background:var(--surface-solid);
}

.hero-meta{
  margin-top:80px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:35px;
}

.meta-item{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.meta-value{
  font-family:var(--display);
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:-.05em;
}

.meta-label{
  color:var(--muted);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* =========================================================
   HERO ENTRANCE — 100% CSS, no JS needed
   (pure keyframes with `both` fill-mode — always works)
========================================================= */

.hero-kicker{
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) .15s both;
}
.hero-title{
  animation:heroIn 1.1s cubic-bezier(.16,1,.3,1) .25s both;
}
.hero-description{
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) .5s both;
}
.hero-actions{
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) .65s both;
}
.hero-meta{
  animation:heroIn .9s cubic-bezier(.16,1,.3,1) .8s both;
}

@keyframes heroIn{
  from{
    opacity:0;
    transform:translateY(28px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================================
   MARQUEE
========================================================= */

.marquee{
  position:relative;
  z-index:6;
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface);
  backdrop-filter:blur(16px);
}

.marquee-track{
  width:max-content;
  display:flex;
  align-items:center;
  gap:45px;
  padding:22px 0;
  animation:marquee 24s linear infinite;
}

.marquee-item{
  display:flex;
  align-items:center;
  gap:45px;
  color:var(--muted);
  font-family:var(--display);
  font-size:clamp(1.1rem,2vw,1.7rem);
  font-weight:600;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.marquee-item b{ color:var(--text); }

.marquee-item i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--text);
}

@keyframes marquee{
  to{ transform:translateX(-50%); }
}

/* =========================================================
   PRODUCT INTRO
========================================================= */

.intro{ padding-top:190px; }

.intro-grid{
  margin-top:85px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:30px;
}

.big-panel{
  min-height:530px;
  padding:40px;
  border:1px solid var(--line);
  border-radius:34px;
  background:var(--surface);
  backdrop-filter:blur(25px);
  -webkit-backdrop-filter:blur(25px);
  position:relative;
  overflow:hidden;
  box-shadow:
    0 30px 90px rgba(0,0,0,.06),
    0 1px 0 rgba(255,255,255,.7) inset;
}

.big-panel h3{
  max-width:650px;
  font-family:var(--display);
  font-size:clamp(2.2rem,4vw,4.5rem);
  line-height:.95;
  letter-spacing:-.07em;
}

.big-panel p{
  max-width:520px;
  margin-top:25px;
  color:var(--muted);
  line-height:1.75;
}

.panel-number{
  position:absolute;
  right:32px;
  bottom:25px;
  font-family:var(--display);
  font-size:7rem;
  line-height:1;
  font-weight:700;
  letter-spacing:-.09em;
  color:rgba(0,0,0,.055);
}

body.dark .panel-number,
html.dark-boot .panel-number{
  color:rgba(255,255,255,.045);
}

.mini-stack{
  display:grid;
  gap:20px;
}

.mini-card{
  min-height:245px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--surface);
  backdrop-filter:blur(25px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.mini-icon{
  width:48px;
  height:48px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--text);
  color:var(--bg);
}

.mini-icon svg{
  width:20px;
  height:20px;
  fill:currentColor;
}

.mini-card h4{
  font-family:var(--display);
  font-size:1.65rem;
  letter-spacing:-.055em;
}

.mini-card p{
  color:var(--muted);
  font-size:.85rem;
  line-height:1.6;
}

/* =========================================================
   LOOKUP
========================================================= */

.lookup-section{ padding-top:180px; }

.lookup-shell{
  margin-top:75px;
  padding:50px;
  border-radius:38px;
  border:1px solid var(--line);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.65),
      rgba(255,255,255,.28)
    );
  backdrop-filter:blur(30px);
  -webkit-backdrop-filter:blur(30px);
  box-shadow:
    0 40px 120px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.8) inset;
}

body.dark .lookup-shell,
html.dark-boot .lookup-shell{
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.015)
    );
}

.lookup-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:42px;
}

.lookup-header h3{
  font-family:var(--display);
  font-size:clamp(2.5rem,5vw,5.5rem);
  line-height:.88;
  letter-spacing:-.075em;
}

.lookup-header p{
  max-width:420px;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.7;
}

.lookup-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
}

.input-label{
  display:block;
  color:var(--muted);
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin:0 0 10px 4px;
}

.input-wrap{ min-width:0; }

.phone-input{
  width:100%;
  height:68px;
  padding:0 21px;
  border:1px solid var(--line);
  outline:none;
  border-radius:17px;
  background:rgba(0,0,0,.045);
  color:var(--text);
  font-size:1.05rem;
  font-weight:600;
  transition:
    border-color .25s,
    box-shadow .25s,
    background .25s;
}

body.dark .phone-input,
html.dark-boot .phone-input{
  background:rgba(255,255,255,.035);
}

.phone-input::placeholder{
  color:var(--muted);
  opacity:.7;
}

.phone-input:focus{
  border-color:rgba(0,0,0,.3);
  box-shadow:0 0 0 5px rgba(0,0,0,.045);
  background:var(--surface-solid);
}

body.dark .phone-input:focus,
html.dark-boot .phone-input:focus{
  border-color:rgba(255,255,255,.25);
  box-shadow:0 0 0 5px rgba(255,255,255,.04);
}

.phone-input.invalid{
  border-color:rgba(217,67,89,.65);
  box-shadow:0 0 0 5px rgba(217,67,89,.07);
}

.lookup-submit{
  align-self:end;
  height:68px;
  min-width:180px;
  padding:0 27px;
  border:0;
  border-radius:17px;
  cursor:pointer;
  background:var(--text);
  color:var(--bg);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:
    transform .25s var(--ease),
    box-shadow .25s;
}

.lookup-submit:hover:not(:disabled){
  transform:translateY(-3px);
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.lookup-submit:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.loader{
  display:none;
  align-items:center;
  gap:15px;
  margin-top:30px;
  padding:20px 0 0;
}

.loader.active{ display:flex; }

.loader-ring{
  width:28px;
  height:28px;
  border:2px solid var(--line);
  border-top-color:var(--text);
  border-radius:50%;
  animation:spin .7s linear infinite;
}

.loader span{
  color:var(--muted);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

@keyframes spin{ to{ transform:rotate(360deg); } }

.result-panel{
  display:none;
  margin-top:35px;
  padding-top:35px;
  border-top:1px solid var(--line);
  animation:resultIn .5s var(--ease);
}

.result-panel.active{ display:block; }

@keyframes resultIn{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:none; }
}

.result-grid{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:25px;
}

.result-main{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.result-avatar{
  flex:0 0 66px;
  width:66px;
  height:66px;
  border-radius:19px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--text);
  color:var(--bg);
}

.result-avatar svg{
  width:28px;
  height:28px;
  fill:currentColor;
}

.result-label{
  color:var(--muted);
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.caller-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:var(--display);
  font-size:clamp(1.4rem,3vw,2.5rem);
  font-weight:600;
  letter-spacing:-.06em;
}

.caller-carrier{
  margin-top:4px;
  color:var(--muted);
  font-size:.78rem;
}

.copy-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.copy-btn{
  min-height:43px;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:var(--text);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.copy-btn svg{
  width:15px;
  height:15px;
  fill:currentColor;
}

.copy-btn.copied{
  color:var(--success);
  border-color:rgba(22,139,93,.25);
}

.state{
  text-align:center;
  padding:30px 10px 10px;
}

.state-icon{
  width:52px;
  height:52px;
  margin:0 auto 15px;
  border:1px solid var(--line);
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.state-icon svg{
  width:22px;
  height:22px;
  fill:var(--muted);
}

.state.error .state-icon{
  border-color:rgba(217,67,89,.25);
}

.state.error .state-icon svg,
.state.error .state-title{
  color:var(--danger);
  fill:var(--danger);
}

.state-title{
  font-family:var(--display);
  font-size:1.2rem;
  font-weight:600;
  letter-spacing:-.04em;
}

.state-desc{
  max-width:450px;
  margin:7px auto 0;
  color:var(--muted);
  font-size:.76rem;
  line-height:1.6;
}

/* =========================================================
   FEATURES
========================================================= */

.features{ padding-top:180px; }

.feature-list{
  margin-top:90px;
  border-top:1px solid var(--line);
}

.feature{
  display:grid;
  grid-template-columns:100px 1fr 1fr;
  align-items:center;
  gap:40px;
  min-height:220px;
  border-bottom:1px solid var(--line);
}

.feature-number{
  color:var(--muted);
  font-family:var(--display);
  font-size:.85rem;
  font-weight:700;
}

.feature h3{
  font-family:var(--display);
  font-size:clamp(2rem,4vw,4rem);
  line-height:.95;
  letter-spacing:-.065em;
}

.feature p{
  max-width:460px;
  color:var(--muted);
  line-height:1.7;
  font-size:.9rem;
}

/* =========================================================
   STATS
========================================================= */

.stats{ padding-top:150px; }

.stats-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.stat{
  padding:45px 30px;
  border-right:1px solid var(--line);
}

.stat:last-child{ border-right:0; }

.stat-value{
  font-family:var(--display);
  font-size:clamp(3rem,6vw,6.5rem);
  line-height:.85;
  letter-spacing:-.08em;
  font-weight:600;
}

.stat-label{
  margin-top:18px;
  color:var(--muted);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

/* =========================================================
   CTA
========================================================= */

.cta{ padding:180px 0; }

.cta-box{
  position:relative;
  min-height:600px;
  padding:65px;
  border-radius:40px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:var(--text);
  color:var(--bg);
  box-shadow:0 40px 100px rgba(0,0,0,.15);
}

.cta-box::before{
  content:"ZXH";
  position:absolute;
  right:-5%;
  bottom:-18%;
  font-family:var(--display);
  font-size:clamp(12rem,30vw,30rem);
  line-height:.7;
  font-weight:700;
  letter-spacing:-.1em;
  opacity:.055;
}

.cta-label{
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
  opacity:.55;
}

.cta-title{
  position:relative;
  z-index:2;
  max-width:1000px;
  font-family:var(--display);
  font-size:clamp(3.5rem,8vw,9rem);
  line-height:.86;
  letter-spacing:-.085em;
}

.cta-bottom{
  position:relative;
  z-index:3;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
}

.cta-bottom p{
  max-width:450px;
  opacity:.55;
  line-height:1.65;
  font-size:.85rem;
}

.cta .primary-btn{
  flex-shrink:0;
  background:var(--bg);
  color:var(--text);
  border-color:var(--bg);
}

/* =========================================================
   FOOTER
========================================================= */

.footer{
  position:relative;
  z-index:5;
  padding:110px 0 35px;
  border-top:1px solid var(--line);
}

.footer-top{
  display:grid;
  grid-template-columns:1.4fr .6fr .6fr .8fr;
  gap:60px;
  padding-bottom:100px;
}

.footer-brand h2{
  font-family:var(--display);
  font-size:clamp(3.2rem,7vw,7rem);
  line-height:.82;
  letter-spacing:-.085em;
}

.footer-brand p{
  max-width:410px;
  margin-top:28px;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.7;
}

.footer-column h4{
  margin-bottom:22px;
  color:var(--muted);
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.footer-column a{
  display:block;
  width:max-content;
  margin-bottom:13px;
  font-family:var(--display);
  font-size:.95rem;
  font-weight:600;
  letter-spacing:-.03em;
  transition:opacity .2s;
}

.footer-column a:hover{ opacity:.5; }

.footer-bottom{
  padding-top:28px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.footer-credit{ color:var(--text); }

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-panel{
  position:fixed;
  inset:0;
  z-index:90;
  padding:100px 25px 30px;
  display:none;
  background:var(--bg);
}

.mobile-panel.open{ display:block; }

.mobile-panel a{
  display:block;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  font-family:var(--display);
  font-size:2rem;
  font-weight:600;
  letter-spacing:-.06em;
}

.mobile-panel .mobile-actions{
  display:flex;
  gap:10px;
  margin-top:25px;
}

/* =========================================================
   PWA INSTALL POPUP (user's design)
========================================================= */

.popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:350;
  animation:popupFade .35s var(--ease);
}

@keyframes popupFade{
  from{ opacity:0; }
  to{ opacity:1; }
}

.popup-overlay .popup-content{
  position:relative;
  width:100%;
  max-width:400px;
  padding:34px 26px 22px;
  border-radius:26px;
  border:1px solid var(--line);
  background:var(--surface-solid);
  box-shadow:
    0 40px 100px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.7) inset;
  animation:popupIn .5s var(--ease);
}

@keyframes popupIn{
  from{ opacity:0; transform:translateY(22px) scale(.96); }
  to{ opacity:1; transform:none; }
}

.popup-overlay .popup-close-btn{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:11px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.9rem;
  transition:background .2s, color .2s;
}

.popup-overlay .popup-close-btn:hover{
  background:var(--surface);
  color:var(--text);
}

/* Utility classes inside popup */
.popup-overlay .mb-4{ margin-bottom:1rem; }
.popup-overlay .mb-2{ margin-bottom:.5rem; }
.popup-overlay .mb-6{ margin-bottom:1.5rem; }
.popup-overlay .text-center{ text-align:center; }
.popup-overlay .w-20{ width:80px; }
.popup-overlay .h-20{ height:80px; }
.popup-overlay .rounded-2xl{ border-radius:18px; }
.popup-overlay .mx-auto{ margin-left:auto; margin-right:auto; display:block; }
.popup-overlay .shadow-lg{ box-shadow:0 14px 36px rgba(0,0,0,.18); }
.popup-overlay .text-xl{ font-size:1.25rem; line-height:1.3; }
.popup-overlay .font-bold{ font-weight:700; }
.popup-overlay .text-gray-500{ color:var(--muted); }
.popup-overlay .text-sm{ font-size:.875rem; line-height:1.55; }
.popup-overlay .text-lg{ font-size:.82rem; }
.popup-overlay .w-full{ width:100%; }

.popup-overlay .popup-content h2{
  font-family:var(--display);
  letter-spacing:-.04em;
  color:var(--text);
}

.popup-overlay .popup-content p{
  font-family:var(--body);
}

.btn-premium{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:0 22px;
  border:0;
  border-radius:15px;
  background:var(--text);
  color:var(--bg);
  cursor:pointer;
  font-family:var(--body);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  box-shadow:0 16px 35px rgba(0,0,0,.18);
  transition:transform .25s var(--ease), box-shadow .25s;
}

.btn-premium:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 45px rgba(0,0,0,.24);
}

.btn-premium i{ font-size:.9rem; }

.popup-overlay .not-now-btn{
  display:block;
  width:100%;
  margin-top:10px;
  padding:12px 0;
  border:0;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-family:var(--body);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:color .2s;
}

.popup-overlay .not-now-btn:hover{ color:var(--text); }

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

@media(max-width:900px){

  .nav-links{ display:none; }
  .mobile-menu{ display:flex; }

  /* ORIGINAL tablet gap */
  .hero{ padding-top:155px; }

  .intro-grid{ grid-template-columns:1fr; }

  .lookup-header{ display:block; }
  .lookup-header p{ margin-top:20px; }

  .feature{
    grid-template-columns:55px 1fr;
    gap:20px;
    padding:35px 0;
  }
  .feature p{ grid-column:2; }

  .footer-top{ grid-template-columns:1fr 1fr; }
}

@media(max-width:650px){

  .container{ width:min(100% - 28px,1320px); }
  .section{ padding:100px 0; }

  .nav-wrap{ padding:10px 0; }
  .nav{ width:calc(100% - 18px); }
  .logo-text{ font-size:.78rem; }

  /* ORIGINAL mobile gap */
  .hero{
    min-height:auto;
    padding:145px 0 100px;
  }

  .hero-title{ font-size:clamp(4rem,19vw,7rem); }
  .hero-description{ margin-top:30px; font-size:.95rem; }
  .hero-meta{ margin-top:55px; gap:22px; }

  .intro{ padding-top:110px; }

  .big-panel{
    min-height:410px;
    padding:27px;
    border-radius:26px;
  }

  .mini-card{
    min-height:210px;
    padding:25px;
    border-radius:23px;
  }

  .lookup-section{ padding-top:110px; }
  .lookup-shell{
    margin-top:50px;
    padding:24px;
    border-radius:27px;
  }

  .lookup-form{ grid-template-columns:1fr; }
  .lookup-submit{ width:100%; }

  .result-grid{ grid-template-columns:1fr; }
  .copy-row{ width:100%; }
  .copy-btn{ flex:1; }

  .stats-grid{ grid-template-columns:1fr; }
  .stat{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .stat:last-child{ border-bottom:0; }

  .cta{ padding:100px 0; }
  .cta-box{
    min-height:500px;
    padding:30px;
    border-radius:29px;
  }
  .cta-bottom{ display:block; }
  .cta-bottom p{ margin-bottom:25px; }

  .footer{ padding-top:80px; }
  .footer-top{
    grid-template-columns:1fr;
    gap:50px;
    padding-bottom:65px;
  }
  .footer-brand h2{ font-size:clamp(4rem,18vw,7rem); }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
}

@media(max-width:390px){

  .hero-title{ font-size:3.75rem; }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .primary-btn,
  .secondary-btn{ width:100%; }

  .feature{ grid-template-columns:42px 1fr; }
  .feature h3{ font-size:1.85rem; }
  .feature p{ font-size:.8rem; }
}

/* =========================================================
   ACCESSIBILITY / MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

  html{ scroll-behavior:auto; }

  .hero-kicker,
  .hero-title,
  .hero-description,
  .hero-actions,
  .hero-meta{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}