:root {
  --bg: #0d1117;
  --bg-alt: #11161f;
  --card: #161c28;
  --card-border: #232b3a;
  --text: #f2f4f8;
  --text-dim: #9aa4b5;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --accent-blue: #3b82f6;
  --brand-purple: #7c3aed;
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  transition: background .2s ease, color .2s ease;
}

h1, h2, h3, .logo-text, .btn {
  font-family: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 15px;
}

.main-nav a { color: var(--text-dim); }
.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-pill {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.icon-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #06210f;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(34,197,94,0.12), transparent 60%),
    var(--bg);
  padding: 80px 0 44px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .28;
  animation: blob-float 14s ease-in-out infinite;
}

.blob-netflix { width: 300px; height: 300px; background: #e50914; top: -80px; left: 4%; animation-delay: 0s; }
.blob-disney   { width: 340px; height: 340px; background: #113ccf; top: 20px; right: 6%; animation-delay: 2.5s; }
.blob-spotify  { width: 260px; height: 260px; background: #1db954; bottom: -100px; left: 32%; animation-delay: 5s; }
.blob-hbo      { width: 220px; height: 220px; background: #8b5cf6; bottom: 0; right: 22%; animation-delay: 1.2s; }

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -28px) scale(1.1); }
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 32px;
  text-align: left;
}

@media (min-width: 861px) {
  .hero-copy { padding-left: clamp(16px, 4vw, 48px); }
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.2;
}

.hero p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  transition: transform .3s ease-out;
}

.hero-illustration .orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: orbit-spin 30s linear infinite;
}

.hero-illustration .orbit-ring ellipse {
  fill: none;
  stroke: var(--card-border);
  stroke-width: 2;
  stroke-dasharray: 6 10;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: 190px;
  height: 190px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(34,197,94,0.35);
  animation: screen-float 6s ease-in-out infinite;
}

.hero-screen i {
  font-size: 46px;
  color: #06210f;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.hero-screen-glow {
  position: absolute;
  inset: -30px;
  border-radius: 44px;
  background: radial-gradient(circle, rgba(34,197,94,0.35), transparent 70%);
  z-index: -1;
}

.hero-screen-bar {
  position: absolute;
  background: rgba(6,33,15,0.25);
  border-radius: 999px;
}

.bar-1 { width: 60px; height: 8px; bottom: 30px; left: 28px; }
.bar-2 { width: 34px; height: 8px; bottom: 30px; left: 96px; }

@keyframes screen-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50% { transform: translate(-50%, -54%) rotate(2deg); }
}

.hero-float-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  animation: badge-float 6s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.fi-netflix { background: #e50914; top: 2%; left: 4%; }
.fi-disney  { background: #113ccf; top: 6%; right: 0%; }
.fi-heart   { background: var(--accent); bottom: 10%; left: -2%; font-size: 18px; }
.fi-cast    { background: var(--accent-blue); bottom: 4%; right: 6%; font-size: 18px; }

.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--text);
}

.dot-1 { width: 12px; height: 12px; top: 30%; right: 14%; opacity: .5; }
.dot-2 { width: 8px; height: 8px; bottom: 26%; left: 20%; background: var(--accent); }

.hero-star {
  position: absolute;
  top: 40%;
  left: -4%;
  color: var(--accent-blue);
  font-size: 20px;
  animation: star-spin 5s linear infinite;
}

@keyframes star-spin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  to { transform: rotate(360deg) scale(1); }
}

/* Marquee */
.marquee-section {
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-alt);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-section:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.marquee-group span {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dim);
  opacity: .7;
}

.marquee-group span:nth-child(even) {
  color: var(--accent);
  font-size: 10px;
  opacity: .6;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #16d97a);
  color: #06210f;
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(34,197,94,0.45); }

.btn-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(6,33,15,0.35);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ripple-grow .6s ease-out;
}

@keyframes ripple-grow {
  to { transform: translate(-50%, -50%) scale(18); opacity: 0; }
}

.btn-outline {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); transform: translateY(-2px); }

