@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #080B11;
  --bg-surface: #0E131F;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(26, 34, 54, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(108, 92, 231, 0.4);
  
  --primary: #6C5CE7;
  --primary-glow: rgba(108, 92, 231, 0.35);
  --primary-hover: #5B4BC4;
  --cyan: #00D2D3;
  --cyan-glow: rgba(0, 210, 211, 0.3);
  --emerald: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --amber: #F59E0B;
  --amber-glow: rgba(245, 158, 11, 0.3);
  --crimson: #EF4444;

  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #6B7280;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(108, 92, 231, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 211, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(108, 92, 231, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(108, 92, 231, 0.3);
}

/* Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Top Edge Glow Line */
.site-top-accent-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.4) 30%, rgba(6, 182, 212, 0.4) 70%, transparent 100%);
  position: relative;
  z-index: 101;
}

/* Header & Navbar (Institutional Stripe / Linear / Vercel Grade) */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px 0;
}

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

/* Minimalist Logo Mark & Typographic Lockup */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.brand-wrap:hover {
  opacity: 0.9;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text-lockup {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}

.brand-primary-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.brand-divider {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  font-size: 0.85rem;
}

.brand-secondary-name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #94A3B8;
}

/* Centered Frosted Nav Capsule */
.nav-capsule {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 6px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Financial Ticker & Luxury Sign-In Action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ltc-ticker-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ticker-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.ticker-currency {
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.04em;
}

.ticker-val {
  color: var(--cyan);
  font-weight: 600;
}

/* Header Sign-In Button (Subtle Dark) */
.btn-header-signin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-header-signin svg {
  color: #5865F2;
}

.ltc-badge .dot {
  width: 6px;
  height: 6px;
  background: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38BDF8;
}

/* 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: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4834D4);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0abde3);
  color: #080B11;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 211, 0.5);
}

.btn-discord {
  background: #5865F2;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* User Profile in Header */
.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.user-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: var(--radius-full);
  color: #C7D2FE;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.metric-icon {
  font-size: 1.25rem;
}

/* Section Tabs */
.tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 32px;
}

