/* ─────────────────────────────────────────────
   VIP Soft — Premium Software Solutions
   Paleta extraída del logo (oro + navy)
───────────────────────────────────────────── */

@font-face { font-family: "Outfit"; font-weight: 300; font-style: normal; src: url("../fonts/Outfit-Light.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; src: url("../fonts/Outfit-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; src: url("../fonts/Outfit-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; src: url("../fonts/Outfit-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Outfit"; font-weight: 700; font-style: normal; src: url("../fonts/Outfit-Bold.ttf") format("truetype"); font-display: swap; }

:root {
  /* Brand */
  --gold-100: #f7e9c4;
  --gold-200: #ecd193;
  --gold-300: #e0b96b;
  --gold-400: #d4a857;   /* primary */
  --gold-500: #b88a3a;
  --gold-600: #8c6520;

  --navy-50:  #e6ecf8;
  --navy-200: #6b82c4;
  --navy-300: #3b58a7;
  --navy-400: #2845a0;
  --navy-500: #1e3a8a;   /* deep brand blue */
  --navy-700: #142659;
  --navy-900: #0a1130;

  /* Surfaces */
  --bg:         #06091a;
  --bg-2:       #090d24;
  --surface:    #0d122c;
  --surface-2:  #131938;
  --line:       rgba(212,168,87,0.14);
  --line-soft:  rgba(255,255,255,0.06);
  --line-strong:rgba(212,168,87,0.30);

  /* Text */
  --text:        #f3eedd;
  --text-soft:   rgba(243,238,221,0.72);
  --text-muted:  rgba(243,238,221,0.50);
  --text-faint:  rgba(243,238,221,0.30);

  /* Cyber accents (glows / three.js) */
  --cyan:    #38d9ff;
  --magenta: #c83bff;
  --electric:#3b6bff;

  /* Effects */
  --gold-grad: linear-gradient(135deg, #f7e9c4 0%, #e8c373 28%, #d4a857 55%, #b88a3a 85%);
  --gold-grad-text: linear-gradient(120deg, #f7e9c4 0%, #ecd193 40%, #d4a857 60%, #b88a3a 100%);
  --halo: radial-gradient(60% 60% at 50% 0%, rgba(212,168,87,0.18), transparent 70%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --easing: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(212,168,87,0.35); color: var(--text); }

/* ─── Background atmosphere ─── */
.bg-stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 85% -10%, rgba(212,168,87,0.10), transparent 60%),
    radial-gradient(50% 50% at 8% 10%, rgba(56,217,255,0.10), transparent 60%),
    radial-gradient(60% 60% at 95% 70%, rgba(200,59,255,0.08), transparent 60%),
    radial-gradient(60% 80% at 50% 110%, rgba(59,107,255,0.10), transparent 60%),
    linear-gradient(180deg, #04061a 0%, #06091a 30%, #06091a 70%, #04061a 100%);
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,168,87,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,87,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  opacity: 0.55;
}

.app { position: relative; z-index: 1; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ─── NAV ─── */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,9,26,0.65);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(150deg, #0c1230 0%, #1a2456 60%, #0c1230 100%);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--gold-400); font-weight: 500; margin-top: -2px; }
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.86rem; padding: 8px 14px; color: var(--text-soft);
  border-radius: 999px; transition: color .2s var(--easing), background .2s var(--easing);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  border: 1px solid transparent; transition: all .25s var(--easing); cursor: pointer; white-space: nowrap;
}
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-soft); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line); }
.btn-gold {
  color: #1a1306;
  background: var(--gold-grad);
  border: 1px solid rgba(247,233,196,0.7);
  box-shadow: 0 10px 28px -8px rgba(212,168,87,0.55), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-outline-gold {
  background: transparent; border: 1px solid var(--gold-400); color: var(--gold-200);
}
.btn-outline-gold:hover { background: rgba(212,168,87,0.10); color: var(--gold-100); }
.btn-lg { padding: 14px 26px; font-size: 0.95rem; }

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 90px 0 110px;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-three { position: absolute; inset: 0; z-index: 0; }
.hero-three canvas { display: block; width: 100%; height: 100%; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 50%, transparent 0%, rgba(6,9,26,0.55) 70%, var(--bg) 100%),
    linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(212,168,87,0.08);
  border: 1px solid var(--line-strong);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-200);
  font-weight: 500;
}
.eyebrow-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 0 4px rgba(212,168,87,0.15), 0 0 18px rgba(212,168,87,0.6);
}
.hero h1 {
  margin: 28px 0 22px;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 .accent {
  display: block;
  font-weight: 500;
  background: var(--gold-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 22px rgba(212,168,87,0.18));
}
.hero p.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-soft); max-width: 640px; margin: 0 auto 38px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px; margin-top: 88px; padding-top: 36px;
  border-top: 1px solid var(--line-soft);
}
.trust-num { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; color: var(--gold-200); letter-spacing: -0.01em; }
.trust-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ─── SECTION ─── */
section.block { position: relative; padding: 110px 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 600;
}
.section-head h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400; letter-spacing: -0.025em; line-height: 1.08;
  text-wrap: balance;
}
.section-head h2 em { font-style: normal;
  background: var(--gold-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.55; }

/* ─── MARQUEE ─── */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.82rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); opacity: 0.85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SERVICES BENTO ─── */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
}
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .35s var(--easing);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,168,87,0.06);
}
.card::before {
  content: ""; position: absolute; inset: -1px;
  background: radial-gradient(60% 80% at 50% 0%, rgba(212,168,87,0.13), transparent 60%);
  opacity: 0; transition: opacity .4s var(--easing); pointer-events: none;
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, rgba(212,168,87,0.18), rgba(212,168,87,0.04));
  border: 1px solid var(--line);
  color: var(--gold-300);
  margin-bottom: 22px;
  position: relative;
}
.card-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.card p { margin: 0 0 18px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.55; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card ul li {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.card ul li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400);
  flex-shrink: 0;
}

