/* ══════════════════════════════════════════
   EVERGREEN AI · style.css
   ══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --neon:        #00ff88;
  --neon-dim:    #00cc6a;
  --neon-glow:   rgba(0, 255, 136, 0.22);
  --cyan:        #00d4ff;
  --cyan-glow:   rgba(0, 212, 255, 0.18);
  --amber:       #fbbf24;
  --red:         #ff5f57;

  --bg:          #03080b;
  --bg-2:        #071410;
  --surface:     rgba(5, 18, 12, 0.72);
  --surface-h:   rgba(0, 255, 136, 0.05);
  --border:      rgba(0, 255, 136, 0.13);
  --border-h:    rgba(0, 255, 136, 0.4);
  --border-sub:  rgba(255, 255, 255, 0.06);

  --text:        #cce8d4;
  --text-muted:  #5e7a65;
  --text-dim:    #839e89;
  --white:       #f0f8f2;

  --font-sans:   'Inter', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,255,136,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,136,0.4); }

/* ── CANVAS BG ── */
#bg-canvas {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── CONTAINER ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
section { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem 0;
  backdrop-filter: blur(22px) saturate(1.3);
  background: rgba(3, 8, 11, 0.82);
  border-bottom: 1px solid var(--border);
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: rgba(0,255,136,0.22); }
.nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: .65rem;
}
.nav__logo-icon {
  width: 34px; height: 34px;
  background: var(--neon);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 20px var(--neon-glow);
  flex-shrink: 0;
}
.nav__logo-text {
  font-family: var(--font-mono);
  font-size: .9rem; font-weight: 700;
  color: var(--neon);
  letter-spacing: .07em;
  text-shadow: 0 0 14px var(--neon-glow);
}
.nav__logo-text em { color: var(--text-muted); font-style: normal; font-weight: 300; }
.nav__links {
  display: flex; gap: 2rem; align-items: center;
}
.nav__links a {
  color: var(--text-muted);
  font-size: .83rem; font-weight: 500;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav__links a:hover { color: var(--neon); }
.nav__cta {
  padding: .5rem 1.3rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon) !important;
  font-weight: 600; font-size: .83rem;
  cursor: pointer;
  transition: all .2s;
}
.nav__cta:hover {
  background: var(--neon-glow);
  box-shadow: 0 0 22px var(--neon-glow);
}
.nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dim); border-radius: 2px;
  transition: all .3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 100%);
}
.hero__radial {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,255,136,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero__content { max-width: 820px; margin: 0 auto; text-align: center; }
.hero__sub { margin-left: auto; margin-right: auto; }
.hero__ctas { justify-content: center; }
.hero__stats { justify-content: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: .7rem; color: var(--neon);
  background: rgba(0,255,136,.04);
  letter-spacing: .08em; margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.8)} }

.hero__h1 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 900; line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
}
.hero__h1 .line-green {
  display: block; color: var(--neon);
  text-shadow: 0 0 50px rgba(0,255,136,.35);
}
.hero__h1 .line-white { display: block; color: var(--white); }

.hero__sub {
  font-size: 1.1rem; color: var(--text-dim);
  max-width: 600px; margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: var(--radius-md);
  background: var(--neon); color: #030d06;
  font-weight: 700; font-size: .92rem;
  border: none; cursor: pointer;
  transition: all .25s;
  box-shadow: 0 0 30px rgba(0,255,136,.35);
  letter-spacing: .02em;
}
.btn-primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 0 55px rgba(0,255,136,.55);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: var(--radius-md);
  background: transparent; color: var(--text);
  font-weight: 600; font-size: .92rem;
  border: 1px solid var(--border);
  cursor: pointer; transition: all .25s;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--neon); color: var(--neon);
  background: rgba(0,255,136,.04);
}

.hero__stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem; font-weight: 700;
  color: var(--neon); line-height: 1;
  text-shadow: 0 0 20px var(--neon-glow);
}
.stat__label {
  font-size: .75rem; color: var(--text-muted);
  margin-top: .3rem; letter-spacing: .04em;
}

/* ══════════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .15em;
  color: var(--neon); text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: .9rem;
  letter-spacing: -.022em;
}
.section-desc {
  color: var(--text-dim); font-size: 1rem;
  max-width: 560px; line-height: 1.78;
}

/* ══════════════════════════════════════════
   INTRO / TERMINAL
   ══════════════════════════════════════════ */
