/* ── HexWare Homepage v2 ── */

:root {
  --cyan: #00D4FF;
  --cyan-bright: #66E8FF;
  --cyan-deep: #0099CC;
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --cyan-soft: rgba(0, 212, 255, 0.08);
  --font-display: 'Space Grotesk', 'Geist', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ── Hero ── */
.hex-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hex-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hex-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hex-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(9,9,11,0.95) 0%, rgba(9,9,11,0.7) 50%, rgba(9,9,11,0.5) 100%),
    radial-gradient(ellipse 70% 55% at 75% 35%, var(--cyan-glow) 0%, transparent 65%);
}

.hex-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,212,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,212,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 65% 75% at 25% 45%, #000 15%, transparent 75%);
  pointer-events: none;
}

.hex-hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  opacity: 0.4;
}

.hex-hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  width: 100%;
}

/* Entrance animations */
.hex-anim-in {
  opacity: 0;
  transform: translateY(28px);
  animation: hex-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes hex-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.hex-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(0,212,255,0.25);
  background: rgba(0,0,0,0.45);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 2rem;
}

.hex-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan);
  animation: hex-pulse 2s infinite;
  flex-shrink: 0;
}

/* Reusable section label */
.hex-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.hex-label-center { text-align: center; }

@keyframes hex-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hex-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin-bottom: 1.75rem;
}

.hex-title-line { display: block; }

.hex-hero-title .highlight {
  display: block;
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 50%, var(--cyan-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hex-title-glow {
  animation: hex-text-shimmer 4s ease-in-out infinite;
}

@keyframes hex-text-shimmer {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0,212,255,0.3)); }
  50% { filter: drop-shadow(0 0 36px rgba(0,212,255,0.55)); }
}

.hex-hero-sub {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  color: rgb(var(--muted-foreground));
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hex-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 3rem;
}

/* Glow CTA */
.hex-btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 2rem;
  height: 56px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 50%, #2dd4bf 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1;
}

.hex-btn-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  filter: blur(14px);
  opacity: 0.55;
  z-index: -1;
  transition: opacity 0.2s ease;
}

.hex-btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--cyan-glow);
}

.hex-btn-glow:hover::before { opacity: 0.8; }

.hex-btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: rgb(var(--foreground));
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.hex-btn-discord:hover {
  border-color: rgba(88, 101, 242, 0.5);
  background: rgba(88, 101, 242, 0.12);
  transform: translateY(-2px);
}

.hex-btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 1rem;
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  transition: all 0.2s ease;
}

.hex-btn-ghost-sm:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
}

/* Stats pills */
.hex-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hex-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  flex: 1;
  min-width: 150px;
  cursor: default;
}

.hex-stat-pill:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 20px rgba(0,212,255,0.06);
}

.hex-stat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--cyan-soft);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hex-stat-pill:hover .hex-stat-icon {
  transform: scale(1.12);
  border-color: rgba(0,212,255,0.35);
}

.hex-stat-icon svg { width: 18px; height: 18px; }

.hex-icon-bounce svg { animation: hex-icon-bob 2.5s ease-in-out infinite; }
.hex-icon-pulse { animation: hex-icon-glow 2s ease-in-out infinite; }

@keyframes hex-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes hex-icon-glow {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50% { box-shadow: 0 0 12px var(--cyan-glow); }
}

.hex-stat-pill strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hex-stat-pill span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
}

/* Ticker contido e centralizado */
.hex-ticker-shell-wrap {
  padding: 1.25rem 0 2rem;
  display: flex;
  justify-content: center;
}

.hex-ticker-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.15);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.hex-ticker-viewport {
  overflow: hidden;
  padding: 11px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.hex-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  padding-left: 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.hex-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: rgb(var(--foreground));
}

.hex-ticker-item svg { width: 14px; height: 14px; color: var(--cyan); }
.hex-ticker-viewport:hover .hex-ticker-track { animation-play-state: paused; }

.hex-ticker-sep { color: rgba(0,212,255,0.35); font-size: 11px; }

/* Compare */
.hex-compare-section { padding: 5rem 0 6rem; }
.hex-compare-header { text-align: center; margin-bottom: 2.5rem; }

.hex-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.hex-section-eyebrow-center {
  text-align: center;
}

.hex-compare-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hex-compare-desc {
  font-size: 14px;
  color: rgb(var(--muted-foreground));
  max-width: 500px;
  margin: 0 auto;
}

.hex-compare-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,212,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  aspect-ratio: 16/9;
  user-select: none;
  cursor: col-resize;
  touch-action: none;
}

.hex-compare-slider > .hex-compare-label {
  position: absolute;
  top: 14px;
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.hex-compare-slider > .hex-compare-label.before {
  left: 14px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f87171;
}

.hex-compare-slider > .hex-compare-label.after {
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan-bright);
}

