:root{
  /* App-like light theme */
  --bg:#F4F5F7;
  --surface:#FFFFFF;
  --text:#0F1115;
  --muted:#6B7280;
  --accent:#FF6B35;
  --border: rgba(15,17,21,.10);

  --radius: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

/* ✅ Sticky footer layout (push footer to bottom) */
html, body { height: 100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);

  display:flex;
  flex-direction:column;
}

/* ✅ main grows to fill space and push footer down */
main{ flex:1; }

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* NAV (dark-ish like app header) */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(180deg, rgba(17,17,19,.92), rgba(17,17,19,.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand img{
  height:40px;
  width:auto;
}

/* NAV LINKS */
.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-links a{
  color: rgba(255,255,255,.75);
  font-size:15px;
}
.nav-links a:hover{color:#fff}

.nav-cta{
  background: var(--accent);
  color:#111;
  padding:10px 16px;
  border-radius: 12px;
  font-weight:800;
}
.nav-cta:hover{filter:brightness(1.05)}

/* Utility accent text */
.accent{ color: var(--accent); }

/* HERO + glow */
.hero{
  position: relative;
  padding:54px 0 18px;
  overflow:hidden;
}

/* Orange glow behind hero */
.hero::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  background: radial-gradient(circle, rgba(255,107,53,.22) 0%, transparent 70%);
  top:-140px;
  left:-140px;
  z-index:0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow{
  from{ transform: translate(0,0); opacity:.75; }
  to{ transform: translate(44px,22px); opacity:1; }
}

/* Ensure hero content stays above glow */
.hero > *{
  position:relative;
  z-index:1;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  color: var(--muted);
  font-size:14px;
}

.h1{
  margin:16px 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height:1.05;
  letter-spacing: -.6px;
}

.sub{
  margin:0;
  color: var(--muted);
  font-size:18px;
  line-height:1.55;
  max-width: 70ch;
}

/* CARD / SURFACE */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.section{padding:18px 0}
.section h2{margin:0 0 10px; font-size: 26px}
.section p{margin:0; color: var(--muted); line-height:1.6}

/* GRID */
.grid{display:grid; gap:16px}
.grid-3{grid-template-columns: repeat(3, minmax(0, 1fr))}
.grid-2{grid-template-columns: repeat(2, minmax(0, 1fr))}
@media (max-width: 900px){
  .grid-3,.grid-2{grid-template-columns: 1fr}
}

/* FEATURE CARD */
.feature{padding:18px}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius: 12px;
  background: rgba(255,107,53,.14);
  border: 1px solid rgba(255,107,53,.28);
  color: var(--accent);
  font-weight:900;
}

.feature .title{font-weight:900; margin:10px 0 6px}
.feature p{margin:0; color: var(--muted); line-height:1.55}

/* FORM */
.form{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.input{
  flex:1;
  min-width:260px;
  padding:14px 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline:none;
}
.input:focus{
  border-color: rgba(255,107,53,.55);
  box-shadow: 0 0 0 4px rgba(255,107,53,.14);
}
.btn{
  padding:14px 18px;
  border-radius: 12px;
  border:none;
  background: var(--accent);
  color:#111;
  font-weight:900;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}
.note{color: var(--muted); font-size: 14px; margin-top:10px}

/* -------------------------
   Footer dark bar (matches nav)
-------------------------- */
.footer{
  margin-top: 42px;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(17,17,19,.86), rgba(17,17,19,.96));
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.75);
  font-size:14px;
}

.footer a{ color: rgba(255,255,255,.70); }
.footer a:hover{ color:#fff; }

.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

/* Make footer logo pop */
.footer-logo{
  height: 22px;
  width: auto;
  display:block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
  opacity: .95;
}

/* -------------------------
   Sexy animations (subtle)
-------------------------- */

/* Smooth hover micro-interactions */
.nav-cta, .btn, .card, .nav-links a{
  transition: transform .18s ease, filter .18s ease, background-color .18s ease, color .18s ease;
}

.nav-cta:hover, .btn:hover{
  transform: translateY(-1px);
}

.card:hover{
  transform: translateY(-2px);
}

/* Page load stagger animation */
.fade-in{
  opacity:0;
  transform: translateY(14px);
  animation: fadeUp .75s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes fadeUp{
  to { opacity:1; transform: translateY(0); }
}

/* Subtle hero “float” */
.hero .kicker{
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-3px); }
}

/* -------------------------
   Phone mockup section (CLEAN + FITS + SLIM CENTER)
-------------------------- */

.mockup-wrap{
  margin-top: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.mockup-wrap::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  right:-160px;
  top:-180px;
  background: radial-gradient(circle, rgba(255,107,53,.18) 0%, transparent 70%);
  z-index:0;
  animation: heroGlow 9s ease-in-out infinite alternate;
}

.mockup-grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:center;
}

