@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #0a0a0b;
  --fg: #f0ede6;
  --fg-mute: rgba(240, 237, 230, 0.55);
  --fg-dim: rgba(240, 237, 230, 0.35);
  --fg-faint: rgba(240, 237, 230, 0.12);
  --accent: #FFB800;
  --accent-soft: rgba(255, 184, 0, 0.1);
  --accent-border: rgba(255, 184, 0, 0.2);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== HERO ===== */

.ns-hero {
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  position: relative;
  min-height: 580px;
}

.ns-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 200, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 200, 60, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ns-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 0, 0.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.ns-glow-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 100, 50, 0.07) 0%, transparent 70%);
  bottom: 0;
  left: 60px;
  pointer-events: none;
}

.ns-inner {
  position: relative;
  z-index: 2;
  padding: 48px 48px 52px;
  max-width: var(--max);
  margin: 0 auto;
}

.ns-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
}

.ns-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ns-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-logo-mark svg { width: 16px; height: 16px; }

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

.ns-nav-links a {
  font-size: 13px;
  color: rgba(240, 237, 230, 0.5);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

.ns-cta-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid rgba(255, 184, 0, 0.4);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(255, 184, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.ns-cta-pill:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.7);
}

.ns-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--fg-faint);
  color: var(--fg);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
}

.ns-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ns-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: ns-pulse 2s infinite;
}

@keyframes ns-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ns-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  max-width: 560px;
}

.ns-headline em {
  font-style: normal;
  color: var(--accent);
}

.ns-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-mute);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 0 40px;
}

.ns-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ns-btn-primary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.ns-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.ns-btn-ghost {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 24px;
  background: transparent;
  color: rgba(240, 237, 230, 0.6);
  border: 1px solid var(--fg-faint);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.ns-btn-ghost:hover {
  border-color: rgba(240, 237, 230, 0.3);
  color: var(--fg);
}

.ns-apps {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(240, 237, 230, 0.07);
}

.ns-apps-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.3);
  margin-bottom: 20px;
  font-weight: 500;
}

.ns-apps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-app-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(240, 237, 230, 0.04);
  border: 1px solid rgba(240, 237, 230, 0.08);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(240, 237, 230, 0.5);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}

.ns-app-chip:hover {
  background: rgba(240, 237, 230, 0.08);
  border-color: rgba(240, 237, 230, 0.15);
  color: rgba(240, 237, 230, 0.85);
}

.ns-app-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ns-stat-row {
  position: absolute;
  right: 48px;
  bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
  z-index: 3;
}

.ns-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.ns-stat-label {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
}

.ns-divider-v {
  position: absolute;
  right: 240px;
  top: 120px;
  bottom: 52px;
  width: 1px;
  background: rgba(240, 237, 230, 0.06);
  z-index: 2;
}

/* ===== SECTION SHARED ===== */

.section {
  padding: 120px 0;
  position: relative;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 640px;
}

.section-lead {
  font-size: 16px;
  color: var(--fg-mute);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 56px;
}

/* ===== SECTION 2 — APP DIRECTORY ===== */

.directory {
  background: var(--bg);
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

.cat-group { margin-bottom: 56px; }
.cat-group:last-child { margin-bottom: 0; }

.cat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240, 237, 230, 0.07);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.app-card {
  background: rgba(240, 237, 230, 0.025);
  border: 1px solid rgba(240, 237, 230, 0.07);
  border-radius: 12px;
  padding: 20px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-card:hover {
  background: rgba(240, 237, 230, 0.05);
  border-color: rgba(255, 184, 0, 0.25);
  transform: translateY(-2px);
}

.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.app-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-card-desc {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.5;
  margin: 0;
}

.app-status {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.app-status.live {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.app-status.beta {
  background: rgba(255, 184, 0, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 184, 0, 0.25);
}

.app-status.soon {
  background: rgba(240, 237, 230, 0.05);
  color: var(--fg-dim);
  border: 1px solid rgba(240, 237, 230, 0.1);
}

/* ===== SECTION 3 — WHY ===== */

.why {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0e 100%);
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(240, 237, 230, 0.02);
  border: 1px solid rgba(240, 237, 230, 0.07);
  border-radius: 16px;
  padding: 32px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.why-icon svg { width: 22px; height: 22px; }

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--fg);
}

.why-desc {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.6;
  margin: 0;
}

/* ===== SECTION 4 — PRICING ===== */

.pricing {
  background: var(--bg);
  border-top: 1px solid rgba(240, 237, 230, 0.06);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  background: rgba(240, 237, 230, 0.025);
  border: 1px solid rgba(240, 237, 230, 0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(255, 184, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.04), rgba(240, 237, 230, 0.02));
}

.price-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.price-tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 12px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 4px;
}

.price-amount .per {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0;
}

.price-desc {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.5;
  margin: 0 0 24px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  font-size: 13px;
  color: var(--fg-mute);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px dashed rgba(240, 237, 230, 0.06);
}

.price-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M11.5 4L5.5 10L2.5 7' stroke='%23FFB800' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
}

.price-cta {
  text-align: center;
  width: 100%;
}

/* ===== FOOTER ===== */

.footer {
  background: #08080a;
  border-top: 1px solid rgba(240, 237, 230, 0.06);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .ns-logo { margin-bottom: 16px; }

.footer-tag {
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--fg-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-mute);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13px;
  color: var(--fg-mute);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid rgba(240, 237, 230, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  color: var(--fg-dim);
}

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

.footer-bottom-links a {
  font-size: 12px;
  color: var(--fg-dim);
  text-decoration: none;
}

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

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .ns-inner { padding: 28px 24px 40px; }
  .ns-nav { margin-bottom: 40px; }
  .ns-nav-links,
  .ns-cta-pill { display: none; }
  .ns-nav-toggle { display: inline-flex; }
  .ns-nav.open .ns-nav-links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 0;
    background: #111114;
    border: 1px solid var(--fg-faint);
    border-radius: 12px;
    padding: 8px;
    z-index: 10;
  }
  .ns-nav.open .ns-nav-links li {
    border-bottom: 1px solid rgba(240, 237, 230, 0.05);
  }
  .ns-nav.open .ns-nav-links li:last-child { border-bottom: none; }
  .ns-nav.open .ns-nav-links a {
    display: block;
    padding: 12px;
    font-size: 14px;
  }
  .ns-headline { font-size: 36px; }
  .ns-sub { font-size: 15px; }
  .ns-stat-row {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(240, 237, 230, 0.07);
  }
  .ns-divider-v { display: none; }
  .ns-glow { width: 320px; height: 320px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
