@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --base: #03050a;
  --surface: rgba(12, 15, 23, 0.82);
  --surface-2: rgba(17, 19, 28, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f4ff;
  --muted: #7d8aa8;
  --soft: #3d4a64;
  --blue: #60a5fa;
  --indigo: #315cff;
  --violet: #8b7fff;
  --green: #00e5a0;
  --warning: #ffb547;
  --danger: #ff4d6a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --gradient: linear-gradient(135deg, #60a5fa 0%, #315cff 52%, #8b7fff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(49, 92, 255, 0.09), rgba(139, 127, 255, 0.14));
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.96), var(--base) 36%, #020308 100%);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(96, 165, 250, 0.18), transparent 34%),
    radial-gradient(ellipse at 78% 8%, rgba(139, 127, 255, 0.12), transparent 30%),
    radial-gradient(ellipse at 52% 90%, rgba(0, 229, 160, 0.07), transparent 36%);
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

::selection { background: rgba(96, 165, 250, 0.28); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 999px; }

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(49, 92, 255, 0.25);
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links { list-style: none; gap: 6px; }

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.language-menu {
  position: relative;
  z-index: 20;
}

.language-menu.open {
  z-index: 90;
}

.lang-switch {
  display: none !important;
}

.language-trigger {
  min-width: 90px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  font: 700 0.78rem 'JetBrains Mono', monospace;
}

.language-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-flag {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  line-height: 1;
  overflow: hidden;
}

.language-code {
  color: #d7e8ff;
  font: 700 0.76rem 'JetBrains Mono', monospace;
}

.language-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.language-menu.open .language-chevron {
  transform: rotate(180deg);
}

.language-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  width: 220px;
  max-width: calc(100vw - 28px);
  padding: 8px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 7, 12, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.language-menu.open .language-list {
  display: grid;
  gap: 4px;
}

.language-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

[dir="rtl"] .language-list button {
  text-align: right;
}

.language-list button:hover,
.language-list button.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.language-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 16px 38px rgba(49, 92, 255, 0.28);
}
.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.btn-quiet {
  min-height: 40px;
  padding: 0 16px;
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}
.btn-disabled {
  color: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  padding: 82px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  margin-bottom: 22px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.075);
  color: #bcd8ff;
  font: 700 0.74rem 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(0, 229, 160, 0.7);
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 7.1rem);
  line-height: 0.94;
  font-weight: 700;
  max-width: 920px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 600;
}

.proof-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.phone-card,
.panel-card,
.download-card,
.legal-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.phone-card {
  position: relative;
  width: min(390px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 38px;
}

.phone-screen {
  min-height: 650px;
  border-radius: 30px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 28%, rgba(96, 165, 250, 0.22), transparent 28%),
    linear-gradient(180deg, #0c101a, #05070b);
  border: 1px solid rgba(255, 255, 255, 0.075);
  overflow: hidden;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.app-plan {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.app-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 229, 160, 0.11);
  color: var(--green);
  font: 700 0.72rem 'JetBrains Mono', monospace;
}

.orb {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 30px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.7), transparent 13%),
    radial-gradient(circle at 55% 48%, #60a5fa, #315cff 58%, #131a51 100%);
  box-shadow:
    0 0 0 18px rgba(96, 165, 250, 0.06),
    0 0 0 42px rgba(96, 165, 250, 0.035),
    0 32px 90px rgba(49, 92, 255, 0.45);
}

.orb::after {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.status-title {
  text-align: center;
  font: 700 1.55rem 'Space Grotesk', sans-serif;
}

.status-sub {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.mini-metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.mini-metric strong {
  display: block;
  font: 700 1.18rem 'Space Grotesk', sans-serif;
}

.mini-metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1;
  font-weight: 700;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.04rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card,
.support-card,
.choice-card,
.release-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient-soft);
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.step-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #d7e8ff;
  background: var(--gradient-soft);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font: 700 0.82rem 'JetBrains Mono', monospace;
}

.feature-card h3,
.support-card h3,
.choice-card h3,
.release-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.feature-card p,
.support-card p,
.choice-card p,
.release-card p {
  color: var(--muted);
  line-height: 1.58;
}

.icon-box svg,
.platform-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-icon svg {
  width: 26px;
  height: 26px;
}

