/* RIGA BUSINESS GROUP — PRO STATIC THEME (v1) */
/* No external CSS dependencies required. */

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Theme ---------- */
:root{
  --bg: #0f0f0fb3;          /* deep navy */
  --panel: rgba(147, 113, 182, 0.887);
  --panel2: rgba(2, 6, 23, 0.55);
  --border: rgba(249, 249, 249, 0.16);
  --text: #4c83cc;
  --muted: #94a3b8;

  --cyan: #f3f4f5;        /* neon cyan */
  --purple: #fffeffdb;      /* royal purple */
  --emerald: #12737d;     /* neon green */
  --amber: #cfc8409c;

  --shadow: 0 24px 70px rgba(59, 201, 182, 0.818);
  --shadow2: 0 18px 50px rgba(87, 87, 87, 0.12);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --max: 1180px;
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---------- Background Effects ---------- */
.bg-grid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
      linear-gradient(to right, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(20, 92, 53, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.06;
  z-index: 0;
}
.bg-glow{
  position: fixed;
  inset: -30vh -20vw;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 20%, rgba(111, 70, 27, 0.18), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(54, 18, 114, 0.16), transparent 58%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.1), transparent 60%);
  filter: blur(0px);
  z-index: 0;
}

/* ---------- Layout ---------- */
.container{
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section{
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section.compact{ padding: 3.2rem 0; }

.hr{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.16), transparent);
  margin: 2rem 0;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(25, 30, 47, 0.931);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 118, 178, 0.736);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: .75rem;
}
.brand-badge{
  width: 10px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  box-shadow: 0 0 16px rgba(122, 219, 30, 0.35);
}
.brand-title{
  font-family: "Rajdhani", ui-sans-serif, system-ui;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.brand-title span{ color: var(--cyan); }
.brand-sub{
  display:block;
  font-size: .78rem;
  letter-spacing: .03em;
  color: rgba(148,163,184,0.9);
  margin-top: -4px;
}

.nav-links{
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-family: "Rajdhani", ui-sans-serif, system-ui;
  font-weight: 600;
  letter-spacing: .04em;
}

.nav-links a{
  color: rgba(226,232,240,0.92);
  padding: .45rem .65rem;
  border-radius: 12px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav-links a:hover{
  background: rgba(56,189,248,0.10);
  color: #fff;
  transform: translateY(-1px);
}

.nav-cta{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .58rem .9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(151, 122, 151, 0.18), rgba(124,58,237,0.16));
  border: 1px solid rgba(0,229,255,0.22);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  transition: transform .2s ease, border-color .2s ease;
}
.nav-cta:hover{ transform: translateY(-1px); border-color: rgba(0,229,255,0.45); }

.nav-toggle{
  display:none;
  border: 1px solid rgba(51, 101, 170, 0.18);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226,232,240,0.94);
  padding: .5rem .7rem;
  border-radius: 14px;
}

@media (max-width: 980px){
  .nav-toggle{ display: inline-flex; }
  .nav-links{ display:none; position:absolute; left:0; right:0; top: 72px; padding: 1rem; background: rgba(2, 6, 23, 0.86); border-bottom: 1px solid rgba(148,163,184,0.12); flex-wrap: wrap; }
  .nav-links.open{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 5.4rem 0 4.2rem;
}
.hero-wrap{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
@media (max-width: 980px){
  .hero-wrap{ grid-template-columns: 1fr; }
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,0.26);
  background: rgba(124,58,237,0.10);
  color: rgba(216,180,254,0.95);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0,229,255,0.55);
}

.h1{
  margin: .9rem 0 .45rem;
  font-size: clamp(2.2rem, 3.9vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.h1 .grad{
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  font-size: 1.06rem;
  color: rgba(226,232,240,0.86);
  max-width: 60ch;
}

.hero-actions{
  display:flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: .55rem;
  padding: .95rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(0,229,255,0.26);
  background: rgba(15,23,42,0.55);
  color: rgba(226,232,240,0.95);
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(0,229,255,0.55); }

.btn.primary{
  background: linear-gradient(135deg, rgba(0,229,255,0.95), rgba(124,58,237,0.82));
  color: rgba(2,6,23,0.92);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.btn.primary:hover{ filter: brightness(1.03); }

.hero-card{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56,189,248,0.14);
  background: var(--panel);
  box-shadow: var(--shadow2);
  padding: 1.2rem;
  overflow: hidden;
  position: relative;
}

.hero-card::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,229,255,0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(124,58,237,0.14), transparent 60%);
  pointer-events:none;
}

