/* Buy Bitcoin Thailand — minimal, premium landing */

:root {
  --bg-deep: #0a0b0e;
  --bg-elevated: #12141a;
  --bg-card: #161922;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-btn: 999px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
  /* Below-hero surfaces — unified rhythm */
  --page-section-pad: clamp(2.45rem, 5.2vw, 3.65rem);
  --page-card-radius: 20px;
  --page-card-radius-cta: 22px;
  --page-card-border: 1px solid rgba(255, 255, 255, 0.1);
  --page-card-inset: 0 0 0 1px rgba(201, 162, 39, 0.08) inset, 0 1px 0 rgba(255, 255, 255, 0.055) inset;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

html[lang="th"] body {
  font-family: "Plus Jakarta Sans", "Noto Sans Thai", system-ui, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.container--narrow {
  max-width: 480px;
}

/* Top bar — language switch: same horizontal rhythm + column as .hero / .hero__inner */
.site-header {
  position: relative;
  z-index: 5;
  padding-top: clamp(1.05rem, 2.6vw, 1.5rem);
  padding-bottom: clamp(0.55rem, 1.6vw, 0.85rem);
  padding-inline: clamp(1rem, 4vw, 1.75rem);
  background: linear-gradient(180deg, #0b0c10 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  width: 100%;
  max-width: min(48rem, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Language switch — premium pill toggle */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  background: linear-gradient(
    160deg,
    rgba(30, 32, 42, 0.94) 0%,
    rgba(16, 18, 26, 0.92) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 3px 16px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(201, 162, 39, 0.07);
}

@supports (backdrop-filter: blur(10px)) {
  .lang-switch {
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
  }
}

.lang-switch__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 2.75rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #a0a0aa;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    transform 0.18s ease;
}

.lang-switch__opt:hover {
  color: #e4e4ea;
  filter: brightness(1.08);
}

.lang-switch__opt:hover:not(.lang-switch__opt--active) {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.05);
}

.lang-switch__opt:active {
  transform: scale(0.98);
}

.lang-switch__opt--active {
  color: #0a0b0e;
  font-weight: 700;
  letter-spacing: 0.07em;
  background: linear-gradient(175deg, #edd078 0%, #c9a227 48%, #9e7a18 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 1px 5px rgba(201, 162, 39, 0.28);
  pointer-events: none;
}

.lang-switch__flag {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.lang-switch__label {
  line-height: 1;
}

.lang-switch__opt:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lang-switch__opt--active:focus-visible {
  outline-color: #f0d888;
}

/* SEO intro (below hero — minimal, non-visual weight) */
.seo-intro-wrap {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding: clamp(0.65rem, 2vw, 1rem) 0 0;
}

.seo-intro {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: rgba(161, 161, 170, 0.88);
  text-align: center;
}

/* Hero */
.hero {
  min-height: min(86vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1rem, 4vw, 1.75rem);
  background:
    radial-gradient(ellipse 95% 65% at 50% -12%, rgba(201, 162, 39, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 42% at 100% 18%, rgba(201, 162, 39, 0.06), transparent 50%),
    radial-gradient(ellipse 45% 38% at 0% 78%, rgba(99, 102, 241, 0.07), transparent 50%),
    linear-gradient(168deg, #11131a 0%, #0b0c10 42%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 48% at 50% 100%, rgba(201, 162, 39, 0.055), transparent 58%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 255, 255, 0.02), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: min(48rem, 100%);
  margin-inline: auto;
  padding: clamp(2.35rem, 5.5vw, 3.6rem) clamp(1.5rem, 4.2vw, 2.85rem) clamp(2.4rem, 5.5vw, 3.5rem);
  border-radius: 24px;
  background: linear-gradient(
    152deg,
    rgba(28, 30, 40, 0.88) 0%,
    rgba(17, 18, 24, 0.92) 48%,
    rgba(12, 13, 18, 0.94) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 162, 39, 0.06),
    0 0 100px rgba(201, 162, 39, 0.05);
}

.hero__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045) 0%,
    transparent 28%,
    transparent 72%,
    rgba(0, 0, 0, 0.18) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

@supports (backdrop-filter: blur(16px)) {
  .hero__inner {
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
  }
}

.hero__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.95;
}

.hero__title {
  position: relative;
  z-index: 1;
  margin: 0 0 1.125rem;
  font-size: clamp(2.05rem, 5vw + 0.45rem, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero__subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(1.75rem, 4vw, 2.125rem);
  width: 100%;
  max-width: 36rem;
  font-size: clamp(1.02rem, 2.35vw, 1.14rem);
  color: #b4b4bf;
  line-height: 1.64;
  letter-spacing: -0.018em;
}

/* Price ticker */
.price-ticker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.6rem;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto 0.875rem;
  padding: 1.125rem 1.5rem;
  background: linear-gradient(175deg, rgba(34, 37, 50, 0.98) 0%, rgba(20, 22, 30, 0.99) 55%, rgba(14, 16, 22, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 10px 32px rgba(0, 0, 0, 0.38),
    0 2px 10px rgba(0, 0, 0, 0.22);
  font-variant-numeric: tabular-nums;
}

.price-ticker__label {
  font-weight: 600;
  font-size: 0.65625rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.price-ticker__sep {
  color: rgba(161, 161, 170, 0.8);
  font-weight: 500;
}

.price-ticker__values {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
}

.price-ticker__loading {
  color: var(--text-muted);
}

.price-ticker__usd {
  color: #fafafa;
}

.price-ticker__divider {
  margin: 0 0.55rem;
  color: rgba(161, 161, 170, 0.55);
  font-weight: 400;
}

.price-ticker__thb {
  color: #fafafa;
}

.price-ticker__err {
  color: #f87171;
  font-size: 0.875rem;
}

/* BTC calculator (hero) */
.btc-calc {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto clamp(1.625rem, 3.5vw, 1.875rem);
  padding: 1.5rem 1.5rem 1.55rem;
  text-align: center;
  background: linear-gradient(
    168deg,
    rgba(36, 39, 54, 0.96) 0%,
    rgba(22, 24, 34, 0.98) 45%,
    rgba(14, 16, 24, 0.99) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.12) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 14px 44px rgba(0, 0, 0, 0.42),
    0 4px 14px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.btc-calc::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 208, 120, 0.5) 30%,
    rgba(201, 162, 39, 0.55) 50%,
    rgba(237, 208, 120, 0.45) 70%,
    transparent
  );
  pointer-events: none;
}

.btc-calc::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 42%,
    transparent 100%
  );
}

.btc-calc__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btc-calc__input {
  flex: 1 1 11rem;
  min-width: 0;
  min-height: 54px;
  padding: 0 1.15rem;
  font-family: inherit;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: rgba(6, 7, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.btc-calc__input::placeholder {
  color: var(--text-muted);
}

.btc-calc__input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 2px 8px rgba(0, 0, 0, 0.2) inset;
}

.btc-calc__select {
  flex: 0 0 auto;
  min-height: 54px;
  min-width: 6rem;
  padding: 0 2.4rem 0 1.05rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background-color: rgba(6, 7, 10, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a227' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.28) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.btc-calc__select:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 2px 8px rgba(0, 0, 0, 0.2) inset;
}

.btc-calc__result {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
  font-size: 1.035rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  font-variant-numeric: tabular-nums;
  color: #f0f0f4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  color: #0a0b0e;
  background: linear-gradient(180deg, #e4c76a 0%, var(--accent) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 4px 20px rgba(201, 162, 39, 0.35),
    var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 6px 28px rgba(201, 162, 39, 0.45),
    var(--shadow-soft);
}

.btn--glow {
  animation: cta-glow 3.5s ease-in-out infinite;
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 4px 20px rgba(201, 162, 39, 0.35),
      0 0 28px rgba(201, 162, 39, 0.25),
      var(--shadow-soft);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.15) inset,
      0 6px 28px rgba(201, 162, 39, 0.5),
      0 0 40px rgba(201, 162, 39, 0.38),
      var(--shadow-soft);
  }
}

/* Hero CTA — stronger presence (hero only) */
.hero .btn--primary.btn--glow {
  animation: hero-cta-glow 3.4s ease-in-out infinite;
}

@keyframes hero-cta-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 2px 0 rgba(255, 255, 255, 0.22) inset,
      0 0 0 1px rgba(201, 162, 39, 0.28),
      0 8px 28px rgba(201, 162, 39, 0.48),
      0 14px 40px rgba(0, 0, 0, 0.38),
      0 0 40px rgba(201, 162, 39, 0.3);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.24) inset,
      0 2px 0 rgba(255, 255, 255, 0.26) inset,
      0 0 0 1px rgba(237, 208, 120, 0.38),
      0 10px 36px rgba(201, 162, 39, 0.58),
      0 18px 52px rgba(0, 0, 0, 0.42),
      0 0 52px rgba(201, 162, 39, 0.42);
  }
}

.hero .btn--primary {
  position: relative;
  z-index: 1;
  min-height: 3.35rem;
  padding: 1.12rem 2.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.022em;
  color: #08090c;
  background: linear-gradient(175deg, #f0d888 0%, #e4c76a 18%, #c9a227 52%, #9e7a18 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 -1px 0 rgba(0, 0, 0, 0.12) inset,
    0 8px 28px rgba(201, 162, 39, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.hero .btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26) inset,
    0 2px 0 rgba(255, 255, 255, 0.32) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 12px 36px rgba(201, 162, 39, 0.55),
    0 20px 48px rgba(0, 0, 0, 0.42);
}

.hero .btn--primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn--secondary {
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:hover {
  background: var(--bg-card);
  border-color: rgba(201, 162, 39, 0.35);
}

.hero__cta {
  position: relative;
  z-index: 1;
  min-width: min(100%, 300px);
}

@media (max-width: 480px) {
  .hero {
    min-height: min(88vh, 780px);
  }

  .site-header {
    padding-top: 0.95rem;
    padding-bottom: 0.5rem;
    padding-inline: clamp(1rem, 4vw, 1.75rem);
  }

  .site-header__inner {
    max-width: min(48rem, 100%);
  }

  .lang-switch {
    padding: 0.22rem;
    gap: 0.1rem;
  }

  .lang-switch__opt {
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.48rem 0.78rem;
    font-size: 0.75rem;
  }

  .lang-switch__flag {
    font-size: 0.95rem;
  }

  .hero__inner {
    padding: 2rem 1.2rem 2.35rem;
    border-radius: 20px;
  }

  .hero__subtitle {
    margin-bottom: clamp(1.5rem, 4vw, 1.75rem);
  }

  .price-ticker {
    padding: 1rem 1.2rem;
    margin-bottom: 0.75rem;
  }

  .btc-calc {
    padding: 1.35rem 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
  }

  .hero .btn--primary {
    width: 100%;
    max-width: 100%;
    min-height: 3.2rem;
    padding: 1.05rem 1.65rem;
  }
}

/* Sections — rhythm & cohesion below hero */
.section {
  padding: var(--page-section-pad) 0;
}

.section--benefits {
  position: relative;
  background:
    linear-gradient(180deg, transparent 0%, transparent 78%, rgba(18, 20, 26, 0.55) 100%),
    radial-gradient(ellipse 95% 50% at 50% 0%, rgba(201, 162, 39, 0.065), transparent 52%),
    var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.05rem, 2.8vw, 1.45rem);
  max-width: 70rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 2.2vw, 1.55rem);
  }
}

@media (min-width: 1024px) {
  .benefits {
    gap: 1.5rem;
  }
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  min-height: 100%;
  padding: clamp(1.55rem, 3.2vw, 1.95rem) clamp(1.25rem, 2.8vw, 1.5rem);
  background: linear-gradient(
    165deg,
    rgba(32, 35, 48, 0.55) 0%,
    rgba(20, 22, 30, 0.85) 45%,
    rgba(14, 16, 22, 0.92) 100%
  );
  border: var(--page-card-border);
  border-radius: var(--page-card-radius);
  box-shadow:
    var(--page-card-inset),
    0 10px 36px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(201, 162, 39, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.benefit:hover {
  border-color: rgba(201, 162, 39, 0.2);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.11) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 14px 44px rgba(0, 0, 0, 0.38),
    0 0 52px rgba(201, 162, 39, 0.065);
  transform: translateY(-2px);
}

.benefit__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--accent);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: calc(var(--page-card-radius) * 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.benefit__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit__text {
  font-weight: 600;
  font-size: clamp(1.02rem, 2.2vw, 1.1rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #ececf0;
}

/* Steps */
.section--steps {
  position: relative;
  background:
    linear-gradient(180deg, rgba(12, 13, 18, 0.65) 0%, transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, transparent 24%),
    var(--bg-elevated);
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028);
}

.section__title {
  margin: 0 0 clamp(1.85rem, 3.5vw, 2.35rem);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.section--steps .section__title {
  margin-bottom: clamp(2.15rem, 4.2vw, 2.85rem);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #f4f4f6;
}

.section__title--small {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.45rem, 3.2vw, 1.9rem);
  max-width: 72rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.65rem, 2.6vw, 2.5rem);
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.45rem, 4.8vw, 3.05rem) clamp(1.75rem, 3.4vw, 2.25rem);
  min-height: 0;
  background: linear-gradient(
    175deg,
    rgba(32, 35, 48, 0.78) 0%,
    rgba(22, 24, 34, 0.9) 42%,
    rgba(16, 18, 26, 0.96) 100%
  );
  border: var(--page-card-border);
  border-radius: var(--page-card-radius);
  text-align: center;
  box-shadow:
    var(--page-card-inset),
    0 14px 44px rgba(0, 0, 0, 0.36),
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 48px rgba(201, 162, 39, 0.04);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0b0e;
  background: linear-gradient(145deg, #f0d888 0%, #c9a227 45%, #a8861e 100%);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(14, 16, 22, 0.95),
    0 0 0 3px rgba(201, 162, 39, 0.32),
    0 5px 18px rgba(201, 162, 39, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
}

.step__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.12rem, 2.35vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.28;
  color: #f6f6f8;
}

.step__desc {
  margin: 0;
  max-width: 28ch;
  margin-inline: auto;
  font-size: clamp(0.94rem, 2.05vw, 1.02rem);
  color: #aeaeb8;
  line-height: 1.62;
}

/* CTA block */
.section--cta-block {
  position: relative;
  background:
    radial-gradient(ellipse 88% 65% at 50% 35%, rgba(201, 162, 39, 0.075), transparent 62%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(201, 162, 39, 0.04), transparent 55%),
    linear-gradient(180deg, rgba(14, 15, 20, 0.4) 0%, transparent 18%),
    var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section--cta-block .container {
  display: flex;
  justify-content: center;
}

.cta-card {
  width: 100%;
  max-width: min(44.5rem, 100%);
  margin-inline: auto;
  padding: clamp(3.1rem, 6.8vw, 4.35rem) clamp(1.9rem, 4.8vw, 3rem);
  text-align: center;
  background: linear-gradient(
    168deg,
    rgba(36, 39, 52, 0.82) 0%,
    rgba(24, 26, 36, 0.92) 38%,
    rgba(14, 16, 22, 0.97) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--page-card-radius-cta);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 22px 60px rgba(0, 0, 0, 0.48),
    0 0 72px rgba(201, 162, 39, 0.065);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 208, 120, 0.45) 40%,
    rgba(201, 162, 39, 0.5) 60%,
    transparent
  );
  pointer-events: none;
}

