/* NEW BOX MAIL - site estático puro, sem frameworks e pronto para upload. */
:root {
  --bg: #08090d;
  --bg-soft: #101217;
  --graphite: #171a21;
  --graphite-2: #20242d;
  --border: rgba(220, 224, 232, 0.14);
  --text: #eef0f5;
  --muted: #a9afbc;
  --metal: #d7dbe4;
  --burgundy: #8f1738;
  --burgundy-bright: #bd2750;
  --burgundy-dark: #4b0b1f;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(143, 23, 56, 0.28), transparent 32%),
    linear-gradient(135deg, #08090d 0%, #11131a 48%, #08090d 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 13, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.navbar, .hero, .features-section, .plan-section, .info-band, .site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(215, 219, 228, 0.18), transparent 34%),
    linear-gradient(145deg, var(--burgundy-bright), var(--burgundy-dark));
  border: 1px solid rgba(215, 219, 228, 0.22);
  box-shadow: 0 0 32px rgba(189, 39, 80, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -45% 18% 40% -25%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: rotate(-28deg);
}

.brand-mark svg {
  position: relative;
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.38));
}

.logo-shell { fill: rgba(8, 9, 13, 0.4); stroke: var(--metal); stroke-width: 2.2; }
.logo-envelope { fill: rgba(8, 9, 13, 0.72); stroke: var(--text); stroke-width: 2; }
.logo-fold, .logo-core { fill: none; stroke: var(--burgundy-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); }
.nav-links a { transition: color 0.25s ease; }
.nav-links a:hover { color: var(--text); }
.menu-toggle { display: none; color: var(--text); background: var(--graphite); border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 46px;
  min-height: calc(100vh - 78px);
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 40px -20px 20px;
  background-image:
    linear-gradient(rgba(215, 219, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 219, 228, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 45% 45%, black, transparent 70%);
  animation: gridMove 18s linear infinite;
}

.hero-content, .hero-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--burgundy-bright); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: 0.86; letter-spacing: -0.05em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: 1.18rem; }
.slogan { color: var(--metal); font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 800; }
.hero-text { max-width: 690px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--burgundy-bright), var(--burgundy)); box-shadow: 0 18px 42px rgba(143, 23, 56, 0.35); }
.button-secondary { color: var(--text); background: rgba(215, 219, 228, 0.06); border-color: var(--border); }
.full { width: 100%; }

.hero-panel, .feature-card, .pricing-card, .info-band > div, .login-card {
  background: linear-gradient(145deg, rgba(32, 36, 45, 0.96), rgba(15, 17, 23, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel { padding: 30px; transform: perspective(900px) rotateY(-7deg); }
.status-line { display: flex; gap: 10px; align-items: center; color: var(--metal); margin-bottom: 26px; }
.status-line span { width: 10px; height: 10px; border-radius: 50%; background: var(--burgundy-bright); box-shadow: 0 0 18px var(--burgundy-bright); }
.metric { padding: 22px 0; border-top: 1px solid var(--border); }
.metric strong { display: block; font-size: 2.2rem; }
.metric small { color: var(--muted); }
.signal-bars { display: flex; align-items: end; gap: 8px; height: 76px; margin-top: 18px; }
.signal-bars i { flex: 1; border-radius: 999px; background: linear-gradient(180deg, var(--metal), var(--burgundy)); animation: pulseBar 1.8s ease-in-out infinite alternate; }
.signal-bars i:nth-child(1) { height: 24%; } .signal-bars i:nth-child(2) { height: 44%; animation-delay: .1s; } .signal-bars i:nth-child(3) { height: 68%; animation-delay: .2s; } .signal-bars i:nth-child(4) { height: 84%; animation-delay: .3s; } .signal-bars i:nth-child(5) { height: 56%; animation-delay: .4s; }

.features-section, .plan-section { padding: 92px 0; }
.section-heading { max-width: 780px; margin-bottom: 38px; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 210px; padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease; }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(189, 39, 80, 0.48); }
.feature-card p, .info-band p, .login-copy { color: var(--muted); line-height: 1.65; }

.pricing-card { max-width: 560px; margin: 0 auto; padding: 34px; }
.plan-badge { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(143, 23, 56, 0.22); color: var(--metal); border: 1px solid rgba(189, 39, 80, 0.36); font-weight: 800; }
.price { margin: 22px 0 0; font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; letter-spacing: -0.06em; }
.price span { color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; color: var(--metal); }
.plan-list li::before { content: "◆"; color: var(--burgundy-bright); margin-right: 10px; }
.interest-message { min-height: 24px; margin: 16px 0 0; color: var(--metal); text-align: center; }

.info-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 0 92px; }
.info-band > div { padding: 30px; box-shadow: none; }

.site-footer { display: flex; justify-content: space-between; gap: 26px; padding: 34px 0 46px; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer strong { color: var(--text); }
.footer-line { margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a:hover { color: var(--text); }

.login-body { display: grid; place-items: center; }
.login-page { width: min(520px, calc(100% - 32px)); padding: 48px 0; }
.login-brand { margin-bottom: 28px; }
.login-card { padding: 34px; }
.login-card h1 { font-size: clamp(2.5rem, 9vw, 4.8rem); }
form { display: grid; gap: 12px; margin-top: 28px; }
label { color: var(--metal); font-weight: 800; }
input { width: 100%; min-height: 54px; padding: 0 16px; color: var(--text); background: rgba(8, 9, 13, 0.72); border: 1px solid var(--border); border-radius: 16px; outline: none; }
input:focus { border-color: var(--burgundy-bright); box-shadow: 0 0 0 4px rgba(189, 39, 80, 0.16); }
form .button { margin-top: 12px; }

@keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(44px); } }
@keyframes pulseBar { from { opacity: .55; transform: scaleY(.86); } to { opacity: 1; transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 78px; padding: 18px; flex-direction: column; align-items: flex-start; background: var(--graphite); border: 1px solid var(--border); border-radius: 18px; }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-panel { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .info-band, .site-footer { grid-template-columns: 1fr; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .navbar, .hero, .features-section, .plan-section, .info-band, .site-footer { width: min(var(--max-width), calc(100% - 22px)); }
  .brand { font-size: 0.86rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .pricing-card, .login-card { padding: 24px; }
}
