:root {
  --bg-0: #0b0f14;
  --bg-1: #0f141b;
  --bg-2: #111822;
  --text: #e7eef7;
  --muted: #a7b0be;
  --primary: #2dd4bf;
  --accent: #8b5cf6;
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(120deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
}

.bg::before, .bg::after {
  content: '';
  position: fixed; inset: -10vmax;
  filter: blur(90px); opacity: 0.35; z-index: -1;
}
.bg::before { background: radial-gradient(circle at 20% 30%, #1b8cff66 0, transparent 60%); }
.bg::after { background: radial-gradient(circle at 80% 70%, #00e8a766 0, transparent 55%); }

.container { width: min(1120px, 92vw); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.25) blur(10px); background: rgba(8, 12, 16, 0.6); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 24px #2dd4bf55; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav-link { color: var(--text); text-decoration: none; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
.nav-link:hover { opacity: 1; }
.nav-icon { transition: transform 0.2s ease; }
.nav-link:hover .nav-icon { transform: scale(1.1); }

.btn { border: 1px solid var(--border); color: var(--text); background: transparent; padding: 10px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--primary), #22c1a8); color: #041012; border-color: transparent; font-weight: 600; }
.btn.ghost { background: rgba(255,255,255,0.04); }
.btn:hover { transform: translateY(-1px); transition: transform 180ms ease; }

.hero { padding: 64px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.08; margin: 0 0 14px; }
.accent { color: var(--primary); }
.hero p { color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin: 18px 0; }
.email-inline { display: flex; align-items: center; gap: 12px; }
.email-inline code { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; }
.badge { background: rgba(139, 92, 246, 0.2); color: var(--accent); border: 1px solid rgba(139, 92, 246, 0.35); padding: 6px 10px; border-radius: 999px; font-size: 12px; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual .screenshot-card { width: 100%; max-width: 720px; }
.glass { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.card { width: 100%; max-width: 480px; padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pill { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(45, 212, 191, 0.16); color: var(--primary); border: 1px solid rgba(45, 212, 191, 0.35); }
.dots { display: inline-flex; gap: 6px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }

.pitch { position: relative; height: 240px; border-radius: 12px; background: linear-gradient(160deg, #0d141d, #0b1118); border: 1px dashed rgba(255,255,255,0.12); overflow: hidden; display: grid; place-items: center; }
.spot { position: absolute; width: 140px; height: 140px; border-radius: 50%; filter: blur(32px); opacity: 0.25; }
.spot.a { background: #1b8cff; left: -20px; top: 16px; }
.spot.b { background: #8b5cf6; right: -28px; bottom: -10px; }
.spot.c { background: #2dd4bf; left: 40%; top: 30%; }
.kit { position: relative; display: grid; place-items: center; }
.shirt { width: 110px; height: 110px; border-radius: 12px; background: conic-gradient(from 180deg at 50% 50%, #125c6f, #0f4b57, #1e7c8e, #125c6f); box-shadow: 0 10px 20px rgba(0,0,0,0.45), inset 0 0 24px rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.number { position: absolute; color: #fff; font-weight: 700; font-size: 36px; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.card-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.swatch { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--border); background: var(--c, #fff); box-shadow: inset 0 0 14px rgba(0,0,0,0.25); }

.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 50%); }
.lead { color: var(--muted); }
.features-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.04); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.feature-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feature-icon { transition: transform 0.3s ease; }
.feature:hover .feature-icon { transform: rotate(5deg) scale(1.1); }
.feature h3 { margin: 0; }

.highlights { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.highlights li { padding: 12px 14px; border: 1px dashed var(--border); border-radius: 12px; background: rgba(255,255,255,0.04); display: flex; align-items: center; gap: 12px; transition: transform 0.2s ease, border-color 0.2s ease; }
.highlights li:hover { transform: translateX(4px); border-color: rgba(255,255,255,0.2); }
.highlight-icon { flex-shrink: 0; transition: transform 0.3s ease; }
.highlights li:hover .highlight-icon { transform: scale(1.15) rotate(5deg); }

.screenshot-card { margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--glass); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.screenshot-img { width: 100%; border-radius: 12px; border: 1px solid var(--border); display: block; }
.screenshot-card figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }

.contact .cta-row { display: flex; gap: 12px; margin-top: 12px; }

/* Envelope de contato em modo ícone grande */
.envelope.large { width: min(880px, 96vw); }
.envelope.large .envelope-body {
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.contact-title { margin: 0; font-size: clamp(22px, 3.6vw, 30px); }

/* Título da seção Contato com ícone de mensagem */
.contact .section-title { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact .title-icon { width: 22px; height: 22px; }

/* Tela de Carregamento */
.loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-0), var(--bg-1) 50%, var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: logoFloat 3s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}

.loader-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 96px;
  height: 96px;
  border: 3px solid transparent;
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.loader-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-subtitle {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 16px;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: loadProgress 2.5s ease-in-out infinite;
}

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

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadProgress {
  0% {
    width: 0%;
    transform: translateX(-100%);
  }
  50% {
    width: 100%;
    transform: translateX(0%);
  }
  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

/* Links em áreas de conteúdo e rodapé: e-mail mais claro e visível */
.contact a { color: #9be7ff; text-decoration: none; }
.contact a:hover { color: #c7f1ff; text-decoration: underline; }
.site-footer a { color: #9be7ff; }

.site-footer { border-top: 1px solid var(--border); padding: 18px 0; color: var(--muted); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; }
.site-footer .footer-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; opacity: 0.9; }
.site-footer .footer-link:hover { opacity: 1; text-decoration: underline; }
.footer-icon { transition: transform 0.2s ease; }
.site-footer .footer-link:hover .footer-icon { transform: scale(1.1); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(12px); transition: 420ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; gap: 8px; }
  /* Header mobile: brand acima e menu abaixo centralizado com fundo mais escuro */
  .site-header .container { 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
    padding: 15px 0; 
  }
  .brand { 
    justify-content: center; 
    width: 100%; 
    text-align: center;
    margin-bottom: 5px;
  }
  .nav { 
    justify-content: center; 
    width: 100%; 
    background: rgba(8, 12, 16, 0.9); 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    padding: 12px; 
    display: flex;
    align-items: center;
  }
}