/* ═══════════════════════════════════════════════════════════
   UNIVERSO DIGITAL – Design System
   Dark Mode · Neon Blue · Minimal · Responsive
═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --black:       #000000;
  --carbon:      #1A1A1A;
  --surface:     #111111;
  --surface-2:   #1E1E1E;
  --border:      rgba(255,255,255,0.07);
  --neon:        #00D4FF;
  --neon-dim:    rgba(0, 212, 255, 0.12);
  --neon-glow:   0 0 24px rgba(0,212,255,0.35);
  --white:       #FFFFFF;
  --gray-100:    #F5F5F5;
  --gray-400:    #A0A0A0;
  --gray-600:    #555555;

  --font:        'Inter', system-ui, sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;

  --transition:  all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:   1120px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--gray-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--neon);
  color: var(--black);
  box-shadow: var(--neon-glow);
}
.btn-primary:hover {
  background: #33DDFF;
  box-shadow: 0 0 36px rgba(0,212,255,0.55);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--neon);
  border: 1.5px solid var(--neon);
}
.btn-outline:hover {
  background: var(--neon-dim);
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ── Section helpers ───────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  max-width: 60px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* ── Reveal animation ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--white); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-400);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.mobile-menu.open {
  max-height: 300px;
}
.mobile-menu a {
  color: var(--gray-400);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-menu a:not(.btn):hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

/* Background decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--neon);
  top: -150px;
  right: -180px;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: #0066FF;
  bottom: -100px;
  left: -100px;
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* Dot grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--neon-dim);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.highlight {
  background: linear-gradient(90deg, var(--neon) 0%, #0099CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2.5rem;
  backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Floating icons */
.floating-icons { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fi {
  position: absolute;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.fi-1 { top: 18%; left: 6%; animation: float 8s ease-in-out infinite; }
.fi-2 { top: 30%; right: 5%; animation: float 10s ease-in-out infinite 1s; }
.fi-3 { bottom: 25%; left: 8%; animation: float 9s ease-in-out infinite 2s; }
.fi-4 { bottom: 20%; right: 7%; animation: float 7s ease-in-out infinite 0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ═══════════════════════════════════════════════════════════
   PURPOSE SECTION
═══════════════════════════════════════════════════════════ */
.purpose {
  background: var(--surface);
  padding: 7rem 0;
  position: relative;
}
.purpose::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.25;
}
.purpose .section-label,
.purpose .section-title { text-align: center; }
.purpose .section-label { justify-content: center; }

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.purpose-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}
.purpose-body {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.8;
}
.purpose-body strong { color: var(--white); font-weight: 600; }

.purpose-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Cards */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  cursor: default;
}
.card:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.04);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(0,212,255,0.15);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--neon-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contact {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.blob-c1 {
  width: 500px;
  height: 500px;
  background: var(--neon);
  opacity: 0.07;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(100px);
}
.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.contact-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.contact-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: rgba(0,212,255,0.3);
  background: var(--neon-dim);
  transform: translateY(-2px);
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--neon-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.contact-item-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-item-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.contact-item-arrow {
  color: var(--neon);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.contact-item:hover .contact-item-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 2rem; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo .logo-text { font-size: 1rem; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:first-child {
  color: var(--neon);
  border-bottom: 1px solid rgba(0,212,255,0.4);
  padding-bottom: 1px;
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  height: 1px;
  background: var(--border);
}
.footer-legal {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .purpose-text { order: 2; }
  .purpose-cards { order: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: center; }

  .fi-1, .fi-4 { display: none; }
  .fi-2 { top: 12%; right: 4%; }
  .fi-3 { bottom: 15%; left: 4%; }

  .hero-stats { gap: 1.2rem; padding: 1rem 1.5rem; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }

  .purpose-cards { grid-template-columns: 1fr; }

  .contact-box { padding: 1.75rem 1.25rem; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 1rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 1rem; }
  .btn { padding: 0.7rem 1.25rem; font-size: 0.875rem; }
  .hero-badge { font-size: 0.7rem; }
  .section-title { font-size: 1.75rem; }
  .hero-stats { padding: 0.9rem 1rem; }
}
