:root {
  --bg-dark: #08080A;
  --bg-surface: #121216;
  --bg-surface-hover: #1E1E24;
  --bg-card: rgba(18, 18, 22, 0.7);

  --text-main: #E5E7EB;
  --text-muted: #9CA3AF;
  --text-header: #F9FAFB;

  --accent-purple: #A855F7;
  --accent-purple-hover: #C084FC;
  --accent-glow: rgba(168, 85, 247, 0.3);

  --border-light: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(168, 85, 247, 0.5);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: underline;
  color: var(--accent-purple-hover);
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--text-header);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.nav-brand img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-header);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 4rem;
  max-width: 480px;
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
  transition: transform 0.3s ease;
}

.waitlist-form:hover {
  transform: translateY(-2px);
}

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
  color: var(--text-header);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 2px var(--border-focus);
}

.waitlist-form button {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: var(--accent-purple);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.waitlist-form button:hover {
  background: var(--accent-purple-hover);
}

.waitlist-form button:active {
  transform: scale(0.98);
}

.waitlist-message {
  font-size: 0.9rem;
  min-height: 1.5em;
  color: var(--text-muted);
}

.waitlist-message.success {
  color: #34D399;
  /* Green-ish */
}

.waitlist-message.error {
  color: #F87171;
  /* Red-ish */
}

/* Screenshot Slider */
.app-screenshot {
  margin: 0 auto 6rem;
  max-width: 960px;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-screenshot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0.5;
  z-index: 10;
}

.app-screenshot .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 12px;
}

.app-screenshot .slide.active {
  opacity: 1;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface-hover);
  border-color: var(--accent-glow);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-purple);
}

/* Security Breakdown */
.security-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border-radius: 12px;
  border-left: 4px solid var(--accent-purple);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple);
}

/* Comparisons */
.comparisons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.compare-card {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.compare-card em {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text-header);
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* simple mobile behavior for now */
  }
}