/* ============================================================
   TECHLETICS — design tokens
   ============================================================ */
:root{
  --bg: #050505;
  --bg-elev: #0b0c0f;
  --blue: #1e90ff;
  --blue-soft: #4fa8ff;
  --orange: #ff6a00;
  --orange-soft: #ff8f3d;
  --white: #f5f7fa;
  --muted: #9aa1ac;
  --glass: rgba(255,255,255,0.045);
  --glass-border: rgba(255,255,255,0.09);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html,body{
  margin:0; padding:0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
}

body{ position: relative; }

::selection{ background: var(--blue); color:#03050a; }

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; border:none; cursor:pointer; background:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }

img{ max-width:100%; display:block; }

/* scrollbar */
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: linear-gradient(var(--blue), var(--orange)); border-radius:10px; }

/* ============ utility ============ */
.gradient-text{
  background: linear-gradient(100deg, var(--blue-soft) 0%, var(--white) 45%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* NOTE: reveal-up elements are intentionally visible by default.
   JS progressively enhances them with a gsap.from() entrance;
   if JS fails to load for any reason, content still renders normally. */
.reveal-up{ opacity:1; }

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

.cursor-glow{
  position: fixed; top:0; left:0; width: 420px; height: 420px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(30,144,255,0.12) 0%, rgba(255,106,0,0.06) 45%, transparent 70%);
  transform: translate(-50%,-50%);
  pointer-events:none; z-index: 3; will-change: transform;
  transition: opacity .3s;
}

/* ============ NAVBAR ============ */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  display:flex; justify-content:center;
  padding: 18px 24px;
  transform: translateY(0);
  transition: transform .5s var(--ease);
}
.navbar.hide{ transform: translateY(-130%); }

.nav-inner{
  width:100%; max-width: 1280px;
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 20px;
  border-radius: 100px;
  background: rgba(8,9,12,0.5);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.logo{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; letter-spacing: .12em; font-size: 14px; }
.logo-mark{
  width: 26px; height:26px; border-radius:50%;
  border: 2px solid var(--blue);
  display:flex; align-items:center; justify-content:center;
  position: relative;
  box-shadow: 0 0 14px rgba(30,144,255,0.6);
}
.logo-dot{ width:8px; height:8px; border-radius:50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.nav-links{ display:flex; gap: 34px; }
.nav-link{
  font-size: 13.5px; font-weight:500; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width .3s var(--ease);
}
.nav-link:hover{ color: var(--white); }
.nav-link:hover::after{ width:100%; }

.nav-cta{
  padding: 10px 22px; border-radius: 100px; font-size: 13px; font-weight:600;
  background: linear-gradient(100deg, var(--blue), #0b6fd6);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px rgba(30,144,255,0.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover{ transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 12px 30px rgba(30,144,255,0.5); }

.nav-burger{ display:none; flex-direction:column; gap:5px; width: 26px; }
.nav-burger span{ display:block; height:2px; background: var(--white); border-radius:2px; transition: all .3s; }

.mobile-menu{
  position: fixed; top: 84px; right: 18px; left: 18px; z-index: 99;
  background: rgba(8,9,12,0.9); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: 18px;
  padding: 10px; display:flex; flex-direction:column;
  transform: translateY(-16px) scale(0.98); opacity:0; pointer-events:none;
  transition: all .35s var(--ease);
}
.mobile-menu.open{ transform: translateY(0) scale(1); opacity:1; pointer-events:auto; }
.mobile-menu a{ padding: 14px 16px; font-size:15px; color: var(--muted); border-radius:10px; }
.mobile-menu a:hover{ background: var(--glass); color: var(--white); }

/* ============ HERO ============ */
.hero{
  position: relative; height: 100vh; min-height: 720px; width:100%;
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
#hero-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }

.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(30,144,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  opacity: .6;
}
.hero-fog{
  position:absolute; inset:0;
  background: radial-gradient(circle at 50% 60%, rgba(30,144,255,0.10), transparent 55%),
              radial-gradient(circle at 70% 30%, rgba(255,106,0,0.08), transparent 50%);
}
.hero-vignette{
  position:absolute; inset:0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(5,5,5,0.9) 100%);
}
.hero-fallback-orb{
  position:absolute; top:50%; left:50%; width: 420px; height:420px;
  transform: translate(-50%,-50%);
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, rgba(30,144,255,0.35), rgba(5,5,5,0) 70%),
              radial-gradient(circle at 65% 70%, rgba(255,106,0,0.25), rgba(5,5,5,0) 65%);
  filter: blur(6px);
  animation: floaty 7s ease-in-out infinite;
  z-index: 0;
}

.hero-content{
  position: relative; z-index: 2; text-align:center;
  max-width: 900px; padding: 0 24px;
  margin-top: 40px;
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 16px; border-radius: 100px;
  border:1px solid var(--glass-border);
  background: var(--glass);
  font-size: 12px; letter-spacing: .12em; font-weight:600; color: var(--blue-soft);
  margin-bottom: 26px;
}
.eyebrow-pulse{ width:7px; height:7px; border-radius:50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.5);} }

.hero-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}
.title-line{ display:block; }

