/* ═══════════════════════════════════════════════════════════
   KazAndTheCompiler — SaaS Landing Page
   OKAMI / BOKEH design language
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ── ROOT ────────────────────────────────────────────────── */
:root {
  --bg:     #080510;
  --text:   #e8e6dc;
  --muted:  #94a3b8;
  --accent: #38bdf8;
  --amber:  #c9a84c;
  --border: rgba(255,255,255,0.08);
  --mono:   'Space Mono', monospace;
}

/* ── BODY ────────────────────────────────────────────────── */
body {
  background: radial-gradient(ellipse at 50% 40%, #0d0d14 0%, #070508 60%, #0a0704 100%);
  color: var(--text);
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

/* ── OKAMI GRAIN OVERLAY ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}

/* ── BACK LINK ───────────────────────────────────────────── */
.back-link {
  position: fixed;
  top: 1.2rem;
  left: 1.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(200,184,74,0.5);
  text-decoration: none;
  z-index: 200;
  transition: color 0.2s;
}
.back-link:hover { color: rgba(200,184,74,1); }

/* ── LIVING CANVAS BACKGROUND ────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
html, body { cursor: none; }

#cursor {
  position: fixed;
  width: 2px;
  height: 2px;
  background: #f0e8d8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(240,232,216,0.8), 0 0 20px rgba(240,232,216,0.3);
}

#cursor::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(240,232,216,0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

/* ── HUD TAG ─────────────────────────────────────────────── */
.hud-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.3em;
  color: rgba(201,168,76,0.6);
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

/* ── SECTIONS ────────────────────────────────────────────── */
section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  padding: 14px 28px;
  background: var(--accent);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: none;
  transition: 0.3s;
  font-size: 1rem;
}

.btn:hover { transform: scale(1.05); }

/* ── FEATURE CARDS ───────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  border: 1px solid var(--border);
}

.card:hover { transform: translateY(-8px); }
.card h3 { margin-bottom: 10px; }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.price-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  width: 280px;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.price-card:hover { transform: translateY(-4px); }
.price-card h3 { margin-bottom: 15px; font-size: 1.2rem; }

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--mono);
}

.price-card ul {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.price-card li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.highlight {
  border: 2px solid var(--amber);
  background: rgba(200,184,74,0.04);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: rgba(2,6,23,0.8);
  padding: 40px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 0.9rem;
  transition: color 0.2s, border-color 0.2s;
}

.footer-links a:hover {
  color: var(--amber);
  border-color: rgba(200,184,74,0.5);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .price-card { width: 100%; max-width: 320px; }
}
