﻿:root {
  --bg1: #040910;
  --bg2: #081629;
  --bg3: #0d2542;
  --glass: rgba(255,255,255,0.08);
  --glass2: rgba(255,255,255,0.15);
  --stroke: rgba(120,195,255,0.35);
  --text: #edf5ff;
  --muted: #a8bfdc;
  --cyan: #36d5ff;
  --blue: #4f8dff;
  --teal: #21d5c7;
  --shadow: 0 30px 70px rgba(0,0,0,0.5);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  background: linear-gradient(130deg, var(--bg1), var(--bg2) 46%, var(--bg3));
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mesh-bg {
  position: fixed;
  inset: -15%;
  z-index: -3;
  background:
    radial-gradient(45% 35% at 18% 22%, rgba(60,145,255,0.35), transparent 70%),
    radial-gradient(40% 34% at 75% 18%, rgba(55,213,255,0.3), transparent 72%),
    radial-gradient(33% 32% at 50% 72%, rgba(33,213,199,0.2), transparent 72%);
  filter: blur(18px);
  animation: meshShift 16s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 1.5%, 0) scale(1.08); }
}

.orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  filter: blur(55px);
  pointer-events: none;
  z-index: -2;
  animation: floatGlow 10s ease-in-out infinite;
}
.orb.left { left: -120px; top: 14%; background: rgba(79,141,255,0.26); }
.orb.right { right: -120px; top: 58%; background: rgba(54,213,255,0.2); animation-delay: 1.7s; }
@keyframes floatGlow {
  0%,100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-18px); opacity: 1; }
}

.container { width: min(1240px, calc(100% - 2.4rem)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(4,10,21,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner {
  min-height: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-logo {
  width: 105px;
  height: auto;
  max-height: 105px;
  border-radius: 16px;
  object-fit: cover;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}
.brand-text strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.13rem;
  letter-spacing: 0.2px;
}
.brand-text small { color: var(--muted); font-size: 0.8rem; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 0.56rem 0.82rem;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nav-links a {
  color: var(--muted);
  padding: 0.58rem 0.8rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  transition: 220ms ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #f5fbff;
  border-color: rgba(79,141,255,0.42);
  background: rgba(79,141,255,0.16);
}
.nav-links a.nav-login {
  color: #062338;
  background: linear-gradient(110deg, var(--cyan), var(--blue));
  border-color: rgba(54,213,255,0.45);
  font-weight: 700;
}
.nav-links a.nav-login:hover,
.nav-links a.nav-login.active {
  color: #031522;
  border-color: rgba(54,213,255,0.62);
  background: linear-gradient(110deg, #5fe5ff, #73a8ff);
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 2.5rem;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.2rem; align-items: center; }

.glass {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(150deg, var(--glass2), var(--glass));
  box-shadow: var(--shadow);
}
.panel { padding: 1.7rem; }

.kicker {
  display: inline-flex;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(54,213,255,0.45);
  background: rgba(54,213,255,0.12);
  color: #b7f4ff;
  font-size: 0.8rem;
}
h1,h2,h3,h4 {
  margin: 0 0 0.65rem;
  line-height: 1.1;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}
h1 { font-size: clamp(2.35rem, 4.5vw, 4rem); letter-spacing: -0.2px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 0.9rem; color: var(--muted); line-height: 1.72; }

.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.12rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.btn:hover { transform: translateY(-3px); }
.btn.primary {
  color: #062338;
  background: linear-gradient(110deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 30px rgba(54,213,255,0.26);
}
.btn.secondary {
  color: #d9ebff;
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.06);
}
.btn.admin {
  color: #f5f8ff;
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(110deg, #1b2c4f, #2f4c86);
}
.btn.whatsapp { background: linear-gradient(110deg, #22d46f, #2ddf8f); color: #032618; }
.btn.phone { background: linear-gradient(110deg, #4f8dff, #36d5ff); color: #04203a; }

.section { padding: 2.2rem 0 4.2rem; }
.section-head { margin-bottom: 1.35rem; }
.grid { display: grid; gap: 1rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  padding: 1.2rem;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(54,213,255,0.52);
  box-shadow: 0 20px 36px rgba(8,16,32,0.55);
}
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,141,255,0.12), rgba(54,213,255,0.05));
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}
.product-card:hover::before { opacity: 1; }
.product-card > * {
  position: relative;
  z-index: 1;
}

.stat .value,
.counter {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
}
.icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(54,213,255,0.48);
  background: rgba(54,213,255,0.15);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.62rem;
}
.list { margin: 0.2rem 0 0; padding-left: 1.15rem; color: #c8dbf5; }
.list li { margin-bottom: 0.38rem; }

.hero-visual { position: relative; min-height: 420px; }
.dashboard-shell {
  height: 100%;
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
}
.dashboard-head { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.5); }
.mock-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.8rem; }
.mock-card {
  border-radius: 14px;
  padding: 0.85rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(4,10,22,0.45);
}
.mock-bar { height: 8px; border-radius: 999px; margin-top: 0.5rem; background: linear-gradient(90deg, rgba(54,213,255,0.75), rgba(79,141,255,0.85)); }
.floating-chip {
  position: absolute;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(9,20,38,0.72);
  color: #d9eeff;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
  animation: chipFloat 6.5s ease-in-out infinite;
}
.floating-chip.one { top: 22px; right: -10px; }
.floating-chip.two { bottom: 30px; left: -16px; animation-delay: 1.5s; }
@keyframes chipFloat {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.parallax { will-change: transform; }

.timeline { border-left: 2px dashed rgba(255,255,255,0.2); padding-left: 1rem; }
.timeline .step { position: relative; padding-bottom: 1rem; }
.timeline .step::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  position: absolute;
  left: -1.34rem;
  top: 0.22rem;
}
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 0.8rem;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 12px 26px rgba(0,0,0,0.34);
}

.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
.contact-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.8rem; margin-top: 1rem; }
.contact-mini { border-radius: 14px; padding: 0.9rem; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); }
.map-shell {
  margin-top: 1rem;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    linear-gradient(140deg, rgba(54,213,255,0.15), rgba(79,141,255,0.15)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 6px, rgba(255,255,255,0.02) 6px 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d9eeff;
}

.form-shell .field {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(4,10,22,0.58);
  color: var(--text);
  padding: 0.82rem 0.9rem;
  margin-bottom: 0.76rem;
  font: inherit;
}
.form-shell textarea.field { min-height: 130px; resize: vertical; }
.form-shell .field:focus {
  outline: none;
  border-color: rgba(54,213,255,0.72);
  box-shadow: 0 0 0 3px rgba(54,213,255,0.16);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(3,8,18,0.74);
}
.footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo {
  width: 80px;
  height: auto;
  max-height: 80px;
  border-radius: 14px;
  object-fit: cover;
  object-position: left center;
  border: 1px solid rgba(255,255,255,0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 780ms ease, transform 780ms ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-layout,
  .cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,10,22,0.95);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.7rem;
  }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links a { width: 100%; }
  .hero-grid,
  .contact-layout,
  .contact-actions,
  .cols-2,
  .cols-3,
  .cols-4 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.4rem; }
  .brand-logo { width: 88px; max-height: 88px; }
}
@media (max-width: 560px) {
  .container { width: min(1240px, calc(100% - 1.2rem)); }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 0.8rem 0; }
}
