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

:root {
  --bg:     #07090F;
  --bg2:    #0D1220;
  --bg3:    #111827;
  --accent: #2EE8C0;
  --accent2:#FF6B35;
  --text:   #E8EDF5;
  --muted:  #6B7A99;
  --border: rgba(255,255,255,0.06);
  --fd: 'Syne', sans-serif;
  --fb: 'Figtree', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  overflow-x: hidden;
}

/* Dot grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(7,9,15,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #07090F;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.375rem;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-nav:hover {
  box-shadow: 0 0 20px rgba(46,232,192,0.35);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2.5rem 5rem;
  gap: 5rem;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46,232,192,0.07);
  border: 1px solid rgba(46,232,192,0.18);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(1.4); }
}

h1 {
  font-family: var(--fd);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}
h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.cta-group { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #07090F;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(46,232,192,0.32);
}

.btn-ghost {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ─── DEVICE MOCKUP ─── */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-wrap {
  position: relative;
  animation: float 5s ease-in-out infinite;
}

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

.screen {
  width: 440px;
  height: 252px;
  background: var(--bg2);
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 80px rgba(46,232,192,0.06);
  position: relative;
}

.screen-inner {
  width: 100%; height: 100%;
  background: linear-gradient(140deg, #0d1423 0%, #0f1c2e 100%);
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-left { flex: 1; }
.scr-tag {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.scr-title {
  font-family: var(--fd);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.875rem;
}
.scr-title b { color: var(--accent); font-weight: 800; }
.scr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(46,232,192,0.1);
  border: 1px solid rgba(46,232,192,0.2);
  color: var(--accent);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}
.scr-pill::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite 0.5s;
}

.screen-right {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: flex-end;
}
.scr-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  text-align: right;
  min-width: 80px;
}
.scr-stat-val {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.scr-stat-lbl {
  font-size: 0.5rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* screen progress bar */
.scr-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.05);
}
.scr-progress-inner {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--accent), rgba(46,232,192,0.3));
  border-radius: 2px;
}

.screen-stand {
  width: 56px; height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}
.screen-base {
  width: 100px; height: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  margin: 0 auto;
}

/* floating badges */
.fbadge {
  position: absolute;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.fbadge-online {
  top: -0.75rem; right: -1.75rem;
  color: #4ADE80;
  border-color: rgba(74,222,128,0.15);
  display: flex; align-items: center; gap: 0.375rem;
}
.fbadge-online::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 1.8s infinite;
}
.fbadge-update {
  bottom: 1.25rem; left: -2.75rem;
  color: var(--accent);
  border-color: rgba(46,232,192,0.18);
  animation: float 3.5s ease-in-out infinite 1.2s;
}

/* ─── PROBLEM STRIP ─── */
.problem-strip {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.problem-strip .container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.pb-label {
  flex-shrink: 0;
  font-family: var(--fd);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  padding-top: 0.25rem;
}
.pb-text {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  border-left: 1px solid var(--border);
  padding-left: 2.5rem;
}
.pb-text strong { color: var(--text); font-weight: 500; }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
h2 {
  font-family: var(--fd);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
h2 em { font-style: normal; color: var(--accent); }

/* ─── FEATURES ─── */
.features { padding: 8rem 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,232,192,0.035), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat-card:hover { border-color: rgba(46,232,192,0.22); transform: translateY(-3px); }
.feat-card:hover::after { opacity: 1; }

.feat-icon {
  width: 48px; height: 48px;
  background: rgba(46,232,192,0.07);
  border: 1px solid rgba(46,232,192,0.12);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.375rem;
}
.feat-title {
  font-family: var(--fd);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
.feat-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}
.feat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.625rem;
  border-radius: 6px;
}

/* ─── HOW IT WORKS ─── */
.how { padding: 8rem 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,232,192,0.2), rgba(46,232,192,0.2), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 2rem 2.5rem;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(46,232,192,0.25);
  color: var(--accent);
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--fd);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── TARGETS ─── */
.targets { padding: 8rem 0; }

.targets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.target-item {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  transition: border-color 0.25s, transform 0.25s;
  text-align: center;
}
.target-item:hover { border-color: rgba(46,232,192,0.2); transform: translateY(-2px); }
.target-icon { font-size: 2rem; margin-bottom: 0.875rem; }
.target-name {
  font-family: var(--fd);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.target-desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }

/* ─── CTA ─── */
.cta-sec {
  padding: 9rem 0;
  text-align: center;
}
.cta-inner {
  position: relative;
  display: inline-block;
  width: 100%;
}
.cta-glow {
  position: absolute;
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(46,232,192,0.07) 0%, transparent 70%);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-sec h2 { margin-bottom: 1.5rem; position: relative; }
.cta-sec p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  position: relative;
}

.contact-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
.contact-form input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  color: var(--text);
  font-family: var(--fb);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}
#demo-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.contact-form input::placeholder { color: var(--muted); }
.contact-form input:focus { border-color: rgba(46,232,192,0.3); }
.contact-form button {
  background: var(--accent);
  color: #07090F;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(46,232,192,0.3);
}
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.875rem;
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero entrance */
.hero-content > * {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }

.hero-visual {
  animation: fadeUp 0.85s ease 0.25s forwards;
  opacity: 0;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 7rem 1.5rem 4rem; gap: 3.5rem; }
  .hero-sub { max-width: 100%; }
  .screen { width: 340px; height: 195px; }
  .fbadge { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .targets-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-strip .container { flex-direction: column; gap: 1.25rem; }
  .pb-text { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1.25rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  nav { padding: 1rem 1.5rem; }
  .nav-links a { display: none; }
}
