/* ===== PANDABET — Seven Wins layout, tennis black/yellow theme ===== */
:root {
  --yellow: #c6f015;
  --yellow-bright: #d4ff33;
  --yellow-dark: #9eb800;
  --yellow-muted: rgba(198, 240, 21, 0.1);
  --yellow-subtle: rgba(198, 240, 21, 0.06);
  --bg: #06080d;
  --bg-elevated: #0c0f16;
  --bg-card: #111520;
  --bg-card-hover: #161b28;
  --bg-surface: #1a2030;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-yellow: rgba(198, 240, 21, 0.35);
  --text: #f4f6fa;
  --text-muted: #939bab;
  --text-dim: #5e6573;
  --red: #ff4d5a;
  --container: 1180px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-display: "Barlow Semi Condensed", "Plus Jakarta Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
body:not(.is-ready) .site-content { opacity: 0; }
body.is-ready .site-content {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196, 255, 0, 0.04) 0%, transparent 55%), var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 255, 0, 0.12) 0%, transparent 70%);
  animation: loaderGlow 2.4s ease-in-out infinite;
  pointer-events: none;
}
.page-loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.page-loader__logo-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}
.page-loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 2px solid transparent;
  border-top-color: var(--yellow);
  border-right-color: rgba(196, 255, 0, 0.25);
  animation: loaderSpin 0.9s linear infinite;
}
.page-loader__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  animation: loaderFloat 2s ease-in-out infinite;
}
.page-loader__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.page-loader__brand span { color: var(--yellow); }
.page-loader__status {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 18px;
}
.page-loader__dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 2px;
  vertical-align: baseline;
}
.page-loader__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.35;
  animation: loaderDot 1.2s ease-in-out infinite;
}
.page-loader__dots i:nth-child(2) { animation-delay: 0.15s; }
.page-loader__dots i:nth-child(3) { animation-delay: 0.3s; }
.page-loader__bar {
  width: 160px;
  height: 2px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.page-loader__bar span {
  display: block;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  border-radius: 999px;
  animation: loaderBar 1.1s ease-in-out infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes loaderGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes loaderDot {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.site-content { overflow-x: clip; max-width: 100%; }
.text-accent { color: var(--yellow); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--yellow);
  color: #0a0c10;
}
.btn--primary:hover { background: var(--yellow-bright); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--border-yellow);
  background: var(--yellow-subtle);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-card);
}
.btn--dark {
  background: #0a0c10;
  color: var(--yellow);
  border: 1px solid #0a0c10;
}
.btn--dark-outline {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}
.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--block { width: 100%; }