.platform-icon .fill-icon {
  fill: currentColor;
  stroke: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-currency {
  display: inline-flex;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.pricing-currency button {
  min-width: 58px;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font: 800 0.78rem 'JetBrains Mono', monospace;
}

.pricing-currency button.active {
  color: var(--text);
  background: rgba(96, 165, 250, 0.2);
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.price-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.price-badge {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 229, 160, 0.09);
  border: 1px solid rgba(0, 229, 160, 0.18);
  font: 800 0.68rem 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.price-card.featured {
  border-color: rgba(96, 165, 250, 0.35);
  background: var(--gradient-soft);
}

.price-label {
  color: var(--muted);
  font-weight: 700;
}

.price {
  margin: 12px 0 20px;
  font: 700 2.4rem 'Space Grotesk', sans-serif;
}

.price span {
  color: var(--muted);
  font: 600 0.95rem 'DM Sans', sans-serif;
}

.price-sub {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.checkout-wrap {
  padding: 64px 0 74px;
}

.checkout-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.checkout-head h1 {
  font-size: clamp(2.9rem, 7vw, 6rem);
}

.checkout-head .lead {
  max-width: 620px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
  gap: 18px;
  align-items: start;
}

.checkout-card,
.order-summary {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.checkout-card {
  padding: 24px;
  border-radius: 26px;
}

.checkout-card-head,
.summary-top,
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-card-head {
  margin-bottom: 20px;
}

.checkout-card-head span,
.summary-top span,
.summary-line span,
.field span {
  color: var(--muted);
  font-weight: 700;
}

.checkout-card-head strong,
.summary-top strong {
  display: block;
  margin-top: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
}

.secure-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(0, 229, 160, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 229, 160, 0.09);
  font: 700 0.72rem 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.checkout-section {
  margin-bottom: 22px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-section-title strong {
  font-size: 0.92rem;
}

.currency-selector {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.currency-selector button {
  min-width: 54px;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font: 800 0.78rem 'JetBrains Mono', monospace;
}

.currency-selector button.active {
  color: var(--text);
  background: rgba(96, 165, 250, 0.2);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkout-plan {
  min-height: 168px;
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.checkout-plan.active {
  border-color: rgba(96, 165, 250, 0.52);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(0, 229, 160, 0.08));
}

.checkout-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.checkout-plan h3 {
  margin: 0;
  font-size: 1rem;
}

.checkout-plan .plan-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 229, 160, 0.09);
  font: 800 0.68rem 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.checkout-plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.checkout-plan small,
.payment-option small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.platega-option {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
}

.payment-methods:has(.platega-option) {
  grid-template-columns: 1fr;
}

.sbp-badge {
  width: 72px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.sbp-badge img {
  width: 100%;
  height: auto;
  display: block;
}

.payment-option {
  min-height: 92px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.payment-option.active {
  border-color: rgba(96, 165, 250, 0.42);
  background: var(--gradient-soft);
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font: 800 1rem 'Space Grotesk', sans-serif;
}

.payment-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(3, 5, 10, 0.44);
  font: 600 1rem 'DM Sans', sans-serif;
  outline: none;
}

.field input:focus {
  border-color: rgba(96, 165, 250, 0.56);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1);
}

.field input::placeholder {
  color: rgba(125, 138, 168, 0.68);
}

.method-note {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.5;
}

.checkout-submit {
  width: 100%;
  margin-top: 16px;
}

.checkout-success {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 16px;
  color: var(--green);
  background: rgba(0, 229, 160, 0.08);
  font-weight: 700;
}

.order-summary {
  position: sticky;
  top: 94px;
  padding: 24px;
  border-radius: 26px;
}

.summary-price {
  margin: 18px 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font: 700 2.6rem 'Space Grotesk', sans-serif;
}

.summary-price span {
  color: var(--muted);
  font: 600 0.95rem 'DM Sans', sans-serif;
}

.summary-line {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
}

.summary-line.total strong {
  color: var(--green);
  font-size: 1.2rem;
}

.order-summary p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 210px;
  padding: 20px;
  border-radius: 24px;
  text-decoration: none;
}

.download-card .platform-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
}

.download-card h3 { margin-bottom: 5px; font-size: 1.08rem; }
.download-card p { color: var(--muted); font-size: 0.9rem; }
.download-card small { color: #b7c4db; font: 700 0.76rem 'JetBrains Mono', monospace; }
.download-card .btn { width: 100%; margin-top: auto; }
.download-card-muted {
  opacity: 0.78;
}

.download-fallback {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.release-list {
  display: grid;
  gap: 14px;
}

.release-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
}

.release-version {
  padding: 8px 10px;
  border-radius: 999px;
  color: #d7e8ff;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font: 700 0.78rem 'JetBrains Mono', monospace;
}

.release-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 18px;
}

.release-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: 700 0.78rem 'JetBrains Mono', monospace;
}

.release-tab.active,
.release-tab:hover {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.14);
}

.release-detail {
  max-width: 920px;
  margin: 0 auto;
}

.release-detail-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.release-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.release-detail-head h3 {
  margin-top: 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.release-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.release-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.release-meta dd {
  margin: 0;
  color: #dce8fb;
  overflow-wrap: anywhere;
}

.checksum {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
}

.checksum span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.checksum code {
  color: #d7e8ff;
  white-space: normal;
  overflow-wrap: anywhere;
}

.release-muted {
  color: var(--muted);
}

.release-notes-body ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: #c6d0e6;
  line-height: 1.65;
}

.legal-hero {
  padding: 86px 0 38px;
  text-align: center;
}

.legal-hero h1 {
  margin: 0 auto;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.legal-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.legal-layout {
  width: min(1180px, calc(100vw - 40px));
  min-width: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding: 36px 0 90px;
}

.toc {
  min-width: 0;
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.toc-title {
  margin-bottom: 10px;
  color: var(--muted);
  font: 700 0.72rem 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.toc a:hover { color: var(--text); }

.legal-card {
  min-width: 0;
  max-width: 100%;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 46px);
}

.legal-section {
  min-width: 0;
  max-width: 100%;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.legal-section p {
  margin: 12px 0;
  color: #c6d0e6;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding-left: 20px;
  color: #c6d0e6;
  line-height: 1.65;
}

.legal-section a {
  color: #bcd8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(188, 216, 255, 0.28);
  overflow-wrap: anywhere;
}

.support-hero {
  padding: 86px 0 52px;
}

.support-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: center;
}

.support-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.ticket-preview {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(3, 5, 10, 0.48);
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ticket-row:last-child { border-bottom: 0; }
.ticket-row strong { color: var(--text); }

.soon-wrap {
  min-height: calc(100vh - 72px);
  display: block;
  padding: 52px 0 80px;
}

.soon-card {
  width: min(720px, 100%);
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.status-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.status-hero h1 {
  font-size: clamp(2.35rem, 5.8vw, 5.4rem);
}

.status-hero .lead {
  max-width: 680px;
}

.status-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.status-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.status-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-stat strong {
  display: block;
  margin-top: 8px;
  font: 700 1.55rem 'Space Grotesk', sans-serif;
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(12, 15, 23, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.filter-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
}

.filter-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.filter-icon svg {
  width: 18px;
  height: 18px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-chip,
.server-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 999px;
  color: #bcd8ff;
  background: rgba(96, 165, 250, 0.08);
  font: 700 0.72rem 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.server-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.035);
}

.server-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.1fr) minmax(210px, 0.82fr) minmax(210px, 0.72fr) minmax(260px, 0.95fr);
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(18, 28, 34, 0.88), rgba(14, 17, 25, 0.94));
  transition: background 0.2s, transform 0.2s;
}

.server-row:hover {
  background: linear-gradient(90deg, rgba(28, 44, 52, 0.95), rgba(16, 20, 30, 0.98));
}

.server-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.server-pulse {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 229, 160, 0.38);
  border-radius: 12px;
  color: #78ffc8;
  background: rgba(0, 229, 160, 0.09);
}

.server-pulse svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.server-flag {
  font-size: 1.55rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.server-title {
  min-width: 0;
}

.server-title strong {
  display: block;
  color: #dbe5f7;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 500 0.78rem 'JetBrains Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-health {
  display: grid;
  gap: 8px;
}

.health-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font: 600 0.8rem 'JetBrains Mono', monospace;
}

.users-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 66px;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid rgba(0, 229, 160, 0.42);
  border-radius: 999px;
  color: #8effcf;
  background: rgba(0, 229, 160, 0.08);
  font: 700 0.78rem 'JetBrains Mono', monospace;
}

.load-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.load-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #55d69f, #60a5fa);
}

.server-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font: 500 0.78rem 'JetBrains Mono', monospace;
}

