/* ============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --bg-primary: #020817;
  --bg-card: #0f172a;
  --bg-card-border: #1e293b;
  --blue-primary: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --blue-glow-strong: rgba(59, 130, 246, 0.5);
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-secondary: #cbd5e1;
  --whatsapp-green: #25d366;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   UTILITY CLASSES
============================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.text-blue {
  color: var(--blue-primary);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER / NAVIGATION
============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

#site-header.scrolled {
  background: rgba(2, 8, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--blue-primary);
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
  background: #2563eb;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--bg-card-border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ============================================
   HERO SECTION
============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content .section-label {
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   PHILOSOPHY SECTION
============================================= */
.philosophy-section {
  padding: var(--section-padding);
}

.philosophy-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.philosophy-bold {
  color: var(--text-white);
  font-weight: 700;
  margin-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SERVICES SECTION
============================================= */
.services-section {
  padding: var(--section-padding);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 30px -6px rgba(59, 130, 246, 0.2);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-glow);
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-icon-wrap svg,
.service-icon-wrap i {
  width: 24px;
  height: 24px;
  color: var(--blue-primary);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   ECOSYSTEM SECTION
============================================= */
.ecosystem-section {
  padding: var(--section-padding);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.eco-card {
  text-align: center;
}

.eco-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.eco-icon-wrap svg,
.eco-icon-wrap i {
  width: 24px;
  height: 24px;
  color: var(--blue-primary);
}

.eco-card:hover .eco-icon-wrap {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

.eco-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT / FORM SECTION
============================================= */
.contact-section {
  padding: var(--section-padding);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row-full {
  grid-template-columns: 1fr;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 0.9rem;
  font-family: var(--font-family);
  transition: border-color 0.3s ease;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
  color: var(--text-muted);
}

.contact-form select:valid {
  color: var(--text-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 8px;
}

/* ============================================
   MEETING SECTION
============================================= */
.meeting-section {
  padding: var(--section-padding);
}

.meeting-features {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.meeting-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.meeting-feature span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meeting-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.meeting-cal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.meeting-cal-icon svg,
.meeting-cal-icon i {
  width: 28px;
  height: 28px;
}

.meeting-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.meeting-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ============================================
   PRE-FOOTER CTA SECTION
============================================= */
.prefooter-section {
  padding: 140px 0;
  text-align: center;
}

.prefooter-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.prefooter-section .section-subtitle {
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
============================================= */
.site-footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-right a:hover {
  color: var(--text-white);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp-green);
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float svg,
.whatsapp-float i {
  width: 26px;
  height: 26px;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .stats-grid {
    gap: 24px;
  }

  .meeting-features {
    gap: 40px;
  }
}

/* Tablet / Small Laptop */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Navigation mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(2, 8, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.35s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Ecosystem */
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 20px;
  }

  /* Meeting */
  .meeting-features {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .meeting-card {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    justify-content: center;
  }

  /* Pre-footer */
  .prefooter-section {
    padding: 100px 0;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-glow {
    width: 400px;
    height: 400px;
  }

  .prefooter-title {
    font-size: 2rem;
  }
}