.hero-sub{
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 560px; margin: 0 auto 42px;
  line-height: 1.6;
}

.hero-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.btn{
  position: relative; overflow:hidden;
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 30px; border-radius: 100px; font-size: 14.5px; font-weight:600;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn.small{ padding: 11px 20px; font-size:13px; }
.btn-primary{
  background: linear-gradient(100deg, var(--blue), #0b6fd6 60%, var(--orange));
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 30px rgba(30,144,255,.35);
}
.btn-primary:hover{ transform: translateY(-3px); background-position: 100% 0%; box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 16px 40px rgba(255,106,0,.35); }
.btn-glow{
  position:absolute; inset:-40%; border-radius:inherit;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 60%);
  opacity:0; transition: opacity .4s; pointer-events:none;
}
.btn-primary:hover .btn-glow{ opacity:.5; }

.btn-ghost{
  border:1px solid var(--glass-border);
  background: var(--glass);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover{ transform: translateY(-3px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,0.08); }
.play-ico{ font-size: 10px; }

.scroll-cue{
  position:absolute; bottom: 34px; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-size: 11px; letter-spacing:.16em; color: var(--muted); z-index:2;
}
.scroll-line{ width:1px; height:40px; background: rgba(255,255,255,0.15); overflow:hidden; position:relative; }
.scroll-line i{
  position:absolute; top:-40px; left:0; width:100%; height:40px;
  background: linear-gradient(var(--blue), var(--orange));
  animation: scrollmove 2s infinite var(--ease);
}
@keyframes scrollmove{ to{ top:100%; } }

/* ============ SECTION SHARED ============ */
.section{ position: relative; padding: 160px 24px; max-width: 1320px; margin: 0 auto; }
.section-head{ text-align:center; max-width: 720px; margin: 0 auto 80px; }
.section-tag{
  display:inline-block; font-size:12px; letter-spacing:.18em; font-weight:600;
  color: var(--orange-soft); margin-bottom: 18px; text-transform: uppercase;
}
.section-title{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height:1.08; letter-spacing:-0.02em;
  margin: 0 0 18px;
}
.section-desc{ color: var(--muted); font-size: 1.05rem; line-height:1.6; }

/* ============ FEATURES ============ */
.feature-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card{
  padding: 34px 28px; border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative; overflow:hidden;
}
.feature-card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(140deg, rgba(30,144,255,0.5), transparent 40%, rgba(255,106,0,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:0; transition: opacity .4s;
}
.feature-card:hover::before{ opacity:1; }
.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(30,144,255,.12);
}
.feature-icon{
  font-size: 30px; margin-bottom:20px; display:inline-block;
  filter: drop-shadow(0 0 12px rgba(30,144,255,.55));
  transition: transform .4s var(--ease);
}
.feature-card:hover .feature-icon{ transform: scale(1.2) rotate(-6deg); }
.feature-card h3{ font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 10px; font-weight:600; }
.feature-card p{ color: var(--muted); font-size: .93rem; line-height:1.6; margin:0; }

/* ============ TECHNOLOGY ============ */
.tech-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.tech-visual{
  position: relative; height: 560px; display:flex; align-items:center; justify-content:center;
}
.tech-ball-core{
  width: 220px; height:220px; position: relative; z-index:2;
  filter: drop-shadow(0 0 34px rgba(30,144,255,.45)) drop-shadow(0 0 60px rgba(255,106,0,.18));
  animation: corepulse 4s ease-in-out infinite, ballspin 22s linear infinite;
}
.tech-ball-core svg{ width:100%; height:100%; display:block; }
@keyframes ballspin{ to{ transform: rotate(360deg); } }
@keyframes corepulse{
  0%,100%{ filter: drop-shadow(0 0 34px rgba(30,144,255,.45)) drop-shadow(0 0 60px rgba(255,106,0,.15)); }
  50%{ filter: drop-shadow(0 0 44px rgba(30,144,255,.3)) drop-shadow(0 0 80px rgba(255,106,0,.4)); }
}

.tech-orbit{
  position:absolute; border-radius:50%; border: 1px dashed rgba(255,255,255,0.1);
  animation: spin linear infinite;
}
.orbit-1{ width: 320px; height:320px; animation-duration: 30s; border-color: rgba(30,144,255,.2); }
.orbit-2{ width: 430px; height:430px; animation-duration: 46s; animation-direction: reverse; border-color: rgba(255,106,0,.16); }
.orbit-3{ width: 520px; height:520px; animation-duration: 60s; border-color: rgba(255,255,255,.06); }
@keyframes spin{ to{ transform: rotate(360deg); } }

.tech-node{
  position:absolute; left: 50%; top:50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  z-index:3;
}
.node-dot{
  display:block; width: 14px; height:14px; border-radius:50%;
  background: var(--blue); box-shadow: 0 0 16px var(--blue), 0 0 0 6px rgba(30,144,255,.12);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.tech-node.active .node-dot{ background: var(--orange); box-shadow: 0 0 22px var(--orange), 0 0 0 8px rgba(255,106,0,.18); transform: scale(1.4); }

.tech-list{ display:flex; flex-direction:column; gap: 6px; }
.tech-item{
  display:flex; gap: 20px; align-items:flex-start;
  padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .35s, border-color .35s, transform .35s;
  cursor: default;
}
.tech-item.active{ background: var(--glass); border-color: var(--glass-border); transform: translateX(6px); }
.tech-index{ font-family: var(--font-display); font-size: .85rem; color: var(--blue-soft); font-weight:600; padding-top: 2px; }
.tech-item h4{ margin:0 0 6px; font-size: 1.05rem; font-weight:600; }
.tech-item p{ margin:0; color: var(--muted); font-size: .9rem; line-height:1.55; }

/* ============ APP ============ */
.app-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.app-points{ margin-top: 30px; display:flex; flex-direction:column; gap:14px; }
.app-points li span{
  display:inline-flex; align-items:center; gap:12px;
  font-size: .98rem; color: var(--white);
}
.app-points li span::before{
  content:''; width:8px; height:8px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 0 10px rgba(30,144,255,.6);
}

.phone-stage{ position:relative; display:flex; justify-content:center; perspective: 1400px; }
.phone-glow{
  position:absolute; width: 340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, rgba(30,144,255,.25), transparent 65%);
  filter: blur(10px); z-index:0; animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-18px);} }

