/* ORBIX × SYNTHORIA THEME VX-3 */
/* Capa visual final: oscuro, Caterpillar neon, cyan, púrpura, glass panels */

:root{
  --sx-bg:#050811;
  --sx-bg2:#080613;
  --sx-panel:rgba(12,18,32,.88);
  --sx-panel2:rgba(255,255,255,.055);
  --sx-yellow:#ffcd11;
  --sx-amber:#ffb000;
  --sx-cyan:#48d7ff;
  --sx-purple:#7c5cff;
  --sx-green:#21d19f;
  --sx-red:#ff6b6b;
  --sx-text:#eef5ff;
  --sx-muted:#94a8c7;
  --sx-border:rgba(255,205,17,.24);
}

html{
  scroll-behavior:smooth;
}

body.orbix-synthoria-theme,
body.orbix-site,
body{
  color:var(--sx-text) !important;
  background:
    radial-gradient(circle at 14% 8%,rgba(255,205,17,.27),transparent 24%),
    radial-gradient(circle at 88% 6%,rgba(72,215,255,.20),transparent 31%),
    radial-gradient(circle at 73% 92%,rgba(124,92,255,.25),transparent 34%),
    linear-gradient(135deg,#03060d 0%,#060a14 46%,#080613 100%) !important;
  font-family:Inter,system-ui,Segoe UI,Arial,sans-serif !important;
}

body.orbix-synthoria-theme::before{
  content:"";
  position:fixed;
  inset:-20%;
  pointer-events:none;
  z-index:-3;
  background:repeating-linear-gradient(
    115deg,
    transparent 0 38px,
    rgba(255,205,17,.08) 39px,
    transparent 43px
  );
  animation:sxRays 18s linear infinite;
}

body.orbix-synthoria-theme::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(circle at center,black,transparent 82%);
}

@keyframes sxRays{
  0%,100%{transform:translate(-3%,-2%)}
  50%{transform:translate(3%,2%)}
}

/* Layout global */
.orbix-synthoria-theme .shell,
.orbix-synthoria-theme .orbix-shell,
.orbix-synthoria-theme .container,
.orbix-synthoria-theme main{
  max-width:1540px;
}

.orbix-synthoria-theme a{
  color:#fff7c7;
}

.orbix-synthoria-theme a:hover{
  color:var(--sx-yellow);
}

/* Header / barras */
.orbix-synthoria-theme header,
.orbix-synthoria-theme .topbar,
.orbix-synthoria-theme .orbix-topbar,
.orbix-synthoria-theme [class*="topbar"],
.orbix-synthoria-theme [class*="navbar"],
.orbix-synthoria-theme [class*="header"]{
  background:
    linear-gradient(135deg,rgba(255,205,17,.09),rgba(72,215,255,.045)),
    rgba(5,10,20,.88) !important;
  border-color:rgba(255,205,17,.24) !important;
  box-shadow:
    0 22px 80px rgba(0,0,0,.55),
    0 0 40px rgba(255,205,17,.12),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter:blur(18px);
}

.orbix-synthoria-theme nav a,
.orbix-synthoria-theme .orbix-nav a,
.orbix-synthoria-theme .nav a,
.orbix-synthoria-theme .menu a{
  color:var(--sx-text) !important;
  text-decoration:none !important;
  border:1px solid rgba(255,205,17,.18);
  background:rgba(255,255,255,.045);
  border-radius:999px;
  padding:9px 13px;
  font-weight:800;
  transition:.18s ease;
}

.orbix-synthoria-theme nav a:hover,
.orbix-synthoria-theme .orbix-nav a:hover,
.orbix-synthoria-theme .nav a:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,rgba(255,205,17,.16),rgba(72,215,255,.07));
  border-color:rgba(255,205,17,.48);
  box-shadow:0 0 26px rgba(255,205,17,.16);
}

/* Hero */
.orbix-synthoria-theme .hero,
.orbix-synthoria-theme .orbix-hero,
.orbix-synthoria-theme section[class*="hero"],
.orbix-synthoria-theme .main,
.orbix-synthoria-theme main > section:first-child{
  background:
    radial-gradient(circle at 18% 18%,rgba(33,209,159,.18),transparent 25%),
    radial-gradient(circle at 84% 24%,rgba(124,92,255,.24),transparent 35%),
    linear-gradient(135deg,rgba(5,10,20,.20),rgba(8,6,19,.28)) !important;
}

.orbix-synthoria-theme h1,
.orbix-synthoria-theme .orbix-title{
  color:#fff !important;
  font-weight:950 !important;
  letter-spacing:-.055em;
  text-shadow:0 10px 40px rgba(0,0,0,.34);
}