.btn-danger { background: transparent; border-color: #ef4444; color: #ef4444; }
.btn-danger:hover { background: #ef4444; color: #fff; }

.btn-block { width: 100%; justify-content: center; }

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-badges span i { color: var(--accent); }

/* Search section */
.search-section {
  padding: 40px 0 24px;
  text-align: center;
}

.search-section h2 { font-size: 28px; margin-bottom: 8px; }
.section-sub { color: var(--text-dim); margin-bottom: 26px; }

.search-box {
  max-width: 480px;
  margin: 0 auto 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
}

.filter-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.chip:hover { transform: translateY(-1px); border-color: var(--accent-blue); }

.chip.active {
  background: var(--accent);
  color: #06210f;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(34,197,94,0.35);
}

/* Catalog */
.catalog-section { padding: 32px 0 64px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(34,197,94,0.16);
}

.product-icon { transition: transform .25s ease; }
.product-card:hover .product-icon { transform: scale(1.08) rotate(-3deg); }

.product-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.product-card:hover .product-icon-wrap { transform: scale(1.08) rotate(-3deg); }

.product-icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 16px;
  filter: blur(12px);
  opacity: .55;
  z-index: 0;
}

.product-icon-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  display: block;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.product-name { font-weight: 700; font-size: 17px; }
.product-tag { font-size: 12px; color: var(--text-dim); }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.price-old {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 14px;
}

.price-new {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.price-unit { color: var(--text-dim); font-size: 13px; }

.save-badge {
  align-self: flex-start;
  background: rgba(34,197,94,0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 6px 0;
  color: var(--text-dim);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-features li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.add-combo-btn {
  margin-top: auto;
  background: var(--accent);
  color: #06210f;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.add-combo-btn { transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.add-combo-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(34,197,94,0.3); }
.add-combo-btn.in-cart { background: var(--card-border); color: var(--text); box-shadow: none; }

.stock-badge {
  align-self: flex-start;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-card.out-of-stock {
  opacity: .6;
  filter: grayscale(.4);
}
.product-card.out-of-stock:hover {
  transform: none;
  border-color: var(--card-border);
  box-shadow: none;
}

.add-combo-btn:disabled {
  background: var(--card-border);
  color: var(--text-dim);
  cursor: not-allowed;
  box-shadow: none;
}
.add-combo-btn:disabled:hover { background: var(--card-border); transform: none; box-shadow: none; }

/* How it works */
.how-it-works { padding: 64px 0; background: var(--bg-alt); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.how-it-works h2 { text-align: center; font-size: 28px; margin-bottom: 36px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--accent-blue); }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  color: #06210f;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(34,197,94,0.3);
  font-size: 15px;
}

.step-card h3 { margin: 0 0 8px; font-size: 17px; }
.step-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* Checkout */
.checkout-layout { max-width: 640px; margin: 0 auto; }

.checkout-form { display: flex; flex-direction: column; gap: 18px; }

.checkout-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}

.checkout-card h2 {
  font-size: 17px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-card h2 i { color: var(--accent); }

.order-summary-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 14px;
}
.order-summary-item span:first-child { font-weight: 600; }
.order-summary-item span:last-child { color: var(--accent); font-weight: 700; }

.payment-methods { display: flex; flex-direction: column; gap: 10px; }

.payment-method-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.payment-method-option:hover { border-color: var(--accent-blue); }
.payment-method-option:has(input:checked) { border-color: var(--accent); background: rgba(34,197,94,0.08); }
.payment-method-option input { margin-top: 4px; accent-color: var(--accent); }
.payment-method-option strong { display: block; font-size: 14px; margin-bottom: 2px; }
.payment-method-option span { color: var(--text-dim); font-size: 13px; }

.payment-method-info {
  margin-top: 12px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 14px;
}

.payment-method-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.payment-method-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.payment-method-info-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  flex: 1;
}

.btn-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.btn-copy:hover { border-color: var(--accent); color: var(--accent); }
.btn-copy.copied { border-color: var(--accent); color: var(--accent); }

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 16px;
  border: 2px dashed var(--card-border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-dim);
  transition: border-color .2s ease, color .2s ease;
  text-align: center;
}
.file-drop:hover { border-color: var(--accent); color: var(--accent); }
.file-drop i { font-size: 26px; }
.file-drop input { display: none; }
.file-drop-meta { font-size: 12px; color: var(--text-dim); }

.proof-preview-wrap {
  position: relative;
  margin-top: 14px;
}
.proof-preview-wrap:not([hidden]) { display: inline-block; }

#proofPreview {
  max-width: 160px;
  max-height: 160px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  display: block;
  object-fit: cover;
}

.proof-preview-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--danger, #ef4444);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.checkout-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8,10,16,0.92);
  backdrop-filter: blur(3px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.checkout-loading-overlay:not([hidden]) { display: flex; }

.plug-loader {
  position: relative;
  width: 120px;
  height: 170px;
}

.plug-loader-plug {
  position: absolute;
  left: 50%;
  top: 0;
  font-size: 32px;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(124,58,237,.7));
  animation: plug-descend 1.8s ease-in-out infinite;
}

@keyframes plug-descend {
  0%   { top: 0%;  transform: translateX(-50%) rotate(0deg); opacity: 1; }
  15%  { top: 14%; transform: translateX(-85%) rotate(-18deg); }
  30%  { top: 30%; transform: translateX(-15%) rotate(18deg); }
  45%  { top: 46%; transform: translateX(-85%) rotate(-18deg); }
  60%  { top: 62%; transform: translateX(-15%) rotate(18deg); }
  75%  { top: 76%; transform: translateX(-85%) rotate(-14deg); }
  88%  { top: 86%; transform: translateX(-50%) rotate(0deg); opacity: 1; }
  93%  { top: 90%; opacity: 0; }
  94%  { top: 0%;  transform: translateX(-50%) rotate(0deg); opacity: 0; }
  100% { top: 0%;  transform: translateX(-50%) rotate(0deg); opacity: 1; }
}

.plug-loader-screen {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  animation: plug-screen-pulse 1.8s ease-in-out infinite;
}
.plug-loader-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes plug-screen-pulse {
  0%, 82% { box-shadow: 0 0 0 rgba(124,58,237,0); }
  90% { box-shadow: 0 0 26px 7px rgba(124,58,237,.75); }
  100% { box-shadow: 0 0 0 rgba(124,58,237,0); }
}

.plug-loader-text {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(8,10,16,0.82);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay:not([hidden]) { display: flex; }

.modal-dialog {
  width: 100%;
  max-width: 420px;
  animation: modal-pop .25s ease;
}

@keyframes modal-pop {
  0% { opacity: 0; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}

.checkout-success {
  text-align: center;
  padding: 48px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.checkout-success i { font-size: 52px; color: var(--accent); margin-bottom: 16px; }
.checkout-success h2 { margin: 0 0 10px; }
.checkout-success p { color: var(--text-dim); margin: 0 0 22px; }
.checkout-success .btn { display: inline-flex; }

/* Testimonials */
.testimonials { padding: 64px 0; text-align: center; }
.testimonials h2 { font-size: 28px; margin-bottom: 8px; }

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 32px auto 0;
}

.testimonial-viewport { flex: 1; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .4s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

.testimonial-quote-icon {
  color: var(--accent);
  font-size: 22px;
  opacity: .5;
  margin-bottom: 12px;
  display: block;
}

.testimonial-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  color: #06210f;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author div { text-align: left; }
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { color: var(--text-dim); font-size: 12px; }

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}

.testimonial-arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.08); }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.testimonial-dot.active { background: var(--accent); transform: scale(1.3); }

/* FAQ */
.faq { padding: 64px 0; }
.faq h2 { text-align: center; font-size: 28px; margin-bottom: 30px; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--accent-blue); }
.faq-q i { transition: transform .2s ease; color: var(--accent); }
.faq-item.open .faq-q i { transform: rotate(45deg); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.faq-a {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 10px;
  display: none;
  line-height: 1.6;
}

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

/* CTA final */
.cta-final {
  text-align: center;
  padding: 64px 0;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.12), transparent 70%);
}

