:root {
  --bg-0: #0a0a0a;
  --bg-1: #121212;
  --bg-2: #1a1a1a;
  --ink: #e0e0e0;
  --muted: #a0a0a0;
  --accent: #e4c186;
  /* Gold/Sand */
  --accent-2: #6f8a84;
  --glow: #e4c186;
  --shadow: rgba(0, 0, 0, 0.9);
}

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

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

/* Removed mist and grain for cleaner look */
.mist,
.grain {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #000 !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 28px 80px;
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(228, 193, 134, 0.1);
  border-radius: 4px;
}

.hero h1,
.section-header h2,
.preview h2,
.pricing h2,
.download h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 10px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #000;
}

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

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn.small {
  padding: 8px 16px;
  font-size: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.hero-stats span {
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-stats p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Removed Rune Animation */
.rune {
  display: none;
}

.phone {
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #000;
  height: 100%;
  border-radius: 32px;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.screen-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.pulse {
  display: none;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.bubble {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 85%;
  line-height: 1.5;
}

.bubble.user {
  align-self: flex-end;
  background: #2a2a2a;
  color: var(--ink);
  border-bottom-right-radius: 4px;
}

.bubble.ai {
  align-self: flex-start;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.features,
.preview,
.pricing,
.download {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 28px;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--bg-1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 16px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-2);
}

.feature-card h3 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.preview {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.preview-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
}

.preview-visual {
  display: flex;
  justify-content: center;
}

.glass-panel {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: 24px;
  background: var(--bg-1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.panel-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.price-card {
  background: var(--bg-1);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.price-card h3 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  margin: 32px 0;
}

.price-card ul li {
  display: flex;
  gap: 10px;
}

.price-card ul li::before {
  content: "✓";
  color: var(--accent);
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-1);
  font-weight: 600;
  transition: all 0.2s;
}

.store-badge:hover {
  background: var(--bg-2);
  transform: translateY(-2px);
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

.hero {
  padding-top: 60px;
}

.hero-stats {
  grid-template-columns: 1fr;
}

@media (max-width: 600px) {
  .phone {
    width: 240px;
    height: 480px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* --- Layout Updates --- */

.pricing-grid.single-card {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}

.price-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -12px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Legal & Support Pages --- */

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 28px 80px;
}

.legal-page h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.legal-page h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--accent);
}

.intro {
  font-size: 1.2rem;
  color: var(--ink) !important;
  margin-bottom: 40px !important;
}

.support-card {
  background: rgba(20, 16, 16, 0.6);
  border: 1px solid rgba(239, 230, 210, 0.1);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.email-link {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.faq-section {
  margin-top: 60px;
}

.faq-item {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(239, 230, 210, 0.05);
  padding-bottom: 20px;
}

.faq-item h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 8px;
}