.tab-pill {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.tab-pill.active {
  background: linear-gradient(135deg, var(--primary), #4834D4);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.plan-card {
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card.popular {
  border-color: var(--border-bright);
  box-shadow: 0 0 30px var(--primary-glow);
}

.badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #080B11;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-cap-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 210, 211, 0.1);
  border: 1px solid rgba(0, 210, 211, 0.3);
  color: var(--cyan);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

.plan-price-wrap {
  margin: 24px 0;
}

.price-usd {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-ltc {
  font-size: 0.85rem;
  color: #A5B4FC;
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features li i, .plan-features li .check-icon, .feature-check-svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.feature-check-svg.cyan-check {
  color: var(--cyan);
}

.feature-check-svg.violet-check {
  color: #A78BFA;
}

/* Mail Accounts Interactive Calculator */
.mail-calculator-card {
  padding: 40px;
  margin-bottom: 60px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

/* Mail Quantity Input */
.mail-input-wrap {
  display: flex;
  align-items: center;
  margin: 16px 0 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.mail-input-wrap:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.15);
}

.mail-count-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  padding: 12px 16px;
  outline: none;
  -moz-appearance: textfield;
}

.mail-count-input::-webkit-outer-spin-button,
.mail-count-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mail-input-suffix {
  padding: 12px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.mail-input-hint {
  font-size: 0.76rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.preset-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.preset-pill {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.preset-pill:hover, .preset-pill.active {
  background: rgba(0, 210, 211, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

.calc-summary {
  background: rgba(8, 11, 17, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
}

/* Key Management Dashboard */
.keys-section {
  margin-bottom: 60px;
}

.keys-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.key-card {
  padding: 24px 30px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: center;
  gap: 20px;
}

.key-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.key-string {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #38BDF8;
}

.quota-bar-wrap {
  margin-top: 6px;
}

.quota-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quota-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  border-radius: var(--radius-full);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #0E131F;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.qr-frame {
  background: #FFFFFF;
  padding: 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 20px auto;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.qr-frame img {
  display: block;
  width: 190px;
  height: 190px;
}

.copy-input-group {
  display: flex;
  margin: 12px 0;
}

.copy-input-group input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.copy-input-group button {
  background: var(--primary);
  border: none;
  color: #FFFFFF;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  cursor: pointer;
}

.payment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}

.status-waiting {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
}

.status-detected {
  background: rgba(0, 210, 211, 0.15);
  border: 1px solid rgba(0, 210, 211, 0.4);
  color: #38BDF8;
}

.status-completed {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

/* Pulse animation for waiting */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.pulse {
  animation: pulse 1.8s infinite;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 60px;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.88rem;
}

/* ──────────────────────────────────────────────
   Professional UI Extensions: Login Gateway & Hub
   ────────────────────────────────────────────── */

.main-content-wrap {
  padding: 30px 0 80px;
  min-height: calc(100vh - 180px);
}

.view-panel {
  animation: viewFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   DEVELOPER SAAS SPLIT-SCREEN AUTHENTICATION PORTAL (Linear / Supabase / Clerk)
   ========================================================================== */

#view-login {
  position: relative;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 60px;
}

/* Ambient Backdrop Grid & Light Orbs */
.login-bg-mesh {
  position: absolute;
  inset: -60px -40px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tech-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.18;
}

.orb-indigo {
  top: 10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: #6366F1;
}

.orb-cyan {
  bottom: 10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: #06B6D4;
}

/* Split-Screen 2-Column Grid */
.login-split-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, 440px) 1.25fr;
  gap: 36px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}

/* LEFT COLUMN: AUTHENTICATION GATEWAY PANE */
.login-auth-pane {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 17, 28, 0.75);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
}

.auth-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cluster-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cluster-status-pill strong {
  color: var(--emerald);
  font-weight: 600;
}

.auth-env-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(0, 210, 211, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 210, 211, 0.25);
}

.auth-brand-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.auth-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.auth-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.auth-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-auth-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
  filter: brightness(1.1);
}

.btn-dev-bypass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-dev-bypass:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.6);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 4px 0;
  color: var(--text-dark);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-divider span {
  padding: 0 10px;
  color: var(--text-dark);
}

.btn-guest-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-guest-link:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.security-guarantees-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
}

.guarantee-item svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.guarantee-item strong {
  color: #E2E8F0;
  font-weight: 600;
}

.guarantee-item span {
  color: var(--text-muted);
  font-size: 0.74rem;
}

/* RIGHT COLUMN: DEVELOPER SHOWCASE PANE */
.login-showcase-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Simulated macOS/Linux Terminal */
.showcase-terminal-box {
  background: #080C14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-window-header {
  background: #0D121F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.terminal-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.terminal-tabs-strip {
  display: flex;
  background: #090E1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 10px;
}

.terminal-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.terminal-tab:hover {
  color: #FFFFFF;
}

.terminal-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: rgba(0, 210, 211, 0.05);
}

.terminal-code-body {
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #CBD5E1;
  min-height: 155px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.terminal-status-footer {
  background: #0B0F19;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.status-metric {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-code {
  color: var(--emerald);
  font-weight: 600;
}

.status-sep {
  color: rgba(255, 255, 255, 0.2);
}

.status-time {
  color: var(--cyan);
}

.status-rate {
  color: var(--text-muted);
}

.status-target {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
}

/* Telemetry Grid */
.showcase-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.telemetry-card {
  background: rgba(13, 17, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.telemetry-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(13, 17, 28, 0.85);
  transform: translateY(-2px);
}

.tel-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  font-weight: 600;
}

.tel-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.tel-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-left: 2px;
}



/* Services Hub Status Strip */
.hub-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 24px;
  margin-bottom: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulse-green {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: dotGlow 2s infinite ease-in-out;
}

.pulse-cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: dotGlow 2s infinite ease-in-out;
}

.pulse-purple {
  background: #A78BFA;
  box-shadow: 0 0 10px #A78BFA;
  animation: dotGlow 2s infinite ease-in-out;
}

@keyframes dotGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hub-header {
  margin-bottom: 36px;
}

.hub-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #FFFFFF, #CBD5E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Two Major Service Portal Cards */
.hub-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.portal-card {
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.portal-card:hover {
  transform: translateY(-6px);
}

.portal-mails {
  border: 1px solid rgba(0, 210, 211, 0.25);
}

.portal-mails:hover {
  border-color: rgba(0, 210, 211, 0.6);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 211, 0.2);
}

.portal-solvers {
  border: 1px solid rgba(108, 92, 231, 0.25);
}

.portal-solvers:hover {
  border-color: rgba(108, 92, 231, 0.6);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(108, 92, 231, 0.2);
}

.portal-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-cyan {
  background: rgba(0, 210, 211, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 211, 0.3);
}

.badge-violet {
  background: rgba(108, 92, 231, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.portal-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-cyan {
  background: rgba(0, 210, 211, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 211, 0.3);
}

.icon-violet {
  background: rgba(108, 92, 231, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.portal-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.portal-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 22px;
  min-height: 44px;
}

.portal-price-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pp-price-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pp-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
}

.pp-currency-violet {
  color: #A5B4FC;
}

.pp-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.pp-unit {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-left: 2px;
}

.pp-sub-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.cyan-sub-badge {
  background: rgba(0, 210, 211, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 211, 0.25);
}

.violet-sub-badge {
  background: rgba(108, 92, 231, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(108, 92, 231, 0.25);
}

.portal-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.portal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cyan-check {
  color: var(--cyan);
  font-weight: 800;
}

.violet-check {
  color: #A5B4FC;
  font-weight: 800;
}

/* Breadcrumbs */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.breadcrumb-back-btn {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.breadcrumb-back-btn:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.breadcrumb-sep {
  color: var(--text-dark);
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 500;
}

/* IMAP Spec Box */
.imap-spec-box {
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* Documentation Tabs & Panels */
.docs-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-tabs-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.docs-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.docs-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.docs-tab-btn.active {
  background: rgba(0, 210, 211, 0.12);
  border-color: rgba(0, 210, 211, 0.4);
  color: var(--cyan);
}

.doc-panel {
  animation: viewFadeIn 0.3s ease;
}

.doc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-meta-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-tag {
  font-size: 0.78rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.code-block {
  background: #05070D;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #CBD5E1;
  max-height: 540px;
  overflow-y: auto;
}

/* Responsive */
@media (max-width: 1080px) {
  .login-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showcase-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .key-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hub-portals-grid {
    grid-template-columns: 1fr;
  }
  .showcase-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