.cta-final h2 { font-size: 26px; margin-bottom: 22px; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--card-border); padding: 48px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-bottom: 32px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin: 0 0 4px; font-size: 14px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-dim); font-size: 13px; }

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 16px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #16d97a);
  color: #06210f;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 60;
  transition: transform .2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  opacity: .55;
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(.85); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.alert-success { background: rgba(34,197,94,0.15); color: var(--accent); }
.alert-error { background: rgba(239,68,68,0.15); color: #ef4444; }

/* Auth pages (cliente) */
.auth-shell {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 400px;
}

.auth-card h1 { font-size: 22px; margin: 0 0 6px; text-align: center; }
.auth-card .auth-sub { color: var(--text-dim); font-size: 13px; text-align: center; margin: 0 0 22px; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--text-dim); }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.form-row select { cursor: pointer; }

.auth-footer-link { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.auth-footer-link a { color: var(--accent); font-weight: 700; }

.account-menu { position: relative; }

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  min-width: 180px;
  padding: 8px;
  display: none;
  z-index: 60;
}

.account-dropdown.open { display: block; }

.account-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.account-dropdown a i { color: var(--accent); width: 14px; text-align: center; }
.account-dropdown a:hover { background: var(--bg); }
.account-dropdown .account-email { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 11px; padding: 6px 10px 2px; }