.intro { padding: 6rem 0; }
.intro__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.terminal {
  background: rgba(3, 14, 8, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,255,136,.05);
}
.terminal__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .85rem 1.2rem;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #febc2e; }
.t-dot.g { background: var(--neon); box-shadow: 0 0 7px var(--neon); }
.terminal__title {
  margin-left: .4rem;
  font-family: var(--font-mono);
  font-size: .65rem; color: var(--text-muted);
  letter-spacing: .06em;
}
.terminal__body { padding: 1.4rem 1.6rem; font-family: var(--font-mono); font-size: .74rem; }
.t-section-hd {
  color: var(--neon); font-weight: 700;
  font-size: .68rem; letter-spacing: .1em;
  margin-bottom: .6rem; margin-top: .2rem;
}
.t-row { display: flex; gap: .8rem; margin-bottom: .35rem; line-height: 1.4; }
.t-key { color: var(--text-muted); flex-shrink: 0; min-width: 110px; }
.t-green { color: var(--neon); }
.t-cyan  { color: var(--cyan); }
.t-white { color: var(--white); }
.t-amber { color: var(--amber); }
.t-sep { border: none; border-top: 1px solid var(--border); margin: .9rem 0; }

/* ══════════════════════════════════════════
   MODULES
   ══════════════════════════════════════════ */
.modules { padding: 6rem 0; }
.modules__header {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 2rem;
  margin-bottom: 3.5rem; flex-wrap: wrap;
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  cursor: default;
}
.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0; transition: opacity .3s;
}
.module-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0,0,0,.45), 0 0 40px var(--neon-glow);
}
.module-card:hover::before { opacity: 1; }
.module-card__icon { font-size: 1.7rem; margin-bottom: .9rem; display: block; }
.module-card__ai-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-mono); font-size: .6rem;
  color: var(--cyan);
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.2);
  padding: .14rem .5rem; border-radius: 4px;
  margin-bottom: .7rem; letter-spacing: .08em;
}
.module-card__title {
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: .8rem;
}
.module-card__list li {
  font-size: .8rem; color: var(--text-muted);
  display: flex; align-items: flex-start;
  gap: .45rem; margin-bottom: .35rem;
  line-height: 1.45;
}
.module-card__list li::before {
  content: '—'; color: var(--neon);
  flex-shrink: 0; opacity: .5; margin-top: .05rem;
}

/* ══════════════════════════════════════════
   AI SERVICES
   ══════════════════════════════════════════ */
.ai-services {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(0,255,136,.015) 50%, transparent);
}
.ai-services__header { text-align: center; margin-bottom: 3.5rem; }
.ai-services__header .section-desc { margin: 0 auto; }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.ai-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.ai-card::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.ai-card:hover { border-color: var(--border-h); transform: translateY(-4px);
  box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.ai-card:hover::after { opacity: 1; }
.ai-card__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.ai-card__icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,255,136,.08);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.ai-card__title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .15rem; }
.ai-card__sub { font-size: .73rem; color: var(--text-muted); font-family: var(--font-mono); }
.ai-card__list li {
  font-size: .82rem; color: var(--text-dim);
  display: flex; align-items: flex-start;
  gap: .55rem; margin-bottom: .45rem; line-height: 1.5;
}
.ai-check { color: var(--neon); flex-shrink: 0; font-size: .7rem; margin-top: .15rem; }

/* ══════════════════════════════════════════
   DASHBOARD PREVIEW
   ══════════════════════════════════════════ */
.dashboard-preview { padding: 7rem 0; }
.dashboard-preview__header { margin-bottom: 3.5rem; }

.browser-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(0,255,136,.08);
  position: relative;
}
.browser-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,255,136,.04) 0%, transparent 60%);
  pointer-events: none; z-index: 10;
}

.browser-bar {
  background: rgba(3,10,6,.95);
  border-bottom: 1px solid var(--border);
  padding: .8rem 1.2rem;
  display: flex; align-items: center; gap: 1rem;
}
.browser-dots { display: flex; gap: .4rem; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: var(--neon); box-shadow: 0 0 6px var(--neon); }
.browser-url {
  flex: 1; background: rgba(0,0,0,.4);
  border: 1px solid var(--border-sub);
  border-radius: 6px;
  padding: .28rem .8rem;
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--text-muted); letter-spacing: .03em;
  max-width: 360px;
}

