:root {
  --bg: #12100E;
  --bg-elevated: #1A1714;
  --bg-soft: #221E19;
  --text: #F7F1E8;
  --text-muted: #B8A99A;
  --accent: #F2B84B;
  --accent-glow: rgba(242, 184, 75, 0.28);
  --line: rgba(247, 241, 232, 0.12);
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-wrap { position: relative; overflow-x: hidden; }
.site-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-nav, .site-main, .site-footer { position: relative; z-index: 1; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(18, 16, 14, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1A1408 !important;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  background: #ffc85c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #1A1408 !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #1A1408;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover {
  background: #ffc85c;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(242, 184, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(212, 146, 42, 0.12), transparent 50%),
    linear-gradient(160deg, #1C1814 0%, #12100E 45%, #0E0C0A 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img.hero-glow {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  animation: softPulse 6s ease-in-out infinite;
}
.hero-phone {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(42vw, 480px);
  z-index: 1;
  animation: floatY 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(560px, 100%);
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  padding: 5.5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: riseIn 0.9s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-brand span { color: var(--accent); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.hero-support {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hero-qr {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.section { padding: 5rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 36rem; margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.section-about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.about-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.about-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.about-item p { color: var(--text-muted); font-size: 0.98rem; }

.section-steps {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
  list-style: none;
}
.steps-list li { counter-increment: step; }
.steps-list .step-visual {
  position: relative;
  margin-bottom: 1.1rem;
}
.steps-list .step-visual img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}
.steps-list .step-visual::after {
  content: counter(step);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 40%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #1A1408;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.steps-list h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  text-align: center;
}
.steps-list p {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2.5rem;
  list-style: none;
}
.features-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.features-list img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.features-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.features-list p { color: var(--text-muted); font-size: 0.95rem; }

.section-download {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(242, 184, 75, 0.16), transparent 60%),
    var(--bg);
  padding-bottom: 6rem;
}
.download-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.download-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.download-copy p {
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 1.25rem;
}
.download-actions .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.download-qr {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}

.article-page {
  padding: 3.5rem 1.25rem 5rem;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  min-height: 70vh;
}
.article-inner { max-width: 760px; margin: 0 auto; }
.article-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.cms-content { color: var(--text-muted); font-size: 1.02rem; }
.cms-content h2,
.cms-content h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}
.cms-content p,
.cms-content li { margin-bottom: 0.85rem; }
.cms-content ul,
.cms-content ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.cms-content a { color: var(--accent); text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #0E0C0A;
  padding: 1.5rem 1.25rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner p { color: var(--text-muted); font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--accent); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 0.22; }
  50% { transform: scale(1.04); opacity: 0.28; }
}
@keyframes floatYMobile {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 900px) {
  .about-grid, .steps-list { grid-template-columns: 1fr; gap: 2rem; }
  .features-list { grid-template-columns: 1fr; }
  .hero-phone { width: min(55vw, 320px); right: -4%; opacity: 0.9; }
  .hero-content { max-width: 100%; margin-left: 0; padding-right: 35%; }
}
@media (max-width: 640px) {
  .nav-links .nav-page { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 3.5rem 1.25rem 16rem; padding-right: 1.25rem; }
  .hero-phone {
    width: min(70vw, 280px);
    right: auto;
    left: 50%;
    bottom: 0;
    animation: floatYMobile 5s ease-in-out infinite;
  }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .download-panel { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