.hero-media{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(148,163,184,0.14);
  background: linear-gradient(180deg, rgba(2,6,23,0.2), rgba(2,6,23,0.95)),
    url('https://lh3.googleusercontent.com/pw/AP1GczMREcZa_mWQ1RHQauEkdhQwXrRSW3T7USCq_pVNDbnGKw52dkuFeigKo6pmrmOp7dydOlmuN0JReeLKkaXD9xuWvsAVCs7FUaJkPs1tV5UjW6T1nsha3ebdZFu5ZNstUqjcdzoBdO0_HvNmIzszp3KNHw=w1170-h658-s-no?authuser=0')
    center/cover no-repeat;
  height: 100%;
  min-height: 320px;
  position: relative;
}
.hero-media .overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(2,6,23,0.15), rgba(2,6,23,0.94));
}
.hero-media .caption{
  position:absolute;
  inset:auto 0 0 0;
  padding: 1rem;
  display:flex;
  flex-direction: column;
  gap: .3rem;
}
.caption .cap-title{
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}
.caption .cap-sub{
  color: rgba(226,232,240,0.82);
  font-size: .9rem;
  max-width: 62ch;
}

/* ---------- Cards / Panels ---------- */
.panel{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56,189,248,0.14);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.12);
  background: rgba(15,23,42,0.42);
  padding: 1.15rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.28);
  box-shadow: 0 20px 55px rgba(0, 229, 255, 0.10);
}

.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

.h2{
  font-family: "Rajdhani", ui-sans-serif, system-ui;
  font-weight: 900;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
}
.h2 small{
  display:block;
  margin-top: .3rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(148,163,184,0.9);
  font-size: .95rem;
}

.p{
  color: rgba(226,232,240,0.86);
  margin: .6rem 0 0;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,0.20);
  background: rgba(0,229,255,0.08);
  color: rgba(226,232,240,0.92);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kpi{
  display:flex;
  flex-direction: column;
  gap: .2rem;
}
.kpi .num{
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}
.kpi .lbl{
  color: rgba(148,163,184,0.88);
  font-size: .9rem;
}

/* ---------- Tables ---------- */
.table-wrap{
  overflow:auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.12);
  background: rgba(2,6,23,0.35);
}
table{
  width:100%;
  border-collapse: collapse;
  min-width: 820px;
}
th, td{
  padding: .9rem .95rem;
  border-bottom: 1px solid rgba(148,163,184,0.10);
  vertical-align: top;
}
th{
  text-align:left;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.95);
}
td{
  font-size: .95rem;
  color: rgba(226,232,240,0.88);
}
tr:hover td{ background: rgba(56,189,248,0.05); }

/* ---------- Accordions ---------- */
.accordion{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.12);
  overflow:hidden;
}
.acc-item{
  border-top: 1px solid rgba(148,163,184,0.10);
  background: rgba(15,23,42,0.40);
}
.acc-item:first-child{ border-top: none; }
.acc-btn{
  width:100%;
  text-align:left;
  padding: 1rem 1.05rem;
  display:flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: transparent;
  border: none;
  color: rgba(226,232,240,0.95);
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
}
.acc-btn span{ color: rgba(148,163,184,0.92); font-weight: 700; }
.acc-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .26s ease;
}
.acc-panel .inner{
  padding: 0 1.05rem 1.05rem;
  color: rgba(226,232,240,0.84);
}
.acc-item.open .acc-panel{ max-height: 900px; }

