@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-color: #f6f8fb;
  --surface-color: #ffffff;
  --border-color: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  
  --secondary: #db2777; /* Deep professional pink */
  
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 24px -6px rgba(0,0,0,0.06);
}

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

body {
  font-family: var(--font-ui);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.bg-gray {
  background-color: var(--bg-color);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--primary-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}
.navbar-brand span.brand-text span {
  color: var(--secondary);
}
.brand-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 6px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-main);
  height: 36px;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  background-color: var(--bg-color);
  border-color: var(--text-light);
}
.lang-btn .flag-icon {
  flex: 0 0 auto;
}
.country-flag {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--border-color) 75%, transparent);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
  font-size: 17px;
  line-height: 1;
}
.lang-btn .chevron-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.lang-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: slideUp 0.2s ease forwards;
}
.lang-dropdown[hidden] {
  display: none;
}
.lang-dropdown button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background-color 0.1s ease;
  gap: 10px;
}
.lang-dropdown button:hover {
  background-color: var(--bg-color);
}
.lang-dropdown button[aria-current="true"] {
  background-color: var(--primary-light);
  color: var(--primary);
}
.lang-dropdown button span:nth-child(2) {
  flex: 1;
}
.lang-dropdown button small {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.navbar-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--border-color);
  padding: 4px 10px;
  border-radius: 99px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  font-family: var(--font-ui);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary:disabled {
  background-color: var(--text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  background-color: var(--surface-color);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--text-light);
  background-color: var(--bg-color);
  color: var(--text-main);
}
.btn-secondary:disabled {
  color: var(--text-light);
  cursor: not-allowed;
}
.btn-ghost {
  background-color: transparent;
  color: var(--text-main);
}
.btn-ghost:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}
.btn-danger {
  background-color: var(--surface-color);
  color: var(--danger);
  border-color: #fca5a5;
}
.btn-danger:hover {
  background-color: #fef2f2;
}
.w-full {
  width: 100%;
}

/* Alerts */
.alert {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.alert-info {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid #bfdbfe;
}
.alert-warning {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.alert-error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.alert-success {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.alert strong {
  font-weight: 700;
}

/* Top Banner */
.top-banner {
  background-color: var(--text-main);
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.top-banner strong {
  color: #60a5fa;
}

/* Profile Menu */
.navbar-live-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 99px;
}
.balance-label {
  color: var(--text-muted);
}
.navbar-live-balance strong {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 700;
}

.profile-menu {
  position: relative;
}
.profile-trigger {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}
.profile-trigger:hover {
  background-color: var(--bg-color);
}
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  z-index: 200;
}
.profile-dropdown[hidden] {
  display: none;
}
.profile-identity, .profile-balance {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-identity span, .profile-balance span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}
.profile-identity strong, .profile-balance strong {
  font-size: 14px;
  color: var(--text-main);
}
.profile-balance {
  border-bottom: none;
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  margin: 8px 0;
}
.profile-balance strong {
  font-family: var(--font-mono);
  color: var(--primary);
}
.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-ui);
}
.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background-color: var(--bg-color);
}
.profile-dropdown form {
  margin: 0;
}
.profile-dropdown button {
  color: var(--danger);
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content, .metric-card {
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.features-grid .feature-card {
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-grid .pricing-card {
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pricing-grid .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-grid .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-grid .pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 0;
  align-items: center;
}
.hero-title {
  font-size: 56px;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.metric-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metric-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
}
.metric-detail {
  font-size: 14px;
  color: var(--text-light);
}

/* Features Section */
.features-section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: 32px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.feature-icon {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.compatibility-workflow {
  max-width: 1040px;
  margin: 48px auto 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

.compatibility-workflow-header {
  max-width: 840px;
}

.compatibility-workflow-header h3 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.compatibility-workflow-header p,
.post-download-guide > p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.post-download-guide {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.post-download-guide h4 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.18rem;
}

.post-download-facts,
.replacement-steps {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-download-facts > div,
.replacement-steps > div {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--background-color);
}

.post-download-facts strong,
.replacement-step-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 800;
}

.post-download-facts p,
.replacement-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.post-download-guide h5 {
  margin: 28px 0 0;
  color: var(--text-main);
  font-size: 1rem;
}

.replacement-step-label {
  color: var(--primary);
}

.post-download-result {
  margin: 22px 0 0 !important;
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-main) !important;
  background: rgba(29, 78, 216, 0.055);
  font-weight: 650;
}

.download-choice-help {
  margin: -4px 8px 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: left;
}

.compatibility-notice {
  display: grid;
  max-width: 960px;
  margin: 48px auto 0;
  padding: 28px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.07), rgba(190, 24, 93, 0.035)),
    var(--surface-color);
  box-shadow: var(--shadow-sm);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
}

.compatibility-notice-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--text-main);
  font: 800 0.78rem/1 var(--font-ui);
  letter-spacing: 0.08em;
}

