@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;900&display=swap');

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

:root {
  --orange: #F7941D;
  --orange-dim: rgba(247, 148, 29, 0.15);
  --black: #080810;
  --dark: #0E0E1A;
  --mid-gray: #1C1C2E;
  --light-gray: #7a7a9a;
  --white: #FFFFFF;
}

html, body {
  height: 100%;
  font-family: 'Nunito', sans-serif;
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
}

/* --- CANVAS FUTURISTA --- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* --- SCANLINE OVERLAY --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
}

/* --- VIGNETTE --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8,8,16,0.85) 100%);
  pointer-events: none;
}

/* --- PARTICLE LAYER --- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* --- MAIN LAYOUT --- */
.page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* --- LOGO --- */
.logo-wrap {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(-30px);
  animation: slide-down 0.9s ease forwards 0.3s;
}

.logo-wrap img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(247, 148, 29, 0.5));
}

/* --- HEADLINE --- */
.headline {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  opacity: 0;
  animation: slide-down 0.9s ease forwards 0.55s;
  text-shadow: 0 0 40px rgba(255,255,255,0.08);
}

.headline span {
  color: var(--orange);
  text-shadow: 0 0 24px rgba(247,148,29,0.6);
}

/* --- DIVIDER --- */
.divider {
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(247,148,29,0.7);
  margin: 1.5rem auto;
  opacity: 0;
  animation: grow-in 0.7s ease forwards 0.8s;
}

@keyframes grow-in {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}

/* --- SUBTEXT --- */
.subtext {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--light-gray);
  letter-spacing: 0.03em;
  max-width: 460px;
  line-height: 1.8;
  font-weight: 600;
  opacity: 0;
  animation: fade-in 0.8s ease forwards 1s;
}

/* --- CONTACT CARDS --- */
.contact-wrap {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-in 0.8s ease forwards 1.3s;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(28, 28, 46, 0.7);
  border: 1px solid rgba(247,148,29,0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s, background 0.25s;
}

.contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 28px rgba(247, 148, 29, 0.3), 0 8px 32px rgba(0,0,0,0.4);
  background: rgba(247,148,29,0.08);
}

.contact-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card.whatsapp .icon { background: #1DA851; box-shadow: 0 0 12px rgba(29,168,81,0.4); }
.contact-card.email    .icon { background: var(--orange); box-shadow: 0 0 12px rgba(247,148,29,0.4); }

.contact-card .icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.contact-card .label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-card .label small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}

/* --- BOTTOM TAG --- */
.bottom-tag {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: #333355;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 4;
  white-space: nowrap;
  opacity: 0;
  animation: fade-in 1s ease forwards 2s;
}

/* --- ANIMATIONS --- */
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- RESPONSIVE --- */
@media (max-width: 500px) {
  .contact-wrap { flex-direction: column; align-items: stretch; }
  .contact-card { border-radius: 16px; }
}
