/* ============================================================
   RUNIC – Promotional Website
   Color palette: bg #1a1a2e / accent #e8b86d / text #e0e0f0
   ============================================================ */

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

:root {
  --bg:       #1a1a2e;
  --bg2:      #12122a;
  --bg3:      #0e0e20;
  --gold:     #e8b86d;
  --gold-dim: #b8883d;
  --text:     #e0e0f0;
  --text-dim: #808090;
  --border:   #2a2a4a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Navbar ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(14, 14, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 6px;
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  font-size: 14px;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta svg { width: 18px; height: 18px; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background: radial-gradient(ellipse at 50% 30%, #1e1830 0%, var(--bg) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8b86d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 16px;
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(232, 184, 109, 0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 22px);
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 48px;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg);
  font-size: 16px;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary svg { width: 22px; height: 22px; }

/* ─── Section commons ─── */
section { padding: 96px 24px; }

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 56px;
  color: var(--text);
}

/* ─── Features ─── */
.features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feature-name {
  font-size: 17px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── Screenshots ─── */
.screenshots { background: var(--bg3); }

.screenshots-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-frame {
  width: 220px;
  aspect-ratio: 9/19.5;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ─── Download CTA ─── */
.download {
  background: radial-gradient(ellipse at 50% 0%, #1e1830 0%, var(--bg) 70%);
  text-align: center;
}

.download .section-title { margin-bottom: 32px; }

.download-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── Footer ─── */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: #404050;
}

/* ─── Privacy page ─── */
.privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.privacy-wrap h1 {
  font-size: 32px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.privacy-updated {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.privacy-wrap h2 {
  font-size: 18px;
  color: var(--gold);
  margin: 40px 0 12px;
}

.privacy-wrap p, .privacy-wrap li {
  font-size: 15px;
  color: #b0b0c0;
  line-height: 1.8;
}

.privacy-wrap ul {
  padding-left: 20px;
  margin-top: 8px;
}

.privacy-wrap a {
  color: var(--gold);
  text-decoration: none;
}
.privacy-wrap a:hover { text-decoration: underline; }

/* ─── Responsive ─── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .hero-title { letter-spacing: 8px; }
  section { padding: 64px 20px; }
}
