:root {
  --bg: #050b15;
  --bg-2: #07101e;
  --surface: #0b1729;
  --surface-2: #0d1c30;
  --line: rgba(36, 71, 115, .65);
  --line-2: rgba(62, 104, 156, .7);
  --text: #f5f8ff;
  --muted: #9cb5e0;
  --faint: #829bc0;
  --brand: #2587ff;
  --brand-2: #68b8ff;
  --brand-glow: rgba(37, 135, 255, .45);
  --cyan: #00b7ff;
  --ok: #23e69b;
  --bad: #ff6b81;
  --warn: #ffcc66;
  --radius: 18px;
  --head: "Sora", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }
.grad { background: linear-gradient(100deg, #b4deff 0%, var(--brand) 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #259fff, var(--brand) 55%, #185ce5); box-shadow: 0 8px 28px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 36px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(8,15,31,.4); }
.btn-ghost:hover { border-color: rgba(104,184,255,.6); background: rgba(37,135,255,.14); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,15,31,.6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-color: var(--line); background: rgba(8,15,31,.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 19px; }
.brand b { color: var(--brand-2); font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #25a8ff, #185ce5); box-shadow: 0 6px 18px -6px var(--brand-glow); }
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .15s, background .15s; }
.menu > a:not(.btn):hover { color: var(--text); background: rgba(255,255,255,.05); }
.menu .menu-account { margin-left: 8px; color: var(--text); }
.menu .btn { margin-left: 6px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, top .2s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 760px); padding: 80px 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; image-rendering: auto; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,15,31,.95) 0%, rgba(8,15,31,.82) 38%, rgba(8,15,31,.25) 75%, rgba(8,15,31,.35) 100%),
    linear-gradient(180deg, rgba(8,15,31,.2) 60%, var(--bg) 100%); }