.cta-card__title {
  position: relative;
  margin: 0 0 clamp(1.95rem, 3.6vw, 2.5rem);
  font-size: clamp(1.58rem, 3.85vw, 2.08rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: #fafafa;
}

.cta-card__btn {
  position: relative;
  z-index: 1;
  min-width: min(100%, 312px);
  min-height: 3.45rem;
  padding: 1.12rem 2.7rem;
  font-size: 1.075rem;
  font-weight: 700;
  letter-spacing: 0.022em;
  color: #08090c;
  background: linear-gradient(175deg, #f0d888 0%, #e4c76a 18%, #c9a227 52%, #9e7a18 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 2px 0 rgba(255, 255, 255, 0.26) inset,
    0 -1px 0 rgba(0, 0, 0, 0.12) inset,
    0 9px 30px rgba(201, 162, 39, 0.42),
    0 15px 38px rgba(0, 0, 0, 0.36);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.cta-card .btn--primary.btn--glow {
  animation: mid-cta-glow 4.25s ease-in-out infinite;
}

@keyframes mid-cta-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 2px 0 rgba(255, 255, 255, 0.22) inset,
      0 0 0 1px rgba(201, 162, 39, 0.2),
      0 8px 26px rgba(201, 162, 39, 0.38),
      0 14px 38px rgba(0, 0, 0, 0.36),
      0 0 36px rgba(201, 162, 39, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.23) inset,
      0 2px 0 rgba(255, 255, 255, 0.24) inset,
      0 0 0 1px rgba(237, 208, 120, 0.28),
      0 10px 32px rgba(201, 162, 39, 0.46),
      0 18px 48px rgba(0, 0, 0, 0.38),
      0 0 44px rgba(201, 162, 39, 0.26);
  }
}

.cta-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26) inset,
    0 2px 0 rgba(255, 255, 255, 0.3) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 12px 36px rgba(201, 162, 39, 0.55),
    0 20px 48px rgba(0, 0, 0, 0.42);
}

