:root {
  --bg: #090d16;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --fg: #f9fafb;
  --fg-muted: #9ca3af;
  --line: #1f2937;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --chip-bg: rgba(255, 255, 255, 0.05);
  --radius: 16px;
  --radius-sm: 8px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --fg: #0f172a;
    --fg-muted: #64748b;
    --line: #e2e8f0;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.1);
    --chip-bg: rgba(0, 0, 0, 0.04);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

a:hover {
  text-decoration: underline;
}

/* HEADER */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(9, 13, 22, 0.8);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

@media (prefers-color-scheme: light) {
  header.site {
    background-color: rgba(248, 250, 252, 0.85);
  }
}

header.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

a.brand:hover {
  text-decoration: none;
}

a.brand span.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--fg);
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background-color: var(--chip-bg);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-success {
  background-color: var(--success-bg);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.2);
}

h1.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
  text-decoration: none;
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  text-decoration: none;
  transform: translateY(-2px);
}

/* PHONE MOCKUP / MEDIA PLACEHOLDER */
.hero-media {
  max-width: 50rem;
  margin: 0 auto;
  position: relative;
}

.device-frame {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.screen-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.95));
  border-radius: 16px;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  gap: 0.75rem;
  color: var(--fg-muted);
}

.screen-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
}

.screen-placeholder p {
  font-size: 0.95rem;
}

/* SECTION COMMON */
section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

/* HOW IT WORKS (3 STEPS) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* USE CASES GRID */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.usecase-card {
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.usecase-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.usecase-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.usecase-card p {
  color: var(--fg-muted);
  font-size: 0.98rem;
  flex-grow: 1;
}

.usecase-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* FEATURES SHOWCASE WITH SCREENSHOT PLACEHOLDERS */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-item {
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-media-placeholder {
  aspect-ratio: 16 / 10;
  background-color: var(--chip-bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.feature-body {
  padding: 1.5rem;
}

.feature-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-body p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* VIDEO PLACEHOLDER SECTION */
.video-container {
  max-width: 48rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease;
  padding: 2rem;
  text-align: center;
}

.video-container:hover {
  border-color: var(--accent);
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
  margin-bottom: 1rem;
}

/* PRIVACY COMPARISON CARD */
.privacy-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 24, 39, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.privacy-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.privacy-point .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.privacy-point h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.privacy-point p {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* FAQ SECTION */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.faq-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 4rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer nav {
  gap: 1rem;
}

/* RESPONSIVE UTILS */
@media (max-width: 640px) {
  .wrap { padding: 0 1rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .cta-group { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  section { padding: 2.5rem 0; }
  footer .wrap { flex-direction: column; text-align: center; }
}
