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

:root {
  --bg: #0d1117;
  --accent: #3dffc0;
  --dark: #12263a;
  --text: #c8d8e8;
  --wa-green: #25D366;
  --wa-green-hover: #1ebe5d;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
}

/* ── Background subtle grid ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,255,192,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,255,192,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Radial glow behind logo ── */
body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(61,255,192,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero layout ── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* ── Logo ── */
.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing halo ring */
.logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(61,255,192,0.12) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.logo {
  display: block;
  width: min(520px, 80vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(61,255,192,0.35));
  animation: fadeIn 1.2s ease forwards, floatY 5s ease-in-out infinite 1.2s;
  opacity: 0;
}

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

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

/* ── Slogan ── */
.slogan {
  font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s forwards;
  text-align: center;
  padding: 0 1rem;
}

/* ── Email floating button ── */
#email-btn {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a2e3b;
  color: var(--accent);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(61,255,192,0.25);
  box-shadow: 0 4px 24px rgba(61,255,192,0.12);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  opacity: 0;
  animation: slideUp 0.7s ease 1.6s forwards;
}

#email-btn:hover {
  background: #1f3a4a;
  border-color: rgba(61,255,192,0.5);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(61,255,192,0.25);
}

#email-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ── WhatsApp floating button ── */
#whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  opacity: 0;
  animation: slideUp 0.7s ease 1.4s forwards;
}

#whatsapp-btn:hover {
  background: var(--wa-green-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

#whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-label {
  white-space: nowrap;
}

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

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .btn-label { display: none; }
  #whatsapp-btn { padding: 14px; border-radius: 50%; bottom: 24px; right: 24px; }
  #email-btn    { padding: 14px; border-radius: 50%; bottom: 92px; right: 24px; }
}