.server-meta strong {
  display: block;
  margin-top: 3px;
  color: #cbd6e8;
  font-weight: 700;
}

.server-tags {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.server-tag.green {
  border-color: rgba(0, 229, 160, 0.34);
  color: #8effcf;
  background: rgba(0, 229, 160, 0.08);
}

.server-tag.yellow {
  border-color: rgba(255, 213, 102, 0.34);
  color: #ffe28a;
  background: rgba(255, 213, 102, 0.08);
}

.server-tag.purple {
  border-color: rgba(212, 119, 255, 0.34);
  color: #e4a8ff;
  background: rgba(212, 119, 255, 0.08);
}

.server-tag.blue {
  border-color: rgba(96, 210, 255, 0.34);
  color: #a7e9ff;
  background: rgba(96, 210, 255, 0.08);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
  background: rgba(3, 5, 10, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 28px;
  align-items: start;
}

.footer p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer h4 {
  margin-bottom: 12px;
  color: var(--muted);
  font: 700 0.72rem 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: #b8c3db;
  text-decoration: none;
}

.footer a:hover { color: var(--text); }

.copyright {
  margin-top: 28px;
  color: var(--soft);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(3, 5, 10, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-links a { justify-content: center; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .language-list {
    position: fixed;
    top: 72px;
    right: 20px;
  }
  .hero,
  .support-hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 58px;
  }
  .hero-copy { text-align: center; }
  .hero-actions,
  .hero-proof { justify-content: center; }
  .toc {
    position: static;
    padding: 14px;
    border-radius: 18px;
  }
  .toc nav {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .toc nav::-webkit-scrollbar { display: none; }
  .toc a {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
  }
  .download-grid,
  .grid-3,
  .pricing-grid,
  .checkout-grid,
  .release-meta,
  .status-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .checkout-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .order-summary {
    position: static;
  }
  .status-hero {
    display: grid;
    align-items: start;
  }
  .status-actions {
    justify-content: flex-start;
  }
  .status-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .filter-chips {
    justify-content: flex-start;
  }
  .server-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .server-tags {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .nav-inner { height: 64px; }
  .brand-name { display: none; }
  .nav-actions .btn-quiet { display: none; }
  .nav-actions { gap: 8px; }
  .language-trigger {
    min-width: 76px;
    height: 38px;
    padding: 0 10px;
    gap: 6px;
  }
  .language-list {
    top: 64px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }
  .language-flag {
    width: 20px;
    height: 20px;
    font-size: 0.88rem;
  }
  .hero { padding: 44px 0 56px; }
  h1 { font-size: clamp(2.7rem, 16vw, 4.2rem); }
  .lead { font-size: 1rem; }
  .hero-actions .btn,
  .soon-card .btn,
  .support-hero .btn,
  .checkout-head .btn {
    width: 100%;
  }
  .phone-screen { min-height: 560px; padding: 18px; }
  .orb { width: 170px; height: 170px; }
  .grid-2,
  .grid-3,
  .pricing-grid,
  .checkout-grid,
  .download-grid,
  .release-meta,
  .status-summary {
    grid-template-columns: 1fr;
  }
  .release-detail-head {
    flex-direction: column;
  }
  .checkout-wrap {
    padding: 38px 0 56px;
  }
  .checkout-card,
  .order-summary {
    padding: 18px;
    border-radius: 20px;
  }
  .payment-methods,
  .plan-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .payment-option {
    min-height: 76px;
  }
  .summary-price {
    font-size: 2.18rem;
  }
  .soon-wrap {
    padding: 36px 0 56px;
  }
  .status-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.55rem);
  }
  .status-summary {
    gap: 10px;
  }
  .status-stat {
    padding: 14px;
  }
  .status-panel {
    border-radius: 18px;
  }
  .status-toolbar {
    padding: 12px;
  }
  .filter-chips {
    width: 100%;
  }
  .filter-chip {
    flex: 1 1 auto;
    justify-content: center;
  }
  .server-row {
    min-height: 0;
    padding: 14px;
  }
  .server-main {
    align-items: flex-start;
  }
  .server-title strong {
    white-space: normal;
  }
  .server-title span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .server-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .server-tags {
    gap: 6px;
  }
  .server-tag {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .release-card {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .legal-hero {
    padding: 52px 0 18px;
    text-align: left;
  }
  .legal-hero h1 {
    font-size: clamp(2.45rem, 14vw, 3.9rem);
    margin: 0;
  }
  .legal-hero .lead {
    margin-left: 0;
    margin-right: 0;
  }
  .legal-layout {
    width: min(100% - 20px, 1180px);
    gap: 14px;
    padding: 18px 0 56px;
  }
  .legal-card {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .legal-section {
    padding: 24px 0;
  }
  .legal-section h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .legal-section p,
  .legal-section li {
    font-size: 0.96rem;
    line-height: 1.68;
  }
  .legal-section ul {
    padding-left: 18px;
  }
  .toc-title {
    margin-bottom: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════
   Nav User Button
   ═══════════════════════════════════════════════════════════ */
.nav-user-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  letter-spacing: .02em;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(96,165,250,0);
}
.nav-user-btn:hover {
  opacity: .88;
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(96,165,250,.22);
}

/* ═══════════════════════════════════════════════════════════
   Auth Overlay / Modal
   ═══════════════════════════════════════════════════════════ */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-overlay.open { display: flex; }

.auth-modal {
  background: rgba(10,13,21,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px;
  width: min(460px, 100%);
  box-shadow: 0 48px 120px rgba(0,0,0,.7);
  position: relative;
  animation: colitu-modal-in .2s ease;
}

@keyframes colitu-modal-in {
  from { opacity:0; transform: translateY(18px) scale(.96); }
  to   { opacity:1; transform: none; }
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.auth-modal-close:hover { background: rgba(255,255,255,.08); color: var(--text); }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.auth-tab.active { background: rgba(255,255,255,.1); color: var(--text); }

.auth-pane { display: block; }
.auth-pane.hidden { display: none; }

.auth-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.auth-form-sub {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}
.auth-field input {
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--text);
  font-size: .9rem;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
  width: 100%;
}
.auth-field input:focus { border-color: rgba(96,165,250,.5); }

.auth-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 4px;
}
.auth-msg-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #f87171; }
.auth-msg-ok    { background: rgba(0,229,160,.08);  border: 1px solid rgba(0,229,160,.25);  color: #00e5a0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.google-auth-wrap {
  display: grid;
  gap: 10px;
}

.google-auth-button {
  width: 100%;
  justify-content: center;
  gap: 10px;
}

.google-auth-button svg {
  width: 18px;
  height: 18px;
}

.google-auth-note {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
  margin: 0;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: .85rem;
}
.auth-switch a { color: var(--blue); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   Account Panel
   ═══════════════════════════════════════════════════════════ */
.account-panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.account-panel-overlay.open { display: block; }

.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(8,10,18,.98);
  border-left: 1px solid rgba(255,255,255,.1);
  box-shadow: -24px 0 80px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: colitu-panel-in .22s ease;
}
@keyframes colitu-panel-in {
  from { transform: translateX(40px); opacity:0; }
  to   { transform: none; opacity:1; }
}

.panel-header {
  padding: 22px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.panel-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  flex-shrink: 0;
}
.panel-user-name  { font-size: .95rem; font-weight: 700; }
.panel-user-email { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.panel-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.panel-close:hover { background: rgba(255,255,255,.08); color: var(--text); }

.panel-section {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.panel-section-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}
.panel-loading {
  font-size: .85rem;
  color: var(--muted);
}

.panel-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 12px 14px;
}
.panel-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.panel-sub-row:last-child { margin-bottom: 0; }
.panel-sub-name { font-size: .9rem; font-weight: 700; }
.panel-sub-expiry { font-size: .78rem; color: var(--muted); }

.panel-badge {
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
.panel-badge-active   { background: rgba(0,229,160,.14); color: #00e5a0; }
.panel-badge-inactive { background: rgba(255,77,106,.12); color: #ff4d6a; }

.panel-device-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,.03);
  border-radius: 7px;
  font-size: .82rem;
  margin-bottom: 5px;
}
.panel-device-item:last-child { margin-bottom: 0; }
.panel-device-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.panel-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
}

.btn-ghost-danger {
  background: none;
  border: 1px solid rgba(248,113,113,.25);
  color: #f87171;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  cursor: pointer;
}
.btn-ghost-danger:hover { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.4); }
