/* ==========================================================================
   alyto Landing Page — styles.css
   Design System: Inter + #233E58 + #F5D410 + #1A1A1A + #F2F2F2
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --blue:        #233E58;
  --blue-dark:   #182C3F;
  --blue-mid:    #2E5275;
  --yellow:      #F5D410;
  --yellow-dark: #D4B80E;
  --dark:        #1A1A1A;
  --grey-light:  #F2F2F2;
  --white:       #FFFFFF;
  --text-muted:  #6B7280;
  --border:      rgba(255,255,255,0.1);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.25);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

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

.hidden { display: none !important; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(23, 38, 56, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: 0.85; }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-accent {
  background: var(--yellow);
  color: var(--blue-dark);
  border-color: var(--yellow);
}
.btn-accent:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 212, 16, 0.4);
}
.btn-accent:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-xl {
  font-size: 1.05rem;
  padding: 16px 36px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(23, 38, 56, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--yellow); }
.mobile-cta { margin-top: 16px; text-align: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--blue-dark);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(35, 62, 88, 0.9) 0%, var(--blue-dark) 70%),
    url('bg-pattern.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,44,63,0.9) 0%, rgba(35,62,88,0.7) 50%, rgba(23,44,63,0.95) 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 212, 16, 0.12);
  border: 1px solid rgba(245, 212, 16, 0.35);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #F5D410 0%, #FFE866 50%, #F5D410 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text { color: rgba(255,255,255,0.75); }

.hero-subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-subheadline strong { color: var(--yellow); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual { position: relative; }

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245, 212, 16, 0.15);
  position: relative;
  aspect-ratio: 16/9;
  background: var(--blue);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Hero Video */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* Video controls bar */
.video-controls-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 44, 63, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 8px 14px;
}
.vid-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.vid-btn:hover { background: rgba(245,212,16,0.25); color: var(--yellow); }
.vid-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex: 1;
  text-align: right;
  white-space: nowrap;
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.float-icon {
  font-size: 1.4rem;
  color: var(--yellow);
  line-height: 1;
}
.float-title {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 2px;
}
.float-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.float-card-1 {
  top: -16px;
  left: -24px;
  animation: float-1 4s ease-in-out infinite;
}
.float-card-2 {
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  animation: float-2 5s ease-in-out infinite;
}
.float-card-3 {
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  animation: float-3 4.5s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}
@keyframes float-3 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
  background: var(--grey-light);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(35, 62, 88, 0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}
.section-tag-light {
  background: rgba(245, 212, 16, 0.15);
  color: var(--yellow);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--blue);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card-inner {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}
.feature-card:hover .feature-card-inner { border-color: rgba(35, 62, 88, 0.2); }

.feature-card-featured .feature-card-inner {
  background: var(--blue);
  border-color: var(--blue-mid);
}
.feature-card-featured .feature-title,
.feature-card-featured .feature-desc,
.feature-card-featured .feature-list li {
  color: var(--white);
}
.feature-card-featured .feature-list li::before {
  background: var(--yellow);
}
.feature-card-featured:hover .feature-card-inner {
  border-color: var(--yellow);
}

