/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0d0f;
  --surface: #16161a;
  --surface-alt: #1e1e24;
  --border: #2a2a35;
  --accent: #7c6af7;
  --accent-glow: rgba(124, 106, 247, 0.25);
  --accent-light: #a598f9;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --text-dim: #55556a;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* === Layout === */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Nav === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

/* === Hero === */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

h1 span {
  background: linear-gradient(135deg, var(--accent-light), #c4b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
}

.hero-cta:hover {
  background: var(--accent-light);
  color: #0d0d0f;
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--accent-glow);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
}

/* === App Preview === */
.app-preview {
  padding: 40px 0 80px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: var(--surface);
  border-radius: 36px;
  border: 2px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px var(--accent-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: var(--border);
  border-radius: 0 0 6px 6px;
}

.phone-screen-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

.phone-timer {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.05em;
  text-shadow: 0 0 30px var(--accent-glow);
}

.phone-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-ring::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--surface-alt);
  border-top-color: var(--accent-light);
}

/* === Features === */
.features {
  padding: 80px 0;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(124, 106, 247, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Privacy highlight === */
.privacy-highlight {
  padding: 80px 0;
}

.privacy-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-card .privacy-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.privacy-card .privacy-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text);
}

.pill .pill-icon {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* === Footer === */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* === Inner pages === */
.page-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: left;
  margin-bottom: 8px;
}

.page-header .updated {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.content {
  padding-bottom: 80px;
}

.content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.content ul {
  list-style: none;
  margin-bottom: 16px;
}

.content ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  color: var(--text);
}

/* === Contact page === */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
}

.contact-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  transition: border-color 0.2s;
}

.email-link:hover {
  border-color: var(--accent);
  color: #fff;
}

/* === Responsive === */
@media (max-width: 640px) {
  .privacy-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .nav-links {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