@media (max-width: 900px){
  .mockup-grid{ grid-template-columns: 1fr; }
}

.mockup-stage{
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(760px 360px at 55% 15%, rgba(255,107,53,.12), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
  border: 1px solid rgba(15,17,21,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
}

.phones{
  position: relative;
  width: 100%;
  height: 500px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.phone{
  position:absolute;
  height: 460px;
  width: 250px;                 /* ✅ lock width */
  max-width: 100%;
  border-radius: 34px;
  background: #0B0C0F;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  padding: 10px;
  transform-origin: center;
}

.phone::before{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: 96px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}

.screen{
  height: 100%;
  border-radius: 26px;
  overflow:hidden;
  background: #111216;
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
}

.screen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.phone-main{
  z-index: 3;
  width: 240px;                 /* ✅ slimmer */
  padding: 9px;                 /* ✅ tighter bezel */
  transform: translateY(6px);
  animation: phoneFloat 6.5s ease-in-out infinite;
}

.phone-left{
  z-index: 2;
  transform: translateX(-170px) translateY(18px) rotate(-10deg) scale(.92);
  opacity: .95;
}

.phone-right{
  z-index: 1;
  transform: translateX(170px) translateY(18px) rotate(10deg) scale(.92);
  opacity: .95;
}

@keyframes phoneFloat{
  0%,100%{ transform: translateY(6px); }
  50%{ transform: translateY(-6px); }
}

@media (max-width: 520px){
  .mockup-stage{ min-height: 460px; }
  .phones{ height: 440px; }
  .phone{ height: 390px; width: 220px; }
  .phone-main{ width: 212px; padding: 8px; }
  .phone-left{ transform: translateX(-120px) translateY(18px) rotate(-10deg) scale(.90); }
  .phone-right{ transform: translateX(120px) translateY(18px) rotate(10deg) scale(.90); }
}

/* =========================
   ENTER OVERLAY (Dreamweaver-ish)
   + Glitch/Flicker headline
   ========================= */

.enter-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #07080b;
  color: #fff;
  overflow: hidden;
  opacity: 1;
  transition: opacity .6s ease, visibility .6s ease;
}

.enter-overlay.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.enter-noise{
  position:absolute;
  inset:-20%;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .10;
  mix-blend-mode: overlay;
  transform: rotate(2deg);
  animation: enterNoise 5.2s steps(6) infinite;
}

@keyframes enterNoise{
  0%{ transform: translate(0,0) rotate(2deg); }
  20%{ transform: translate(-1%,1%) rotate(2deg); }
  40%{ transform: translate(1%,-1%) rotate(2deg); }
  60%{ transform: translate(-1%,-1%) rotate(2deg); }
  80%{ transform: translate(1%,1%) rotate(2deg); }
  100%{ transform: translate(0,0) rotate(2deg); }
}

.enter-grid{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(255,107,53,.22), transparent 60%),
    radial-gradient(780px 520px at 15% 80%, rgba(255,107,53,.16), transparent 65%),
    radial-gradient(900px 520px at 85% 85%, rgba(255,107,53,.10), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 54px);
  opacity: .75;
  filter: blur(.2px);
}

.enter-orb{
  position:absolute;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,107,53,.24), transparent 70%);
  filter: blur(1px);
  opacity: .9;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.enter-orb-1{ left: -180px; top: -220px; }
.enter-orb-2{ right: -220px; bottom: -260px; animation-duration: 10s; opacity: .75; }

@keyframes orbFloat{
  from{ transform: translate(0,0); }
  to{ transform: translate(40px,22px); }
}

.enter-scan{
  position:absolute;
  left:-20%;
  top:-40%;
  width: 140%;
  height: 140%;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(255,107,53,.10) 46%,
    rgba(255,107,53,.22) 50%,
    rgba(255,107,53,.10) 54%,
    transparent 100%
  );
  transform: rotate(8deg);
  opacity: .55;
  animation: scanMove 2.6s ease-in-out infinite;
}