/* ── MOCK APP ── */
.mock-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 540px;
  background: #030c06;
}

/* sidebar */
.mock-sidebar {
  background: rgba(2,8,4,.9);
  border-right: 1px solid var(--border);
  padding: 1.2rem 0;
  overflow: hidden;
}
.mock-sidebar__brand {
  display: flex; align-items: center; gap: .6rem;
  padding: 0 1.2rem 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .8rem;
}
.mock-sidebar__brand-dot {
  width: 26px; height: 26px;
  background: var(--neon); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  box-shadow: 0 0 12px var(--neon-glow);
}
.mock-sidebar__brand-name {
  font-family: var(--font-mono); font-size: .7rem;
  font-weight: 700; color: var(--neon);
  letter-spacing: .05em; line-height: 1.2;
}
.mock-sidebar__brand-name small { display: block; color: var(--text-muted); font-weight: 300; font-size: .6rem; }

.mock-nav-section {
  font-family: var(--font-mono); font-size: .58rem;
  color: var(--text-muted); letter-spacing: .12em;
  padding: .8rem 1.2rem .3rem; text-transform: uppercase;
}
.mock-nav-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .52rem 1.2rem;
  font-size: .74rem; color: var(--text-muted);
  cursor: pointer; transition: all .2s;
  border-left: 2px solid transparent;
}
.mock-nav-item:hover { color: var(--text); background: rgba(0,255,136,.03); }
.mock-nav-item.active {
  color: var(--neon); background: rgba(0,255,136,.06);
  border-left-color: var(--neon);
}
.mock-nav-item__icon { font-size: .9rem; flex-shrink: 0; }

.mock-sidebar__lote {
  margin: .8rem 1.2rem 0;
  padding: .7rem;
  background: rgba(0,255,136,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mock-sidebar__lote-label {
  font-family: var(--font-mono); font-size: .58rem;
  color: var(--text-muted); letter-spacing: .1em; margin-bottom: .3rem;
}
.mock-sidebar__lote-name { font-size: .72rem; color: var(--white); font-weight: 600; }
.mock-sidebar__lote-stage {
  display: inline-block; margin-top: .25rem;
  font-family: var(--font-mono); font-size: .58rem;
  color: var(--cyan); background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  padding: .1rem .4rem; border-radius: 3px;
}

/* main content */
.mock-main {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(3,10,6,.6);
  flex-shrink: 0;
}
.mock-topbar__title { font-size: .82rem; font-weight: 700; color: var(--white); }
.mock-topbar__sub { font-size: .65rem; color: var(--text-muted); margin-top: .1rem; font-family: var(--font-mono); }
.mock-topbar__right { display: flex; align-items: center; gap: .8rem; }
.mock-alert-badge {
  display: flex; align-items: center; gap: .35rem;
  padding: .3rem .75rem;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 6px;
  font-size: .65rem; color: var(--amber);
  font-family: var(--font-mono);
}
.mock-alert-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); animation: pulse-dot 1.4s infinite; }
.mock-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), #007a40);
  font-size: .65rem; font-weight: 700; color: #030d06;
  display: flex; align-items: center; justify-content: center;
}

.mock-content {
  flex: 1; padding: 1.2rem 1.5rem;
  overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
}

/* kpi row */
.mock-kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem;
}
.mock-kpi {
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .8rem;
}
.mock-kpi__label { font-size: .58rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .07em; margin-bottom: .3rem; }
.mock-kpi__val {
  font-family: var(--font-mono); font-size: 1.1rem;
  font-weight: 700; line-height: 1;
}
.mock-kpi__val.green { color: var(--neon); text-shadow: 0 0 12px var(--neon-glow); }
.mock-kpi__val.cyan  { color: var(--cyan); }
.mock-kpi__val.white { color: var(--white); }
.mock-kpi__val.amber { color: var(--amber); }
.mock-kpi__trend { font-size: .6rem; color: var(--text-muted); margin-top: .3rem; }

/* bottom row */
.mock-bottom-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: .7rem; flex: 1; min-height: 0; }

/* chart */
.mock-chart-card {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem;
  overflow: hidden;
}
.mock-chart-card__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem;
}
.mock-chart-card__title { font-size: .72rem; font-weight: 600; color: var(--white); }
.mock-chart-pill {
  font-family: var(--font-mono); font-size: .58rem;
  color: var(--neon); background: rgba(0,255,136,.07);
  border: 1px solid var(--border); padding: .1rem .45rem; border-radius: 4px;
}
.chart-svg { width: 100%; height: 120px; }