/* ---------- Footer ---------- */
.footer{
  padding: 2.8rem 0 2.2rem;
  border-top: 1px solid rgba(148,163,184,0.10);
  background: rgba(2,6,23,0.64);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 1.2rem;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer h4{
  margin: 0 0 .6rem;
  font-family: "Rajdhani", ui-sans-serif, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
}
.footer p, .footer a{
  color: rgba(95, 152, 176, 0.637);
  font-size: .55rem;
}
.footer a:hover{ color: #650b7b; }
.small{
  font-size: .55rem;
  color: rgba(212, 214, 217, 0.78);
  margin-top: 1rem;
}

/* ---------- Utilities ---------- */
.muted{ color: rgba(148,163,184,0.90); }
.list{
  padding-left: 1.05rem;
  margin: .7rem 0 0;
}
.list li{ margin: .35rem 0; }
.pill-row{ display:flex; gap:.55rem; flex-wrap:wrap; margin-top: .8rem; }

.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Print ---------- */
@media print{
  .site-header, .nav-cta, .nav-toggle, .bg-grid, .bg-glow { display:none !important; }
  body{ background: #2b0d2cba; color:#000; }
  .panel, .card{ background:#232115; border:1px solid #ddd; box-shadow:none; }
}:root {
  /* --- Backgrounds: Deep Void --- */
  --bg: #030407;              /* Casi negro puro, con un tinte azul */
  --panel: rgba(10, 15, 25, 0.75); /* Cristal oscuro */
  --panel2: rgba(20, 25, 40, 0.5);
  
  /* --- Borders & Glass --- */
  --border: rgba(100, 200, 255, 0.15); /* Borde sutil cian */
  --glass-blur: blur(12px);            /* Efecto vidrio esmerilado */

  /* --- Typography --- */
  --text: #e2e8f0;            /* Blanco hueso (más legible que gris) */
  --muted: #64748b;           /* Gris azulado técnico */
  --heading: #ffffff;

  /* --- Neon Accents (Glow) --- */
  --cyan: #0f88de;            /* Cyber Cyan real */
  --purple: #7000ff;          /* Electric Violet */
  --emerald: #00ff9d;         /* Matrix Green */
  --amber: #ffd700;           /* Gold Warning */

  /* --- Lighting Effects --- */
  --shadow: 0 0 40px rgba(64, 8, 154, 0.704); /* Resplandor ambiental */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --glow-text: 0 0 10px rgba(34, 11, 50, 0.984);

  /* --- Geometry --- */
  --radius-xl: 4px;   /* Futurismo suele usar esquinas menos redondas */
  --radius-lg: 4px;
  --radius-md: 2px;
  
  --max: 1200px;
}:root {
  --bg: #000000;
  --panel: #0a0a0a;
  --panel2: #111111;
  
  --border: #333333;
  
  --text: #ffffff;
  --muted: #888888;

  /* Colores de estado muy saturados para contrastar el B/N */
  --cyan: #00ffff; 
  --purple: #bd00ff;
  --emerald: #00ff00;
  --amber: #ffcc00;

  --shadow: 0 0 0 1px #68166a; /* Sin sombras difusas, solo bordes duros */
  --shadow2: 8px 8px 0px rgba(255, 255, 255, 0.1); /* Sombra sólida retro-futurista */

  --radius-xl: 0px; /* Bordes cuadrados perfectos */
  --radius-lg: 0px;
  --radius-md: 0px;

  --max: 1200px;
}/* En tu archivo CSS principal */

body {
    /* 1. Color de fondo de respaldo (por si la imagen tarda en cargar) */
    background-color: #000000; /* Usando el negro profundo de tu paleta anterior */

    /* 2. La magia: Capa oscura (rgba 0,0,0,0.8) + La Imagen */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.924), rgba(27, 10, 70, 0.65)),
        url('https://img.pikbest.com/backgrounds/20250106/abstract-artificial-intelligence-technology-web-background-virtual-concepts-_11345249.jpg!w700wp');

    /* 3. Asegura que la imagen cubra todo el espacio sin deformarse */
    background-size: cover;

    /* 4. Centra la imagen */
    background-position: center center;

    /* 5. Evita que la imagen se repita tipo mosaico */
    background-repeat: no-repeat;

    /* 6. EFECTO PARALLAX SIMPLE: La imagen se queda fija al hacer scroll */
    background-attachment: fixed;

    /* Asegura que el texto base sea claro (usando tu variable o blanco) */
    color: var(--text, #ffffff);
    margin: 0;
    min-height: 100vh;
}:root 
{
  /* --- Backgrounds --- */
  --bg: #080809;
  --panel: rgba(12, 41, 60, 0.838); /* Ultra sutil */
  --panel2: rgba(70, 41, 107, 0.309);

  /* --- Borders --- */
  --border: rgba(229, 214, 214, 0.08);

  /* --- Text --- */
  --text: #cbd5e1;
  --muted: #6f7887;

  /* --- Accents --- */
  --cyan: #38bdf8;
  --purple: #c084fc;
  --emerald: #12cd2b;
  --amber: #fbbf24;

  /* --- Shadows --- */
  --shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9);
  --shadow2: 0 0 0 1px rgba(255, 255, 255, 0.1); /* Inner border light */

  /* --- Geometry --- */
  --radius-xl: 24px; /* Muy redondeado, estilo Apple Vision Pro */
  --radius-lg: 16px;
  --radius-md: 12px; 
  }
  /* --- 1. Reveal Animation (Base) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000); /* Ease Out Cubic */
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 2. Decrypt Effect Styles --- */
.dud {
  color: var(--cyan); /* Las letras aleatorias brillan en cyan */
  opacity: 0.7;
}

/* --- 3. Magnetic Button Transitions --- */
.magnetic-btn {
  display: inline-block;
  transition: transform 0.1s linear; /* Muy rápido para que se sienta fluido */
  /* Asegúrate de tener estilos base de botón aquí */
}

/* --- 4. 3D Tilt Cards --- */
.tilt-card {
  transition: transform 0.1s ease-out; /* Sin delay para que responda al mouse */
  will-change: transform;
  transform-style: preserve-3d;
}

/* --- 5. Filter Transitions --- */
[data-filter] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}