/* Bento spans */
.card.span-6 { grid-column: span 6; }
.card.span-4 { grid-column: span 4; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }

.card.featured {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(212,168,87,0.16), transparent 50%),
    radial-gradient(60% 60% at 0% 100%, rgba(40,69,160,0.20), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-color: var(--line);
  min-height: 320px;
}
.featured-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; height: 100%;
}
.featured-grid .copy h3 { font-size: 1.7rem; line-height: 1.15; margin-bottom: 14px; }
.featured-grid .copy p { font-size: 1rem; }
.featured-vis {
  position: relative; aspect-ratio: 1.4 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(212,168,87,0.15), transparent 60%),
    linear-gradient(180deg, #0a0f24, #0c1230);
  overflow: hidden;
  display: grid; place-items: center;
}

/* Mock dashboard inside featured */
.mock-dash {
  width: 86%; aspect-ratio: 16/10;
  background: linear-gradient(180deg, #0e1532, #0a1027);
  border-radius: 10px; border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
  display: flex; flex-direction: column; overflow: hidden;
}
.mock-bar { height: 22px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-body { flex: 1; display: grid; grid-template-columns: 60px 1fr; }
.mock-side { background: rgba(0,0,0,0.25); border-right: 1px solid var(--line-soft); padding: 10px 6px;
  display: flex; flex-direction: column; gap: 8px; }
.mock-side-item { height: 8px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.mock-side-item.on { background: linear-gradient(90deg, var(--gold-400), var(--gold-300)); }
.mock-main { padding: 12px; display: grid; gap: 8px; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto 1fr; }
.mock-kpi { background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px; }
.mock-kpi .v { height: 10px; width: 60%; background: linear-gradient(90deg, var(--gold-300), var(--gold-200)); border-radius: 3px; margin-bottom: 6px; }
.mock-kpi .l { height: 5px; width: 80%; background: rgba(255,255,255,0.1); border-radius: 3px; }
.mock-chart { grid-column: span 3; background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px; position: relative; overflow: hidden; min-height: 80px;}
.mock-chart svg { width: 100%; height: 100%; position: absolute; inset: 0; padding: 8px; }

/* ─── PROCESS ─── */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative;
}
.process-grid::before {
  content: ""; position: absolute;
  left: 8%; right: 8%; top: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  z-index: 0;
}
.step {
  position: relative; padding: 28px 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  z-index: 1;
  transition: all .3s var(--easing);
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(155deg, #0a0f24, #1a2456);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold-200); font-weight: 600; font-size: 1rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 24px rgba(212,168,87,0.25);
}
.step h4 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 500; }
.step p { margin: 0; font-size: 0.88rem; color: var(--text-soft); line-height: 1.5; }

/* ─── INDUSTRIES ─── */
.industries {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.industry {
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-soft);
  font-size: 0.85rem; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .25s var(--easing);
}
.industry:hover { border-color: var(--line-strong); color: var(--text); background: rgba(212,168,87,0.06); }
.industry svg { width: 14px; height: 14px; color: var(--gold-400); }

/* ─── STACK ─── */
.stack-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.tech {
  aspect-ratio: 1.4 / 1;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  display: grid; place-items: center; gap: 6px;
  padding: 16px; text-align: center;
  transition: all .25s var(--easing);
}
.tech:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tech-name { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; }
.tech-icon { color: var(--gold-300); font-size: 1.5rem; font-weight: 700; }

/* ─── CTA SECTION ─── */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(212,168,87,0.20), transparent 60%),
    radial-gradient(80% 100% at 50% 100%, rgba(40,69,160,0.20), transparent 60%),
    linear-gradient(180deg, #0a0f28, #060a1f);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,168,87,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,87,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -0.025em;
  margin: 18px 0 16px; line-height: 1.1;
}
.cta h2 em { font-style: normal; background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}
.cta p { color: var(--text-soft); max-width: 540px; margin: 0 auto 32px; font-size: 1.05rem; line-height: 1.55; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-channels { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--line-soft); }
.cta-channels a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-soft); }
.cta-channels a:hover { color: var(--gold-200); }
.cta-channels svg { width: 16px; height: 16px; color: var(--gold-400); }

/* ─── FOOTER ─── */
footer.foot { padding: 80px 0 40px; border-top: 1px solid var(--line-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 50px; }
.foot-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 320px; margin: 18px 0 0; }
.foot-col h5 { margin: 0 0 18px; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 0.9rem; color: var(--text-soft); transition: color .2s var(--easing); }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
  color: var(--text-muted); font-size: 0.8rem;
}
.foot-socials { display: flex; gap: 12px; }
.foot-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-soft); display: grid; place-items: center;
  color: var(--text-soft); transition: all .2s var(--easing);
}
.foot-socials a:hover { color: var(--gold-200); border-color: var(--line-strong); }
.foot-socials svg { width: 16px; height: 16px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s var(--easing) both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.span-6, .card.span-4, .card.span-3, .card.span-2 { grid-column: span 2; }
  .featured-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-center { display: none; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px;}
  section.block { padding: 70px 0; }
  .cta { padding: 60px 24px; }
  .container { padding: 0 20px; }
  .foot-grid { grid-template-columns: 1fr; }
}
