@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@400;700;1,400&display=swap');

@font-face {
  font-family: 'PlutoSans';
  src: url('/fonts/Pluto Sans Font Family/HvDTrial_PlutoSans-Light-BF648692ea282f8.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Alexandria';
  src: url('/fonts/Pluto Sans Font Family/alexandria/Alexandria-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Color Palette - Vibrant Blue & White */
  --primary: #0084FE;
  --primary-light: #1A90FF;
  --secondary: #1D3FAB;
  --accent: #FFFFFF;
  --accent-hover: #F0F9FF;
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.8);
  --bg-body: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-hover: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing & Transitions */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography Utilities */
h1,
h2,
h3 {
  font-family: 'Alexandria', var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

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

.text-muted {
  color: var(--text-muted);
}

/* Layout Components */
section {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 1920px;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 5%;
  z-index: 1000;
  background: linear-gradient(90deg, #0084FE, #1D3FAB);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
}

.nav-container {
  max-width: none;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.nav-logo {
  display: flex;
  align-items: center;
}




.navbar-logo {
  height: 35px;
  width: auto;
  transition: transform 0.3s var(--ease-soft);
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a, .dropbtn {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s var(--ease-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
  color: #FFFFFF;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  min-width: 180px;
  box-shadow: 0px 8px 30px rgba(0,0,0,0.15);
  z-index: 1001;
  border-radius: 8px;
  margin-top: 8px; /* Espacio visual elegante */
  overflow: visible; /* Permitir el puente ::before */
  animation: dropdownFade 0.3s var(--ease-soft);
}

/* Puente invisible para mantener el hover */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

/* Contenedor interno para mantener el radio y el overflow */
.dropdown-content-inner {
  border-radius: 8px;
  overflow: hidden;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #1D3FAB !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #F0F9FF;
  color: #0084FE !important;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.arrow {
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Mobile Navigation Logic --- */
#nav-check {
  display: none;
}

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 19px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 4px;
    transition: 0.3s var(--ease-soft);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0084FE 0%, #1D3FAB 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    transition: 0.4s var(--ease-soft);
    z-index: 1000;
    backdrop-filter: blur(15px);
  }

  .nav-links a {
    font-size: 1.2rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--ease-soft);
  }

  #nav-check:checked~.nav-links {
    right: 0;
  }

  #nav-check:checked~.nav-links a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  #nav-check:checked~.mobile-nav-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  #nav-check:checked~.mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  #nav-check:checked~.mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 8px;
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 132, 254, 0.3);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}

.btn-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.3s var(--ease-soft);
}

.btn-primary:hover .btn-icon {
  transform: rotate(45deg);
}

/* Paper Plane Launch Animation */
.btn-primary {
  position: relative;
  overflow: visible !important;
}

.btn-primary.is-launching .btn-icon {
  pointer-events: none;
  animation: paperPlaneLaunch 2.0s forwards cubic-bezier(0.42, 0, 0, 1);
}

@keyframes paperPlaneLaunch {
  0% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }

  25% {
    transform: rotate(15deg) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: rotate(-10deg) translate(600px, -150px) scale(0.5);
    opacity: 0;
  }
}

.plane-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.8;
}


/* Hero Section */
.hero-container {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  color: #1D3FAB;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
  /* Needed for the glow positioning */
}

/* Background Glow for the Cube */
.cube-accent-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 132, 254, 0.25) 0%, rgba(0, 132, 254, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite alternate;
  pointer-events: none;
  /* Don't interfere with potential interactions */
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.logo-cube {
  z-index: 1;
  /* Ensure cube is on top of glow */
  width: 260px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
}

.cube-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: rgba(0, 132, 254, 0.03);
  border: 1.5px solid rgba(0, 132, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 132, 254, 0.05);
}

.cube-face img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.face-front {
  transform: rotateY(0deg) translateZ(130px);
}

.face-right {
  transform: rotateY(90deg) translateZ(130px);
}

.face-back {
  transform: rotateY(180deg) translateZ(130px);
}

.face-left {
  transform: rotateY(270deg) translateZ(130px);
}

.face-top {
  transform: rotateX(90deg) translateZ(130px);
}

.face-bottom {
  transform: rotateX(-90deg) translateZ(130px);
}

.hero-title-main {
  font-family: 'Alexandria', sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  margin-bottom: 0px !important;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #1D3FAB;
}

.hero-title-sub {
  font-family: 'Alexandria', sans-serif;
  font-weight: 400;
  font-size: 2.5rem !important;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #1D3FAB;
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(29, 63, 171, 0.75);
  margin-bottom: 28px;
  max-width: 460px;
}

/* Responsive Breakpoints */
@media (max-width: 1399.98px) {
  .logo-cube {
    width: 230px;
    height: 230px;
  }

  .face-front {
    transform: rotateY(0deg) translateZ(115px);
  }

  .face-right {
    transform: rotateY(90deg) translateZ(115px);
  }

  .face-back {
    transform: rotateY(180deg) translateZ(115px);
  }

  .face-left {
    transform: rotateY(270deg) translateZ(115px);
  }

  .face-top {
    transform: rotateX(90deg) translateZ(115px);
  }

  .face-bottom {
    transform: rotateX(-90deg) translateZ(115px);
  }
}

@media (max-width: 991.98px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-container {
    min-height: auto;
    padding-top: 80px;
  }

  .logo-cube {
    width: 260px;
    height: 260px;
  }

  .face-front {
    transform: rotateY(0deg) translateZ(130px);
  }

  .face-right {
    transform: rotateY(90deg) translateZ(130px);
  }

  .face-back {
    transform: rotateY(180deg) translateZ(130px);
  }

  .face-left {
    transform: rotateY(270deg) translateZ(130px);
  }

  .face-top {
    transform: rotateX(90deg) translateZ(130px);
  }

  .face-bottom {
    transform: rotateX(-90deg) translateZ(130px);
  }
}

@media (max-width: 767.98px) {
  .logo-cube {
    width: 220px;
    height: 220px;
  }

  .face-front {
    transform: rotateY(0deg) translateZ(110px);
  }

  .face-right {
    transform: rotateY(90deg) translateZ(110px);
  }

  .face-back {
    transform: rotateY(180deg) translateZ(110px);
  }

  .face-left {
    transform: rotateY(270deg) translateZ(110px);
  }

  .face-top {
    transform: rotateX(90deg) translateZ(110px);
  }

  .face-bottom {
    transform: rotateX(-90deg) translateZ(110px);
  }
}

@media (max-width: 575.98px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .logo-cube {
    width: 180px;
    height: 180px;
  }

  .face-front {
    transform: rotateY(0deg) translateZ(90px);
  }

  .face-right {
    transform: rotateY(90deg) translateZ(90px);
  }

  .face-back {
    transform: rotateY(180deg) translateZ(90px);
  }

  .face-left {
    transform: rotateY(270deg) translateZ(90px);
  }

  .face-top {
    transform: rotateX(90deg) translateZ(90px);
  }

  .face-bottom {
    transform: rotateX(-90deg) translateZ(90px);
  }
}