:root {
  --bg: #0f1419;
  --bg-elevated: #161d25;
  --fg: #e8e4dc;
  --muted: #9a9488;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.18);
  --line: rgba(232, 228, 220, 0.1);
  --ok: #8fbc8f;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--fg);
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, #1a242f 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, #1c1812 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #141a22 0%, transparent 55%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(15, 20, 25, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(15, 20, 25, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: 100%;
}

.btn-header-cta .label-short {
  display: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

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

.btn-primary:hover {
  background: #d4b687;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(196, 165, 116, 0.45);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6.5rem);
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
}

.hero-orb {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.22), transparent 68%);
  filter: blur(8px);
  animation: pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  animation: float-in 1s ease both;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-head h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

.feature {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-index {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--muted);
  max-width: 40rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.4;
  min-width: 2.2rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.plan {
  background: rgba(22, 29, 37, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.plan:hover {
  border-color: rgba(196, 165, 116, 0.35);
  transform: translateY(-2px);
}

.plan.is-featured {
  border-color: rgba(196, 165, 116, 0.55);
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.12), transparent 42%),
    rgba(22, 29, 37, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid rgba(196, 165, 116, 0.4);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0.25rem 0 0.5rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--fg);
  font-size: 0.95rem;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  margin: 1rem 0 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(196, 165, 116, 0.14), transparent 55%),
    rgba(22, 29, 37, 0.75);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.cta-band p {
  color: var(--muted);
  max-width: 34rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--accent);
}

/* Mobile / narrow phones */
@media (max-width: 719px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .header-inner {
    gap: 0.45rem;
    min-height: 3.4rem;
  }

  .brand img {
    height: 26px;
    max-width: min(132px, 38vw);
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .lang-switch button {
    padding: 0.32rem 0.48rem;
    font-size: 0.7rem;
  }

  .site-header .btn-header-cta {
    padding: 0.48rem 0.72rem;
    font-size: 0.8rem;
  }

  .btn-header-cta .label-full {
    display: none;
  }

  .btn-header-cta .label-short {
    display: inline;
  }

  .hero {
    min-height: 0;
    padding: 1.5rem 0 2.25rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual {
    width: min(240px, 68vw);
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .pricing-grid .plan {
    padding: 1.15rem 1.1rem 1.25rem;
  }

  .cta-band {
    padding: 1.35rem;
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .btn-header-cta .label-short {
    display: none;
  }

  .btn-header-cta .label-full {
    display: inline;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature {
    border: 0;
    padding: 0 1rem 0 0;
  }

  .feature:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 1.5rem;
  }

  .feature:nth-child(-n+2) {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .brand img {
    height: 40px;
  }
}
