:root {
  --bg: #0f0d0b;
  --surface: rgba(43, 31, 18, 0.7);
  --surface-strong: rgba(34, 24, 14, 0.9);
  --line: rgba(255, 239, 211, 0.14);
  --text: #f5efe4;
  --muted: #c7bdaa;
  --accent: #ff8e0d;
  --accent-2: #ffc431;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 180, 72, 0.15), transparent 40%),
    linear-gradient(180deg, #17120d 0%, #0d0b09 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 36px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  background: rgba(17, 14, 10, 0.68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  transform: translateX(-50%);
}

.brand-group,
.header-actions,
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions {
  flex-shrink: 0;
}

.header-actions.is-authenticated {
  gap: 10px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.brand span,
.eyebrow,
.section-tag,
h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.language-picker {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 236, 201, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.language-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.caret {
  font-size: 0.72rem;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(255, 236, 201, 0.12);
  border-radius: 18px;
  background: rgba(22, 16, 11, 0.96);
  box-shadow: var(--shadow);
}

.language-picker.open .language-menu {
  display: block;
}

.language-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.language-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.main-nav {
  gap: 8px;
}

.nav-link,
.ghost-button,
.primary-button,
.faq-question {
  border: 0;
}

.nav-link {
  padding: 12px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.ghost-button,
.primary-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ghost-button {
  border: 1px solid rgba(255, 233, 199, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.primary-button {
  color: #261202;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 16px 28px rgba(255, 142, 13, 0.22);
}

.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
}

.primary-button.small,
.ghost-button.full,
.primary-button.full {
  min-height: 46px;
}

[data-download-trigger="header"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  white-space: nowrap;
  border: 1px solid rgba(255, 239, 211, 0.42);
  color: #2a1605;
  background: linear-gradient(135deg, rgba(255, 250, 239, 0.98) 0%, #ffe59a 48%, #ffc431 100%);
  box-shadow: 0 12px 24px rgba(255, 196, 49, 0.18);
}

[data-download-trigger="header"]:hover {
  background: linear-gradient(135deg, #fffdf8 0%, #ffe9b1 48%, #ffcf4c 100%);
}

.header-actions.is-authenticated [data-auth-trigger="primary"] {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.carousel-arrow,
.dot {
  -webkit-tap-highlight-color: transparent;
}

.ghost-button.full,
.primary-button.full {
  width: 100%;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 64px) 32px 96px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.84) 0%, rgba(10, 9, 7, 0.58) 42%, rgba(10, 9, 7, 0.4) 100%),
    url("./assets/bgheros.png") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 48%, rgba(0, 0, 0, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(7, 6, 5, 0.32) 0%, rgba(7, 6, 5, 0.2) 100%);
}

.hero-fog {
  position: absolute;
  right: -10%;
  bottom: -120px;
  left: -10%;
  height: 240px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(236, 236, 236, 0.78));
  filter: blur(28px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-content,
.content-section {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 160px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff7ea 0%, #ffd27a 45%, #ff8e0d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1.02;
  background: linear-gradient(135deg, #ffffff 0%, #ffe4b0 42%, #ff9b1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 630px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 183, 79, 0.2);
  border-radius: 16px;
  background: rgba(17, 12, 8, 0.34);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 183, 79, 0.4);
  background: rgba(17, 12, 8, 0.48);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-warning {
  margin: 32px 0 0;
  color: var(--accent-2);
  font-size: 1.38rem;
  font-weight: 700;
}

.hero-note {
  max-width: 590px;
  margin: 10px 0 0;
  color: rgba(245, 239, 228, 0.74);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
}

.hero-actions .primary-button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1.05rem;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
}

.showcase-frame {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.carousel-track {
  position: relative;
  min-height: 460px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  backdrop-filter: none;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide video,
.carousel-slide img {
  width: auto;
  max-width: min(100%, 78%);
  max-height: 420px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 239, 211, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 10px;
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 243, 227, 0.25);
}

.dot.active {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(255, 196, 49, 0.12);
}

.content-section {
  padding: 108px 32px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-tag {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.plans-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.plan-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(34, 25, 17, 0.9), rgba(20, 15, 10, 0.92));
  box-shadow: var(--shadow);
}

.feature-card,
.plan-card {
  padding: 30px;
}

.feature-card h3,
.plan-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.feature-card p,
.plan-card p,
.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 196, 49, 0.32);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.feature-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px !important;
}

.feature-flag {
  width: 20px;
  height: 14px;
  margin-top: 6px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.plan-card.highlighted {
  border-color: rgba(255, 196, 49, 0.35);
  transform: translateY(-8px);
}

.featured-plan {
  position: relative;
  transform: translateY(-16px) scale(1.04);
  border-color: rgba(255, 196, 49, 0.7);
  background:
    radial-gradient(circle at top, rgba(255, 196, 49, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(55, 39, 21, 0.96), rgba(24, 17, 11, 0.96));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 196, 49, 0.18);
}

.featured-plan::before {
  content: "Melhor oferta";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #2b1403;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-plan .plan-price {
  font-size: 2.8rem;
}

.plan-name {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-price {
  margin: 18px 0;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 700;
}

.plan-card button {
  margin-top: 26px;
}

.faq-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 26px;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  padding: 28px 18px 36px;
  border-top: 1px solid rgba(255, 239, 211, 0.08);
  background: rgba(10, 8, 6, 0.72);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(245, 239, 228, 0.68);
  font-size: 0.95rem;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(6, 4, 3, 0.54);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.site-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(6, 4, 3, 0.68);
  backdrop-filter: blur(8px);
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-modal[hidden],
.site-modal-overlay[hidden] {
  display: none;
}

.site-modal-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(255, 196, 49, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(31, 23, 16, 0.98), rgba(16, 12, 8, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.site-modal-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-modal-title {
  margin: 0;
  font-size: 1.9rem;
  font-family: "Cinzel", serif;
}

.site-modal-message {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-modal-field {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.site-modal-field[hidden] {
  display: none;
}

.site-modal-field span {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-modal-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 14px;
  background: rgba(10, 8, 6, 0.72);
  color: var(--text);
  outline: none;
}

.site-modal-field input:focus {
  border-color: rgba(255, 196, 49, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 196, 49, 0.08);
}

.site-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(6, 4, 3, 0.68);
  backdrop-filter: blur(10px);
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-overlay[hidden],
.payment-modal[hidden] {
  display: none;
}

.payment-card {
  width: min(720px, 100%);
  max-height: min(92vh, 940px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 196, 49, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(31, 23, 16, 0.98), rgba(16, 12, 8, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.payment-header,
.payment-summary,
.payment-switcher,
.payment-panel,
.payment-form {
  display: grid;
}

.payment-header {
  position: relative;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  padding-right: 76px;
}

.payment-header .auth-close {
  position: absolute;
  top: 0;
  right: 0;
}

.payment-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.payment-title {
  margin: 0;
  font-size: 2rem;
  font-family: "Cinzel", serif;
}

.payment-copy,
.payment-panel-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.payment-trust {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 92px;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 204, 110, 0.18);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.03);
}

.payment-trust > img {
  flex: 0 0 auto;
  width: 136px;
  height: auto;
  display: block;
  justify-self: end;
  margin-left: auto;
}

.payment-trust-copy {
  display: grid;
  gap: 5px;
  line-height: 1.1;
}

.payment-trust-copy strong {
  color: rgba(255, 244, 223, 0.94);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-trust-copy span {
  color: rgba(245, 239, 228, 0.78);
  font-size: 1rem;
  font-weight: 600;
}

.payment-summary {
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  box-sizing: border-box;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 239, 211, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-summary-price {
  color: var(--accent-2);
  font-size: 2rem;
  font-weight: 700;
}

.payment-switcher {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 239, 211, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-tab {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.payment-tab.is-active {
  background: linear-gradient(135deg, rgba(255, 142, 13, 0.18), rgba(255, 196, 49, 0.14));
  color: var(--text);
}

.payment-panels {
  margin-top: 18px;
}

.payment-panel {
  display: none;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 239, 211, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-panel.is-active {
  display: grid;
}

.payment-form {
  gap: 18px;
}

.payment-secure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-input-group {
  display: grid;
  gap: 8px;
}

.payment-input-group-full {
  grid-column: 1 / -1;
}

.payment-input-group span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.payment-input-group input,
.payment-input-group select,
.payment-secure-field {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 14px;
  background: rgba(10, 8, 6, 0.72);
  color: var(--text);
  outline: none;
}

.payment-input-group input,
.payment-input-group select {
  font: inherit;
}

.payment-secure-field {
  display: flex;
  align-items: center;
  height: 52px;
  min-height: 52px;
  padding: 0 12px;
  overflow: hidden;
  background: #fffaf0;
  border-color: rgba(255, 196, 49, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.payment-secure-field iframe {
  width: 100% !important;
  display: block !important;
  height: 22px !important;
  min-height: 22px !important;
  background: transparent !important;
}

.payment-panel[data-payment-panel="card"] {
  background:
    linear-gradient(180deg, rgba(255, 247, 235, 0.08), rgba(255, 247, 235, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.payment-panel[data-payment-panel="card"] .payment-panel-copy {
  color: rgba(255, 239, 211, 0.88);
}

.payment-panel[data-payment-panel="card"] .payment-input-group input,
.payment-panel[data-payment-panel="card"] .payment-input-group select {
  min-height: 52px;
  background: #fffaf0;
  border-color: rgba(115, 76, 28, 0.22);
  color: #1b140e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.payment-panel[data-payment-panel="card"] .payment-input-group input::placeholder {
  color: rgba(27, 20, 14, 0.48);
}

.payment-panel[data-payment-panel="card"] .payment-input-group select {
  color: #1b140e;
}

#form-checkout__cardNumber,
#form-checkout__expirationDate,
#form-checkout__securityCode {
  height: 52px;
  min-height: 52px;
}

.payment-feedback {
  min-height: 20px;
  margin: 0;
  color: rgba(245, 239, 228, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.payment-feedback.is-error {
  color: #ff8b7a;
}

.payment-feedback.is-success {
  color: #96e3b0;
}

.auth-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(28, 21, 15, 0.98), rgba(17, 13, 9, 0.98));
  border-left: 1px solid rgba(255, 239, 211, 0.12);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.38);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

body.auth-open {
  overflow: hidden;
}

body.auth-open .auth-overlay {
  opacity: 1;
  visibility: visible;
}

body.auth-open .auth-drawer {
  transform: translateX(0);
}

.auth-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.auth-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: "Cinzel", serif;
}

.auth-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 239, 211, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
}

.auth-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 239, 211, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-tab {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.auth-tab.is-active {
  background: linear-gradient(135deg, rgba(255, 142, 13, 0.18), rgba(255, 196, 49, 0.14));
  color: var(--text);
}

.auth-switcher.is-hidden {
  display: none;
}

.auth-panels {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.auth-panel {
  display: none;
  border: 1px solid rgba(255, 239, 211, 0.1);
  border-radius: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
}

.auth-panel.is-active {
  display: block;
}

.auth-panel-copy {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-hint {
  margin: -4px 0 0;
  color: rgba(245, 239, 228, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
}

.auth-error {
  min-height: 20px;
  margin: 0;
  color: #ff8b7a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.account-card {
  display: grid;
  gap: 14px;
}

.account-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 239, 211, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.account-label {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-value {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  word-break: break-word;
}

.account-value-accent {
  color: var(--accent-2);
}

.account-actions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 9px;
}

.password-field {
  position: relative;
  display: grid;
}

.password-field input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 92, 0.25);
  background: rgba(10, 10, 10, 0.25);
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.password-toggle:hover {
  border-color: rgba(255, 192, 92, 0.55);
  background: rgba(255, 192, 92, 0.12);
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.98);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.password-toggle-icon.is-off {
  display: none;
}

.password-field.is-revealed .password-toggle-icon.is-on {
  display: none;
}

.password-field.is-revealed .password-toggle-icon.is-off {
  display: inline-flex;
}

.auth-form span {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 239, 211, 0.12);
  border-radius: 14px;
  background: rgba(10, 8, 6, 0.72);
  color: var(--text);
  outline: none;
}

.auth-form input::placeholder {
  color: rgba(245, 239, 228, 0.42);
}

.auth-form input:focus {
  border-color: rgba(255, 196, 49, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 196, 49, 0.08);
}

@media (max-width: 1120px) {
  :root {
    --header-height: 136px;
  }

  .site-header {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-description,
  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links,
  .hero-actions {
    justify-content: center;
  }

  .social-links {
    align-items: center;
  }

  .feature-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .featured-plan {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 156px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    gap: 12px;
    padding: 12px 12px 10px;
    border-radius: 18px;
  }

  .brand-group,
  .header-actions,
  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand-group,
  .header-actions {
    gap: 10px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

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

  .brand span {
    font-size: 1rem;
  }

  .language-trigger,
  .nav-link,
  .ghost-button,
  .primary-button.small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .main-nav {
    gap: 6px;
  }

  .header-actions.is-authenticated [data-auth-trigger="primary"] {
    max-width: 108px;
  }

  .hero-section,
  .content-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 118px);
  }

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

  .carousel-arrow {
    display: none;
  }

  .showcase-frame {
    padding: 12px;
  }

  .carousel-track {
    min-height: 380px;
  }

  .carousel-slide video,
  .carousel-slide img {
    max-width: 100%;
    max-height: 340px;
  }

  .auth-drawer {
    height: 100dvh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .auth-panel {
    padding: 20px;
  }

  .payment-card {
    padding: 22px 18px;
  }

  .payment-summary,
  .payment-header {
    grid-template-columns: 1fr;
  }

  .payment-secure-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 170px;
  }

  .site-header {
    gap: 10px;
    padding: 11px 10px 10px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .language-trigger,
  .nav-link,
  .ghost-button,
  .primary-button.small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 126px);
  }
}
