:root {
  /* Deep Navy/Black Base */
  --bg: #02040a;
  --panel: rgba(15, 23, 42, 0.6);
  --border: rgba(255, 255, 255, 0.08); /* Ultra subtle border */

  /* Typography */
  --text: #f1f5f9;
  --muted: #94a3b8;

  /* Accents (Cyan/Teal) */
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --link: #38bdf8;

  /* Status Colors */
  --success: #34d399;
  --warn: #facc15;

  /* Radius */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* Subtle grid pattern overlay */
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent); }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
  position: relative;
}

/* Top Glow Effect */
.glow-top {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,0.15) 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

/* NAVBAR */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 2px;
}

.nav-left { display: flex; align-items: center; gap: 12px; }

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.2s ease;
}
.nav-logo:hover {
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(34, 211, 238, 0.4);
}
.nav-logo img { width: 125%; height: auto; }

.nav-title { line-height: 1.2; }
.nav-title span:first-child {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 2rem;
}
.nav-title span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.nav-pill {
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.nav-pill:hover {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}
.btn-primary:hover {
  background: #0e7490;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.btn-secondary {
  background:#0b1220;
  color:#d8f3ff;
  border:1px solid #1e2a3a;
}
.btn-secondary:hover {
  background: #47d8ff;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* HERO (homepage) */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 700;

  background: linear-gradient(to bottom right, #fff 30%, #94a3b8 100%);

  /* Standard property */
  background-clip: text;

  /* Vendor-prefixed for Safari/Chrome */
  -webkit-background-clip: text;

  /* Needed with the standard property to hide text fill */
  color: transparent;

  /* Needed with the WebKit version */
  -webkit-text-fill-color: transparent;
}

.hero h1 span.accent {
  background: linear-gradient(135deg, #22d3ee, #0ea5b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-icon { color: var(--success); }

/* PHONE MOCKUP */
.phone-container {
  position: relative;
  perspective: 1000px;
}
.phone-container::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
              rgba(34, 211, 238, 0.25) 0%,
              rgba(34, 211, 238, 0.05) 50%,
              rgba(0, 0, 0, 0) 80%);
  z-index: -1;
  filter: blur(22px);
  pointer-events: none;
}
.phone-body {
  width: 250px;
  height: 552px;
  background: #02040a;
  border-radius: 40px;
  border: 4px solid #1e293b;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 2px #334155;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}
.phone-container:hover .phone-body {
  transform: rotateY(0) rotateX(0);
}

.phone-screen {
  position: absolute;
  inset: 8px;
  background: #0f172a;
  border-radius: 32px;
  overflow: hidden;
  display: block;
}

/* App screenshot image */
.app-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* SECTIONS & CARDS */
.section { margin-bottom: 80px; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}
.card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 600;
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.card-step {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

/* Video & Split Sections */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.video-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
video { width: 100%; display: block; }

.list {
  list-style: none;
  padding: 0;
}
.list li {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  color: var(--text);
}
.check { color: var(--success); }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  border-left: 1px solid var(--border);
  margin-left: 12px;
}
.timeline li {
  padding-left: 24px;
  margin-bottom: 24px;
  position: relative;
}
.timeline li::before {
  content:'';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid var(--muted);
}
.timeline li.done::before {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}
.timeline li.active::before {
  background: var(--warn);
  border-color: var(--warn);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.status-badge.green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--success);
}
.status-badge.yellow {
  background: rgba(250, 204, 21, 0.1);
  color: var(--warn);
}

/* Utility container for text-heavy pages (privacy, TOS, support, etc.) */
.content-narrow {
  max-width: 720px;
  margin: 40px auto 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  margin-left: 20px;
}
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-eyebrow,
  .hero-cta-row,
  .hero-meta {
    justify-content: center;
  }
  .hero-sub { margin: 0 auto 32px; }
  .phone-container { margin-top: 40px; }
  .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; } /* Hide links on mobile for simplicity */
}
