:root {
  --bg: #050505;
  --surface: #0a0a0a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text-main: #ededed;
  --text-muted: #a1a1aa;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;
  --accent: #34d399;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.04em; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-word {
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase;
  background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6, #fb923c, #34d399, #38bdf8, #818cf8);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShift 5s linear infinite;
}
@keyframes logoShift { to { background-position: 200% center; } }
.logo-sub { font-size: 0.46rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.28); font-weight: 500; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--text-muted); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a.region-active { color: var(--accent); }

.hero {
  padding: 10rem 2rem 5rem; max-width: 900px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; margin-bottom: 1rem; }
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-muted);
  max-width: 680px; margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-year {
  margin-top: 2rem; font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.18);
}
.domain-note {
  margin-top: 1.25rem; font-size: 0.82rem; color: var(--text-muted);
  max-width: 560px; padding: 0.75rem 1rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
}

.btn-primary {
  background: var(--text-main); color: var(--bg);
  padding: 0.875rem 2rem; border-radius: 8px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--bg); }
.btn-secondary {
  background: transparent; color: var(--text-main);
  padding: 0.875rem 2rem; border-radius: 8px; font-weight: 500;
  border: 1px solid var(--border); transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; text-align: center; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; transition: border-color 0.3s;
}
.step-card:hover { border-color: var(--border-hover); }
.step-num {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 880px; margin: 0 auto; }
#packages .pricing-grid.build-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  width: 100%;
}
.pricing-card.selectable { cursor: pointer; }
.pricing-card.selectable.selected {
  border-color: rgba(52,211,153,0.55);
  box-shadow: 0 0 0 1px rgba(52,211,153,0.25), 0 8px 40px rgba(52,211,153,0.08);
}
body.region-uk .pricing-card.selectable.selected {
  border-color: rgba(129,140,248,0.55);
  box-shadow: 0 0 0 1px rgba(129,140,248,0.25), 0 8px 40px rgba(129,140,248,0.08);
}
.pricing-card .select-hint {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-top: 0.75rem; font-weight: 600;
}
body.region-uk .pricing-card .select-hint { color: #818cf8; }

.checkout-configurator {
  max-width: 680px; margin: 0 auto; padding: 2rem 1.75rem;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(12, 12, 16, 0.9); backdrop-filter: blur(12px);
}
.checkout-step { margin-bottom: 2rem; }
.checkout-step:last-child { margin-bottom: 0; }
.checkout-step-label {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-bottom: 0.5rem; text-align: center;
}
body.region-uk .checkout-step-label { color: #818cf8; }
.checkout-configurator h3 {
  font-size: 1.15rem; margin-bottom: 1.25rem; text-align: center; font-weight: 600;
}
.addon-block { margin-bottom: 1.75rem; }
.addon-block h4 {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.85rem; text-align: center;
}
.addon-grid { display: grid; gap: 0.65rem; }
.addon-grid--three { grid-template-columns: repeat(3, 1fr); }
.addon-card {
  display: block; padding: 1rem 0.85rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02);
  cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}
.addon-card:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); }
.addon-card.is-selected {
  border-color: rgba(52,211,153,0.5);
  box-shadow: 0 0 0 1px rgba(52,211,153,0.2);
  background: rgba(52,211,153,0.05);
}
body.region-uk .addon-card.is-selected {
  border-color: rgba(129,140,248,0.5);
  box-shadow: 0 0 0 1px rgba(129,140,248,0.2);
  background: rgba(129,140,248,0.06);
}
.addon-card input { position: absolute; opacity: 0; pointer-events: none; }
.addon-card strong { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; }
.addon-card .addon-price { font-size: 1rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.35rem; }
.addon-card .addon-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; display: block; }
.addon-card em { font-style: normal; color: var(--accent); }
body.region-uk .addon-card em { color: #a5b4fc; }

.checkout-step--sub.is-hidden { display: none; }
.checkout-step--sub.is-active { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; }
.sub-preview {
  font-size: 0.85rem; color: var(--text-muted); text-align: center;
  line-height: 1.55; padding: 0.75rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.1);
}
.is-hidden { display: none !important; }

.order-summary {
  margin: 0 0 1.25rem; padding: 1.25rem 1rem;
  border-radius: 12px; background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
}
.summary-line {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.88rem; padding: 0.35rem 0; color: var(--text-muted);
}
.summary-line span:last-child { color: var(--text-main); text-align: right; }
.summary-line--sub em { color: var(--accent); font-style: normal; font-size: 0.75rem; }
.summary-total {
  font-size: 1.05rem; font-weight: 600; margin-top: 0.75rem; text-align: center;
}
.checkout-sub-note {
  font-size: 0.78rem; color: var(--text-muted); text-align: center;
  margin: 0 0 1rem; line-height: 1.5;
}
#paypal-onetime, #paypal-subscription { min-height: 48px; max-width: 360px; margin: 0 auto; }
[data-onetime-status] { text-align: center; margin-bottom: 0.75rem; }