.phone-mock{
  position: relative; z-index:1; width: 280px; height: 580px;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #16181d, #050608);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 60px rgba(30,144,255,.12), inset 0 0 0 1px rgba(255,255,255,.03);
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(4deg);
  transition: transform .2s ease-out;
}
.phone-notch{
  position:absolute; top:12px; left:50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 14px; background: #050608; z-index:2;
}
.phone-screen{
  width:100%; height:100%; border-radius: 34px; overflow:hidden;
  background: linear-gradient(180deg, #0a0d12, #050608 60%);
  padding: 34px 18px 18px;
  display:flex; flex-direction:column; gap: 16px;
  position: relative;
}
.app-topbar{ display:flex; justify-content:space-between; align-items:center; font-size:12px; color: var(--muted); }
.app-dot{ width:8px; height:8px; border-radius:50%; background: var(--orange); box-shadow:0 0 8px var(--orange); }
.app-stat-row{ display:flex; justify-content:space-between; background: var(--glass); border:1px solid var(--glass-border); border-radius:16px; padding: 14px 10px; }
.app-stat{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.app-stat-num{ font-family: var(--font-display); font-size: 1.4rem; font-weight:700; color: var(--blue-soft); }
.app-stat-label{ font-size:.65rem; color: var(--muted); letter-spacing:.08em; text-transform:uppercase; }
.app-graph{ background: var(--glass); border:1px solid var(--glass-border); border-radius:16px; padding: 10px; height:80px; }
.app-graph svg{ width:100%; height:100%; }
.graph-line{ fill:none; stroke: var(--orange); stroke-width:2.4; filter: drop-shadow(0 0 6px rgba(255,106,0,.7)); }
.app-heatmap{ background: var(--glass); border:1px solid var(--glass-border); border-radius:16px; padding:12px; }
.hm-label{ font-size:.68rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
.hm-grid{ margin-top:8px; display:grid; grid-template-columns: repeat(6,1fr); gap:4px; }
.hm-grid span{ display:block; aspect-ratio:1; border-radius:3px; background: rgba(30,144,255,0.10); }
.hm-grid span:nth-child(3n+1){ background: rgba(255,106,0,0.45); }
.hm-grid span:nth-child(5n+2){ background: rgba(255,106,0,0.28); }
.hm-grid span:nth-child(4n+3){ background: rgba(30,144,255,0.32); }
.hm-grid span:nth-child(7n){ background: rgba(255,106,0,0.6); }
.hm-grid span:nth-child(6n+5){ background: rgba(30,144,255,0.16); }
.app-calorie{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; font-size:.85rem; color:var(--muted); }
.app-calorie strong{ color: var(--orange-soft); font-family: var(--font-display); font-size:1.1rem; }

/* ============ HOW IT WORKS ============ */
.how-track{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; flex-wrap:wrap; }
.how-step{
  flex: 1 1 180px; text-align:center; padding: 30px 14px;
  border-radius: var(--radius); background: var(--glass); border:1px solid var(--glass-border);
}
.how-num{ display:block; font-family: var(--font-display); font-size: 2.2rem; font-weight:700; margin-bottom: 12px;
  background: linear-gradient(120deg, var(--blue-soft), var(--orange-soft)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.how-step h3{ margin:0 0 8px; font-family: var(--font-display); font-size:1.2rem; }
.how-step p{ margin:0; color: var(--muted); font-size:.88rem; line-height:1.5; }
.how-connector{ flex: 0 0 40px; display:flex; align-items:center; justify-content:center; padding-top: 60px; }
.how-connector i{ display:block; width:100%; height:2px; background: linear-gradient(90deg, var(--blue), var(--orange)); opacity:.4; }
@media (max-width: 900px){ .how-connector{ display:none; } }

#engineeringCanvas{
  width: 260px; height: 260px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 34px rgba(30,144,255,.35)) drop-shadow(0 0 50px rgba(255,106,0,.15));
}

/* ============ STATS ============ */
.stats{ padding-top: 100px; padding-bottom: 100px; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stat-card{ padding: 40px 20px; border-radius: var(--radius); background: var(--glass); border:1px solid var(--glass-border); }
.stat-num{
  display:block; font-family: var(--font-display); font-weight:700;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  background: linear-gradient(120deg, var(--blue-soft), var(--white) 60%, var(--orange-soft));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-label{ display:block; margin-top:10px; color: var(--muted); font-size: .85rem; letter-spacing:.04em; }

/* ============ TESTIMONIALS ============ */
.carousel{ position:relative; }
.carousel-track{
  display:flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 6px 30px; scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar{ display:none; }
.testimonial-card{
  flex: 0 0 min(420px, 84vw); scroll-snap-align:center;
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--glass); border:1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform: scale(.94); opacity:.6;
}
.testimonial-card.is-active{ transform: scale(1); opacity:1; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(30,144,255,.1); }
.testimonial-card p{ font-size: 1.05rem; line-height:1.65; margin:0 0 24px; color: #e7e9ee; }
.testimonial-author{ display:flex; flex-direction:column; }
.testimonial-author strong{ font-family: var(--font-display); font-size:.95rem; }
.testimonial-author span{ color: var(--muted); font-size:.8rem; }
.carousel-dots{ display:flex; justify-content:center; gap:8px; margin-top: 10px; }
.carousel-dots span{ width:7px; height:7px; border-radius:50%; background: rgba(255,255,255,.2); transition: all .3s; cursor:pointer; }
.carousel-dots span.active{ background: var(--orange); width: 22px; border-radius:6px; }

/* ============ CTA ============ */
.cta-section{
  position: relative; text-align:center; overflow:hidden;
  padding: 180px 24px; max-width:none;
  background: radial-gradient(ellipse at 50% 50%, rgba(30,144,255,0.08), transparent 60%);
}
#cta-canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.cta-content{ position:relative; z-index:2; max-width: 720px; margin:0 auto; }
.cta-title{ font-family: var(--font-display); font-weight:600; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height:1.08; margin:0 0 22px; letter-spacing:-.02em; }
.cta-sub{ color: var(--muted); font-size: 1.05rem; margin: 0 0 40px; }
.cta-form{ display:flex; gap: 12px; justify-content:center; flex-wrap:wrap; }
.cta-input{
  padding: 15px 22px; border-radius: 100px; min-width: 280px;
  background: var(--glass); border:1px solid var(--glass-border); color: var(--white); font-size:14px;
  backdrop-filter: blur(10px);
}
.cta-input::placeholder{ color: var(--muted); }
.cta-input:focus{ outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,144,255,.2); }

/* ============ FOOTER ============ */
.footer{ padding: 80px 24px 30px; max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--glass-border); }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap: 30px; flex-wrap:wrap; margin-bottom: 60px; }
.footer-newsletter{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.footer-newsletter > span{ color: var(--muted); font-size:.9rem; }
.footer-input-row{ display:flex; gap:8px; }
.footer-input-row input{
  padding: 10px 16px; border-radius:100px; background: var(--glass); border:1px solid var(--glass-border); color:var(--white);
  min-width: 200px;
}
.footer-cols{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.footer-col h5{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--muted); margin: 0 0 16px; }
.footer-col a{ display:block; padding: 6px 0; color: #d7dae0; font-size:.92rem; transition:color .25s; }
.footer-col a:hover{ color: var(--blue-soft); }
.social-row{ display:flex; gap: 14px; }
.social-row a{
  width: 36px; height:36px; border-radius:50%; border:1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center; font-size:14px;
  transition: all .3s;
}
.social-row a:hover{ border-color: var(--blue); box-shadow: 0 0 14px rgba(30,144,255,.4); transform: translateY(-3px); }
.footer-bottom{ display:flex; justify-content:space-between; color: var(--muted); font-size:.8rem; flex-wrap:wrap; gap:10px; padding-top: 24px; border-top: 1px solid var(--glass-border); }

/* ============ magnetic buttons cursor helper ============ */
.magnetic{ will-change: transform; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px){
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .tech-wrap, .app-wrap{ grid-template-columns: 1fr; }
  .tech-visual{ height: 460px; order: 2; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px){
  .nav-links, .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .section{ padding: 110px 20px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .footer-cols{ grid-template-columns: 1fr 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .phone-mock{ width: 240px; height: 500px; transform: rotateY(0) rotateX(0); }
  .app-wrap{ text-align:center; }
  .app-points li span{ justify-content:center; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
