/* Star Solution Hub — tema idêntico ao projeto site/src/styles.css */
:root {
  --radius: 0.75rem;
  --background: #050b1f;
  --foreground: #e6f2ff;
  --surface: #0a1530;
  --surface-2: #0f1d3f;
  --card: #0c1733;
  --card-foreground: #e6f2ff;
  --primary: #1ea7ff;
  --primary-glow: #5cc8ff;
  --primary-foreground: #02132a;
  --secondary: #0f2347;
  --secondary-foreground: #e6f2ff;
  --muted: #0f1f3f;
  --muted-foreground: #8aa6c9;
  --accent: #0b3a6b;
  --accent-foreground: #b9e2ff;
  --destructive: #ef4444;
  --success: #22c55e;
  --border: rgba(120, 200, 255, 0.10);
  --input: rgba(120, 200, 255, 0.06);
  --ring: #1ea7ff;
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #5cc8ff 100%);
  --gradient-hero: radial-gradient(80% 60% at 20% 0%, rgba(14,165,233,0.35), transparent 60%),
                   radial-gradient(60% 60% at 90% 20%, rgba(56,189,248,0.25), transparent 60%),
                   linear-gradient(180deg, #050b1f 0%, #0a1530 100%);
  --shadow-elegant: 0 30px 80px -30px rgba(14, 165, 233, 0.55);
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --grid-color: rgba(120,200,255,0.05);
}

html.light {
  --background: #ffffff;
  --foreground: #04122a;
  --surface: #f3f8ff;
  --surface-2: #e8f1ff;
  --card: #ffffff;
  --card-foreground: #04122a;
  --primary: #0e8fe0;
  --primary-glow: #38bdf8;
  --primary-foreground: #ffffff;
  --secondary: #e8f1ff;
  --secondary-foreground: #04122a;
  --muted: #eef5ff;
  --muted-foreground: #4a5b7a;
  --accent: #dbecff;
  --accent-foreground: #0b3a6b;
  --destructive: #dc2626;
  --success: #16a34a;
  --border: rgba(14, 30, 60, 0.10);
  --input: rgba(14, 30, 60, 0.04);
  --ring: #0e8fe0;
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --gradient-hero: radial-gradient(80% 60% at 20% 0%, rgba(14,165,233,0.14), transparent 60%),
                   radial-gradient(60% 60% at 90% 20%, rgba(56,189,248,0.12), transparent 60%),
                   linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  --shadow-elegant: 0 30px 80px -30px rgba(14, 143, 224, 0.35);
  --shadow-soft: 0 10px 30px -10px rgba(4, 18, 42, 0.12);
  --grid-color: rgba(4,18,42,0.05);
}

*, *::before, *::after { border-color: var(--border); box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Hind", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display {
  font-family: "Archivo Black", system-ui, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.bg-background { background-color: var(--background) !important; }
.bg-surface { background-color: var(--surface) !important; }
.bg-surface\/40 { background-color: color-mix(in srgb, var(--surface) 40%, transparent) !important; }
.bg-surface\/60 { background-color: color-mix(in srgb, var(--surface) 60%, transparent) !important; }
.text-foreground { color: var(--foreground) !important; }
.text-muted-foreground { color: var(--muted-foreground) !important; }
.text-primary-glow { color: var(--primary-glow) !important; }
.text-gradient {
  background: linear-gradient(135deg, #5cc8ff 0%, #38bdf8 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.border-border { border-color: var(--border) !important; }

.btn-primary {
  background-image: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.5);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elegant);
  filter: brightness(1.08);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--foreground);
  background: rgba(255,255,255,0.03);
  transition: all .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
html.light .btn-outline {
  border-color: var(--border);
  background: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
}
.surface-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
html.light .surface-card {
  background: linear-gradient(180deg, #fff, var(--surface));
}
.glass-card {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 20px 60px -20px rgba(14, 165, 233, 0.35);
  backdrop-filter: blur(10px);
}
html.light .glass-card {
  background: linear-gradient(180deg, rgba(14,165,233,0.06), #fff);
}
.hero-bg {
  background: var(--gradient-hero);
  color: var(--foreground);
}
.grid-bg {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--muted-foreground);
}
html.light .chip {
  border-color: var(--border);
  background: var(--surface);
}

html.light .border-white\/5,
html.light .border-white\/10 { border-color: var(--border) !important; }
html.light .bg-white\/\[0\.02\],
html.light .bg-white\/\[0\.03\],
html.light .bg-white\/\[0\.04\],
html.light .bg-white\/5 { background-color: var(--surface) !important; }

.faq-chevron { transition: transform .2s ease; }
.faq-chevron.is-open { transform: rotate(180deg); }

/* Login / auth — layout fixo igual ao React */
.ssh-login-page {
  background: #f8fafc;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}
.ssh-login-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .ssh-login-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  }
}
.ssh-login-form-col {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
@media (min-width: 640px) {
  .ssh-login-form-col { padding: 2.5rem 2.5rem; }
}
.ssh-login-form-inner {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.ssh-login-form-col .ssh-login-deco-1 {
  pointer-events: none;
  position: absolute;
  left: -8rem;
  top: -10rem;
  width: 520px;
  height: 520px;
  border-radius: 80px;
  transform: rotate(12deg);
  background: var(--gradient-primary);
  opacity: .9;
  filter: blur(2px);
  z-index: 0;
}
.ssh-login-form-col .ssh-login-deco-2 {
  pointer-events: none;
  position: absolute;
  left: -5rem;
  bottom: -11rem;
  width: 360px;
  height: 360px;
  border-radius: 60px;
  transform: rotate(-6deg);
  background: linear-gradient(to top right, #0ea5e9, #38bdf8);
  opacity: .8;
  z-index: 0;
}
.ssh-login-deco-1,
.ssh-login-deco-2 { pointer-events: none; }
.ssh-auth-field label {
  display: block; margin-bottom: .375rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #64748b;
}
.ssh-auth-field-control {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid #cbd5e1; border-radius: .75rem;
  background: #fff; padding: .625rem .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.ssh-auth-field-control:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px #7dd3fc;
}
.ssh-auth-field-control input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: .875rem; color: #0f172a;
}
.ssh-auth-field-control input::placeholder { color: #94a3b8; }
.ssh-captcha-box {
  border-radius: 1rem; border: 1px solid #e2e8f0;
  background: #f1f5f9; padding: 1rem;
}
.ssh-captcha-code {
  user-select: none; min-width: 110px; text-align: center;
  letter-spacing: .35em; border-radius: .5rem;
  border: 1px solid #bae6fd;
  background: repeating-linear-gradient(45deg, #bae6fd 0 8px, #e0f2fe 8px 16px);
  padding: .5rem .75rem; font-family: ui-monospace, monospace;
  font-size: 1.125rem; font-weight: 800; color: #0369a1;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
}
.ssh-btn-enter {
  width: 100%; border: 0; border-radius: .75rem; padding: .75rem;
  font-size: .875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 15px 30px -10px rgba(14,165,233,0.6);
  transition: transform .2s, box-shadow .2s;
}
.ssh-btn-enter:hover { transform: translateY(-1px); }
.ssh-btn-enter:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.ssh-btn-outline-auth {
  display: block; width: 100%; text-align: center;
  border-radius: .75rem; border: 2px solid #0ea5e9;
  background: #fff; padding: .625rem;
  font-size: .875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #0284c7; text-decoration: none;
}
.ssh-btn-outline-auth:hover { background: #f0f9ff; }
.ssh-login-card {
  border-radius: 1.5rem; border: 1px solid #fff;
  background: #fff; padding: 1.75rem 2.25rem;
  box-shadow: 0 30px 80px -30px rgba(14,165,233,0.45);
}
@media (min-width: 640px) { .ssh-login-card { padding: 2.25rem; } }
.ssh-login-hero-wrap {
  display: none;
  position: relative;
  min-width: 0;
  min-height: 100vh;
  background: #f8fafc;
}
@media (min-width: 1024px) {
  .ssh-login-hero-wrap { display: block; }
}
.ssh-login-hero-card {
  position: absolute;
  top: 1rem;
  right: 0;
  bottom: 1rem;
  left: 0.75rem;
  border-radius: 36px;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 40px 80px -30px rgba(14, 165, 233, 0.55);
}
@media (min-width: 1280px) {
  .ssh-login-hero-card {
    top: 1.25rem;
    bottom: 1.25rem;
    left: 0.5rem;
  }
}
.ssh-login-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(2,132,199,0.55), transparent 40%, transparent);
}
.ssh-login-hero-badge {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  padding: .375rem .75rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  backdrop-filter: blur(8px);
}
.ssh-login-hero-copy {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 10;
  color: #fff;
}
.ssh-logo img {
  height: 2.5rem; width: auto;
  filter: drop-shadow(0 4px 20px rgba(14,165,233,0.35));
}
@media (min-width: 768px) { .ssh-logo img { height: 3rem; } }

/* Verificação / OTP — tema azul Star */
.ssh-verify-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.ssh-verify-head__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}
.ssh-verify-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.ssh-verify-channel__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
}
.ssh-verify-channel__icon--whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.ssh-verify-channel__icon--email { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.ssh-verify-channel__icon--telegram { background: linear-gradient(135deg, #2aabee, #229ed9); }
.ssh-verify-channel__badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 4px 8px;
}
.ssh-verify-channel__badge--pending {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
}
.ssh-otp-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ssh-otp-digit {
  width: 46px;
  height: 54px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  text-transform: uppercase;
}
.ssh-otp-digit:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}
@media (min-width: 480px) {
  .ssh-otp-digit { width: 52px; height: 58px; }
  .ssh-otp-row { gap: 10px; }
}
.ssh-btn-secondary {
  display: block;
  width: 100%;
  border-radius: .75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: .625rem;
  font-size: .875rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: background .2s;
}
.ssh-btn-secondary:hover { background: #f1f5f9; }
.ssh-tip-box {
  border-radius: .75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: .875rem 1rem;
  font-size: .75rem;
  line-height: 1.5;
  color: #64748b;
}
