/* ═══════════════════════════════════════════════════════════
   HEAGLER V3 — AURORA FUTURISTA
   Estética: glassmorphism fluido, gradientes holográficos,
   formas orgânicas, movimento aquático
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #05060F;
  --bg2: #0A0C1C;
  --bg3: #0F1228;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.05);
  --glass: rgba(20,30,60,0.4);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(140,200,255,0.3);

  --text: #F5F8FF;
  --muted: #8B9BB8;
  --muted2: #5B6A85;

  --aurora-1: #6B8AFF;   /* azul lavanda */
  --aurora-2: #7DD3FC;   /* azul claro */
  --aurora-3: #00E5FF;   /* ciano */
  --aurora-4: #A78BFA;   /* roxo suave */
  --aurora-5: #FF6B9D;   /* rosa */

  --brand: #3AA8FF;
  --brand-2: #6B8AFF;

  --grad-primary: linear-gradient(135deg, #7DD3FC 0%, #6B8AFF 50%, #A78BFA 100%);
  --grad-holo: conic-gradient(from 180deg at 50% 50%, #6B8AFF, #7DD3FC, #00E5FF, #A78BFA, #FF6B9D, #6B8AFF);

  --shadow-glass: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  --shadow-float: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(107,138,255,0.12);
  --glow: 0 0 40px rgba(125,211,252,0.25);
}

[data-theme="light"] {
  --bg: #F4F6FE;
  --bg2: #EBEFFB;
  --bg3: #FFFFFF;
  --surface: rgba(255,255,255,0.6);
  --surface-hover: rgba(255,255,255,0.85);
  --glass: rgba(255,255,255,0.65);
  --border: rgba(80,110,180,0.15);
  --border-hover: rgba(80,110,180,0.35);

  --text: #0A1028;
  --muted: #4A5A7A;
  --muted2: #7A8AAB;

  --aurora-1: #4A6DE5;
  --aurora-2: #2A9DCC;
  --aurora-3: #00A5D5;
  --aurora-4: #7155D5;
  --aurora-5: #D53F74;

  --brand: #1488DC;
  --brand-2: #4A6DE5;

  --grad-primary: linear-gradient(135deg, #2A9DCC 0%, #4A6DE5 50%, #7155D5 100%);
  --grad-holo: conic-gradient(from 180deg at 50% 50%, #4A6DE5, #2A9DCC, #00A5D5, #7155D5, #D53F74, #4A6DE5);

  --shadow-glass: 0 4px 24px rgba(50,70,140,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-float: 0 20px 60px rgba(50,70,140,0.15);
  --glow: 0 0 30px rgba(42,157,204,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.5s, color 0.5s;
  position: relative;
}

/* ─── AURORA BACKGROUND ─── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  will-change: transform;
}
.aurora-blob:nth-child(1) {
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  top: -200px; left: -100px;
  animation: blob-drift-1 24s ease-in-out infinite;
}
.aurora-blob:nth-child(2) {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--aurora-4), transparent 70%);
  bottom: -100px; right: -100px;
  animation: blob-drift-2 30s ease-in-out infinite;
}
.aurora-blob:nth-child(3) {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--aurora-2), transparent 70%);
  top: 40%; left: 40%;
  animation: blob-drift-3 20s ease-in-out infinite;
  opacity: 0.25;
}

[data-theme="light"] .aurora-blob { opacity: 0.3; }

@keyframes blob-drift-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(100px, 80px) scale(1.1); }
  66% { transform: translate(-50px, 120px) scale(0.9); }
}
@keyframes blob-drift-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-120px, -100px) scale(1.15); }
}
@keyframes blob-drift-3 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-80px, 60px) scale(0.9); }
  66% { transform: translate(100px, -80px) scale(1.1); }
}

/* subtle grain */
body::before {
  content:'';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
}
[data-theme="light"] body::before { opacity: 0.3; }

/* ─── NAVBAR — GLASS PILL ─── */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 24px;
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  max-width: calc(100vw - 40px);
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 28px; filter: drop-shadow(0 0 10px rgba(125,211,252,0.4)); }
[data-theme="light"] .nav-logo img { filter: drop-shadow(0 0 6px rgba(42,157,204,0.25)); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 0 12px;
  border-left: 1px solid var(--border);
  margin-left: 8px;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface-hover);
}
.nav-links a.active { color: var(--brand); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ↓'; opacity: 0.5; font-size: 10px; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--surface-hover); color: var(--text); }
.nav-dropdown-menu a span.icon { font-size: 16px; }

/* theme toggle button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover { background: var(--surface-hover); border-color: var(--border-hover); box-shadow: var(--glow); }
.theme-icon {
  position: absolute;
  font-size: 14px;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
}
[data-theme="dark"] .theme-icon-sun { transform: translateY(40px); opacity: 0; }
[data-theme="dark"] .theme-icon-moon { transform: translateY(0); opacity: 1; }
[data-theme="light"] .theme-icon-sun { transform: translateY(0); opacity: 1; }
[data-theme="light"] .theme-icon-moon { transform: translateY(-40px); opacity: 0; }

.nav-cta {
  background: var(--grad-primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(107,138,255,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(107,138,255,0.5); }

/* mobile menu btn */
.nav-menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
}

/* ─── MAIN WRAPPER ─── */
main, .main {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.23,1,0.32,1) forwards;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aurora-3);
  box-shadow: 0 0 10px var(--aurora-3);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.23,1,0.32,1) 0.1s forwards;
  max-width: 1100px;
}

.hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.23,1,0.32,1) 0.25s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.23,1,0.32,1) 0.4s forwards;
}

/* floating orb visuals around hero */
.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orbit-item {
  position: absolute;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-glass);
  opacity: 0;
  animation: orbit-in 1.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.hero-orbit-item:nth-child(1) { width: 64px; height: 64px; top: 18%; left: 12%; animation-delay: 0.6s; }
.hero-orbit-item:nth-child(2) { width: 52px; height: 52px; top: 28%; right: 14%; animation-delay: 0.7s; }
.hero-orbit-item:nth-child(3) { width: 72px; height: 72px; bottom: 22%; left: 10%; animation-delay: 0.8s; }
.hero-orbit-item:nth-child(4) { width: 56px; height: 56px; bottom: 28%; right: 12%; animation-delay: 0.9s; }
.hero-orbit-item:nth-child(5) { width: 48px; height: 48px; top: 42%; left: 6%; animation-delay: 1s; }
.hero-orbit-item:nth-child(6) { width: 60px; height: 60px; top: 48%; right: 6%; animation-delay: 1.1s; }

@keyframes orbit-in {
  0% { opacity: 0; transform: scale(0.3) rotate(-20deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.hero-orbit-item {
  animation: orbit-in 1.2s cubic-bezier(0.23,1,0.32,1) forwards, float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-orbit-item:nth-child(1) { animation-delay: 0.6s, 0s; }
.hero-orbit-item:nth-child(2) { animation-delay: 0.7s, 1s; }
.hero-orbit-item:nth-child(3) { animation-delay: 0.8s, 2s; }
.hero-orbit-item:nth-child(4) { animation-delay: 0.9s, 3s; }
.hero-orbit-item:nth-child(5) { animation-delay: 1s, 1.5s; }
.hero-orbit-item:nth-child(6) { animation-delay: 1.1s, 2.5s; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #fff;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 30px rgba(107,138,255,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(107,138,255,0.4), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  color: var(--text);
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateY(-2px); }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 2; }

.section { padding: 100px 32px; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
}

.section-head.left { text-align: left; margin: 0 0 56px; max-width: 720px; }
.section-head.left .section-desc { margin: 0; }

/* ─── COMPANIES BENTO ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.bento-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  cursor: pointer;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: var(--grad-holo);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.bento-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  top: -80px; right: -80px;
  filter: blur(50px);
  opacity: 0.25;
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
  box-shadow: var(--shadow-float);
}
.bento-card:hover::before { opacity: 0.6; }
.bento-card:hover::after { opacity: 0.45; transform: scale(1.3); }

/* bento sizing */
.bento-lg { grid-column: span 6; min-height: 320px; }
.bento-md { grid-column: span 4; }
.bento-sm { grid-column: span 3; }
.bento-wide { grid-column: span 8; }
.bento-full { grid-column: span 12; }

.bento-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.bento-card:hover .bento-icon-wrap { transform: rotate(-6deg) scale(1.05); }

.bento-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0.1;
  transition: opacity 0.3s;
}
.bento-card:hover .bento-icon-wrap::before { opacity: 0.2; }

.bento-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.bento-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.bento-lg .bento-title { font-size: 32px; }

.bento-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 28px;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: gap 0.3s;
}
.bento-link-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.3s;
}
.bento-card:hover .bento-link { gap: 14px; }
.bento-card:hover .bento-link-arrow { background: var(--grad-primary); border-color: transparent; color: #fff; }

/* featured shop card */
.bento-card.featured {
  background: linear-gradient(135deg, rgba(107,138,255,0.12), rgba(125,211,252,0.06), rgba(167,139,250,0.1));
  border-color: rgba(140,180,255,0.22);
}
[data-theme="light"] .bento-card.featured {
  background: linear-gradient(135deg, rgba(74,109,229,0.08), rgba(42,157,204,0.05), rgba(113,85,213,0.08));
}

/* ─── STATS ─── */
.stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.stat-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── FEATURE ROW ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
}
.feature-row.flip > div:first-child { order: 2; }

.feature-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-float);
}
.feature-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.6s;
}
.feature-visual:hover img { opacity: 1; transform: scale(1.04); }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--grad-primary);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--aurora-2), transparent 70%);
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-hover); background: var(--surface-hover); }
.service-card:hover::before { opacity: 0.3; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pricing-card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 36px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
}
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(107,138,255,0.15), rgba(125,211,252,0.06));
  border-color: rgba(140,180,255,0.3);
  box-shadow: var(--shadow-float);
}
[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(145deg, rgba(74,109,229,0.1), rgba(42,157,204,0.04));
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.pricing-card.featured::before { opacity: 0.35; }

.pricing-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.pricing-plan {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-price sup { font-size: 22px; color: var(--muted); }
.pricing-price span { font-size: 16px; color: var(--muted); font-style: normal; font-family: 'Space Grotesk', sans-serif; font-weight: 400; }

.pricing-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.55; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.pricing-features li.ok { color: var(--text); }
.pricing-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--grad-primary);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.pricing-features li.no::before {
  background: var(--muted2);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 13H5v-2h14v2z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pricing-features li.no { opacity: 0.55; }

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-float); }
.product-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.5s;
}
.product-card:hover .product-img img { opacity: 1; transform: scale(1.05); }

