/* ============================================
   LANDING PAGE INSTITUCIONAL - FUTURISTIC STYLE
   Dark theme, cyan neon, glassmorphism
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-bg: #06080d;
  --color-bg-secondary: #0c1017;
  --color-bg-card: rgba(12, 18, 30, 0.7);
  --color-bg-glass: rgba(15, 22, 40, 0.5);
  --color-text: #e4e8f1;
  --color-text-light: #8a92a6;
  --color-text-white: #f0f2f8;
  --color-accent: #00e5ff;
  --color-accent-dim: rgba(0, 229, 255, 0.15);
  --color-accent-glow: rgba(0, 229, 255, 0.4);
  --color-accent-secondary: #7c4dff;
  --color-accent-secondary-dim: rgba(124, 77, 255, 0.15);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-accent: rgba(0, 229, 255, 0.2);
  --color-success: #00e676;
  --color-danger: #ff5252;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: rgba(6, 8, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-border);
}

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

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

.navbar-brand::before {
  content: '◈ ';
  color: var(--color-accent);
}

.navbar-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.navbar-nav a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.navbar-nav a:hover {
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: var(--color-text-white);
  padding: 140px 24px 100px;
  overflow: hidden;
}

.hero > .hero-content {
  position: relative;
  z-index: 3;
}

/* Dark overlay on hero image */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.7);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.5);
  color: var(--color-bg);
  background: var(--color-accent);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Stats */
.stats {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: all var(--transition);
  text-align: left;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-white);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* About */
.about-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--color-text-white);
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text strong {
  color: var(--color-accent);
}

.about-image {
  background: url('../images/about-bg.jpg') center center / cover no-repeat;
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  position: relative;
  overflow: hidden;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.benefit-item:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-glow);
}

.benefit-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-sm);
}

.benefit-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--color-text-white);
}

.benefit-item p {
  color: var(--color-text-light);
  font-size: 0.88rem;
}

/* Do / Don't */
.do-dont {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.do-box, .dont-box {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
}

.do-box {
  border-color: rgba(0, 230, 118, 0.2);
}

.dont-box {
  border-color: rgba(255, 82, 82, 0.2);
}

.do-box h3, .dont-box h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-text-white);
}

.do-box h3 { color: var(--color-success); }
.dont-box h3 { color: var(--color-danger); }

.do-box li, .dont-box li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}

.do-box li:last-child, .dont-box li:last-child {
  border-bottom: none;
}

.do-box li::before {
  content: '✓ ';
  color: var(--color-success);
  font-weight: 700;
  font-family: var(--font-mono);
}

.dont-box li::before {
  content: '✕ ';
  color: var(--color-danger);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--color-border-accent);
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.testimonial-card p::before {
  content: '" ';
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 0;
  vertical-align: -4px;
  margin-right: 2px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-white);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-family: var(--font-mono);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* FAQ */
.faq-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-white);
  font-family: var(--font-main);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform var(--transition);
  font-family: var(--font-mono);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* CTA */
.cta-section {
  background: var(--color-bg);
  color: var(--color-text-white);
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
}

.cta-section p {
  color: var(--color-text-light);
  margin-bottom: 36px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-secondary);
  color: var(--color-text-white);
  padding: 60px 0 28px;
  border-top: 1px solid var(--color-border);
}

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

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-family: var(--font-mono);
}

.footer p, .footer li, .footer a {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-family: var(--font-mono);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

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

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ============================================
   COOKIES POPUP
   ============================================ */
.cookies-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 8, 13, 0.95);
  backdrop-filter: blur(20px);
  color: var(--color-text-white);
  padding: 20px;
  z-index: 9999;
  display: none;
  border-top: 1px solid var(--color-border-accent);
}

.cookies-popup.show {
  display: block;
}

.cookies-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookies-inner p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  flex: 1;
}

.cookies-inner a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
}

.cookies-buttons button {
  padding: 10px 28px;
  border-radius: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-accept {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-accept:hover {
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-reject {
  background: transparent;
  border: 1px solid var(--color-border-accent);
  color: var(--color-text-light);
}

.btn-reject:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  font-weight: 800;
  color: var(--color-text-white);
  letter-spacing: -0.5px;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin: 32px 0 14px;
  font-weight: 700;
  color: var(--color-text-white);
}

.legal-page h3 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
  font-weight: 600;
  color: var(--color-text-white);
}

.legal-page p, .legal-page li {
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}

.legal-page strong {
  color: var(--color-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(6, 8, 13, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar-nav a {
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: 80vh;
    padding: 120px 20px 80px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 240px;
  }

  .services-grid,
  .testimonials-grid,
  .benefits-grid,
  .do-dont-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cookies-inner {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}
