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

:root {
  --bg: #0d0d10;
  --surface: #17171b;
  --surface-2: #1e1e23;
  --border: #27272d;
  --border-strong: #38383f;
  --text: #f0eee8;
  --muted: #888893;
  --muted-2: #4e4e59;
  --accent: #e8a84a;
  --accent-soft: rgba(232, 168, 74, 0.08);
  --accent-glow: 0 0 0 1px rgba(232, 168, 74, 0.45), 0 20px 60px rgba(232, 168, 74, 0.07);
  --radius: 10px;
  --max: 1100px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(232, 168, 74, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(74, 158, 240, 0.04) 0%, transparent 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: pageFade 0.4s ease both;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}
.nav-brand {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  text-align: left;
  padding: 120px 40px 88px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '── 3 apps  ·  no accounts  ·  one-time pricing';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  animation: fadeUp 0.5s 0.05s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.02;
  margin-bottom: 28px;
  animation: fadeUp 0.5s 0.15s ease both;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.82;
  animation: fadeUp 0.5s 0.25s ease both;
}

/* ── Mission ── */
.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 40px 80px;
  border-top: 1px solid var(--border);
}
.mission-block {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.mission-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}
.mission-block p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.92;
}

/* ── Section divider ── */
.section-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 40px 24px;
  border-top: 1px solid var(--border);
}
.section-header h2 {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

/* ── App grid ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 120px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: pointer;
  display: block;
}
.app-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  transform: translateY(-4px);
}
.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  overflow: hidden;
}
.app-icon img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
}
.app-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.app-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.72;
}
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(232, 168, 74, 0.18);
  letter-spacing: 0.04em;
}
.tag.green {
  background: rgba(90, 210, 130, 0.08);
  color: #5ad282;
  border-color: rgba(90, 210, 130, 0.2);
}
.tag.blue {
  background: rgba(74, 158, 240, 0.08);
  color: #4a9ef0;
  border-color: rgba(74, 158, 240, 0.2);
}
.tag.pink {
  background: rgba(240, 100, 160, 0.08);
  color: #f064a0;
  border-color: rgba(240, 100, 160, 0.2);
}

/* ── App page ── */
.app-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 40px 100px;
}
.app-page-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 56px;
}
.app-page-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  flex-shrink: 0;
  overflow: hidden;
}
.app-page-icon img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
}
.app-page-meta h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.app-page-meta p { color: var(--muted); margin-bottom: 16px; font-size: 0.98rem; line-height: 1.75; }
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #0d0d10;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 7px;
  margin-right: 10px;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.cta-btn.secondary:hover { background: var(--surface-2); opacity: 1; }

.section { margin-bottom: 52px; }
.section h2 {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--muted);
  transition: border-color 0.2s;
}
.feature-list li:hover { border-color: var(--border-strong); }
.feature-list li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-top: 2px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 4px;
  color: var(--text);
}
.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
}
.pricing-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.72; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted-2); transition: color 0.15s; }
.footer-links a:hover { color: var(--muted); }

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 40px;
  transition: color 0.15s;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.back-link:hover { color: var(--text); }

@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }
  .hero { padding: 72px 20px 56px; }
  .hero::before { display: none; }
  .mission { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 64px; }
  .section-header { padding: 48px 20px 20px; }
  .apps-grid { padding: 0 20px 80px; gap: 12px; }
  .app-page { padding: 40px 20px 80px; }
  .app-page-header { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; padding: 32px 20px; }
}