.feature-badge-top {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245, 212, 16, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(245, 212, 16, 0.22);
  transform: scale(1.08);
}
.feature-icon {
  width: 26px;
  height: 26px;
  color: var(--yellow);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.feature-card-featured .feature-desc { color: rgba(255,255,255,0.7); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.feature-card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(245, 212, 16, 0.06);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.feature-card:hover .feature-card-glow {
  opacity: 1;
  transform: scale(1.5);
}

/* ==========================================================================
   STELLAR SECTION
   ========================================================================== */
.stellar-section {
  background: var(--blue-dark);
  background-image: url('bg-pattern.png');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.stellar-bg-img {
  position: absolute;
  inset: 0;
  background: rgba(23, 38, 56, 0.88);
  z-index: 0;
}

.stellar-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.text-white { color: var(--white) !important; }

.stellar-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
}

.stellar-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stellar-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.stellar-stat:hover {
  background: rgba(245, 212, 16, 0.08);
  border-color: rgba(245, 212, 16, 0.25);
  transform: translateY(-4px);
}

.stellar-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stellar-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.stellar-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stellar-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stellar-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(245, 212, 16, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
}
.stellar-feat-icon svg { width: 18px; height: 18px; }

.stellar-feat-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.stellar-feat-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Globe animation */
.stellar-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.stellar-globe {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.globe-core {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--blue-mid), var(--blue-dark));
  border: 2px solid rgba(245, 212, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(245, 212, 16, 0.2);
}

.stellar-logo-icon { width: 60px; height: 60px; }

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 212, 16, 0.2);
  animation: spin-ring linear infinite;
}
.globe-ring-1 {
  width: 160px; height: 160px;
  border-top-color: rgba(245, 212, 16, 0.5);
  animation-duration: 8s;
}
.globe-ring-2 {
  width: 220px; height: 220px;
  border-right-color: rgba(245, 212, 16, 0.3);
  animation-duration: 14s;
  animation-direction: reverse;
}
.globe-ring-3 {
  width: 280px; height: 280px;
  border-bottom-color: rgba(245, 212, 16, 0.15);
  animation-duration: 20s;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 212, 16, 0.8);
  animation: orbit-planet linear infinite;
}
.orbit-dot-1 { width: 160px; height: 160px; border-radius: 50%; background: transparent; border: 1px solid transparent; animation-duration: 8s; }
.orbit-dot-1::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 212, 16, 0.8);
  transform: translateX(-50%);
}
.orbit-dot-2 { width: 220px; height: 220px; border-radius: 50%; background: transparent; border: 1px solid transparent; animation-duration: 14s; animation-direction: reverse; }
.orbit-dot-2::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CCF0FF;
  box-shadow: 0 0 6px rgba(200,240,255,0.8);
}
.orbit-dot-3 { width: 280px; height: 280px; border-radius: 50%; background: transparent; border: 1px solid transparent; animation-duration: 20s; }
.orbit-dot-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #90EE90;
  box-shadow: 0 0 6px rgba(144,238,144,0.8);
  transform: translateX(-50%);
}
.orbit-dot-4 { display: none; }

@keyframes orbit-planet {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.stellar-network-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.network-nodes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.net-node {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245, 212, 16, 0.25);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.net-node:hover {
  background: rgba(245, 212, 16, 0.1);
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ==========================================================================
   TRUST SECTION
   ========================================================================== */
.trust-section {
  background: var(--white);
  padding: 100px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  background: var(--grey-light);
  transition: all var(--transition);
}
.trust-item:hover {
  border-color: rgba(35, 62, 88, 0.2);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.trust-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.trust-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WAITLIST SECTION
   ========================================================================== */
.waitlist-section {
  background: var(--blue);
  background-image: url('bg-pattern.png');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.waitlist-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 44, 63, 0.92), rgba(35, 62, 88, 0.88));
  z-index: 0;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Countdown */
.countdown-wrap {
  margin-bottom: 40px;
}
.countdown-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 80px;
}
.cd-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cd-sep {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.5;
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  0%, 49% { opacity: 0.5; }
  50%, 100% { opacity: 0.1; }
}

.waitlist-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.waitlist-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}
.waitlist-subtitle strong { color: var(--yellow); }

/* Form */
.waitlist-form { width: 100%; }

/* Selector persona / empresa — segmenta el lead desde el registro.
   El público prioritario del lanzamiento son empresas bolivianas. */