.hex-compare-before, .hex-compare-after { position: absolute; inset: 0; z-index: 1; }
.hex-compare-before img, .hex-compare-after img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hex-compare-placeholder.before { width:100%; height:100%; background: linear-gradient(135deg,#1a1a1a,#0a0a0a); }
.hex-compare-placeholder.after { width:100%; height:100%; background: linear-gradient(135deg,#003344,#0a0a0a); }

.hex-compare-after { width: 50%; overflow: hidden; border-right: 2px solid var(--cyan); z-index: 2; }
.hex-compare-after img { width: 900px; max-width: none; height: 100%; }

.hex-compare-label {
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.hex-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  width: 3px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
  pointer-events: none;
}

.hex-compare-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid rgb(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  pointer-events: none;
}

.hex-compare-handle-btn svg { width: 18px; height: 18px; }
.hex-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: col-resize; z-index: 20; margin: 0; }

.hex-compare-placeholder.hidden { display: none; }
#compare-before-img.hidden,
#compare-after-img.hidden { display: none; }

/* Game picker */
.hex-compare-games {
  margin-top: 1.5rem;
  text-align: center;
}

.hex-compare-games-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
  margin-bottom: 0.85rem;
}

.hex-game-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hex-game-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  color: rgb(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hex-game-tab:hover {
  border-color: rgba(0,212,255,0.25);
  color: rgb(var(--foreground));
}

.hex-game-tab.active {
  border-color: rgba(0,212,255,0.45);
  background: rgba(0,212,255,0.1);
  color: var(--cyan-bright);
  box-shadow: 0 0 16px rgba(0,212,255,0.12);
}

.hex-game-tab-logo {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.2s ease;
}

.hex-game-tab-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hex-game-tab.active .hex-game-tab-logo {
  border-color: rgba(0,212,255,0.45);
  box-shadow: 0 0 12px rgba(0,212,255,0.2);
}

.hex-game-tab-short {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,212,255,0.12);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hex-game-tab.active .hex-game-tab-short {
  background: rgba(0,212,255,0.22);
  color: var(--cyan);
}

.hex-game-tab-label {
  font-size: 12px;
}

@media (max-width: 480px) {
  .hex-game-tab-label { display: none; }
  .hex-game-tab { padding: 8px 12px; }
}

/* Steps */
.hex-steps-section { padding: 5rem 0 6rem; }
.hex-steps-header { text-align: center; margin-bottom: 2.5rem; }

.hex-steps-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hex-steps-sub { font-size: 14px; color: rgb(var(--muted-foreground)); }

.hex-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hex-steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.hex-step-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.12);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.hex-step-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-3px); }

.hex-step-num {
  position: absolute; top: -6px; right: 10px;
  font-family: var(--font-display);
  font-size: 4.5rem; font-weight: 900;
  color: rgba(0,212,255,0.05);
  line-height: 1; pointer-events: none;
}

.hex-step-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--cyan-soft);
  border: 1px solid rgba(0,212,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 0.85rem;
}

.hex-step-icon svg { width: 18px; height: 18px; }
.hex-step-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.hex-step-card p { font-size: 12px; color: rgb(var(--muted-foreground)); line-height: 1.55; margin: 0; }

/* Categories */
.hex-categories-section { padding: 2rem 0 4rem; }

.hex-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) { .hex-categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .hex-categories-grid { grid-template-columns: repeat(6, 1fr); } }

.hex-category-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s, border-color 0.25s;
}

.hex-category-card:hover { transform: scale(1.03); border-color: rgba(0,212,255,0.35); }

.hex-category-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}

.hex-category-card:hover img { transform: scale(1.08); }

.hex-category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}

.hex-category-card span {
  position: absolute; bottom: 12px; left: 0; right: 0;
  text-align: center; font-size: 12px; font-weight: 700;
  z-index: 2; padding: 0 8px;
}

/* Store / categories */
.hex-store-section { padding: 3rem 0 5rem; }

.hex-category-block + .hex-category-block { margin-top: 0; }

.hex-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: rgb(var(--foreground));
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  background: linear-gradient(90deg, rgba(0,212,255,0.55), rgba(0,212,255,0.08) 55%, transparent 100%) left bottom / 100% 2px no-repeat;
}

/* Featured */
.hex-featured-section { padding: 2rem 0 4rem; }

.hex-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.hex-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(90deg, rgb(var(--foreground)) 0%, rgba(0,212,255,0.85) 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hex-section-sub {
  font-size: 15px;
  color: rgb(var(--muted-foreground));
  margin-top: 4px;
  max-width: 520px;
  line-height: 1.6;
}

/* Reviews carousel */
.hex-reviews-section { padding: 2rem 0 5rem; }

.hex-reviews-nav {
  display: flex;
  gap: 8px;
}

.hex-reviews-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0,212,255,0.2);
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all 0.2s ease;
}

