/* ==============================
   NICE PROMPT — THEME CSS
   ============================== */

/* Typography */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --border: #222222;
  --text: #FAFAFA;
  --text-muted: #888888;
  --accent: #C6F23C;
  --accent-dim: rgba(198, 242, 60, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ==============================
   NAVIGATION
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #0A0A0A;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: #444; }
.hero-proof {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
}
.proof-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.proof-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
}
.hero-visual {
  position: relative;
}
.vignette {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(198, 242, 60, 0.04);
}
.vignette img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}

/* ==============================
   MANIFESTO
   ============================== */
.manifesto {
  padding: 80px 2rem;
  border-top: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-label {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--text-muted);
  max-width: 860px;
}

/* ==============================
   FEATURES
   ============================== */
.features {
  padding: 80px 2rem;
  background: var(--surface);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-card--accent {
  position: relative;
}
.feature-card--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
  pointer-events: none;
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==============================
   CODEBLOCK
   ============================== */
.codeblock {
  padding: 80px 2rem;
  border-top: 1px solid var(--border);
}
.codeblock-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.codeblock-label {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.codeblock-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.codeblock-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.code-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.code-window-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.code-content {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.825rem;
  line-height: 1.8;
  overflow-x: auto;
}
.code-keyword { color: #C792EA; }
.code-string { color: #C3E88D; }
.code-comment { color: #546E7A; font-style: italic; }
.code-var { color: #82AAFF; }
.code-domain { color: #FFCB6B; }

/* ==============================
   EXTENSION / HOW IT WORKS
   ============================== */
.extension {
  padding: 80px 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.extension-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.extension-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.extension-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) contrast(1.05);
}
.extension-label {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.extension-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}
.extension-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.extension-steps li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--accent);
  min-width: 28px;
  padding-top: 0.15rem;
}
.extension-steps strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}
.extension-steps p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================
   CLOSING
   ============================== */
.closing {
  padding: 100px 2rem;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  max-width: 800px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  padding: 40px 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.75rem;
  color: #444;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .hero { padding: 100px 1.5rem 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-lede { font-size: 1rem; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .codeblock-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .extension-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { gap: 1.5rem; }
  .footer-links { margin-left: 0; }
  .nav-links { display: none; }
  .hero-proof { gap: 1rem; }
  .manifesto-statement { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .hero-proof { flex-wrap: wrap; }
}
