/* =========================================================
   EcomImporta — future.css
   Design system futurista: obsidiana + aurora + glass + HUD
   ========================================================= */

:root {
  /* Fundos */
  --bg:      #05060A;
  --bg-2:    #080A11;
  --panel:   rgba(255,255,255,0.035);
  --panel-2: rgba(255,255,255,0.06);
  --line:    rgba(255,255,255,0.09);
  --line-2:  rgba(255,255,255,0.16);

  /* Texto */
  --text: #EDEEF3;
  --soft: #9EA1B0;
  --mute: #636678;

  /* Acentos */
  --cyan:   #22D3EE;
  --teal:   #2DD4BF;
  --violet: #8B5CF6;
  --gold:   #F5C451;
  --gold-2: #C89231;
  --green:  #34D399;

  /* Gradientes de assinatura */
  --grad-future: linear-gradient(120deg, #22D3EE 0%, #7C9CFF 45%, #B57BFF 100%);
  --grad-gold:   linear-gradient(120deg, #F8D477 0%, #F5C451 45%, #C89231 100%);
  --grad-holo:   linear-gradient(120deg, #22D3EE, #8B5CF6 50%, #F5C451);

  --font-display: "Space Grotesk", "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1180px;
  --r:    20px;
  --r-lg: 30px;
  --r-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-cyan: 0 0 0 1px rgba(34,211,238,0.3), 0 18px 50px -12px rgba(34,211,238,0.35);
  --glow-gold: 0 0 0 1px rgba(245,196,81,0.3), 0 18px 50px -12px rgba(245,196,81,0.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; width: 100%; max-width: 100%; position: relative;
}
img, svg, video, canvas { display: block; max-width: 100%; }
* { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h1,h2,h3,h4,p,a,span,li { overflow-wrap: break-word; }

/* ---------- Fundo global: aurora + grid + ruído ---------- */
.fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.aurora.a1 { width: 60vw; height: 60vw; top: -22vw; left: -14vw; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.aurora.a2 { width: 55vw; height: 55vw; top: 8vw; right: -18vw; background: radial-gradient(circle, rgba(139,92,246,0.42), transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.aurora.a3 { width: 48vw; height: 48vw; bottom: -18vw; left: 20vw; background: radial-gradient(circle, rgba(245,196,81,0.30), transparent 65%); animation: drift3 30s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(6vw, 8vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-7vw, 5vw) scale(1.1); } }
@keyframes drift3 { to { transform: translate(5vw, -6vw) scale(1.2); } }

.grid-overlay { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
          mask: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 11vw, 148px); position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(30px, 5.4vw, 58px); margin-top: 18px; letter-spacing: -0.03em; }
.section-sub { color: var(--soft); font-size: clamp(15px, 2vw, 18px); margin-top: 20px; }

/* ---------- Eyebrow techy (mono) ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan); }
.kicker.center { justify-content: center; }
.kicker.gold { color: var(--gold); } .kicker.gold::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- Texto com gradiente ---------- */
.g-future { background: var(--grad-future); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-gold   { background: var(--grad-gold);   -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-holo   { background: var(--grad-holo); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo 6s linear infinite; }
@keyframes holo { to { background-position: 200% center; } }
.outline { color: transparent; -webkit-text-stroke: 1.3px rgba(255,255,255,0.24); }

/* ---------- Glass card (borda de gradiente) ---------- */
.glass { position: relative; background: var(--panel); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-radius: var(--r); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.28), rgba(255,255,255,0.02) 42%, rgba(34,211,238,0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glass.hover { transition: transform .3s var(--ease); }
.glass.hover:hover { transform: translateY(-4px); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 999px;
  position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #04121A; background: var(--grad-future); box-shadow: var(--glow-cyan); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(34,211,238,0.5), 0 22px 60px -12px rgba(34,211,238,0.55); }
.btn-gold { color: #180F02; background: var(--grad-gold); box-shadow: var(--glow-gold); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
/* brilho que passa */
.btn-primary::after, .btn-gold::after { content: ""; position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 200% 0; opacity: .0; transition: opacity .3s; }
.btn-primary:hover::after, .btn-gold:hover::after { opacity: .6; animation: shine 1s var(--ease); }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -60% 0; } }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--soft); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.chip.on   { color: #7DEBC0; border-color: rgba(52,211,153,0.35); } .chip.on .dot   { background: var(--green); box-shadow: 0 0 8px var(--green); }
.chip.gold { color: var(--gold); border-color: rgba(245,196,81,0.35); } .chip.gold .dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.chip.cyan { color: var(--cyan); border-color: rgba(34,211,238,0.35); } .chip.cyan .dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
html:not(.gsap-ready) .reveal { opacity: 1; transform: none; }

/* ---------- Utils ---------- */
.mono { font-family: var(--font-mono); }
.text-soft { color: var(--soft); }

@media (max-width: 600px) { .btn { width: 100%; } }