.cta-card__btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Newsletter */
.section--newsletter {
  position: relative;
  padding-top: var(--page-section-pad);
  padding-bottom: clamp(2.65rem, 6vw, 3.85rem);
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(201, 162, 39, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(14, 15, 20, 0.35) 0%, transparent 20%),
    var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section--newsletter .container--narrow {
  max-width: 38rem;
  margin-inline: auto;
  padding: clamp(2.2rem, 4.8vw, 2.85rem) clamp(1.5rem, 4.2vw, 2.35rem);
  background: linear-gradient(
    165deg,
    rgba(30, 32, 42, 0.78) 0%,
    rgba(18, 20, 28, 0.92) 100%
  );
  border: var(--page-card-border);
  border-radius: var(--page-card-radius);
  box-shadow:
    var(--page-card-inset),
    0 14px 46px rgba(0, 0, 0, 0.4),
    0 0 56px rgba(201, 162, 39, 0.045);
  position: relative;
  overflow: hidden;
}

.section--newsletter .container--narrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 208, 120, 0.35) 40%,
    rgba(201, 162, 39, 0.4) 60%,
    transparent
  );
  pointer-events: none;
}

.section--newsletter .section__title--small {
  position: relative;
  margin-bottom: clamp(1.4rem, 3vw, 1.75rem);
  font-size: clamp(1.22rem, 2.85vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #f4f4f6;
}

.newsletter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
}