/* ai panel */
.mock-ai-panel {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem; display: flex; flex-direction: column; gap: .6rem;
  overflow: hidden;
}
.mock-ai-panel__title {
  font-size: .7rem; font-weight: 700; color: var(--neon);
  font-family: var(--font-mono); letter-spacing: .06em;
  display: flex; align-items: center; gap: .4rem;
}
.ai-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
  animation: pulse-dot 1.8s infinite;
}
.mock-ai-msg {
  background: rgba(0,255,136,.04);
  border: 1px solid rgba(0,255,136,.12);
  border-radius: 7px; padding: .6rem .8rem;
}
.mock-ai-msg__text { font-size: .66rem; color: var(--text-dim); line-height: 1.5; }
.mock-ai-msg__text strong { color: var(--neon); font-weight: 600; }
.mock-ai-actions { display: flex; gap: .5rem; }
.mock-btn-approve {
  flex: 1; padding: .35rem;
  background: var(--neon); color: #030d06;
  border: none; border-radius: 5px;
  font-size: .62rem; font-weight: 700; cursor: pointer;
  font-family: var(--font-mono);
}
.mock-btn-reject {
  flex: 1; padding: .35rem;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 5px; font-size: .62rem; cursor: pointer;
  font-family: var(--font-mono);
}
.mock-lote-list { display: flex; flex-direction: column; gap: .35rem; }
.mock-lote-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .5rem;
  border-radius: 5px; background: rgba(255,255,255,.02);
}
.mock-lote-indicator {
  width: 5px; height: 18px; border-radius: 3px; flex-shrink: 0;
}
.mock-lote-indicator.ok  { background: var(--neon); }
.mock-lote-indicator.warn { background: var(--amber); }
.mock-lote-indicator.info { background: var(--cyan); }
.mock-lote-name { font-size: .65rem; color: var(--white); font-weight: 600; flex: 1; }
.mock-lote-stage { font-size: .58rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ══════════════════════════════════════════
   MANAGEMENT
   ══════════════════════════════════════════ */
.management { padding: 6rem 0; }
.management__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 3.5rem;
}
.mgmt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all .3s;
  backdrop-filter: blur(10px);
}
.mgmt-card:hover {
  border-color: var(--border-h); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.mgmt-card__icon { font-size: 1.9rem; margin-bottom: .9rem; display: block; }
.mgmt-card__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .8rem; }
.mgmt-card__list li {
  font-size: .8rem; color: var(--text-muted);
  display: flex; align-items: flex-start;
  gap: .5rem; margin-bottom: .38rem;
}
.mgmt-card__list li::before { content: '›'; color: var(--neon); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════
   TECH STACK
   ══════════════════════════════════════════ */
.stack-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stack-strip__inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.stack-strip__label {
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--text-muted); letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
}
.stack-pills { display: flex; flex-wrap: wrap; gap: .65rem; }
.pill {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,255,136,.02);
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--text-dim); transition: all .2s;
}
.pill:hover { border-color: var(--neon); color: var(--neon); background: rgba(0,255,136,.05); }
.pill__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--neon); }

