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

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --border: #e4e2db;
  --text: #1a1917;
  --muted: #6b6860;
  --accent: #3d3aaa;
  --accent-light: #eeedfe;
  --accent-muted: #7f77dd;
  --green: #0f6e56;
  --green-light: #e1f5ee;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04);
}

[data-theme="dark"] {
  --bg: #111110;
  --surface: #1a1a18;
  --border: #2e2d28;
  --text: #e8e7e0;
  --muted: #908d82;
  --accent: #7f77dd;
  --accent-light: #1f1d3d;
  --accent-muted: #5f58b8;
  --green: #3cb896;
  --green-light: #1a2e27;
  --shadow: 0 1px 3px rgba(0,0,0,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  transition: background 0.2s, color 0.2s;
}

a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
}

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-contact {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

/* THEME TOGGLE */
.theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
  line-height: 0;
}

.theme-btn:hover { border-color: var(--text); color: var(--text); }

[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }

/* HERO */
.hero {
  padding: 4rem 2.5rem 3rem;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  font-size: 15px;
  max-width: 440px;
}

/* SECTIONS */
.section {
  padding: 0 2.5rem 4rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* APP CARD */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow);
}

.app-card:hover { border-color: var(--accent-muted); }

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-icon img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
}

.app-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-name {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
}

.app-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.app-features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.app-features span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.app-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* PILLS */
.pill {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}

.pill:hover { border-color: var(--text); color: var(--text); }

.pill-play {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
  font-weight: 500;
}

.pill-play:hover { opacity: 0.85; color: var(--green); }

/* STATUS BADGES */
.status-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.status-testing {
  background: var(--green-light);
  color: var(--green);
}

.status-dev {
  background: #faeeda;
  color: #854f0b;
}

[data-theme="dark"] .status-dev {
  background: #2e2215;
  color: #e0a336;
}

/* ABOUT */
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-card p {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  line-height: 1.7;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

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

/* PRIVACY POLICY PAGE */
.privacy-page {
  max-width: 680px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.privacy-page .last-updated {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.privacy-page h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
}

.privacy-page p,
.privacy-page li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.privacy-page ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: opacity 0.15s;
}

.privacy-page .back-link:hover { opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 540px) {
  nav, .hero, .section, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero h1 { font-size: 1.6rem; }
  .app-card { grid-template-columns: 1fr; }
  .app-icon { width: 52px; height: 52px; }
  .nav-contact { display: none; }
}