.hex-reviews-arrow:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
}

.hex-reviews-arrow svg { width: 18px; height: 18px; }

.hex-reviews-viewport {
  overflow: hidden;
  margin: 0 -4px;
}

.hex-reviews-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 4px;
}

.hex-review-card {
  flex: 0 0 calc(100% - 8px);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s;
}

@media (min-width: 768px) {
  .hex-review-card { flex: 0 0 calc(33.333% - 10px); }
}

.hex-review-card:hover { border-color: rgba(0,212,255,0.25); }

.hex-review-stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }

.hex-review-text {
  font-size: 13px;
  color: rgb(var(--muted-foreground));
  line-height: 1.6;
  margin: 0 0 14px;
  font-style: italic;
  min-height: 60px;
}

.hex-review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.hex-review-meta strong { font-size: 13px; }
.hex-review-meta span { font-size: 11px; color: rgb(var(--muted-foreground)); }

.hex-review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,212,255,0.12);
  transition: all 0.2s ease;
}

.hex-review-product:hover {
  border-color: rgba(0,212,255,0.35);
  background: var(--cyan-soft);
}

.hex-review-product-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.hex-review-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hex-review-bought {
  font-size: 10px;
  color: rgb(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hex-review-product-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hex-review-ver {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  flex-shrink: 0;
}

.hex-review-ver svg { width: 14px; height: 14px; }

/* Terminal */
.hex-terminal-section { padding: 2rem 0 5rem; }

.hex-terminal {
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.15);
  background: #0c0c0e;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(0,212,255,0.08);
}

.hex-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hex-terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.hex-terminal-dot.red { background: #ff5f57; }
.hex-terminal-dot.yellow { background: #febc2e; }
.hex-terminal-dot.green { background: #28c840; }

.hex-terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgb(var(--muted-foreground));
}

.hex-terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  min-height: 100px;
}

.hex-t-prompt { color: var(--cyan); font-weight: 600; }
.hex-t-path { color: #a78bfa; }
.hex-t-cmd { color: rgb(var(--foreground)); }
.hex-t-cursor { color: var(--cyan); animation: hex-blink 1s step-end infinite; }
.hex-t-output { color: rgb(var(--muted-foreground)); margin-top: 8px; }
.hex-t-status { margin-top: 10px; font-size: 12px; }
.hex-t-ok { color: var(--cyan); }

@keyframes hex-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Package pricing */
.hex-price-block { display: flex; flex-direction: column; gap: 0; }

.hex-price-discount-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1px;
  line-height: 1.2;
}

.hex-price-old {
  font-size: 11px;
  color: rgb(var(--muted-foreground));
  text-decoration: line-through;
  letter-spacing: -0.05em;
  word-spacing: -0.1em;
}

.hex-discount-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.2);
  line-height: 1.4;
}

.hex-price-main {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 800;
  color: var(--cyan-bright);
  letter-spacing: -0.07em;
  word-spacing: -0.12em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin: 0;
}

.hex-price-plus {
  font-size: 0.75em;
  color: var(--cyan);
  margin-left: 2px;
}

.hex-pix-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}

.hex-pix-tag img { width: 13px; height: 13px; }

/* Package buy button */
.hex-buy-btn {
  position: relative;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: visible;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}

@media (min-width: 640px) { .hex-buy-btn { height: 46px; font-size: 13px; } }

.hex-buy-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: inherit;
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
}

.hex-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--cyan-glow);
}

.hex-buy-btn svg { width: 16px; height: 16px; }

/* Status strip */
.hex-status-strip {
  position: relative;
  border-top: 1px solid rgba(0,212,255,0.15);
  background: linear-gradient(180deg, rgba(0,212,255,0.05) 0%, transparent 100%);
  padding: 1.5rem 0 2rem;
  overflow: hidden;
}

.hex-status-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 48px,
    rgba(0,212,255,0.025) 48px,
    rgba(0,212,255,0.025) 49px
  );
  pointer-events: none;
}

.hex-status-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hex-status-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hex-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: hex-status-pulse 2.5s ease-in-out infinite;
}

@keyframes hex-status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hex-status-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.hex-status-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.hex-status-items span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgb(var(--muted-foreground));
  letter-spacing: 0.02em;
}

.hex-status-items svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
  opacity: 0.85;
}

/* Package card tweak */
.package.hex-card {
  border-color: rgba(0,212,255,0.08) !important;
}

.package.hex-card:hover {
  border-color: rgba(0,212,255,0.35) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 0 20px rgba(0,212,255,0.08);
}

/* Navbar */
.hex-coupon-placeholder {
  height: 0;
  transition: height 0.3s ease;
}

