@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --bg: #07090e;
  --surface: #0f1117;
  --surface2: #141720;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.1);
  --cyan: #00e5c8;
  --cyan-dim: rgba(0,229,200,0.12);
  --cyan-border: rgba(0,229,200,0.25);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #f0ede8;
  --muted: #5a6170;
  --muted2: #8b95a3;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3.5rem;
  background: rgba(7,9,14,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), #005f54);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.nav-brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; color: var(--white); }
.nav-brand-text span { color: var(--cyan); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted2); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-back { font-size: .82rem; color: var(--muted2); text-decoration: none; display: flex; align-items: center; gap: .4rem; transition: color .2s; }
.nav-back:hover { color: var(--cyan); }
.btn-nav {
  background: var(--cyan); color: var(--bg);
  padding: .5rem 1.2rem; border-radius: 6px;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  font-family: var(--font-body);
  transition: box-shadow .2s, transform .2s;
}
.btn-nav:hover { box-shadow: 0 0 24px rgba(0,229,200,0.4); transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 3.5rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,229,200,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,200,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-bg-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 70% 45%, rgba(0,229,200,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 15% 70%, rgba(34,197,94,0.05) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; width: 100%;
}
.hero-left {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cyan-dim); border: 1px solid var(--cyan-border);
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: 2rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.hero-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800; line-height: .95; letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}
h1.hero-title .ghost { color: transparent; -webkit-text-stroke: 1px rgba(240,237,232,0.15); }
h1.hero-title .hi { color: var(--cyan); }
.hero-desc { font-size: 1rem; line-height: 1.75; color: var(--muted2); font-weight: 300; max-width: 500px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cyan); color: var(--bg);
  padding: .8rem 1.8rem; border-radius: 7px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 0 28px rgba(0,229,200,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(0,229,200,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border2); color: var(--white);
  padding: .8rem 1.8rem; border-radius: 7px;
  font-size: .9rem; text-decoration: none;
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); }

/* hero phone mockups */
.hero-right { position: relative; height: 540px; }
.phone-stack { position: relative; height: 100%; }
.phone {
  position: absolute;
  width: 210px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.phone img { width: 100%; display: block; }
.phone.p1 { left: 50%; transform: translateX(-50%); top: 0; z-index: 3; }
.phone.p2 { left: 5%; top: 60px; z-index: 2; transform: rotate(-5deg); opacity: .75; }
.phone.p3 { right: 5%; top: 60px; z-index: 2; transform: rotate(5deg); opacity: .75; }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
}
.hstat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.hstat-num.c { color: var(--cyan); }
.hstat-label { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

/* ── SECTION COMMONS ── */
section { padding: 6rem 3.5rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--cyan); }
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
}
p.section-sub {
  font-size: .97rem; line-height: 1.75; color: var(--muted2);
  font-weight: 300; max-width: 580px; margin-top: 1rem;
}

/* ── FEATURES ── */
#features { background: var(--surface); }
.features-header { margin-bottom: 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature-card {
  background: var(--surface);
  padding: 2.5rem; position: relative;
  transition: background .3s;
}
.feature-card:hover { background: var(--surface2); }
.feature-card.wide { grid-column: 1 / -1; }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: var(--cyan-dim); border: 1px solid var(--cyan-border);
}
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  margin-bottom: .6rem;
}
.feature-card p { font-size: .9rem; color: var(--muted2); line-height: 1.65; }
.feat-tag {
  display: inline-block; margin-top: 1rem;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-dim); border: 1px solid var(--cyan-border);
  padding: .2rem .65rem; border-radius: 4px;
}

/* ── HOW IT WORKS ── */
#how { background: var(--bg); }
.how-header { margin-bottom: 4rem; }
.steps { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 860px; margin: 0 auto; }
.steps::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}
.step {
  display: grid; grid-template-columns: 58px 1fr; gap: 2rem; align-items: flex-start;
  padding: 2rem 0; position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cyan-border); background: var(--surface);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--cyan);
  position: relative; z-index: 1;
}
.step-body {}
.step-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.step-body p { font-size: .92rem; color: var(--muted2); line-height: 1.7; max-width: 560px; }
.step-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem; font-size: .75rem; color: var(--muted2);
  background: var(--surface); border: 1px solid var(--border2);
  padding: .3rem .75rem; border-radius: 100px;
}

/* ── GALLERY ── */
#gallery { background: var(--surface); }
.gallery-header { margin-bottom: 3rem; }
.gallery-tabs { display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tab-btn {
  background: none; border: 1px solid var(--border2);
  color: var(--muted2); padding: .45rem 1.1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .82rem; cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--cyan-dim); border-color: var(--cyan-border); color: var(--cyan);
}
.gallery-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; }
.gallery-item {
  border-radius: 14px; overflow: hidden; position: relative;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.gallery-item img { width: 100%; display: block; height: 340px; object-fit: cover; object-position: top; }
.gallery-item .item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7,9,14,0.9), transparent);
  padding: 1.5rem 1rem .8rem;
  font-size: .8rem; color: var(--muted2);
}
.gallery-item .item-label strong { display: block; font-size: .9rem; color: var(--white); margin-bottom: .2rem; }

/* ── CTA ── */
#cta {
  background: var(--bg); text-align: center; padding: 7rem 3.5rem;
  position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,229,200,0.06) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 1.2rem; }
.cta-inner p { color: var(--muted2); font-size: 1rem; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 1.8rem 3.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.footer-brand span { color: var(--cyan); }
footer p { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  section, #hero, #cta { padding: 5rem 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { height: 320px; }
  .phone { width: 150px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}