/* ══════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════ */
.contact { padding: 7rem 0; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
.contact__benefits { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.benefit {
  display: flex; gap: .9rem; align-items: flex-start;
}
.benefit__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(0,255,136,.07);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.benefit__title { font-size: .88rem; font-weight: 600; color: var(--white); margin-bottom: .15rem; }
.benefit__desc { font-size: .8rem; color: var(--text-muted); line-height: 1.55; }

/* form card */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.6rem;
  backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,136,.06) 0%, transparent 70%);
  pointer-events: none;
}
.form-card__title { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: .3rem; }
.form-card__sub { font-size: .82rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .75rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: .4rem;
  letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .72rem 1rem;
  color: var(--text); font-family: var(--font-sans); font-size: .86rem;
  transition: all .2s; outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: .5; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  background: rgba(0,255,136,.03);
  box-shadow: 0 0 0 3px rgba(0,255,136,.09);
}
.form-group input.error { border-color: var(--red); }
.form-group select option { background: #071a10; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%; padding: .95rem;
  border-radius: var(--radius-md);
  background: var(--neon); color: #030d06;
  font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: all .25s; letter-spacing: .03em;
  box-shadow: 0 0 30px rgba(0,255,136,.3);
  margin-top: .3rem;
}
.btn-submit:hover {
  background: var(--white);
  box-shadow: 0 0 55px rgba(0,255,136,.5);
  transform: translateY(-2px);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-privacy {
  text-align: center; font-size: .7rem;
  color: var(--text-muted); margin-top: .9rem;
}

.form-success {
  display: none; text-align: center; padding: 2rem;
}
.form-success.active { display: block; }
.form-success__icon { font-size: 2.8rem; margin-bottom: 1rem; }
.form-success__title { font-size: 1.3rem; font-weight: 700; color: var(--neon); margin-bottom: .5rem; }
.form-success__msg { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  position: relative; z-index: 1;
}
.footer__inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 3rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer__brand { max-width: 280px; }
.footer__logo-text {
  font-family: var(--font-mono); font-size: 1rem;
  font-weight: 700; color: var(--neon);
  text-shadow: 0 0 14px var(--neon-glow);
  margin-bottom: .5rem;
}
.footer__tagline { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

.footer__links-group h4 {
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--text-muted); letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .9rem;
}
.footer__links-group li { margin-bottom: .5rem; }
.footer__links-group a {
  font-size: .82rem; color: var(--text-muted);
  transition: color .2s;
}
.footer__links-group a:hover { color: var(--neon); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy { font-size: .72rem; color: var(--text-muted); opacity: .6; }
.footer__status {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .68rem; color: var(--neon);
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* stagger delays */
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .mock-app { grid-template-columns: 180px 1fr; }
  .mock-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .modules__grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .management__grid { grid-template-columns: 1fr 1fr; }
  .intro__grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .footer__inner { flex-direction: column; gap: 2rem; }
  .mock-app { display: none; }
  .browser-frame { display: none; }
  .dashboard-preview__mobile { display: block; }
}

@media (max-width: 640px) {
  .modules__grid { grid-template-columns: 1fr; }
  .management__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.8rem; }
  .form-card { padding: 1.8rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* mobile nav drawer */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1.2rem 2rem;
  background: rgba(3,8,11,.97);
  border-top: 1px solid var(--border);
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  color: var(--text-dim); font-size: .9rem;
  font-weight: 500; padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav__mobile-menu a:last-child { border-bottom: none; }
.nav__mobile-menu a:hover { color: var(--neon); }

/* dashboard preview mobile fallback */
.dashboard-preview__mobile {
  display: none;
}
.mobile-kpi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.mobile-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.mobile-kpi__label { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: .4rem; }
.mobile-kpi__val { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; }
.mobile-kpi__val.green { color: var(--neon); }
.mobile-kpi__val.cyan { color: var(--cyan); }
.mobile-kpi__val.white { color: var(--white); }
.mobile-kpi__val.amber { color: var(--amber); }
.mobile-kpi__trend { font-size: .68rem; color: var(--text-muted); margin-top: .25rem; }

/* ══════════════════════════════════════════
   NAV LOGO IMAGE
   ══════════════════════════════════════════ */
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(1.1);
  transition: filter .2s, opacity .2s;
}
.nav__logo-img:hover { filter: brightness(1.3) drop-shadow(0 0 10px rgba(0,255,136,.55)); }

/* Hero centered logo */
.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero__logo img {
  height: clamp(120px, 15vw, 192px);
  width: clamp(120px, 15vw, 192px);
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 40px rgba(0,255,136,.4));
  border: 2px solid rgba(0,255,136,.25);
}

/* ══════════════════════════════════════════
   HERO PHOTO BACKGROUND
   ══════════════════════════════════════════ */
.hero__photo-bg {
  position: absolute; inset: 0;
  background-image: url('../img/invernadero-wide.jpg');
  background-size: cover;
  background-position: center 60%;
  opacity: .07;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 0%, transparent 75%);
}

/* ══════════════════════════════════════════
   GALLERY SECTION
   ══════════════════════════════════════════ */