/* ===== BADGES ===== */
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--yellow { background: var(--yellow); color: #000; }
.badge--red { background: var(--red); color: #fff; }
.badge--sm { font-size: 9px; padding: 3px 8px; }
.badge--image {
  padding: 0;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  max-height: 28px;
}
.badge--image img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.badge--preset .badge__icon { margin-right: 2px; }

/* Logo tekstowe */
.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
.brand-logo__panda { color: #fff; }
.brand-logo__bet { color: var(--yellow); }
.brand-logo--sm { font-size: 1.05rem; }
.brand-logo--md { font-size: 1.45rem; }
.brand-logo--lg { font-size: 1.85rem; }
.brand-logo--stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.brand-logo__tagline {
  font-family: var(--font);
  font-size: 0.55rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.brand-logo--dark .brand-logo__panda { color: #111; }
.brand-logo--on-light .brand-logo__panda { color: #111; }

/* ===== SECTION HEADING ===== */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading__icon {
  width: 28px;
  height: 28px;
  color: var(--yellow);
  margin: 0 auto 12px;
  display: block;
}
.section-heading__icon--dark { color: #000; }
.section-heading__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ===== HEADER — flat, no boxes ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 68px;
}
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.header__logo:hover { opacity: 0.92; }
.header__logo--footer { margin-bottom: 16px; display: inline-flex; }
.header__logo-frame,
.header__logo-img,
.account-modal__logo { display: none; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.header__nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.header__nav-link:hover { color: var(--text); }
.header__nav-link.is-active {
  color: var(--yellow);
  font-weight: 600;
}
.header__nav-link.is-active::after { transform: scaleX(1); }
.header__nav-link--pill { /* legacy — same as regular link */ }
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  transition: color 0.2s;
}
.header__btn:hover { color: var(--yellow); }
.header__btn svg { color: var(--yellow); flex-shrink: 0; }
.header__btn--cart { color: var(--text); }
.header__btn-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.header__cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--yellow);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.header__cart-badge[hidden] { display: none !important; }
.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.header__burger:active { transform: scale(0.96); }
.header__burger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.header__burger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}
.header__burger[aria-expanded="true"] {
  background: rgba(198, 240, 21, 0.12);
  border-color: var(--border-yellow);
}
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.header__burger[aria-expanded="true"] .header__burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV (fullscreen drawer) ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9500;
  pointer-events: none;
}
.mobile-nav:not([hidden]) {
  pointer-events: auto;
}
.mobile-nav[hidden] {
  display: none !important;
}
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}
.mobile-nav__sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 360px);
  max-width: 100%;
  background: linear-gradient(165deg, #0e121c 0%, #0a0c12 55%, #111824 100%);
  border-left: 1px solid rgba(198, 240, 21, 0.12);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  transform: translateX(104%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav__sheet {
  transform: translateX(0);
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.mobile-nav__link:nth-child(1) { animation-delay: 0.04s; }
.mobile-nav__link:nth-child(2) { animation-delay: 0.08s; }
.mobile-nav__link:nth-child(3) { animation-delay: 0.12s; }
.mobile-nav__link:nth-child(4) { animation-delay: 0.16s; }
.mobile-nav__link:nth-child(5) { animation-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav__link {
  animation: mobileNavLinkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.mobile-nav__link:active { transform: scale(0.98); }
.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  background: rgba(198, 240, 21, 0.08);
  border-color: rgba(198, 240, 21, 0.2);
}
.mobile-nav__link-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(198, 240, 21, 0.12);
  color: var(--yellow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn--block { width: 100%; justify-content: center; }
.mobile-nav__chat {
  color: var(--yellow) !important;
  border: 1px dashed rgba(198, 240, 21, 0.35) !important;
}

@keyframes mobileNavLinkIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

.header__mobile { display: none !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("/assets/hero-banner.png?v=2026082836") center center / cover no-repeat;
  background-color: var(--bg);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 8, 13, 0.92) 0%, rgba(6, 8, 13, 0.72) 38%, rgba(6, 8, 13, 0.25) 62%, transparent 85%),
    linear-gradient(180deg, transparent 60%, rgba(6, 8, 13, 0.85) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: clamp(24px, 6vw, 72px);
}
.hero__content {
  max-width: 520px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.features__intro { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  animation: fadeUp 0.6s ease backwards;
  animation-delay: var(--delay, 0s);
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: var(--border-yellow);
  background: var(--bg-card-hover);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  color: var(--yellow);
  margin: 0 auto 16px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 240, 21, 0.08);
  border: 1px solid rgba(198, 240, 21, 0.24);
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
  shape-rendering: geometricPrecision;
}
.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.feature-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.feature-card__line { display: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PRICING ===== */
.pricing {
  padding: 80px 0;
}
.pricing-block {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
}
.pricing-block--group {
  margin-top: 28px;
  border-color: rgba(198, 240, 21, 0.22);
  background: linear-gradient(180deg, rgba(198, 240, 21, 0.06) 0%, transparent 55%);
}
.pricing-block.is-empty { display: none; }
.pricing-block__toggle {
  width: 100%;
  display: block;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.pricing-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.pricing-block__head-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.pricing-block__chevron {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s, background 0.2s;
}
.pricing-block__chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg) translate(-2px, -2px);
}
.pricing-block.is-open .pricing-block__chevron {
  transform: rotate(180deg);
  border-color: var(--border-yellow);
  background: var(--yellow-muted);
}
.pricing-block__toggle:hover .pricing-block__chevron {
  border-color: var(--border-yellow);
}
.pricing-block__body {
  margin-top: 0;
  padding-top: 0;
}
.pricing-block.is-open .pricing-block__body {
  margin-top: 24px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.pricing-block--group.is-open .pricing-block__body {
  border-top-color: rgba(198, 240, 21, 0.18);
}
.pricing-block__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.pricing-block__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}
.pricing-block__lead {
  display: block;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.pricing-offer-tabs {
  display: none !important;
}
.pricing-block__catalog {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-block.is-empty { display: none; }
.pricing__grid--under-featured {
  grid-template-columns: repeat(3, 1fr);
}
.pricing__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.pricing__featured[hidden],
.pricing__grid[hidden] { display: none !important; }
.pricing-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card--outline {
  background: var(--bg-card);
  border: 1px solid var(--border-yellow);
}
.pricing-card--solid {
  background: var(--yellow);
  color: #000;
}
.pricing-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.pricing-card__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.pricing-card__icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  color: var(--yellow);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 240, 21, 0.08);
  border: 1px solid rgba(198, 240, 21, 0.28);
  margin-inline: auto;
}
.pricing-card__icon svg {
  width: 36px;
  height: 36px;
  display: block;
  margin: 0 auto;
  shape-rendering: geometricPrecision;
}
.pricing-card__icon--dark {
  color: #000;
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
}
.pricing-card__label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.pricing-card--solid .pricing-card__label { color: rgba(0,0,0,0.6); }
.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card__features li {
  font-size: 13px;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}
.pricing-card--solid .pricing-card__features li { color: rgba(0,0,0,0.75); }
.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}
.pricing-card--solid .pricing-card__features li::before { color: #000; }
.pricing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.pricing-card__price { display: flex; align-items: baseline; gap: 10px; }
.price-current {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--yellow);
}
.pricing-card--solid .price-current { color: #000; }
.price-old {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.pricing-card--solid .price-old { color: rgba(0,0,0,0.45); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-tier {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.pricing-tier:hover {
  border-color: var(--border-yellow);
  background: var(--bg-card-hover);
}
.pricing-tier__icon {
  width: 52px;
  height: 52px;
  color: var(--yellow);
  margin: 0 auto 8px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 240, 21, 0.08);
  border: 1px solid rgba(198, 240, 21, 0.24);
}
.pricing-tier__icon svg {
  width: 26px;
  height: 26px;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}
.pricing-tier .badge {
  top: 10px;
  right: 10px;
}
.pricing-tier__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
  min-height: 36px;
}
.pricing-tier__label { font-size: 11px; color: var(--text-dim); }
.pricing-tier__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pricing-tier__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: var(--yellow);
  margin-bottom: 12px;
}
.pricing-tier__price s {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-left: 6px;
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}
.about__image-wrap {
  position: relative;
  overflow: hidden;
}
.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}
.about__smoke { display: none; }
.about__panel {
  position: relative;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -8%;
}
.about__panel-inner {
  padding: 48px 48px 48px 80px;
  max-width: 560px;
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin: 12px 0 20px;
  line-height: 1.15;
}
.about__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

/* ===== CONTACT ===== */
.contact {
  padding: 88px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin: 8px 0 14px;
  line-height: 1.1;
}
.contact__lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 28px;
}
.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
  display: grid;
  place-items: center;
  color: var(--yellow);
  flex-shrink: 0;
}
.contact__details strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.contact__details a,
.contact__details span {
  font-size: 15px;
  color: var(--text);
}
.contact__details a:hover { color: var(--yellow); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.contact-field input,
.contact-field textarea {
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 48px;
  transition: border-color 0.2s;
}
.contact-field textarea { min-height: 120px; }
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}
.contact-check input { accent-color: var(--yellow); margin-top: 2px; flex-shrink: 0; }

/* ===== STATS ===== */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  font-style: italic;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  max-width: 120px;
  margin-inline: auto;
}

/* ===== COMPARE ===== */
.compare {
  padding: 80px 0;
}
.compare__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.compare__col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
}
.compare__item svg { width: 18px; height: 18px; flex-shrink: 0; }
.compare__col--pro .compare__item {
  background: var(--yellow);
  color: #000;
}
.compare__col--con .compare__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.compare__col--con .compare__item svg { color: var(--text-dim); opacity: 0.5; }
.compare__vs {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* ===== WHY US ===== */
.why {
  padding-bottom: 88px;
}
.why__hero {
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}
.why__hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198, 240, 21, 0.92) 0%, rgba(184, 230, 0, 0.88) 100%);
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
}
.why__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 0 48px;
  flex-wrap: wrap;
}
.why__hero-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 640px;
}
.why__hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.why__hero-icon svg { width: 22px; height: 22px; color: #000; }
.why__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: #000;
  line-height: 1.1;
  margin-bottom: 8px;
}
.why__subtitle {
  font-size: 14px;
  color: rgba(0,0,0,.65);
  line-height: 1.6;
  max-width: 520px;
}
.why__hero-cta { flex-shrink: 0; }
.why__gallery-wrap {
  position: relative;
  padding: 8px 0;
}
.why__gallery-wrap::before,
.why__gallery-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.why__gallery-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.why__gallery-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}
.why__phones {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 28px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow-dark) var(--bg-elevated);
}
.why__phones::-webkit-scrollbar { height: 6px; }
.why__phones::-webkit-scrollbar-thumb {
  background: var(--yellow-dark);
  border-radius: 999px;
}
.why__phones .phone-mock,
.why__phones .win-card--image {
  flex: 0 0 170px;
  scroll-snap-align: start;
}
.win-card--image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.win-card--image img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.win-card--image figcaption {
  padding: 8px;
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.phone-mock__screen {
  background: linear-gradient(180deg, var(--win-accent, #c0392b) 0%, #922b21 100%);
}
.phone-mock {
  display: flex;
  justify-content: center;
}
.phone-mock__screen {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #333;
  background: #111;
}
.phone-mock__screen--win { background: linear-gradient(180deg, #c0392b 0%, #922b21 100%); }
.phone-mock__header {
  padding: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.3);
}
.phone-mock__body {
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.phone-mock__grats { font-size: 13px; font-weight: 600; }
.phone-mock__money { font-size: 36px; color: var(--yellow); display: flex; justify-content: center; }
.phone-mock__money svg { width: 32px; height: 32px; }
.phone-mock__yell {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
}
.phone-mock__amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 4px;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  max-width: 960px;
  margin: 0 auto;
}
.faq__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq__item[open] { border-color: var(--yellow); }
.faq__item summary {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--yellow);
  flex-shrink: 0;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #050608 100%);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer__contact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer__contact-row a:hover { color: var(--yellow); }
.footer__contact-row svg { color: var(--yellow); }
.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col {
  min-width: 0;
}
.footer__col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 16px;
  font-weight: 700;
  list-style: none;
  cursor: default;
  user-select: none;
}
.footer__col-title::-webkit-details-marker { display: none; }
.footer__col-title::marker { content: ""; }
.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
  display: inline-block;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s;
}
.footer__social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer__disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.5;
}

@media (min-width: 641px) {
  .footer__col {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }
  .footer__col-title {
    pointer-events: none;
    padding: 0;
    margin-bottom: 16px;
    border-bottom: none !important;
    background: transparent !important;
  }
  .footer__col-title::after {
    display: none;
  }
  .footer__col ul {
    display: block !important;
    padding: 0;
    grid-template-columns: none;
  }
}

/* ===== ACCOUNT MODAL ===== */
.modal__dialog--account {
  max-width: 460px;
  padding: 0;
  overflow: hidden;
}
.account-modal {
  padding: 32px 32px 28px;
  overflow-y: auto;
  max-height: min(92vh, 680px);
}
.account-modal__brand {
  text-align: center;
  margin-bottom: 28px;
  padding-right: 0;
}
.account-modal__brand img,
.account-modal__logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.account-modal__brand h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.account-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.account-tab {
  flex: 1;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.account-tab:hover { color: var(--text); }
.account-tab.is-active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.account-panel { display: none; }
.account-panel.is-active { display: block; }
.account-panel__lead {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.account-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.account-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.account-field input {
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.account-field input::placeholder { color: var(--text-dim); }
.account-field input:focus {
  outline: none;
  border-color: var(--yellow);
}
.account-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -4px;
}
.account-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}
.account-check--block { margin-top: 0; }
.account-check input { accent-color: var(--yellow); margin-top: 2px; flex-shrink: 0; }
.account-link {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 500;
}
.account-link:hover { text-decoration: underline; }
.account-link-btn {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.account-link-btn:hover { text-decoration: underline; }
.account-switch {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.account-empty {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.account-empty p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.portal-orders-preview {
  margin: 24px 0 0;
  text-align: left;
}

.account-session {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.account-panel__lead--muted {
  margin-top: -4px;
  color: var(--text-muted);
  font-size: 14px;
}
.account-session__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.header__btn--logout {
  color: var(--text-muted);
}
.header__btn--logout:hover {
  color: #ff8f8f;
}
.header__btn--logout svg {
  color: currentColor;
}
.header__btn[hidden],
.header__btn--logout[hidden] {
  display: none !important;
}

.portal-orders-preview h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.portal-order {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 13px;
}

.portal-order span { color: var(--text-muted); }

/* ===== MODALS (base) ===== */
body.modal-open { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transform: scale(0.98) translateY(6px);
  transition: transform 0.25s;
}
.modal__dialog--cart { max-width: 520px; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.modal__close svg { display: block; }
.modal__title { display: none; }

/* Cart modal */
.modal-cart { padding: 28px; }
.modal-cart__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-right: 32px;
}
.modal-cart__head-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
  display: grid;
  place-items: center;
  color: var(--yellow);
  flex-shrink: 0;
}
.modal-cart__head-icon svg { width: 20px; height: 20px; }
.modal-cart__head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.modal-cart__head p { font-size: 13px; color: var(--text-muted); }
.cart-empty { text-align: center; padding: 32px 16px; }
.cart-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--text-dim);
}
.cart-empty__icon svg { width: 24px; height: 24px; }
.cart-empty h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cart-empty p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; max-width: 280px; margin-inline: auto; }
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; max-height: 280px; overflow-y: auto; }
.cart-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto 32px;
  align-items: center;
  gap: 10px 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-item__footer {
  display: contents;
}
.cart-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--yellow-subtle);
  border: 1px solid var(--border-yellow);
  display: grid;
  place-items: center;
  color: var(--yellow);
}
.cart-item__icon svg { width: 18px; height: 18px; }
.cart-secure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
}
.cart-secure svg { color: var(--yellow); opacity: 0.6; }
.modal.is-open .modal__dialog { transform: scale(1) translateY(0); }
.modal__close:hover { color: var(--yellow); border-color: var(--border-yellow); }
.cart-item__info { min-width: 0; }
.cart-item__info strong { display: block; font-size: 13px; }
.cart-item__info span { font-size: 11px; color: var(--text-dim); }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__qty-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.cart-item__price { font-weight: 700; font-size: 13px; color: var(--yellow); white-space: nowrap; text-align: right; }
.cart-item__remove {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  justify-self: end;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.cart-item__remove svg { display: block; }
.cart-item__remove:hover { color: var(--red); border-color: rgba(255, 80, 80, 0.35); background: rgba(255, 80, 80, 0.08); }
.cart-promo {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.cart-promo input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 13px;
}
.cart-promo input:focus { outline: none; border-color: var(--yellow); }
.cart-summary {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}
.cart-summary__row--total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.cart-summary__row--total span:last-child { color: var(--yellow); }
.cart-secure { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 12px; }
.modal-cart__upsell {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.modal-cart__upsell h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 12px; }
#cart-upsell-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.upsell-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--yellow-muted);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius);
  font-size: 13px;
}
.upsell-card strong { color: var(--yellow); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 2000;
  padding: 12px 24px;
  background: var(--yellow);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__main { grid-template-columns: 1fr; }
  .header__nav { display: none; }
}