.orders-list { display: flex; flex-direction: column; gap: 12px; }

.order-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 18px;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-active { background: rgba(34,197,94,0.15); color: var(--accent); }
.badge-inactive { background: rgba(239,68,68,0.15); color: #ef4444; }

.order-card-date { color: var(--text-dim); font-size: 12px; }
.order-card-total { font-weight: 800; color: var(--accent); }
.order-card-items { color: var(--text-dim); font-size: 13px; line-height: 1.6; }

/* Support center */
.support-hero {
  padding: 56px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

.support-hero h1 { font-size: 34px; margin-bottom: 10px; }
.support-hero p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }

.support-section { padding: 40px 0 72px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 12px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.platform-card { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.platform-card:hover { border-color: var(--accent-blue); transform: translateY(-3px); }
.platform-card.active { border-color: var(--accent); background: rgba(34,197,94,0.08); }

.platform-card .product-icon { width: 40px; height: 40px; font-size: 15px; }

.support-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.support-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.support-panel-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-panel-title h2 { font-size: 19px; margin: 0; }
.support-panel-title .product-icon { width: 40px; height: 40px; font-size: 15px; }

.support-escalate {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.support-escalate p { margin: 0; color: var(--text-dim); font-weight: 600; }

/* Software dev teaser */
.software-dev {
  padding: 48px 0;
  border-bottom: 1px solid var(--card-border);
}

.software-dev-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.software-dev-inner h2 { font-size: 22px; margin: 0 0 8px; }
.software-dev-inner p { color: var(--text-dim); margin: 0; max-width: 480px; }

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 70;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: var(--bg-alt);
  border-left: 1px solid var(--card-border);
  z-index: 80;
  transition: right .25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--card-border);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty { color: var(--text-dim); font-size: 14px; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
}

.cart-item-name { font-weight: 700; font-size: 14px; }
.cart-item-price { color: var(--text-dim); font-size: 13px; }

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-stepper button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

.qty-stepper span { font-size: 13px; font-weight: 700; min-width: 14px; text-align: center; }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
}
.cart-item-remove:hover { color: #ef4444; }

.cart-footer {
  border-top: 1px solid var(--card-border);
  padding: 18px 20px;
}

.duration-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.duration-chip {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duration-chip small {
  color: var(--accent);
  font-weight: 700;
  font-size: 10px;
}

.duration-chip.active {
  background: var(--accent);
  color: #06210f;
  border-color: var(--accent);
}
.duration-chip.active small { color: #06210f; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
}

.savings-row { color: var(--accent); font-size: 13px; margin-bottom: 8px; }

/* Responsive */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 30px; }

  .container { padding: 0 16px; }
  .currency-pill { display: none; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 34px; height: 34px; font-size: 13px; }
  .logo-text { font-size: 17px; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-illustration { max-width: 280px; margin-top: 12px; }
  .hero-screen { width: 150px; height: 150px; }
  .hero-screen i { font-size: 36px; }
  .hero-float-icon { width: 42px; height: 42px; font-size: 13px; }

  .marquee-group span { font-size: 16px; }

  .software-dev-inner { flex-direction: column; text-align: center; }
  .support-escalate { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .hero-illustration { max-width: 220px; }
  .fi-heart, .fi-cast { display: none; }
  .duration-selector { grid-template-columns: repeat(2, 1fr); }
}
