/* Holavon — site styles */
:root {
  --bg: #0f0817;
  --bg-2: #150d20;
  --bg-3: #1b1229;
  --ink: #f3edfa;
  --ink-soft: #cfc3e2;
  --muted: #9c92b4;
  --gold: #c9a96e;
  --gold-2: #e6cd97;
  --gold-3: #8f7442;
  --line: rgba(201, 169, 110, 0.22);
  --line-soft: rgba(201, 169, 110, 0.12);
  --radius: 18px;
  --max: 1140px;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; color: var(--ink-soft); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head p { font-size: 1.02rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 8, 23, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(230, 205, 151, .35), transparent 62%);
  color: var(--gold-2); font-family: var(--font-display); font-size: 1.15rem;
}
.brand-word { font-family: var(--font-display); font-size: 1.42rem; letter-spacing: .18em; text-transform: uppercase; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-size: .92rem; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); font: 600 .74rem var(--font-body);
  letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: #1a1124; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-soft); color: var(--ink); border-radius: 10px; padding: 8px 11px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #221730; box-shadow: 0 10px 30px rgba(201, 169, 110, .18); }
.btn-gold:hover { color: #1a1124; box-shadow: 0 14px 36px rgba(201, 169, 110, .28); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,169,110,.07); }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* Hero */
.hero { padding: 96px 0 76px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(ellipse at 18% 24%, rgba(201,169,110,.16), transparent 55%),
    radial-gradient(ellipse at 82% 12%, rgba(116, 78, 168, .22), transparent 58%),
    radial-gradient(1.1px 1.1px at 12% 30%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.3px 1.3px at 68% 18%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 42% 62%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.6px 1.6px at 88% 48%, rgba(230,205,151,.7), transparent),
    radial-gradient(1px 1px at 26% 78%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 56% 8%, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #f0dbaa, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.1rem; max-width: 540px; }
.hero-note { margin-top: 18px; font-size: .84rem; color: var(--muted); }
.hero-art { position: relative; display: grid; place-items: center; }
.chart {
  width: min(380px, 86vw); aspect-ratio: 1; position: relative;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.35);
  background:
    radial-gradient(circle at 50% 50%, rgba(201,169,110,.10), transparent 62%),
    conic-gradient(from 210deg, rgba(230,205,151,.24), transparent 22%, rgba(120,84,170,.22) 58%, transparent 78%, rgba(230,205,151,.24));
  box-shadow: 0 0 0 10px rgba(201,169,110,.04), 0 0 90px rgba(120,84,170,.22), inset 0 0 70px rgba(0,0,0,.5);
  display: grid; place-items: center;
}
.chart::before, .chart::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(201,169,110,.16);
}
.chart::before { inset: 12%; }
.chart::after { inset: 30%; border-color: rgba(201,169,110,.28); }
.chart-core {
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f3e2bc, #c9a96e 46%, #6f5426 100%);
  box-shadow: 0 0 40px rgba(230,205,151,.42), inset 0 0 18px rgba(0,0,0,.35);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .94; } 50% { transform: scale(1.04); opacity: 1; } }
.chart-glyph {
  position: absolute; color: var(--gold-2); font-family: var(--font-display); font-size: 1.1rem;
  opacity: .85; text-shadow: 0 0 14px rgba(230,205,151,.5);
}
.chart-glyph.g1 { top: 6%; left: 47%; }
.chart-glyph.g2 { top: 46%; right: 5%; }
.chart-glyph.g3 { bottom: 6%; left: 47%; }
.chart-glyph.g4 { top: 46%; left: 5%; }

/* Stats */
.stats { border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(201,169,110,.045), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-2); font-weight: 600; }
.stat span { font-size: .84rem; color: var(--muted); }