.pricing-grid.legacy-four { grid-template-columns: repeat(4, 1fr); max-width: 1200px; }
.pricing-card {
  background: rgba(18, 18, 22, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2rem 1.75rem 1.5rem;
  position: relative; backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(ellipse at 0% 0%, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card:hover {
  border-color: rgba(129,140,248,0.25);
  box-shadow: 0 8px 40px rgba(99,102,241,0.08);
}
.pricing-card.featured {
  border-color: rgba(52,211,153,0.35);
  box-shadow: 0 0 40px rgba(52,211,153,0.06);
}
.pricing-card.premium {
  background: linear-gradient(160deg, rgba(20,18,28,0.9) 0%, rgba(5,5,8,0.95) 100%);
  border-color: rgba(192,132,252,0.25);
}
.plan-badge {
  position: absolute; top: -11px; right: 1.25rem;
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.65rem;
  border-radius: 999px; text-transform: uppercase;
}
.plan-badge.standard { background: var(--accent); color: #000; }
.plan-badge.premium { background: linear-gradient(90deg, #f472b6, #38bdf8); color: #000; }
.pricing-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.package-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.price {
  font-size: 2.25rem; font-weight: 600; letter-spacing: -0.05em;
  margin: 1rem 0 0.25rem; display: flex; align-items: baseline; gap: 0.2rem;
}
.price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.features { list-style: none; margin-bottom: 1rem; flex: 1; }
.features li {
  font-size: 0.88rem; color: var(--text-muted);
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.features li::before {
  content: ''; flex-shrink: 0; width: 14px; height: 14px; margin-top: 0.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: cover;
}
.features li.extra { color: var(--text-main); }
.features li.extra::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.paypal-slot { margin-top: auto; min-height: 48px; }
.paypal-slot:empty { display: none; }
.paypal-ok {
  font-size: 0.78rem; color: var(--accent); line-height: 1.45;
  padding: 0.5rem 0 0.25rem; font-weight: 600;
}
.paypal-next {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.45;
  margin: 0.25rem 0 0.65rem;
}
.btn-wa-ref {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.65rem 0.85rem; border-radius: 8px;
  background: #25D366; color: #fff !important; font-size: 0.82rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15); transition: transform 0.2s;
}
.btn-wa-ref:hover { transform: translateY(-1px); color: #fff; }
.checkout-note {
  max-width: 720px; margin: 0 auto 2rem; padding: 1rem 1.15rem;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); font-size: 0.88rem; color: var(--text-muted);
  text-align: center; line-height: 1.55;
}
.checkout-note strong { color: var(--text-main); }

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 720px; margin: 0 auto; }
.demo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; transition: border-color 0.3s, transform 0.2s;
}
.demo-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.demo-card strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; }
.demo-card span { font-size: 0.85rem; color: var(--text-muted); }

footer {
  border-top: 1px solid var(--border); padding: 3rem 2rem;
  text-align: center; color: var(--text-muted); font-size: 0.875rem;
}
footer a:hover { color: var(--text-main); }

.csmbac-wa-sticky {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 120;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; border-radius: 999px;
  background: #25D366; color: #fff; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s;
}
.csmbac-wa-sticky:hover { transform: translateY(-2px); color: #fff; }
.csmbac-wa-sticky svg { width: 1.25rem; height: 1.25rem; }

#checker-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hz-wrap-main {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  pointer-events: none; overflow: hidden; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-concept {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, rgba(99,102,241,0.12) 0%, rgba(192,132,252,0.10) 30%, rgba(244,114,182,0.08) 55%, rgba(52,211,153,0.09) 75%, rgba(99,102,241,0.12) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 300% auto;
  animation: hzDriftMain 18s ease-in-out infinite alternate, hzShiftMain 22s linear infinite;
  opacity: 0; transition: opacity 1.2s; pointer-events: none;
}
.hero-concept.revealed { opacity: 1; }
@keyframes hzDriftMain {
  0%   { transform: translateX(-2%) translateY(0px) scaleX(1); }
  33%  { transform: translateX(1.5%) translateY(-8px) scaleX(1.005); }
  66%  { transform: translateX(-0.8%) translateY(6px) scaleX(0.998); }
  100% { transform: translateX(2%) translateY(-4px) scaleX(1.003); }
}
@keyframes hzShiftMain {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}
nav, header.hero, section, footer { position: relative; z-index: 1; }
.hero h1 { text-shadow: 0 0 40px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.6); }
.hero p  { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }

body.region-uk { --accent: #818cf8; }

@media (max-width: 1100px) {
  .pricing-grid.legacy-four { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 8rem 1.25rem 4rem; }
  .section { padding: 3.5rem 1.25rem; }
  .pricing-grid, .pricing-grid.build-tiers, .pricing-grid.legacy-four, .steps-grid, .demo-grid { grid-template-columns: 1fr; }
  #packages .pricing-grid.build-tiers { grid-template-columns: 1fr; max-width: 400px; }
  .addon-grid--three { grid-template-columns: 1fr; }
  .checkout-configurator { padding: 1.5rem 1.15rem; }
  .csmbac-wa-sticky span { display: none; }
  .csmbac-wa-sticky { padding: 0.85rem; border-radius: 50%; }
}