.hero-copy { max-width: var(--max); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(104,184,255,.35); background: rgba(37,135,255,.16); font-size: 13.5px; font-weight: 600; color: #d5eaff; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(35,230,155,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(35,230,155,0); } 100% { box-shadow: 0 0 0 0 rgba(35,230,155,0); } }
.hero h1 { margin-top: 22px; max-width: 680px; font-size: clamp(38px, 5.8vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.lead { margin-top: 22px; max-width: 520px; font-size: 18px; color: #c5d6ef; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-center { justify-content: center; }
.servers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.servers li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-2); background: rgba(8,15,31,.5); }
.servers li.on { color: #d6ffe9; border: 1px solid rgba(35,230,155,.4); background: rgba(35,230,155,.1); }
.servers li.on .ic { width: 15px; height: 15px; color: var(--ok); stroke-width: 2.6; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); }
.section-head h2, .final h2 { margin-top: 12px; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(104,184,255,.35); transform: translateY(-3px); }
.card h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.card p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #cfe6ff; background: rgba(37,135,255,.14); border: 1px solid rgba(104,184,255,.25); }
.card-icon .ic { width: 21px; height: 21px; }
.strip { margin-top: 22px; padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; display: block; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; }
.plan:hover { border-color: rgba(104,184,255,.5); transform: translateY(-3px); }
.plan h3 { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price { margin-top: 10px; font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.price small { font-size: 16px; font-weight: 700; color: var(--muted); margin-right: 4px; vertical-align: 20px; letter-spacing: 0; }
.price span { font-size: 22px; color: var(--muted); letter-spacing: 0; }
.per-day { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-hot { border-color: rgba(104,184,255,.7); background: radial-gradient(120% 80% at 50% 0%, rgba(37,135,255,.3), transparent 60%), var(--surface-2); box-shadow: 0 24px 60px -24px var(--brand-glow); }
.plan-badge { position: absolute; top: -11px; right: 18px; padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, #25a8ff, var(--brand)); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section-head { margin: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.faq-list details[open] { border-color: rgba(104,184,255,.4); background: var(--surface-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 8px; background: rgba(37,135,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368b8ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--muted); }

/* Final */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0; text-align: center; border-top: 1px solid var(--line); }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgba(8,15,31,.55), rgba(8,15,31,.92)); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; color: var(--faint); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { color: var(--muted); font-weight: 600; }
.footer nav a:hover { color: var(--text); }

/* Área do cliente */
.account { position: relative; isolation: isolate; min-height: calc(100vh - 66px - 75px); display: grid; place-items: center; padding: 56px 0; }
.account .hero-bg img { opacity: .5; }
.account .hero-bg::after { background: radial-gradient(70% 70% at 50% 45%, rgba(8,15,31,.7), rgba(8,15,31,.96)); }
.panel { width: min(100% - 32px, 440px); padding: 32px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(16,31,54,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 80px -24px rgba(0,0,0,.9); }
.panel h1 { font-size: 28px; font-weight: 800; }
.panel > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8,15,31,.7); font-size: 16px; }
.field input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(37,135,255,.25); }
.panel .btn-block { margin-top: 22px; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.msg-error { color: #ffd3da; background: rgba(255,107,129,.12); border: 1px solid rgba(255,107,129,.35); }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge-ok { color: var(--ok); background: rgba(35,230,155,.12); border: 1px solid rgba(35,230,155,.35); }
.badge-bad { color: var(--bad); background: rgba(255,107,129,.12); border: 1px solid rgba(255,107,129,.35); }
.badge-warn { color: var(--warn); background: rgba(255,204,102,.12); border: 1px solid rgba(255,204,102,.35); }
.panel .days { margin-top: 22px; font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--text); }
.days small { font-size: 18px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.facts { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.link-btn { display: block; margin: 14px auto 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.link-btn:hover { color: var(--text); }

/* Language switcher (i18n.js) */
.nav > .brand { margin-right: auto; }
.lang-switch { order: 5; display: flex; gap: 2px; margin-left: 12px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; }
.lang-switch button { min-width: 34px; height: 30px; padding: 0 6px; border-radius: 7px; font: 700 12px/1 var(--body); letter-spacing: .04em; color: var(--muted); transition: color .15s, background .15s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #fff; background: var(--brand); }
.menu-toggle { order: 6; margin-left: 8px; }
@media (min-width: 1001px) and (max-width: 1100px) {
  .menu > a:not(.btn) { padding: 8px 8px; font-size: 14px; }
  .menu .menu-account { margin-left: 0; }
}
/* With the switcher in the bar, the links collapse into the menu button a bit earlier. */
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-header .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg-2); box-shadow: 0 24px 40px -12px rgba(0,0,0,.8); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
  .site-header .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu > a:not(.btn) { padding: 12px; font-size: 16px; }
  .menu .menu-account { margin-left: 0; }
  .menu .btn { margin: 8px 0 0; min-height: 48px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg-2); box-shadow: 0 24px 40px -12px rgba(0,0,0,.8); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu > a:not(.btn) { padding: 12px; font-size: 16px; }
  .menu .menu-account { margin-left: 0; }
  .menu .btn { margin: 8px 0 0; min-height: 48px; }
  .cards, .plans { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 56px 0 72px; }
  .hero-bg img { object-position: 38% 50%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(8,15,31,.72) 0%, rgba(8,15,31,.88) 55%, var(--bg) 100%); }
  .lead { font-size: 16.5px; }
  .btn-lg { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plan { padding: 18px 16px; }
  .price { font-size: 34px; }
  .price small { font-size: 13px; vertical-align: 14px; }
  .price span { font-size: 16px; }
  .per-day { font-size: 12.5px; }
  .plan-badge { right: 10px; font-size: 10px; padding: 3px 8px; }
  .final { padding: 88px 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .panel { padding: 24px 20px; }
}
.risk-note { max-width: 760px; margin: 18px auto 0; padding: 14px 18px; border: 1px solid rgba(255, 204, 102, .35); border-radius: 12px; background: rgba(255, 204, 102, .07); color: var(--muted); font-size: 12px; line-height: 1.7; text-align: left; }
.risk-note strong { color: var(--warn); }
.risk-note a { color: var(--text); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
