/* ============================================================
   VOX PARTNER — Soluções Tecnológicas (tech premium, dark)
   ============================================================ */

.tech{ background:var(--bg-deep); color:var(--on-dark); position:relative; overflow:hidden; }
.tech-glow{ position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(70% 60% at 85% 8%, rgba(47,190,88,.14), transparent 60%),
    radial-gradient(55% 50% at 8% 92%, rgba(20,120,110,.12), transparent 60%);
}
.tech .container{ position:relative; z-index:1; }

.tech-head{ max-width:760px; margin:0 auto clamp(44px,5vw,68px); text-align:center; }
.tech-head .eyebrow{ color:var(--green-br); justify-content:center; }
.tech-head .eyebrow::before{ background:var(--gold-soft); }
.tech-head h2{ color:#fff; font-family:var(--serif); font-weight:300; font-size:clamp(30px,4vw,54px); line-height:1.08; margin-top:20px; }
.tech-head h2 em{ font-style:italic; color:var(--green-br); }
.tech-sub{ color:var(--on-dark-mut); max-width:560px; margin:22px auto 0; }

.tech-shell{ display:grid; grid-template-columns:0.92fr 1.42fr; gap:clamp(22px,3vw,46px); align-items:start; }

/* ---- selector tabs ---- */
.tech-tabs{ display:flex; flex-direction:column; gap:14px; }
.tech-tab{ position:relative; display:flex; gap:16px; align-items:flex-start; text-align:left;
  padding:22px 22px; border-radius:15px; cursor:pointer; color:var(--on-dark);
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  transition:background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  font-family:var(--sans);
}
.tech-tab:hover{ background:rgba(255,255,255,.055); border-color:rgba(255,255,255,.18); transform:translateY(-2px); }
.tech-tab.active{ background:linear-gradient(180deg, rgba(47,190,88,.14), rgba(47,190,88,.04));
  border-color:rgba(47,190,88,.5); box-shadow:0 24px 60px -30px rgba(47,190,88,.55); }
.tech-tab.active::after{ content:""; position:absolute; left:0; top:18px; bottom:18px; width:3px; border-radius:3px; background:var(--green-grad); }
.tt-ico{ flex:0 0 auto; width:44px; height:44px; border-radius:11px; display:grid; place-items:center;
  background:rgba(47,190,88,.12); border:1px solid rgba(47,190,88,.22); transition:all .4s var(--ease); }
.tech-tab.active .tt-ico{ background:var(--green-grad); border-color:transparent; box-shadow:0 8px 22px -10px rgba(47,190,88,.7); }
.tt-ico svg{ width:22px; height:22px; stroke:var(--green-br); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:stroke .4s; }
.tech-tab.active .tt-ico svg{ stroke:#fff; }
.tt-txt{ display:flex; flex-direction:column; gap:5px; }
.tt-name{ font-family:var(--serif); font-size:19px; color:#fff; line-height:1.2; display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.tt-desc{ font-size:13px; color:var(--on-dark-mut); line-height:1.45; }
.tt-arrow{ margin-left:auto; align-self:center; color:var(--on-dark-mut); transition:transform .4s var(--ease), color .4s; opacity:0; }
.tech-tab:hover .tt-arrow{ opacity:1; transform:translateX(3px); }
.tech-tab.active .tt-arrow{ opacity:1; color:var(--green-br); }
.tt-badge{ font-size:9.5px; background:rgba(184,151,90,.16); color:var(--gold-soft); border:1px solid rgba(184,151,90,.42);
  padding:2px 8px; border-radius:999px; letter-spacing:.1em; text-transform:uppercase; font-weight:700; font-family:var(--sans); }
.tech-progress{ height:3px; background:rgba(255,255,255,.08); border-radius:3px; overflow:hidden; margin-top:4px; }
.tech-progress-bar{ display:block; height:100%; width:0; background:var(--green-grad); border-radius:3px; }

/* ---- stage / window ---- */
.tech-stage{ position:relative; display:grid; min-height:472px; border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border:1px solid rgba(255,255,255,.09); padding:clamp(14px,1.8vw,24px); }
.tech-screen{ grid-area:1 / 1; display:none; }
.tech-screen.active{ display:block; }

.win{ background:#0B2C21; border:1px solid rgba(255,255,255,.09); border-radius:14px; overflow:hidden;
  box-shadow:0 46px 100px -54px rgba(0,0,0,.85); position:relative; }
.win-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.07); }
.wd{ width:11px; height:11px; border-radius:50%; background:rgba(255,255,255,.16); }
.wd:nth-child(1){ background:rgba(255,120,110,.5); } .wd:nth-child(2){ background:rgba(232,196,104,.5); } .wd:nth-child(3){ background:rgba(47,190,88,.55); }
.win-title{ font-size:12.5px; color:var(--on-dark-mut); margin-left:8px; letter-spacing:.02em; }
.win-url{ font-size:12px; color:var(--on-dark-mut); background:rgba(255,255,255,.06); padding:5px 12px; border-radius:6px; margin-left:8px; }
.win-live{ margin-left:auto; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--green-br); display:flex; align-items:center; gap:7px; white-space:nowrap; }
.win-live.build{ color:var(--gold-soft); }
.win-live i{ width:7px; height:7px; border-radius:50%; background:currentColor; animation:techpulse 2s ease-out infinite; }
@keyframes techpulse{ 0%{ box-shadow:0 0 0 0 rgba(47,190,88,.5) } 70%,100%{ box-shadow:0 0 0 7px rgba(47,190,88,0) } }