/* Grids & cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.15rem;
  color: var(--gold-2); background: rgba(201,169,110,.10); border: 1px solid var(--line);
}
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-display); font-size: 2.6rem; color: rgba(201,169,110,.45);
  line-height: 1; margin-bottom: 10px; display: block;
}

/* Quote */
.quote-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.quote {
  border-left: 2px solid var(--gold); padding: 8px 0 8px 26px;
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; color: var(--ink);
}
.quote small { display: block; margin-top: 14px; font-family: var(--font-body); font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.008));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: rgba(201,169,110,.6); box-shadow: 0 0 0 1px rgba(201,169,110,.18), 0 22px 60px rgba(201,169,110,.10); background: linear-gradient(180deg, rgba(201,169,110,.10), rgba(255,255,255,.01)); }
.price-card .badge {
  position: absolute; top: -11px; left: 22px; background: var(--gold); color: #1a1124;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 2px; }
.price { font-family: var(--font-display); font-size: 2.15rem; color: var(--gold-2); margin: 10px 0 2px; }
.price span { font-family: var(--font-body); font-size: .8rem; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.price-card li { font-size: .88rem; color: var(--ink-soft); padding: 5px 0 5px 20px; position: relative; }
.price-card li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: 8px; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 24px; font-size: .82rem; color: var(--muted); text-align: center; }
.pro-band {
  margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(201,169,110,.12), rgba(116,78,168,.10));
  padding: 30px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: center;
}

/* FAQ */
details.faq {
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 0 22px;
  background: rgba(255,255,255,.02); margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 600;
  color: var(--ink); position: relative; font-size: .98rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.3rem; font-weight: 400; transition: transform .2s ease;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 0 20px; color: var(--ink-soft); font-size: .94rem; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-cover {
  height: 150px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(230,205,151,.28), transparent 55%), linear-gradient(135deg, #241735, #130c1e 65%);
  border-bottom: 1px solid var(--line-soft);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2.4rem; color: rgba(230,205,151,.55);
}
.post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post-card h3 { font-size: 1.28rem; }
.post-card p { font-size: .9rem; }
.post-card .more { margin-top: auto; font-size: .84rem; font-weight: 600; color: var(--gold-2); }

/* Prose (articles) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 46px; font-size: 1.85rem; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { font-size: 1.02rem; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 2px solid var(--gold);
  background: rgba(201,169,110,.06); border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-size: 1.22rem; color: var(--ink);
}
.prose blockquote p { color: var(--ink); margin: 0; }
.article-head { max-width: 760px; margin: 0 auto 36px; }
.article-head .eyebrow { margin-bottom: 12px; }
.article-foot { max-width: 760px; margin: 54px auto 0; padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.feature-row:last-child { border-bottom: 0; }
.feature-row .card-icon { margin: 0; }

/* CTA band */
.cta-band {
  border: 1px solid var(--line); border-radius: 26px; padding: 56px 40px; text-align: center;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201,169,110,.18), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(116,78,168,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { max-width: 540px; margin: 0 auto 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 34px; background: #0c0613; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .9fr; gap: 34px; }
.footer-grid h4 { color: var(--gold); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--ink-soft); font-size: .9rem; padding: 4px 0; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 300px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.disclaimer { font-size: .76rem; color: #7d7394; max-width: 760px; margin-top: 10px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
table.compare thead th { background: rgba(201,169,110,.07); color: var(--gold-2); font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td:first-child { color: var(--ink); }
table.compare td { color: var(--ink-soft); }

/* Modules */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-card { display: flex; flex-direction: column; color: var(--ink); }
.mod-card:hover { color: var(--ink); }
.mod-card h3 { font-size: 1.24rem; }
.mod-card .mod-link { margin-top: auto; padding-top: 12px; font-size: .84rem; font-weight: 600; color: var(--gold-2); }
.mod-card .mod-link::after { content: ""; }

/* App screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screen { margin: 0; border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden; background: #0c0613; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); }
.screen img { width: 100%; height: auto; display: block; }
.screen figcaption { padding: 11px 14px 13px; font-size: .82rem; color: var(--muted); text-align: center; }
.screens-note { margin-top: 18px; font-size: .78rem; color: #7d7394; text-align: center; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chart-core { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: .88rem; }
  .header-inner { gap: 16px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { order: -1; }
  .chart { width: min(300px, 70vw); }
  .grid-4, .price-grid, .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap, .pro-band { grid-template-columns: 1fr; }
  .post-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: #120b1c; border-bottom: 1px solid var(--line); padding: 8px 22px 18px; }
  .nav.open a { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-block; }
  .header-inner { gap: 12px; }
  .header-actions .btn { display: none; }
}
@media (max-width: 640px) {
  .screens { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .screen { scroll-snap-align: start; }
  section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4, .post-grid, .price-grid, .mod-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 22px; }
  .brand-word { font-size: 1.18rem; }
  .header-actions { margin-left: auto; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .article-head h1 { font-size: 2.1rem; }
}