.product-body { padding: 28px; }

.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.product-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.spec-tag {
  font-size: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--muted);
}

/* ─── PROCESS STEPS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}
.process-step { text-align: center; position: relative; }
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  margin: 0 auto 18px;
  background-image: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.process-step:hover .step-circle { transform: scale(1.08); border-color: var(--border-hover); box-shadow: var(--glow); }
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ─── TESTIMONIAL ─── */
.testimonial {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: 'Instrument Serif', serif;
  font-size: 100px;
  color: var(--brand);
  opacity: 0.12;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
  pointer-events: none;
}
.testimonial:hover { border-color: var(--border-hover); }
.testimonial-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.t-role { font-size: 12px; color: var(--muted); }

/* ─── RESULT BARS ─── */
.result-bar {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}
.result-bar:hover { border-color: var(--border-hover); }
.result-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}
.result-label span:last-child {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 16px;
}
.result-track { height: 4px; background: var(--surface); border-radius: 10px; overflow: hidden; }
.result-fill { height: 100%; background: var(--grad-primary); border-radius: 10px; transition: width 1.5s cubic-bezier(0.23,1,0.32,1); }

/* ─── GALLERY ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: all 0.4s;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: all 0.5s; }
.gallery-item:hover { border-color: var(--border-hover); transform: scale(1.02); }
.gallery-item:hover img { opacity: 1; transform: scale(1.08); }

/* ─── TECH TAGS ─── */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-tag {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s;
}
.tech-tag:hover { border-color: var(--border-hover); color: var(--text); transform: translateY(-2px); }

/* ─── CTA ─── */
.cta-block {
  position: relative;
  background: linear-gradient(135deg, rgba(107,138,255,0.15), rgba(125,211,252,0.06), rgba(167,139,250,0.1));
  backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
[data-theme="light"] .cta-block {
  background: linear-gradient(135deg, rgba(74,109,229,0.08), rgba(42,157,204,0.05), rgba(113,85,213,0.08));
}
.cta-block::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  filter: blur(80px);
  top: -150px; left: -100px;
  opacity: 0.4;
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aurora-4), transparent 70%);
  filter: blur(80px);
  bottom: -100px; right: -100px;
  opacity: 0.35;
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}
.cta-block h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-block p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── PAGE HERO (subpáginas) ─── */
.page-hero {
  position: relative;
  padding: 180px 32px 80px;
  text-align: center;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 7px 18px;
  border-radius: 100px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span.divider { color: var(--muted2); }

.page-hero-title {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* ─── DELFINE HIGHLIGHT ─── */
.delfine-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 80px;
  position: relative;
  overflow: hidden;
}
.delfine-showcase::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--aurora-1), transparent 60%);
  filter: blur(80px);
  top: -200px; right: -200px;
  opacity: 0.3;
  pointer-events: none;
}

.delfine-feat-grid { display: flex; flex-direction: column; gap: 14px; }
.delfine-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.3s;
}
.delfine-feat:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateX(4px); }
.delfine-feat-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.delfine-feat h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.delfine-feat p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── MOCKUP ─── */
.mockup-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  aspect-ratio: 16/10;
}
.mockup-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ─── FORM ─── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: var(--surface-hover);
  box-shadow: 0 0 0 4px rgba(58,168,255,0.12);
}
.form-group select option { background: var(--bg2); color: var(--text); }
.form-group textarea { resize: none; min-height: 130px; }

/* ─── INTEGRATIONS ─── */
.int-tag {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.3s;
}
.int-tag:hover { color: var(--text); border-color: var(--border-hover); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 2;
  padding: 80px 32px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(125,211,252,0.3));
  margin-bottom: 18px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a { color: var(--brand); text-decoration: none; }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.23,1,0.32,1), transform 0.9s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  nav { padding: 8px 8px 8px 18px; top: 12px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-lg, .bento-md, .bento-sm, .bento-wide { grid-column: span 1; }
  .bento-full { grid-column: span 2; }

  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 50px 0; }
  .feature-row.flip > div:first-child { order: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .delfine-showcase { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 60px 24px; }
  .page-hero { padding: 140px 24px 60px; }
  .cta-block { padding: 48px 28px; border-radius: 28px; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-full { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-wrap { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 44px; }
}

/* mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,6,15,0.85);
  backdrop-filter: blur(30px);
  padding: 90px 32px 32px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-menu a:hover { background: var(--surface-hover); }
.mobile-menu a span.icon { font-size: 20px; }
[data-theme="light"] .mobile-menu { background: rgba(244,246,254,0.92); }