.gallery { padding: 6rem 0; }
.gallery__header {
  margin-bottom: 3rem;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: default;
  background: #000;
  aspect-ratio: 4/3;
}
.gallery__item--tall {
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
  filter: saturate(0.85) brightness(0.75);
}
.gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1) brightness(0.85);
}
/* overlay siempre visible con fondo negro translúcido */
.gallery__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(transparent 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.88) 100%);
  opacity: 1;
  transition: background .3s;
}
.gallery__item:hover .gallery__overlay {
  background: linear-gradient(transparent 0%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.95) 100%);
}
.gallery__tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: .62rem;
  color: var(--neon); background: rgba(0,0,0,.5);
  border: 1px solid rgba(0,255,136,.4);
  padding: .15rem .5rem; border-radius: 4px;
  letter-spacing: .08em; margin-bottom: .4rem;
}
.gallery__tag--cyan {
  color: var(--cyan); background: rgba(0,0,0,.5);
  border-color: rgba(0,212,255,.4);
}
.gallery__caption {
  font-size: .75rem; color: #e0e0e0; line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.gallery__ai-badge {
  position: absolute; top: .8rem; right: .8rem;
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .62rem;
  color: var(--neon); background: rgba(3,8,11,.85);
  border: 1px solid rgba(0,255,136,.3);
  padding: .3rem .6rem; border-radius: 6px;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.gallery__item--bluelab img {
  object-position: center top;
}
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--tall { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════ */
.pricing { padding: 7rem 0; }
.pricing__header {
  text-align: center; margin-bottom: 4rem;
}
.pricing__header .section-desc { margin: 0 auto; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  position: relative;
  transition: all .3s;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.pricing-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.pricing-card--featured {
  border-color: var(--neon);
  background: rgba(0,255,136,.05);
  box-shadow: 0 0 0 1px rgba(0,255,136,.15), 0 20px 60px rgba(0,255,136,.08);
}
.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(0,255,136,.3), 0 30px 80px rgba(0,255,136,.15);
}

.pricing-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  color: #030d06; background: var(--neon);
  padding: .2rem .8rem; border-radius: 20px;
  letter-spacing: .1em;
  box-shadow: 0 0 16px var(--neon-glow);
}

.pricing-card__icon { font-size: 1.6rem; margin-bottom: .3rem; }
.pricing-card__name {
  font-size: 1.15rem; font-weight: 800;
  color: var(--white); margin-bottom: .2rem;
  letter-spacing: -.01em;
}
.pricing-card__desc {
  font-size: .78rem; color: var(--text-muted);
  line-height: 1.5;
}

.pricing-card__price {
  display: flex; align-items: baseline;
  gap: .2rem; padding: .8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-card__currency {
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--text-muted); font-weight: 500;
}
.pricing-card__amount {
  font-family: var(--font-mono); font-size: 2.4rem;
  font-weight: 900; color: var(--neon);
  line-height: 1;
  text-shadow: 0 0 20px var(--neon-glow);
}
.pricing-card--featured .pricing-card__amount {
  font-size: 2.8rem;
}
.pricing-card__period {
  font-size: .8rem; color: var(--text-muted);
  font-weight: 400;
}

.pricing-card__features {
  list-style: none;
  display: flex; flex-direction: column; gap: .55rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex; align-items: flex-start;
  gap: .55rem; font-size: .82rem;
  color: var(--text-dim); line-height: 1.45;
}
.feat-check {
  color: var(--neon); flex-shrink: 0;
  font-weight: 700; font-size: .75rem;
  margin-top: .1rem;
}
.feat-disabled { opacity: .4; }
.feat-x {
  color: var(--text-muted); flex-shrink: 0;
  font-size: .75rem; margin-top: .1rem;
}

.pricing-card__btn {
  display: block; text-align: center;
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: .85rem;
  transition: all .25s; cursor: pointer;
  letter-spacing: .02em; margin-top: auto;
}
.pricing-card__btn--primary {
  background: var(--neon); color: #030d06;
  border: none;
  box-shadow: 0 0 24px rgba(0,255,136,.35);
}
.pricing-card__btn--primary:hover {
  background: #fff;
  box-shadow: 0 0 40px rgba(0,255,136,.55);
  transform: translateY(-2px);
}
.pricing-card__btn--outline {
  background: transparent; color: var(--neon);
  border: 1px solid var(--neon);
}
.pricing-card__btn--outline:hover {
  background: rgba(0,255,136,.07);
  box-shadow: 0 0 20px var(--neon-glow);
}

.pricing__note {
  text-align: center; margin-top: 2.5rem;
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.6;
}
.pricing__note a {
  color: var(--neon); text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   FOOTER LOGO IMAGE
   ══════════════════════════════════════════ */
.footer__logo-img {
  height: 56px; width: auto;
  margin-bottom: .6rem;
  filter: brightness(.95);
}