.hex-coupon-morph {
  width: 100%;
  background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(0,212,255,0.05), rgba(0,212,255,0.12));
  border-bottom: 1px solid rgba(0,212,255,0.18);
  z-index: 19;
  transition:
    top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease;
}

.hex-coupon-morph-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 12px;
}

.hex-coupon-morph.is-island {
  position: fixed;
  top: calc(var(--hex-nav-height, 72px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,0.35);
  border-bottom: 1px solid rgba(0,212,255,0.35);
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.55), 0 0 20px rgba(0,212,255,0.18);
  z-index: 18;
}

.hex-coupon-morph.is-island .hex-coupon-morph-inner {
  padding: 7px 16px;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 11px;
}

.hex-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.25s ease;
}

.hex-nav.hex-nav-scrolled {
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.hex-coupon-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0,212,255,0.45);
  flex-shrink: 0;
}

.hex-coupon-urgent {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.hex-coupon-text {
  color: rgb(var(--foreground));
  font-weight: 500;
  flex-shrink: 0;
}

.hex-coupon-code {
  color: var(--cyan-bright);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-left: 3px;
}

.hex-coupon-deadline {
  color: rgb(var(--muted-foreground));
  font-size: 10px;
  flex-shrink: 0;
}

.hex-coupon-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hex-coupon-copy:hover {
  background: rgba(0,212,255,0.2);
  border-color: rgba(0,212,255,0.5);
}

.hex-coupon-copy svg { width: 11px; height: 11px; }

@media (max-width: 640px) {
  .hex-coupon-morph.is-island .hex-coupon-deadline { display: none; }
  .hex-coupon-morph.is-island .hex-coupon-morph-inner { padding: 6px 12px; gap: 6px; font-size: 10px; }
  .hex-coupon-morph:not(.is-island) .hex-coupon-deadline { display: none; }
}

.hex-top-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(0,212,255,0.06), rgba(0,212,255,0.12));
  border-bottom: 1px solid rgba(0,212,255,0.15);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: rgb(var(--foreground));
  text-decoration: none;
  transition: background 0.2s ease;
}

.hex-top-announce:hover {
  background: linear-gradient(90deg, rgba(0,212,255,0.18), rgba(0,212,255,0.1), rgba(0,212,255,0.18));
}

.hex-announce-highlight {
  font-weight: 700;
  color: var(--cyan);
  padding: 0 4px;
}

.hex-nav-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.45), transparent);
}

.hex-nav-inner { padding-top: 0.85rem; padding-bottom: 0.85rem; }

.hex-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hex-nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

.hex-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.hex-nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid rgba(0,212,255,0.15);
}

.hex-nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hex-nav-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hex-nav-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hex-nav-verified svg { width: 12px; height: 12px; }

.hex-nav-search {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.hex-nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgb(var(--muted-foreground));
  pointer-events: none;
}

.hex-nav-search-input {
  width: 100%;
  height: 40px;
  padding-left: 40px !important;
  padding-right: 14px;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(255,255,255,0.04) !important;
  font-size: 13px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hex-nav-search-input:focus-visible {
  border-color: rgba(0,212,255,0.35) !important;
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1) !important;
}

.hex-nav-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 400px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgb(var(--background));
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 50;
}

.hex-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.hex-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgb(var(--foreground));
  transition: all 0.2s ease;
  cursor: pointer;
}

.hex-nav-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.hex-nav-btn svg { width: 16px; height: 16px; }

.hex-nav-btn-ghost { background: rgba(255,255,255,0.03); }

.hex-nav-btn-cart {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
}

.hex-nav-btn-cart:hover {
  box-shadow: 0 4px 16px rgba(0,212,255,0.3);
  transform: translateY(-1px);
}

.hex-nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hex-nav-icon-btn:hover {
  border-color: rgba(0,212,255,0.25);
  background: rgba(0,212,255,0.08);
}

.hex-nav-icon-btn svg { width: 16px; height: 16px; }

.hex-nav-lang { padding: 0 12px; font-family: var(--font-mono); font-size: 12px; }

.hex-nav-mobile-search {
  position: relative;
  margin-top: 10px;
}

/* Lang selector */
.lang-selector { position: relative; }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 150px;
  background: rgb(var(--background));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 50;
}

.lang-menu.hidden { display: none; }

.lang-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13px; font-weight: 500; text-align: left;
  transition: background 0.15s;
}

.lang-option:hover, .lang-option.active {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
}

.lang-option.active { font-weight: 700; }

@media (max-width: 640px) {
  .hex-stat-pill { min-width: calc(50% - 5px); flex: unset; }
  .hex-hero { min-height: 100svh; }
  .hex-status-items { gap: 0.75rem 1.25rem; }
}