@media (min-width: 520px) {
  .newsletter {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
  }

  .newsletter .btn {
    flex-shrink: 0;
  }
}

.newsletter__input {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  min-height: 56px;
  height: 56px;
  padding: 0 1.2rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(6, 7, 10, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--page-card-radius) * 0.75);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.26) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 2px 10px rgba(0, 0, 0, 0.22) inset;
}

.section--newsletter .newsletter .btn--secondary {
  box-sizing: border-box;
  min-height: 56px;
  height: 56px;
  padding: 0 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.022em;
  color: #08090c;
  background: linear-gradient(175deg, #f0d888 0%, #e4c76a 18%, #c9a227 52%, #9e7a18 100%);
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: calc(var(--page-card-radius) * 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 7px 24px rgba(201, 162, 39, 0.38),
    0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.section--newsletter .newsletter .btn--secondary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  border-color: rgba(237, 208, 120, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24) inset,
    0 2px 0 rgba(255, 255, 255, 0.26) inset,
    0 -1px 0 rgba(0, 0, 0, 0.08) inset,
    0 10px 30px rgba(201, 162, 39, 0.48),
    0 14px 32px rgba(0, 0, 0, 0.32);
}

.section--newsletter .newsletter .btn--secondary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.newsletter__hint {
  min-height: 1.35rem;
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  color: var(--accent);
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 519px) {
  .section--newsletter .newsletter .btn--secondary {
    width: 100%;
  }
}

/* Footer */
.footer {
  margin-top: 0;
  padding: clamp(1.5rem, 4vw, 1.85rem) 0 clamp(1.35rem, 3.5vw, 1.65rem);
  background: linear-gradient(180deg, #0c0d12 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
}

.footer__legal {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__disclaimer {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: #b4b4bd;
}

.footer__affiliate {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #7c7c87;
}

.footer__copy {
  margin: 0;
  width: 100%;
  padding-top: clamp(0.95rem, 2.2vw, 1.15rem);
  margin-top: clamp(0.85rem, 2vw, 1.05rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6b6b76;
}
