/**
 * AUTOGRADING AI - Gauth-Inspired Enterprise Homepage Stylesheet
 * Action-First "Snap & Solve" Interactive Hero, Bento Grid, Responsive (320px -> 4K)
 * Enforces SOLID, SoC, and strictly <= 800 lines ceiling.
 */

/* 1. Global Layout & Container */
.gauth-portal-hero-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-x: clip;
}

/* 2. Modern Sticky Navigation Bar */
.gauth-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.15rem;
  margin-bottom: 2rem;
  border-radius: 18px;
  background: var(--surface-glass, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle, rgba(226, 232, 240, 0.8));
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 1rem;
  z-index: 100;
  transition: all 0.25s ease;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
[data-theme="dark"] .gauth-nav-bar {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.35);
}
.gauth-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 1.75rem;
}
.gauth-nav-brand-text { display: flex; flex-direction: column; min-width: 0; }
.gauth-nav-brand-title {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  white-space: nowrap;
}
[data-theme="dark"] .gauth-nav-brand-title { color: #f8fafc; }
.gauth-nav-brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
  background: rgba(0, 197, 223, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  white-space: nowrap;
}
[data-theme="dark"] .gauth-nav-brand-badge { color: #00c5df; background: rgba(0, 197, 223, 0.2); }
.gauth-nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.gauth-nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary, #475569);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1.4;
  padding: 0.2rem 0.2rem;
}
.gauth-nav-link:hover { color: #0284c7; }
[data-theme="dark"] .gauth-nav-link { color: #94a3b8; }
[data-theme="dark"] .gauth-nav-link:hover { color: #00c5df; }

.gauth-nav-pricing-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  padding: 0.28rem 0.65rem !important;
  border-radius: 999px !important;
  background: rgba(0, 197, 223, 0.1) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(0, 197, 223, 0.25) !important;
  font-weight: 700 !important;
  margin-right: 0.35rem !important;
  font-size: 0.78rem !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}
.gauth-nav-pricing-badge:hover {
  background: rgba(0, 197, 223, 0.18) !important;
  transform: translateY(-1px) !important;
}
[data-theme="dark"] .gauth-nav-pricing-badge {
  background: rgba(0, 197, 223, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(0, 197, 223, 0.35) !important;
}

/* Dropdown Navigation Menus */
.gauth-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.gauth-dropdown-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary, #475569);
  padding: 0.2rem 0.2rem;
  transition: color 0.2s ease;
}
.gauth-dropdown-trigger:hover,
.gauth-dropdown-wrapper.active .gauth-dropdown-trigger {
  color: #0284c7;
}
.gauth-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1000;
}
/* Invisible hover bridge to eliminate pointer gap */
.gauth-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -10px;
  right: -10px;
  height: 16px;
  background: transparent;
}
.gauth-dropdown-wrapper:hover .gauth-dropdown-menu,
.gauth-dropdown-wrapper.active .gauth-dropdown-menu {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gauth-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap !important;
}
.gauth-dropdown-item:hover {
  background: #f1f5f9;
  color: #0284c7;
}
[data-theme="dark"] .gauth-dropdown-trigger {
  color: #94a3b8;
}
[data-theme="dark"] .gauth-dropdown-trigger:hover,
[data-theme="dark"] .gauth-dropdown-wrapper.active .gauth-dropdown-trigger {
  color: #00c5df;
}
[data-theme="dark"] .gauth-dropdown-menu {
  background: #1e293b;
  border-color: rgba(51, 65, 85, 0.85);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .gauth-dropdown-item {
  color: #e2e8f0;
}
[data-theme="dark"] .gauth-dropdown-item:hover {
  background: #334155;
  color: #38bdf8;
}

.gauth-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.btn-gauth-nav-signup {
  flex-shrink: 0;
  background: var(--primary, #00c5df);
  color: var(--brand-navy, #082850);
  font-weight: 800;
  padding: 0.44rem 0.8rem;
  border-radius: 10px;
  font-size: 0.79rem;
  border: 1px solid rgba(0, 197, 223, 0.4);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 197, 223, 0.25);
}
.btn-gauth-nav-signup:hover {
  background: var(--primary-hover, #00b4d8);
  color: var(--brand-navy-dark, #041839);
  box-shadow: 0 4px 14px rgba(0, 197, 223, 0.4);
  transform: translateY(-1px);
}
[data-theme="dark"] .btn-gauth-nav-signup {
  background: var(--primary, #00c5df);
  color: #041839;
  border-color: rgba(34, 211, 238, 0.6);
}
.btn-gauth-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: 12px;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(2, 132, 199, 0.3);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.btn-gauth-login-nav:hover { transform: translateY(-1px); background: #0369a1; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32); }
[data-theme="dark"] .btn-gauth-login-nav { background: rgba(14, 165, 233, 0.2); border-color: rgba(56, 189, 248, 0.4); color: #38bdf8; }
[data-theme="dark"] .btn-gauth-login-nav:hover { background: rgba(14, 165, 233, 0.32); color: #7dd3fc; }
.btn-landing-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--primary, #00c5df);
  color: var(--brand-navy, #082850);
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 12px;
  border: 1px solid rgba(0, 197, 223, 0.4);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 197, 223, 0.35);
  transition: all 0.2s ease;
}
.btn-landing-hero-cta:hover {
  background: var(--primary-hover, #00b4d8);
  color: var(--brand-navy-dark, #041839);
  box-shadow: 0 6px 20px rgba(0, 197, 223, 0.45);
  transform: translateY(-1px);
}
[data-theme="dark"] .btn-landing-hero-cta {
  background: var(--primary, #00c5df);
  color: #041839;
  border-color: rgba(34, 211, 238, 0.6);
}
.auth-quota-pill-cyan {
  background: rgba(0, 197, 223, 0.12) !important;
  color: #00838f !important;
  border: 1px solid rgba(0, 197, 223, 0.35) !important;
  font-weight: 700;
}
[data-theme="dark"] .auth-quota-pill-cyan {
  background: rgba(0, 197, 223, 0.16) !important;
  color: #22d3ee !important;
  border-color: rgba(0, 197, 223, 0.4) !important;
}

/* 3. Hero Header & Headline */
.gauth-hero-intro { text-align: center; margin-bottom: 2.25rem; }
.gauth-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: #4338ca;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
[data-theme="dark"] .gauth-hero-pill-badge {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}
.gauth-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary, #0f172a);
  margin: 0 0 1rem;
}
.gauth-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #00c5df 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gauth-hero-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary, #475569);
}
[data-theme="dark"] .gauth-hero-title { color: #f8fafc; }
[data-theme="dark"] .gauth-hero-desc { color: #94a3b8; }

/* 4. Interactive "Snap & Solve" Central Card */
.gauth-workspace-card {
  background: var(--surface-card, #ffffff);
  border-radius: 24px;
  border: 1px solid var(--border-subtle, rgba(226, 232, 240, 0.9));
  box-shadow: 0 12px 36px -4px rgba(0, 197, 223, 0.12), 0 4px 16px -2px rgba(8, 40, 80, 0.04);
  overflow: hidden;
  margin-bottom: 3.5rem;
  transition: all 0.3s ease;
}
[data-theme="dark"] .gauth-workspace-card {
  background: #09234e;
  border-color: rgba(0, 197, 223, 0.18);
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.45);
}
.gauth-tab-nav {
  display: flex;
  background: rgba(241, 245, 249, 0.7);
  border-bottom: 1px solid var(--border-subtle, rgba(226, 232, 240, 0.8));
  padding: 0.5rem 0.75rem 0;
  gap: 0.5rem;
}
[data-theme="dark"] .gauth-tab-nav {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.07);
}
.gauth-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-secondary, #64748b);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gauth-tab-btn.active {
  background: var(--surface-card, #ffffff);
  color: #4f46e5;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}
[data-theme="dark"] .gauth-tab-btn.active {
  background: #111827;
  color: #818cf8;
}
.gauth-tab-content { padding: 2rem; }

/* Dropzone Sub-Tab */
.gauth-dropzone-box {
  border: 2px dashed rgba(99, 102, 241, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.4) 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gauth-dropzone-box:hover,
.gauth-dropzone-box.drag-over {
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.04);
}
[data-theme="dark"] .gauth-dropzone-box {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(99, 102, 241, 0.3);
}
[data-theme="dark"] .gauth-dropzone-box:hover,
[data-theme="dark"] .gauth-dropzone-box.drag-over {
  background: rgba(79, 70, 229, 0.1);
  border-color: #818cf8;
}
.gauth-dropzone-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
}
[data-theme="dark"] .gauth-dropzone-icon { color: #818cf8; background: rgba(99, 102, 241, 0.2); }
.gauth-dropzone-heading { font-size: 1.15rem; font-weight: 700; color: var(--text-primary, #0f172a); margin-bottom: 0.35rem; }
[data-theme="dark"] .gauth-dropzone-heading { color: #f8fafc; }
.gauth-dropzone-sub { font-size: 0.85rem; color: var(--text-secondary, #64748b); margin-bottom: 1.25rem; }
.gauth-dropzone-actions { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.btn-gauth-choose-file {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.25rem; border-radius: 10px;
  background: #0284c7;
  color: #ffffff; font-size: 0.875rem; font-weight: 700; border: 1px solid rgba(2, 132, 199, 0.3);
  cursor: pointer; transition: all 0.2s ease; box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22);
}
.btn-gauth-choose-file:hover { background: #0369a1; box-shadow: 0 5px 16px rgba(2, 132, 199, 0.35); transform: translateY(-1px); }
[data-theme="dark"] .btn-gauth-choose-file { background: #0284c7; color: #ffffff; border-color: rgba(56, 189, 248, 0.4); }
.btn-gauth-camera-capture {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.25rem; border-radius: 10px;
  background: var(--btn-secondary-bg, rgba(0, 197, 223, 0.1)); color: var(--btn-secondary-fg, #0284c7);
  border: 1px solid var(--btn-secondary-border, rgba(0, 197, 223, 0.3)); font-size: 0.875rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s ease;
}
.btn-gauth-camera-capture:hover { background: rgba(0, 197, 223, 0.18); transform: translateY(-1px); }
[data-theme="dark"] .btn-gauth-camera-capture { background: rgba(0, 197, 223, 0.16); color: #22d3ee; border-color: rgba(0, 197, 223, 0.4); }

/* Formula Sub-Tab */
.gauth-formula-workspace { display: flex; flex-direction: column; gap: 1rem; }
.gauth-formula-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle, #cbd5e1);
  background: var(--input-bg, #ffffff);
  color: var(--text-primary, #0f172a);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}
.gauth-formula-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
[data-theme="dark"] .gauth-formula-input {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
/* Extracted Sections 4-7 to /css/gauth-homepage-pillars.css (<= 800 lines ceiling) */

/* High-specificity override for auth-gate inputs to prevent icon overlap caused by external libraries */
.input-gate-wrapper { position: relative !important; display: flex !important; align-items: center !important; width: 100% !important; }
.input-gate-wrapper input.input-gate, .auth-gate-form input.input-gate, input.input-gate {
  padding: 0.72rem 1rem 0.72rem 2.85rem !important;
  padding-left: 2.85rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
.input-gate-wrapper .input-gate-icon {
  position: absolute !important; left: 1rem !important; top: 50% !important; transform: translateY(-50%) !important;
  pointer-events: none !important; z-index: 3 !important; width: 18px !important; height: 18px !important;
  display: flex !important; align-items: center !important; justify-content: center !important; color: #64748b !important;
}

/* 8. Responsive Breakpoints - Zero Horizontal Scroll */
.btn-guest-tool-pill.desktop-only-tool-pill,
.desktop-only-tool-pill { display: none !important; }
.login-nav-mobile-text { display: none; }

@media (max-width: 1280px) and (min-width: 961px) {
  .gauth-nav-bar { padding: 0.5rem 0.85rem; gap: 0.55rem; }
  .gauth-nav-brand { margin-right: 0.35rem; gap: 0.45rem; }
  .gauth-nav-brand img { width: 34px; height: 34px; }
  .gauth-nav-brand-title { font-size: 1.05rem; }
  .gauth-nav-links { gap: 0.45rem; }
  .gauth-nav-link { font-size: 0.78rem; }
}
@media (max-width: 1200px) and (min-width: 961px) { #nav-link-audit, #nav-link-parent { display: none !important; } }
@media (max-width: 1024px) { .gauth-steps-grid, .gauth-bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) and (min-width: 769px) {
  .gauth-nav-links { display: none !important; }
  .gauth-nav-bar { padding: 0.5rem 0.85rem; gap: 0.5rem; }
  .gauth-nav-brand { margin-right: 0.5rem; }
}
@media (max-width: 768px) {
  .gauth-portal-hero-wrapper { padding: 0.5rem 0.5rem calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
  .gauth-nav-bar { padding: 0.42rem 0.6rem; margin-bottom: 1.15rem; gap: 0.35rem; top: 0.35rem; border-radius: 14px; }
  .gauth-nav-brand { margin-right: 0; gap: 0.38rem; min-width: 0; flex-shrink: 1; }
  .gauth-nav-brand img { width: 28px !important; height: 28px !important; border-radius: 8px !important; }
  .gauth-nav-brand-title { font-size: 0.95rem !important; }
  .gauth-nav-brand-badge { font-size: 0.55rem !important; padding: 1px 4px; }
  .gauth-nav-actions { gap: 0.35rem; }
  .btn-gauth-login-nav { padding: 0.4rem 0.68rem; font-size: 0.78rem; gap: 0.3rem; border-radius: 10px; }
  .login-nav-desktop-text { display: none; }
  .login-nav-mobile-text { display: inline; }
  .gauth-nav-links { display: none !important; }
  .gauth-tab-content { padding: 1.25rem 1rem; }
  .gauth-dropzone-box { padding: 1.75rem 1rem; }
  .gauth-steps-grid, .gauth-bento-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gauth-bento-card { padding: 1.25rem 1rem; border-radius: 16px; }
  .gauth-bento-icon { width: 42px; height: 42px; margin-bottom: 0.85rem; }
  .gauth-bento-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
  .gauth-bento-tag { font-size: 0.72rem; padding: 0.2rem 0.55rem; white-space: nowrap; }
  .gauth-bento-cta { font-size: 0.78rem; white-space: nowrap; }
  .gauth-workspace-actions { flex-direction: column; align-items: stretch; padding: 1rem; }
  .btn-gauth-action-primary, .btn-gauth-action-secondary, .btn-gauth-action-tertiary { width: 100%; justify-content: center; }
  .gauth-login-section { padding: 1.5rem 1.25rem; }
}
@media (max-width: 360px) {
  .gauth-nav-bar { padding: 0.38rem 0.45rem; gap: 0.25rem; }
  .gauth-nav-brand img { width: 24px !important; height: 24px !important; }
  .gauth-nav-brand-title { font-size: 0.85rem !important; }
  .gauth-nav-brand-badge { font-size: 0.5rem !important; }
  .gauth-nav-actions { gap: 0.25rem; }
  .btn-gauth-login-nav { padding: 0.35rem 0.52rem; font-size: 0.72rem; gap: 0.22rem; }
  .gauth-bento-footer { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* Hamburger Toggle Button */
.btn-gauth-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-gauth-hamburger:hover {
  background: #f8fafc;
  color: #0284c7;
  border-color: #cbd5e1;
}
[data-theme="dark"] .btn-gauth-hamburger {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .btn-gauth-hamburger:hover {
  background: #334155;
  color: #38bdf8;
}

/* Backdrop */
.gauth-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gauth-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-over Drawer */
.gauth-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: #ffffff;
  z-index: 1100;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.gauth-mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
[data-theme="dark"] .gauth-mobile-drawer {
  background: #0f172a;
  border-left: 1px solid #1e293b;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1025px) {
  .btn-gauth-hamburger,
  .gauth-mobile-drawer,
  .gauth-drawer-backdrop {
    display: none !important;
  }
}

.gauth-drawer-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
[data-theme="dark"] .gauth-drawer-header {
  border-bottom-color: #1e293b;
}
.gauth-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-gauth-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gauth-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
[data-theme="dark"] .btn-gauth-drawer-close {
  background: #1e293b;
  color: #94a3b8;
}
[data-theme="dark"] .btn-gauth-drawer-close:hover {
  background: #334155;
  color: #ffffff;
}

.gauth-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gauth-drawer-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
}
.gauth-drawer-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.15s ease;
}
.gauth-drawer-link:hover {
  background: #f8fafc;
}
[data-theme="dark"] .gauth-drawer-link {
  color: #f1f5f9;
}
[data-theme="dark"] .gauth-drawer-link:hover {
  background: #1e293b;
}
.gauth-drawer-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.gauth-drawer-link-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
}
.gauth-drawer-link-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}
[data-theme="dark"] .gauth-drawer-link-desc {
  color: #94a3b8;
}
.gauth-drawer-pricing {
  background: rgba(0, 197, 223, 0.06);
  border: 1px dashed rgba(0, 197, 223, 0.3);
}

.gauth-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
}
[data-theme="dark"] .gauth-drawer-footer {
  border-top-color: #1e293b;
  background: #0f172a;
}
.btn-gauth-drawer-signup {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #00c5df 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 197, 223, 0.35);
}
.btn-gauth-drawer-login {
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}
[data-theme="dark"] .btn-gauth-drawer-login {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}