.compatibility-eyebrow {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compatibility-notice h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.compatibility-notice p:not(.compatibility-eyebrow) {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.compatibility-summary {
  margin-bottom: 16px !important;
}

.compatibility-rules {
  display: grid;
  border: 1px solid rgba(29, 78, 216, 0.13);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
}

.compatibility-rules > div {
  display: grid;
  padding: 14px 16px;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
}

.compatibility-rules > div + div {
  border-top: 1px solid var(--border-color);
}

.compatibility-rules dt {
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 800;
}

.compatibility-rules dd {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.compatibility-rule-restricted {
  background: rgba(254, 242, 242, 0.55);
}

.compatibility-rule-restricted dt {
  color: #b91c1c;
}

.gaming-proof {
  display: grid;
  max-width: 960px;
  margin: 16px auto 0;
  padding: 22px 28px;
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.gaming-proof-mark {
  display: grid;
  min-width: 64px;
  height: 38px;
  padding: 0 12px;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(29, 78, 216, 0.08);
  font: 800 0.68rem/1 var(--font-ui);
  letter-spacing: 0.08em;
}

.gaming-proof h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.gaming-proof p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .navbar-container {
    padding: 12px 14px;
    gap: 8px;
  }

  .navbar-brand {
    gap: 6px;
    font-size: 18px;
  }

  .navbar-actions {
    min-width: 0;
    gap: 7px;
  }

  .navbar-actions .btn {
    padding: 8px 9px;
    font-size: 11px;
    line-height: 1.2;
  }

  .navbar-actions > .btn-secondary {
    max-width: 124px;
    white-space: normal;
    text-align: center;
  }

  .navbar-badge {
    display: none;
  }

  .lang-btn {
    width: 48px;
    height: 34px;
    padding: 5px 8px;
    justify-content: center;
  }

  .country-flag {
    width: 20px;
    height: 20px;
    font-size: 15px;
  }

  .lang-dropdown {
    position: fixed;
    top: 64px;
    right: 14px;
    width: min(220px, calc(100vw - 28px));
  }

  .compatibility-workflow {
    padding: 24px 20px;
  }

  .post-download-facts,
  .replacement-steps {
    grid-template-columns: 1fr;
  }

  .compatibility-notice {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compatibility-notice-mark {
    width: 46px;
    height: 46px;
  }

  .compatibility-rules > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gaming-proof {
    padding: 20px 22px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.acquisition-section {
  padding: 16px 0 88px;
}

.acquisition-card {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(145deg, #111827 0%, #070b14 72%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.acquisition-card::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.acquisition-label {
  margin-bottom: 18px;
  color: #93c5fd;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.acquisition-card h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.acquisition-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.acquisition-action {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-top: 34px;
}

.acquisition-action form {
  margin: 0;
}

.acquisition-button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  font: 750 0.9rem/1.35 var(--font-ui);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.acquisition-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.acquisition-button-unlocked {
  color: #052e16;
  background: #bbf7d0;
}

.acquisition-contact {
  display: block;
  margin-top: 12px;
  color: #bbf7d0;
  font-size: 0.86rem;
  font-weight: 700;
}

.acquisition-privacy {
  max-width: 720px;
  margin: 17px 0 0;
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.65;
}

.acquisition-payment-note {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.7rem;
}

@media (max-width: 640px) {
  .acquisition-section {
    padding-bottom: 64px;
  }

  .acquisition-card {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .acquisition-button {
    width: 100%;
  }
}
.pricing-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-header h3 {
  font-size: 18px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.pricing-cost {
  margin-bottom: 32px;
}
.pricing-cost strong {
  font-size: 40px;
  line-height: 1;
  color: var(--text-main);
  display: block;
  margin-bottom: 8px;
}
.pricing-cost span {
  font-size: 13px;
  color: var(--text-light);
}
.pricing-allocation {
  background-color: var(--bg-color);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.token-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.token-value span {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.processing-limit {
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pricing-action {
  margin-top: auto;
}
.pricing-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 40px;
}

.plan-bonus {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  color: var(--color-primary);
  font-size: 0.82rem;
}

.performance-price-estimate {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.performance-price-heading {
  margin-bottom: 1rem;
}

.performance-price-heading h3 {
  margin-bottom: 0.35rem;
}

.performance-price-heading p {
  color: var(--text-secondary);
}

.performance-price-table-wrap {
  overflow-x: auto;
}

.performance-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.performance-price-table th,
.performance-price-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.performance-price-table th {
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.performance-price-table td:last-child {
  color: var(--color-primary);
  white-space: nowrap;
}

.performance-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.support-chat {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  font-family: inherit;
}
.support-chat-launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #2857d8, #8d35b9);
  color: #fff;
  box-shadow: 0 14px 35px rgba(34, 70, 164, 0.32);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.support-chat-launcher:hover {
  transform: translateY(-2px);
}
.support-chat-launcher.is-hidden {
  visibility: hidden;
}
.support-chat-launcher svg,
.support-chat-form svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.support-chat-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  width: min(380px, calc(100vw - 32px));
  height: min(610px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid rgba(116, 131, 160, 0.24);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 28, 61, 0.28);
}
.support-chat-panel[hidden] {
  display: none;
}
.support-chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #132445, #234fae 60%, #77369b);
  color: #fff;
}
.support-chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
}
.support-chat-header > div:nth-child(2) {
  display: grid;
  gap: 2px;
  flex: 1;
}
.support-chat-header strong {
  font-size: 14px;
}
.support-chat-header span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.76);
}
.support-chat-header i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-radius: 50%;
  background: #72e6a8;
}
.support-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.support-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
  padding: 18px;
  background: #f7f9fd;
}
.support-chat-message {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.48;
  white-space: pre-wrap;
}
.support-chat-message.is-assistant {
  align-self: flex-start;
  border: 1px solid #e4e9f2;
  border-bottom-left-radius: 5px;
  background: #fff;
  color: #1d2940;
}
.support-chat-message.is-user {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: #2857d8;
  color: #fff;
}
.support-chat-message.is-pending {
  color: #6b7690;
}
.support-chat-message.is-error {
  border-color: #ffd2d2;
  background: #fff3f3;
  color: #a52a2a;
}
.support-chat-suggestions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 14px 4px;
  background: #fff;
}
.support-chat-suggestions button {
  flex: none;
  border: 1px solid #cfd9ee;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #2857d8;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.support-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
}
.support-chat-form textarea {
  flex: 1;
  min-height: 42px;
  max-height: 96px;
  resize: none;
  border: 1px solid #dbe2ef;
  border-radius: 13px;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
  color: #1d2940;
  outline: none;
}
.support-chat-form textarea:focus {
  border-color: #2857d8;
  box-shadow: 0 0 0 3px rgba(40, 87, 216, 0.1);
}
.support-chat-form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #2857d8;
  color: #fff;
  cursor: pointer;
}
.support-chat-form button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.support-chat-disclaimer {
  margin: 0;
  padding: 0 14px 11px;
  background: #fff;
  color: #8a94a8;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 640px) {
  .support-chat {
    right: 14px;
    bottom: 14px;
  }
  .support-chat-panel {
    position: fixed;
    inset: 12px;
    width: auto;
    height: auto;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .performance-price-estimate {
    padding: 1.25rem;
  }

  .performance-price-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.78rem;
  }

  .performance-price-table th,
  .performance-price-table td {
    padding: 0.7rem 0.35rem;
    overflow-wrap: anywhere;
  }

  .performance-price-table th:nth-child(1) {
    width: 25%;
  }

  .performance-price-table th:nth-child(2) {
    width: 48%;
  }

  .performance-price-table th:nth-child(3) {
    width: 27%;
  }

  .performance-price-table td:last-child {
    white-space: normal;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  background-color: var(--surface-color);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand .brand-text {
  font-size: 18px;
  font-weight: 800;
}
.footer-brand .brand-text span {
  color: var(--secondary);
}
.brand-tagline {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 13px;
  color: var(--text-light);
}

/* Auth Screens */
.auth-page {
  padding: 80px 24px;
}
.auth-container {
  max-width: 440px;
  margin: 0 auto;
}
.auth-header {
  text-align: center;
  margin-bottom: 40px;
}
.auth-header h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
.auth-header p {
  color: var(--text-muted);
  font-size: 15px;
}
.auth-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-ui);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-color);
  color: var(--text-main);
  transition: border-color 0.15s ease;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.auth-links {
  margin-top: 16px;
  text-align: center;
}
.auth-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.auth-link:hover {
  color: var(--primary);
}
.auth-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.auth-footer a {
  font-weight: 600;
}

/* Account Config */
.account-page {
  padding: 80px 24px;
}
.account-container {
  max-width: 600px;
  margin: 0 auto;
}
.account-header {
  margin-bottom: 40px;
}
.account-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
}
.account-header p {
  font-size: 16px;
  color: var(--text-muted);
}
.account-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.account-detail-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.detail-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.detail-value {
  font-size: 15px;
  font-weight: 600;
}
.highlight-value {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 18px;
}
.account-note {
  font-size: 13px;
  color: var(--text-light);
  margin: 24px 0;
}
.account-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

/* Sandbox */
.sandbox-page {
  padding: 48px 24px;
}
.sandbox-container {
  max-width: 1000px;
  margin: 0 auto;
}
.sandbox-header {
  margin-bottom: 48px;
}
.sandbox-header h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
.sandbox-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}
.performance-principle {
  max-width: 760px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--border-color));
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--primary) 5%, var(--surface-color));
}
.performance-principle strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 15px;
}
.performance-principle p {
  max-width: none;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.sandbox-form {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.sandbox-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.sandbox-form-header h2 {
  font-size: 20px;
}
.station-badge {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sandbox-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 240px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--bg-color);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 24px;
  position: relative;
}
.sandbox-drop-zone:hover, .sandbox-drop-zone.is-dragover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}
.sandbox-drop-zone:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 3px;
  border-color: var(--primary);
}
.sandbox-drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.drop-zone-icon {
  width: 48px;
  height: 48px;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop-zone-icon::after {
  content: '↑';
  font-size: 24px;
  color: var(--primary);
  font-weight: 800;
}
.sandbox-drop-zone.has-file .drop-zone-icon::after {
  content: '✓';
  color: var(--success);
}
.drop-zone-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drop-zone-hint {
  font-size: 13px;
  color: var(--text-muted);
}
.sandbox-status {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-light);
}
.is-processing .status-indicator {
  background-color: var(--warning);
  animation: pulse 1.5s infinite;
}
.is-complete .status-indicator {
  background-color: var(--success);
}
.is-error .status-indicator {
  background-color: var(--danger);
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
.text-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.local-video-preview {
  margin-bottom: 24px;
}
.local-video-preview video {
  width: 100%;
  border-radius: var(--radius-md);
  background: #000;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.local-video-preview span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Referral Section */
.referral-panel {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.referral-info h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.referral-info p {
  font-size: 15px;
  color: var(--text-muted);
}
.referral-link-box {
  flex-shrink: 0;
  width: 400px;
}
.referral-link-box label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.referral-input-group {
  display: flex;
  gap: 8px;
}
.referral-input-group input {
  flex-grow: 1;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  background-color: var(--bg-color);
  color: var(--text-main);
}
.referral-status {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* Guide Section */
.optimization-guide {
  margin-top: 64px;
}
.guide-header {
  margin-bottom: 32px;
}
.guide-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.guide-header p {
  color: var(--text-muted);
  font-size: 15px;
}
.guide-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-list li {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
}
.guide-list h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.guide-list h3 span {
  display: block;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-top: 4px;
}
.guide-list p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Success */
.success-page {
  padding: 80px 24px;
}
.success-container {
  max-width: 600px;
  margin: 0 auto;
}
.success-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background-color: #ecfdf5;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon::after {
  content: '✓';
  font-size: 32px;
  color: var(--success);
  font-weight: 800;
}
.success-card h1 {
  font-size: 28px;
  margin-bottom: 16px;
}
.success-intro {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.success-file-info {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.file-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}
.file-status {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.success-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.metric-val {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-main);
}
.success-summary {
  background-color: var(--bg-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.success-summary strong {
  font-family: var(--font-mono);
  color: var(--text-main);
}
.success-net {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 16px;
}
.success-net strong {
  color: var(--success);
}
.hardware-performance-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid rgba(37, 86, 219, 0.22);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light), var(--surface-color));
}
.performance-result-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hardware-performance-result h2 {
  margin: 0;
  font-size: 18px;
}
.performance-index {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
}
.performance-index small {
  font-size: 14px;
}
.performance-gains {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  flex-wrap: wrap;
}
.performance-gains span {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}
.performance-gains strong {
  color: var(--success);
}
.hardware-performance-result p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}
@media (max-width: 640px) {
  .hardware-performance-result {
    grid-template-columns: 1fr;
  }
  .performance-index,
  .performance-gains,
  .hardware-performance-result p {
    grid-column: 1;
  }
}
.success-transaction {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}
.transaction-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.transaction-detail span {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.transaction-detail strong {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-main);
}
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Launch Lock */
.launch-lock {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background-color: var(--surface-color);
}
.launch-countdown {
  text-align: center;
  max-width: 600px;
}
.launch-brand {
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin-bottom: 48px;
}
.launch-brand span {
  color: var(--secondary);
}
.launch-countdown .eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}
.launch-countdown h1 {
  font-size: 40px;
  margin-bottom: 40px;
}
.countdown-clock {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}
.countdown-clock span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.countdown-clock strong {
  font-family: var(--font-mono);
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
}
.countdown-clock small {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.countdown-clock i {
  font-style: normal;
  font-size: 40px;
  color: var(--border-color);
  line-height: 1;
}
.alpha-entry {
  background-color: var(--bg-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.alpha-entry form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
}
.input-group {
  display: flex;
  gap: 12px;
}
.input-group input {
  flex-grow: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 15px;
}
.alpha-message {
  margin-bottom: 16px;
  font-size: 14px;
}
.alpha-error {
  color: var(--danger);
}

/* Admin Panel */
.navbar-admin-link {
  padding: 8px 12px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.navbar-admin-link:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.admin-page {
  padding: 64px 24px 96px;
}

.admin-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}

.admin-header h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.admin-header > div > p:last-child {
  max-width: 680px;
  color: var(--text-muted);
}

.admin-eyebrow {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-secure-badge {
  padding: 8px 13px;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #047857;
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-stats {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.admin-stat-card,
.admin-panel-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

.admin-stat-card {
  display: flex;
  min-height: 164px;
  padding: 24px;
  flex-direction: column;
}

.admin-stat-card > span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-stat-card strong {
  margin: auto 0 4px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.admin-stat-card small {
  color: var(--text-light);
  font-size: 12px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.admin-panel-card {
  min-width: 0;
  padding: 28px;
}

.admin-section-heading {
  display: flex;
  margin-bottom: 24px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.admin-section-heading h2 {
  font-size: 20px;
}

.admin-section-heading > a {
  font-size: 13px;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table td:first-child {
  max-width: 220px;
  white-space: normal;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td strong {
  overflow: hidden;
  color: var(--text-main);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table td small {
  margin-top: 3px;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 10px;
}

.admin-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--bg-color);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-status-concluido {
  color: #047857;
  background: #ecfdf5;
}

.admin-status-em_fila,
.admin-status-a_processar {
  color: #1d4ed8;
  background: #eff6ff;
}

.admin-empty-state {
  padding: 52px 20px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
}

.admin-empty-state p {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 13px;
}

.admin-config-list > div {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  gap: 20px;
}

.admin-config-list dt {
  color: var(--text-muted);
  font-size: 13px;
}

.admin-config-list dd {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.admin-config-list dd.is-ready {
  color: var(--success);
}

.admin-config-list dd.is-attention {
  color: var(--warning);
}

.admin-config-note {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  background: var(--bg-color);
  font-size: 12px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section, .sandbox-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .pricing-grid, .guide-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .referral-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .referral-link-box {
    width: 100%;
  }
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .features-grid, .pricing-grid, .guide-list {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 40px;
  }
  .metric-card {
    padding: 32px;
  }
  .pricing-card-featured {
    transform: none;
  }
  .success-metrics {
    grid-template-columns: 1fr;
  }
  .success-transaction {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .transaction-detail {
    align-items: center;
    text-align: center;
  }
  .admin-page {
    padding: 40px 18px 72px;
  }
  .admin-header {
    flex-direction: column;
    gap: 16px;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .admin-stat-card {
    min-height: 136px;
  }
  .admin-panel-card {
    padding: 20px;
  }
  .navbar-admin-link {
    padding: 7px 9px;
  }
}