/* ---- dashboard ---- */
.dash{ padding:22px; display:flex; flex-direction:column; gap:16px; }
.kpi-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }
.kpi{ background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); border-radius:12px; padding:15px 17px; }
.kpi-l{ font-size:11.5px; color:var(--on-dark-mut); letter-spacing:.01em; }
.kpi-v{ font-family:var(--serif); font-size:clamp(24px,2.4vw,31px); color:#fff; margin-top:5px; letter-spacing:-.01em; }
.kpi-d{ font-size:11.5px; margin-top:5px; font-weight:600; }
.kpi-d.up{ color:var(--green-br); }
.dash-grid{ display:grid; grid-template-columns:1.55fr 1fr; gap:13px; }
.panel{ background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.07); border-radius:12px; padding:18px; }
.panel-h{ font-size:13px; color:#fff; font-weight:600; margin-bottom:18px; display:flex; gap:5px; align-items:baseline; }
.panel-h span{ color:var(--on-dark-mut); font-weight:400; font-size:12px; }
.bars{ display:flex; align-items:flex-end; gap:9px; height:148px; }
.bar{ flex:1; background:linear-gradient(180deg, rgba(47,190,88,.6), rgba(22,150,90,.18)); border-radius:5px 5px 0 0; min-height:4px; transition:height .12s linear; }
.bar.hot{ background:var(--green-grad); box-shadow:0 0 20px rgba(47,190,88,.45); }
.donut-panel{ display:flex; flex-direction:column; }
.donut{ width:128px; height:128px; border-radius:50%; margin:4px auto 16px; position:relative; display:grid; place-items:center;
  background:conic-gradient(var(--green-br) 0 72%, #7fd8c4 72% 93%, rgba(255,255,255,.16) 93% 100%); }
.donut::before{ content:""; position:absolute; inset:17px; border-radius:50%; background:#0B2C21; }
.donut-c{ position:relative; font-family:var(--serif); font-size:27px; color:#fff; }
.donut-c small{ font-size:14px; color:var(--on-dark-mut); }
.legend{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.legend li{ display:flex; align-items:center; gap:9px; font-size:12.5px; color:var(--on-dark-mut); }
.legend i{ width:9px; height:9px; border-radius:3px; flex:0 0 auto; }
.legend b{ color:#fff; margin-left:auto; font-weight:600; }

/* ---- landing builder ---- */
.lp{ display:flex; flex-direction:column; gap:13px; padding:18px; position:relative; }
.lp > *{ will-change:transform, opacity; }
.lp-nav{ display:flex; align-items:center; gap:10px; }
.lp-logo{ width:46px; height:14px; border-radius:4px; background:var(--green-grad); }
.lp-links{ display:flex; gap:8px; margin-left:auto; }
.lp-links span{ width:30px; height:8px; border-radius:4px; background:rgba(255,255,255,.14); }
.lp-btn{ width:62px; height:22px; border-radius:6px; background:rgba(47,190,88,.32); }
.lp-hero{ display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:center; padding:18px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:10px; }
.lp-hero-txt{ display:flex; flex-direction:column; gap:9px; }
.lp-line{ height:11px; border-radius:5px; background:rgba(255,255,255,.16); }
.lp-line.w70{ width:70%; } .lp-line.w90{ width:90%; height:17px; background:rgba(255,255,255,.3); } .lp-line.w50{ width:50%; }
.lp-cta{ width:118px; height:30px; border-radius:7px; background:var(--green-grad); margin-top:6px; }
.lp-hero-img{ height:122px; border-radius:8px;
  background:repeating-linear-gradient(135deg, rgba(47,190,88,.16) 0 2px, transparent 2px 10px), rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); }
.lp-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.lp-card{ height:62px; border-radius:8px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); }
.lp-form{ display:flex; gap:10px; }
.lp-field{ flex:1; height:30px; border-radius:7px; background:rgba(255,255,255,.05); }
.lp-submit{ width:108px; height:30px; border-radius:7px; background:var(--green-grad); }
.lp-cursor{ position:absolute; top:40%; left:50%; width:16px; height:16px; pointer-events:none; z-index:5;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.5)); transition:top .6s var(--ease), left .6s var(--ease); }
.lp-cursor::before{ content:""; position:absolute; width:0; height:0; border-left:9px solid #fff; border-top:6px solid transparent; border-bottom:6px solid transparent; transform:rotate(38deg); }
.lp-toast{ position:absolute; bottom:16px; right:16px; display:flex; align-items:center; gap:8px;
  background:rgba(8,37,28,.92); border:1px solid rgba(47,190,88,.45); color:#fff; font-size:12px; padding:9px 14px; border-radius:9px;
  opacity:0; transform:translateY(8px); transition:opacity .45s var(--ease), transform .45s var(--ease); }
.lp-toast.show{ opacity:1; transform:none; }
.lp-toast i{ width:8px; height:8px; border-radius:50%; background:var(--green-br); }

/* ---- chatbot ---- */
.chat-win{ } 
.chat{ padding:18px; display:flex; flex-direction:column; gap:13px; min-height:296px; }
.msg{ display:flex; gap:10px; align-items:flex-end; max-width:84%; }
.msg.bot{ align-self:flex-start; }
.msg.user{ align-self:flex-end; flex-direction:row-reverse; }
.ava{ width:30px; height:30px; border-radius:50%; background:var(--green-grad); color:#fff; display:grid; place-items:center; font-family:var(--serif); font-size:14px; flex:0 0 auto; }
.bub{ padding:11px 15px; border-radius:14px; font-size:14px; line-height:1.5; }
.msg.bot .bub{ background:rgba(255,255,255,.06); color:var(--on-dark); border-bottom-left-radius:4px; }
.msg.user .bub{ background:var(--green-grad); color:#fff; border-bottom-right-radius:4px; }
.bub .cursor-blink{ display:inline-block; width:2px; height:1em; background:var(--green-br); margin-left:1px; vertical-align:-2px; animation:blink 1s steps(2) infinite; }
@keyframes blink{ 0%,100%{ opacity:1 } 50%{ opacity:0 } }
.typing .bub{ display:flex; gap:5px; align-items:center; padding:14px 16px; }
.typing .dot{ width:7px; height:7px; border-radius:50%; background:var(--on-dark-mut); animation:techtype 1.4s infinite; }
.typing .dot:nth-child(2){ animation-delay:.2s; } .typing .dot:nth-child(3){ animation-delay:.4s; }
@keyframes techtype{ 0%,60%,100%{ opacity:.3; transform:translateY(0) } 30%{ opacity:1; transform:translateY(-4px) } }
.chat-input{ display:flex; align-items:center; gap:10px; padding:13px 16px; border-top:1px solid rgba(255,255,255,.07); }
.chat-ph{ flex:1; color:var(--on-dark-mut); font-size:13px; }
.chat-send{ width:36px; height:36px; border-radius:50%; background:var(--green-grad); display:grid; place-items:center; flex:0 0 auto; }
.chat-send svg{ width:17px; height:17px; stroke:#fff; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.soon-veil{ position:absolute; inset:0; display:grid; place-items:center; border-radius:14px;
  background:rgba(7,36,27,.5); backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
.soon-badge{ display:flex; align-items:center; gap:10px; background:rgba(8,37,28,.94); border:1px solid rgba(184,151,90,.5);
  color:#fff; padding:13px 24px; border-radius:999px; font-weight:600; letter-spacing:.04em; font-size:14px; box-shadow:0 20px 50px -24px rgba(0,0,0,.7); }
.soon-badge svg{ width:18px; height:18px; stroke:var(--gold-soft); fill:none; stroke-width:1.6; }

/* ---- responsive ---- */
@media (max-width: 980px){
  .tech-shell{ grid-template-columns:1fr; }
  .tech-tabs{ flex-direction:column; }
  .tt-desc{ display:none; }
  .tech-stage{ min-height:0; }
}
@media (max-width: 620px){
  .kpi-row{ grid-template-columns:1fr; }
  .dash-grid{ grid-template-columns:1fr; }
  .lp-hero{ grid-template-columns:1fr; }
}