@supports (-webkit-background-clip:text){
  .orbix-synthoria-theme h1,
  .orbix-synthoria-theme .orbix-title{
    background:linear-gradient(90deg,#fff7d1,var(--sx-yellow),#fff,var(--sx-cyan));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent !important;
  }
}

.orbix-synthoria-theme h2,
.orbix-synthoria-theme h3{
  color:#fff7d1 !important;
}

.orbix-synthoria-theme p,
.orbix-synthoria-theme small,
.orbix-synthoria-theme .muted,
.orbix-synthoria-theme .orbix-subtitle{
  color:var(--sx-muted) !important;
}

/* Paneles, cards, cajas */
.orbix-synthoria-theme .box,
.orbix-synthoria-theme .panel,
.orbix-synthoria-theme .card,
.orbix-synthoria-theme .orbix-panel,
.orbix-synthoria-theme .orbix-card,
.orbix-synthoria-theme [class*="card"],
.orbix-synthoria-theme [class*="panel"],
.orbix-synthoria-theme [class*="tile"],
.orbix-synthoria-theme [class*="feature"]{
  color:var(--sx-text) !important;
  background:
    linear-gradient(145deg,rgba(255,205,17,.065),rgba(72,215,255,.035)),
    rgba(12,18,32,.86) !important;
  border:1px solid rgba(255,205,17,.22) !important;
  box-shadow:
    0 24px 80px rgba(0,0,0,.48),
    0 0 44px rgba(255,205,17,.075),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:blur(12px);
}

/* Botones */
.orbix-synthoria-theme button,
.orbix-synthoria-theme .btn,
.orbix-synthoria-theme .orbix-btn,
.orbix-synthoria-theme a[class*="btn"],
.orbix-synthoria-theme .synthoria-cta,
.orbix-synthoria-theme [class*="button"]{
  border-radius:999px !important;
  font-weight:950 !important;
  border:1px solid rgba(255,255,255,.22) !important;
  transition:.18s ease !important;
}

.orbix-synthoria-theme .btn,
.orbix-synthoria-theme .orbix-btn,
.orbix-synthoria-theme .synthoria-cta,
.orbix-synthoria-theme a[href*="demo"],
.orbix-synthoria-theme a[href*="contacto"],
.orbix-synthoria-theme a[href*="aenki-personal"],
.orbix-synthoria-theme button:not(.secondary):not([class*="secondary"]){
  background:
    radial-gradient(circle at 25% 15%,#fff7bc,transparent 22%),
    linear-gradient(135deg,var(--sx-yellow),var(--sx-amber)) !important;
  color:#06111f !important;
  box-shadow:
    0 0 24px rgba(255,205,17,.48),
    0 14px 34px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.orbix-synthoria-theme .btn:hover,
.orbix-synthoria-theme .orbix-btn:hover,
.orbix-synthoria-theme .synthoria-cta:hover,
.orbix-synthoria-theme button:hover{
  transform:translateY(-2px);
  filter:saturate(1.12);
}

/* Corregir verdes chillones */
.orbix-synthoria-theme [style*="green"],
.orbix-synthoria-theme [style*="#00"],
.orbix-synthoria-theme [style*="lime"]{
  color:inherit;
}

.orbix-synthoria-theme .credit,
.orbix-synthoria-theme [class*="credit"],
.orbix-synthoria-theme [class*="wallet"]{
  background:
    linear-gradient(135deg,rgba(255,205,17,.18),rgba(124,92,255,.14)) !important;
  border:1px solid rgba(255,205,17,.25) !important;
  color:var(--sx-text) !important;
}

/* Inputs y chat */
.orbix-synthoria-theme input,
.orbix-synthoria-theme textarea,
.orbix-synthoria-theme select{
  background:#070e1d !important;
  color:var(--sx-text) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:16px !important;
}

.orbix-synthoria-theme input:focus,
.orbix-synthoria-theme textarea:focus{
  outline:none !important;
  border-color:rgba(255,205,17,.70) !important;
  box-shadow:0 0 0 3px rgba(255,205,17,.13),0 0 34px rgba(255,205,17,.16) !important;
}

.orbix-synthoria-theme .bubble,
.orbix-synthoria-theme .aenki-bubble,
.orbix-synthoria-theme [class*="message"],
.orbix-synthoria-theme [class*="chat"] .msg{
  background:
    linear-gradient(135deg,rgba(72,215,255,.10),rgba(255,255,255,.035)) !important;
  color:var(--sx-text) !important;
  border:1px solid rgba(255,205,17,.18) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.28) !important;
}

/* Companion */
#aenki-companion-root{
  font-family:Inter,system-ui,Segoe UI,Arial,sans-serif !important;
}

.aenki-fab{
  background:
    radial-gradient(circle at 25% 15%,#fff7bc,transparent 22%),
    linear-gradient(135deg,var(--sx-yellow),var(--sx-amber)) !important;
  color:#06111f !important;
  box-shadow:0 0 30px rgba(255,205,17,.48),0 12px 34px rgba(0,0,0,.42) !important;
}

.aenki-window{
  background:
    linear-gradient(145deg,rgba(255,205,17,.055),rgba(72,215,255,.035)),
    rgba(8,14,25,.96) !important;
  border:1px solid rgba(255,205,17,.25) !important;
  box-shadow:0 26px 100px rgba(0,0,0,.70),0 0 54px rgba(255,205,17,.18) !important;
}

/* Visuales */
.orbix-synthoria-theme img{
  max-width:100%;
}

.orbix-synthoria-theme img[class*="visual"],
.orbix-synthoria-theme figure,
.orbix-synthoria-theme .visual-card{
  border-radius:28px;
  box-shadow:0 24px 80px rgba(0,0,0,.42),0 0 44px rgba(255,205,17,.08);
}

/* Responsive */
@media(max-width:900px){
  .orbix-synthoria-theme .orbix-nav,
  .orbix-synthoria-theme nav{
    gap:6px;
  }

  .orbix-synthoria-theme h1{
    font-size:clamp(42px,13vw,72px) !important;
  }
}