@media (max-width: 900px) {
  .header__burger { display: flex; }
  .header__btn span:not(.header__btn-icon) { display: none; }
  .header__btn { padding: 10px 12px; }
  .header__inner {
    gap: 10px;
    min-height: 58px;
    flex-wrap: nowrap;
  }
  .header__actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .header__logo {
    min-width: 0;
    flex-shrink: 1;
  }
  .hero {
    padding: 64px 0 72px;
    min-height: 420px;
    text-align: center;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(6, 8, 13, 0.88) 0%, rgba(6, 8, 13, 0.55) 45%, rgba(6, 8, 13, 0.75) 100%);
  }
  .hero__inner { padding-left: 0; padding-right: 0; }
  .hero__content { max-width: none; margin-inline: auto; padding-inline: 0; }
  .hero__subtitle { margin-inline: auto; }
  .hero__buttons { justify-content: center; }
  .hero__title { font-size: clamp(1.85rem, 8vw, 2.75rem); }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .pricing__featured { grid-template-columns: 1fr; }
  .pricing-block { padding: 18px; margin-top: 24px; }
  .pricing-block__chevron { width: 32px; height: 32px; }
  .about { grid-template-columns: 1fr; }
  .about__panel { clip-path: none; margin-left: 0; }
  .about__panel-inner { padding: 40px 24px; max-width: none; }
  .about__image { min-height: 280px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .compare__grid { grid-template-columns: 1fr; }
  .compare__vs { margin: 0 auto; }
  .footer__columns { grid-template-columns: 1fr 1fr; }
  .why__hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0 32px;
  }
  .why__hero-cta { width: 100%; }
  .why__hero-cta .btn { width: 100%; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header__btn--ghost { display: none; }
  .brand-logo--md { font-size: 1.2rem; }
  .header__mobile { padding: 8px 16px 12px; }
  .mobile-nav__sheet { width: 100%; border-left: none; }
  .hero {
    padding: 48px 0 56px;
    min-height: 360px;
  }
  .hero__title { font-size: clamp(1.65rem, 9vw, 2.2rem); }
  .hero__subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero__buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__buttons .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
  }
  .features { padding: 56px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing { padding: 56px 0; }
  .pricing__grid--under-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .pricing__grid:not(.pricing__grid--under-featured) { grid-template-columns: 1fr; }
  .pricing-tier {
    padding: 16px 10px 14px;
    gap: 4px;
  }
  .pricing-tier__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }
  .pricing-tier__icon svg { width: 20px; height: 20px; }
  .pricing-tier__name { font-size: 0.82rem; line-height: 1.2; }
  .pricing-tier__desc { font-size: 10px; min-height: 0; margin-bottom: 4px; }
  .pricing-tier__price { font-size: 1.05rem; margin-bottom: 8px; }
  .pricing-tier .btn { font-size: 11px; padding: 8px 10px; width: 100%; }
  .pricing-card { padding: 20px 16px; gap: 16px; }
  .pricing-card__top { gap: 12px; }
  .pricing-card__name { font-size: 1.25rem; line-height: 1.15; }
  .pricing-card__icon { width: 56px; height: 56px; }
  .pricing-card__icon svg { width: 28px; height: 28px; }
  .price-current { font-size: 1.65rem; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .compare__col { grid-template-columns: 1fr; }
  .why__phones { padding: 20px 8px; margin-inline: 0; }
  .why__gallery-wrap::before,
  .why__gallery-wrap::after { width: 24px; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__columns { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Footer mobile */
  .footer {
    padding: 40px 0 max(24px, env(safe-area-inset-bottom, 0px));
    position: relative;
  }
  .footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  }
  .footer__main {
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }
  .header__logo--footer {
    margin-bottom: 14px;
    justify-content: center;
  }
  .footer__brand p {
    max-width: none;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }
  .footer__contact-row {
    width: 100%;
  }
  .footer__contact-row a {
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    background: var(--yellow-subtle);
    border: 1px solid var(--border-yellow);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
  }
  .footer__contact-row a:active {
    transform: scale(0.98);
  }
  .footer__columns {
    gap: 10px;
  }
  .footer__col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 16px 18px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid transparent;
    transition: background 0.15s;
  }
  .footer__col-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -4px;
  }
  .footer__col[open] .footer__col-title {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
  }
  .footer__col[open] .footer__col-title::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .footer__col ul {
    padding: 4px 18px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }
  .footer__col li {
    margin-bottom: 0;
  }
  .footer__col a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer__bottom {
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  .footer__bottom p:first-child {
    font-size: 12px;
    color: var(--text-muted);
  }
  .footer__disclaimer {
    max-width: none;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
  }

  .pricing-card__footer { flex-direction: column; align-items: stretch; }
  .pricing-card__footer .btn { width: 100%; justify-content: center; }
  .contact { padding: 56px 0; }
  .contact-form { padding: 20px 16px; }
  .section-heading__title { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .cart-item {
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    align-items: start;
  }
  .cart-item__icon { grid-row: 1 / -1; align-self: center; }
  .cart-item__info { grid-column: 2; grid-row: 1; padding-right: 4px; min-width: 0; }
  .cart-item__remove { grid-column: 3; grid-row: 1; align-self: center; }
  .cart-item__footer {
    display: flex;
    grid-column: 2 / 4;
    grid-row: 2;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
  }
  .modal__dialog { max-height: 95vh; margin: 8px; width: calc(100% - 16px); max-width: none; }
  .account-modal { padding: 24px 20px 20px; }
  .account-form__grid { grid-template-columns: 1fr; }
  .toast {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(120%);
    width: min(calc(100% - 32px), 360px);
    text-align: center;
  }
  .toast.is-visible { transform: translateX(-50%) translateY(0); }
}