@keyframes scanMove{
  0%{ transform: translateX(-6%) translateY(-2%) rotate(8deg); opacity:.25; }
  50%{ transform: translateX(6%) translateY(2%) rotate(8deg); opacity:.60; }
  100%{ transform: translateX(-6%) translateY(-2%) rotate(8deg); opacity:.25; }
}

.enter-content{
  position: relative;
  width: min(720px, calc(100% - 40px));
  padding: 34px 26px;
  border-radius: 22px;
  background: rgba(10,11,14,.66);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  text-align: center;
  transform: translateY(10px);
  animation: enterPop .9s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes enterPop{
  from{ opacity:0; transform: translateY(18px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.enter-logo{
  height: 56px;
  width: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.55));
  opacity: .98;
}

/* ✅ Glitch/Flicker headline */
.enter-title{
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.8px;
  line-height: 1.05;
  font-weight: 900;
}

.enter-glitch{
  position: relative;
  display: inline-block;
  padding: 4px 10px;
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
  animation: enterFlicker 4.6s infinite;
}

/* two overlay layers (from HTML) */
.glitch-layer{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  pointer-events:none;
  opacity:.0;
}

.glitch-layer-1{
  color: rgba(255,107,53,.95);
  transform: translate(-1px,0);
  text-shadow: 0 0 18px rgba(255,107,53,.25);
  animation: glitchShift1 2.9s infinite;
}

.glitch-layer-2{
  color: rgba(255,255,255,.92);
  transform: translate(1px,0);
  text-shadow: 0 0 18px rgba(255,255,255,.12);
  animation: glitchShift2 3.4s infinite;
}

@keyframes enterFlicker{
  0%, 2%, 5%, 8%, 100% { opacity: 1; }
  3% { opacity: .75; }
  6% { opacity: .9; }
  9% { opacity: .85; }
  12% { opacity: 1; }
  40% { opacity: 1; }
  41% { opacity: .82; }
  42% { opacity: 1; }
  73% { opacity: 1; }
  74% { opacity: .88; }
  75% { opacity: 1; }
}

@keyframes glitchShift1{
  0%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translate(-1px,0); }
  8% { opacity: .85; clip-path: inset(12% 0 72% 0); transform: translate(-2px,-1px); }
  10% { opacity: 0; }
  48% { opacity: .8; clip-path: inset(58% 0 18% 0); transform: translate(-3px,1px); }
  50% { opacity: 0; }
  78% { opacity: .75; clip-path: inset(22% 0 54% 0); transform: translate(-2px,0); }
  80% { opacity: 0; }
}

@keyframes glitchShift2{
  0%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translate(1px,0); }
  14% { opacity: .8; clip-path: inset(70% 0 10% 0); transform: translate(3px,1px); }
  16% { opacity: 0; }
  56% { opacity: .75; clip-path: inset(18% 0 66% 0); transform: translate(2px,-1px); }
  58% { opacity: 0; }
  88% { opacity: .72; clip-path: inset(44% 0 30% 0); transform: translate(3px,0); }
  90% { opacity: 0; }
}

.enter-sub{
  margin: 10px auto 18px;
  color: rgba(255,255,255,.72);
  max-width: 58ch;
  line-height: 1.6;
}

.enter-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap: wrap;
}

.enter-btn{
  position: relative;
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #121212;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow:
    0 14px 40px rgba(255,107,53,.28),
    0 10px 28px rgba(0,0,0,.45);
  transform: translateY(0);
  transition: transform .18s ease, filter .18s ease;
  overflow: hidden;
}

.enter-btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.enter-btn:active{ transform: translateY(0px); filter: brightness(.98); }

.enter-btn-glow{
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle, rgba(255,255,255,.24), transparent 55%);
  transform: translateX(-30%);
  animation: btnGlow 2.6s ease-in-out infinite;
}

@keyframes btnGlow{
  0%{ transform: translateX(-35%); opacity:.35; }
  50%{ transform: translateX(20%); opacity:.70; }
  100%{ transform: translateX(-35%); opacity:.35; }
}

.enter-hint{
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.60);
}

.enter-hint kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  padding: 4px 7px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
}