﻿/* ========================================================== */
/* BIOCORA LANDING PAGE - SISTEMA DE DISEÑO FOOD-TECH PRO     */
/* Desarrollado por LOGICAT SAS                               */
/* ========================================================== */

:root {
  --bg-deep: #060B14;
  --bg-card: rgba(15, 27, 49, 0.7);
  --bg-card-hover: rgba(22, 40, 71, 0.85);
  --border-subtle: rgba(0, 166, 255, 0.15);
  --border-hover: rgba(0, 166, 255, 0.4);
  --cyan-accent: #00A6FF;
  --cyan-glow: rgba(0, 166, 255, 0.25);
  --navy-primary: #1A2E4F;
  --navy-dark: #0A1324;
  --green-fav: #00E599;
  --green-glow: rgba(0, 229, 153, 0.25);
  --amber-crit: #FFB020;
  --red-risk: #FF4757;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 166, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(0, 229, 153, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(26, 46, 79, 0.25) 0%, transparent 60%);
  background-attachment: fixed;
}

/* CONTENEDOR */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-shield-svg {
  width: 32px;
  height: 35px;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-bio { color: #FFFFFF; }
.brand-cora { color: var(--cyan-accent); }

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--cyan-accent);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #0084CE 0%, #00A6FF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 99px;
  box-shadow: 0 4px 20px var(--cyan-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 166, 255, 0.45);
}

/* HERO SECTION */
.hero-section {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 166, 255, 0.1);
  border: 1px solid rgba(0, 166, 255, 0.35);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 24px;
  animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
  0%, 100% { border-color: rgba(0, 166, 255, 0.35); }
  50% { border-color: rgba(0, 229, 153, 0.6); color: #00E599; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, #00A6FF 70%, #00E599 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-app {
  background: linear-gradient(135deg, #0084CE 0%, #00A6FF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 99px;
  box-shadow: 0 8px 30px var(--cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-primary-app:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 166, 255, 0.5);
}

.btn-secondary-demo {
  background: rgba(26, 46, 79, 0.4);
  border: 1px solid var(--border-hover);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-demo:hover {
  background: rgba(26, 46, 79, 0.7);
  border-color: var(--cyan-accent);
}

/* APP STORE BADGES */
.store-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 27, 49, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.store-badge-card:hover {
  border-color: var(--cyan-accent);
  background: rgba(26, 46, 79, 0.8);
  transform: translateY(-2px);
}

.store-badge-sub {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.store-badge-name {
  font-size: 14px;
  font-weight: 700;
}

/* INTERACTIVE SHOWCASE */
.showcase-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 166, 255, 0.2) 0%, rgba(26, 46, 79, 0.05) 100%);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 166, 255, 0.15);
}

.mockup-frame {
  background: #0A1324;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.08);
}

.mockup-top-bar {
  background: #0E182A;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.mockup-url-bar {
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--cyan-accent);
  font-family: monospace;
}

.mockup-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .mockup-body { grid-template-columns: 1fr; padding: 20px; }
}

.mockup-card-stat {
  background: rgba(15, 27, 49, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--green-fav);
  font-family: var(--font-display);
}

.stat-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* SECCIÓN RIESGOS */
.section-padding {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--cyan-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.risk-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.risk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 71, 87, 0.5);
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.15);
}

.risk-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(255, 71, 87, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.risk-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFF;
}

.risk-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* BENTO GRID DE CARACTERÍSTICAS */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .col-span-8, .col-span-4, .col-span-6 { grid-column: span 12; }
}

.bento-icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFF;
}

.bento-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* SECCIÓN VITRINA / STICKER */
.sticker-section {
  background: linear-gradient(180deg, rgba(26, 46, 79, 0.15) 0%, rgba(6, 11, 20, 0.8) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sticker-showcase-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .sticker-showcase-box { grid-template-columns: 1fr; }
}

.physical-sticker-preview {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px;
  color: #1A2E4F;
  box-shadow: 0 20px 60px rgba(0, 166, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.physical-sticker-preview:hover {
  transform: rotate(0deg) scale(1.02);
}

.sticker-seal-top {
  display: inline-block;
  background: #00E599;
  color: #0A1324;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.sticker-brand-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}

.sticker-sub {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 20px;
}

.sticker-qr-box {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticker-footnote {
  font-size: 11px;
  color: #64748B;
}

/* CALCULADORA DE ROI */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  backdrop-filter: blur(20px);
}

@media (max-width: 800px) {
  .calc-card { grid-template-columns: 1fr; padding: 24px; }
}

.calc-slider-wrap {
  margin: 28px 0;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1A2E4F;
  outline: none;
  accent-color: var(--cyan-accent);
}

.calc-result-box {
  background: rgba(0, 166, 255, 0.08);
  border: 1px solid rgba(0, 166, 255, 0.25);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--green-fav);
  font-family: var(--font-display);
}

/* PRECIOS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--cyan-accent);
  box-shadow: 0 10px 40px rgba(0, 166, 255, 0.25);
  background: linear-gradient(180deg, rgba(26, 46, 79, 0.8) 0%, rgba(15, 27, 49, 0.9) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 30px;
  background: linear-gradient(135deg, #00A6FF, #00E599);
  color: #0A1324;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 99px;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-display);
  margin-bottom: 24px;
  color: #FFF;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-fav);
  font-weight: 900;
}

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-pricing-primary {
  background: linear-gradient(135deg, #0084CE, #00A6FF);
  color: #FFF;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-pricing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 166, 255, 0.45);
}

/* FAQ */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--cyan-accent);
}

.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* FOOTER */
.site-footer {
  background: #040810;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-title {
  color: #FFF;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #FFF;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  font-size: 30px;
  transition: all 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}