.waitlist-tipo {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.tipo-option { position: relative; }
.tipo-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.tipo-option span {
  display: block;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.tipo-option input:checked + span {
  background: var(--yellow);
  color: var(--blue-dark);
}
.tipo-option input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.tipo-option span:hover { color: rgba(255,255,255,0.9); }
.tipo-option input:checked + span:hover { color: var(--blue-dark); }

/* Campo de empresa — aparece solo al elegir "Empresa". */
.empresa-wrap { margin-bottom: 12px; }

/* Honeypot: fuera de la vista, invisible para lectores de pantalla y para
   personas, pero presente en el DOM para que los bots lo completen. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.input-wrap {
  position: relative;
  flex: 1;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 16px 20px 16px 46px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(245, 212, 16, 0.12);
}
.form-input.error {
  border-color: #FF6B6B;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.12);
}

.form-submit { flex-shrink: 0; }
.spinner {
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.form-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

.form-success, .form-error {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: left;
}
.form-success {
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.3);
  color: var(--white);
}
.form-success strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.form-success p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin: 0; }
.success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(80, 200, 120, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #50C878;
  flex-shrink: 0;
}
.form-error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255,107,107,0.3);
  color: #FF9494;
  font-size: 0.9rem;
}

/* Social proof */
.waitlist-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.avatars-row {
  display: flex;
}
.avatar-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  margin-left: -10px;
  flex-shrink: 0;
}
.avatar-bubble:first-child { margin-left: 0; }
.social-proof-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.social-proof-text strong { color: var(--yellow); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-avf {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.footer-avf-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.avf-logo-img {
  height: 28px;
  width: auto;
  /* The SVG has white text + dark box; keep box visible on dark bg */
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-col h5, .footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--yellow); }

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  background: rgba(245, 212, 16, 0.12);
  border-color: rgba(245, 212, 16, 0.3);
  color: var(--yellow);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  max-width: 500px;
  text-align: right;
}

/* Corporate / legal entity block (Dun & Bradstreet verifiable info) */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}
.footer-legal-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-legal-entity {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.footer-legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 32px;
  margin: 0 0 16px;
}
.footer-legal-grid dt {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}
.footer-legal-grid dd {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-legal-grid dd a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-legal-grid dd a:hover {
  color: #fff;
}
.footer-legal-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  max-width: 720px;
}

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.2s ease;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-content {
  background: var(--blue);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 212, 16, 0.25);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: scale-in 0.25s ease;
}
@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.modal-close svg { width: 18px; height: 18px; }

.modal-video-placeholder {
  text-align: center;
  color: var(--white);
}
.modal-video-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--yellow);
  opacity: 0.6;
}
.modal-video-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.modal-tag {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(245, 212, 16, 0.4);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.back-to-top:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 212, 16, 0.5);
}
.back-to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   ANIMATIONS / SCROLL
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fade-left"] {
  transform: translateX(24px);
}
[data-animate="fade-right"] {
  transform: translateX(-24px);
}
[data-animate="zoom-in"] {
  transform: scale(0.95);
}
[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   STEPS / CÓMO FUNCIONA
   ========================================================================== */
.steps-section {
  background: var(--white);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--grey-light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(35, 62, 88, 0.2);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   COUNTRIES / PAÍSES
   ========================================================================== */
.countries-section {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--grey-light);
}

.countries-block {
  max-width: 920px;
  margin: 0 auto;
}

.countries-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
  text-align: center;
}
.countries-group-title:not(:first-child) { margin-top: 36px; }

.countries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--grey-light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  transition: all var(--transition);
}
.country-chip:hover {
  background: rgba(245, 212, 16, 0.12);
  border-color: rgba(245, 212, 16, 0.4);
  transform: translateY(-2px);
}

.countries-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  background: var(--grey-light);
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: rgba(35, 62, 88, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: none;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-subheadline { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .desktop-break { display: none; }

  .hero-visual { max-width: 560px; margin: 0 auto; }
  .float-card-2 { right: -12px; }

  .stellar-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .stellar-visual { order: -1; }
  .stellar-feat-item { text-align: left; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

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

  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  .header-nav { display: none; }
  #header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-headline { font-size: 2rem; }
  .hero-subheadline { font-size: 0.95rem; }

  .hero-stats { gap: 16px; }
  .stat-number { font-size: 1.3rem; }

  .float-card { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }

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

  .form-group { flex-direction: column; }
  .form-submit { width: 100%; justify-content: center; }
  .form-input { padding-left: 46px; }

  .countdown-timer { gap: 4px; }
  .cd-block { padding: 12px 14px; min-width: 64px; }
  .cd-num { font-size: 1.6rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; max-width: 100%; }

  .back-to-top { bottom: 20px; right: 20px; }
  .modal-content { aspect-ratio: auto; min-height: 240px; }

  .stellar-globe { width: 200px; height: 200px; }
  .globe-ring-1 { width: 110px; height: 110px; }
  .globe-ring-2 { width: 160px; height: 160px; }
  .globe-ring-3 { width: 200px; height: 200px; }
  .orbit-dot-1 { width: 110px; height: 110px; }
  .orbit-dot-2 { width: 160px; height: 160px; }
  .orbit-dot-3 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-xl { font-size: 0.95rem; padding: 14px 24px; }
  .hero-badge { font-size: 0.7rem; }
}
