/* ==========================================================================
   Design System & Base Variables
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #111111;
  --bg-tertiary: #171717;
  
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-tertiary: #737373;
  
  --accent-base: #f59e0b; /* Amber/Gold for Real Estate premium feel */
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  --brand-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --brand-gradient-hover: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);
  
  --glass-bg: rgba(23, 23, 23, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --t-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  scroll-behavior: smooth;
  line-height: 1.6;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--t-fast);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-large { font-size: 1.25rem; font-weight: 500; }
.text-muted { color: var(--text-tertiary); }
.text-center { text-align: center; }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; }
.dark-section { background-color: var(--bg-secondary); }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .col-span-2-md { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: var(--t-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.25rem;
}

/* Badges & Labels */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-base);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 1.5rem;
}

.section-label {
  display: inline-block;
  color: var(--accent-base);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 3.5rem; }
}

.section-description {
  max-width: 600px;
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.glass-pill {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 1rem 2rem;
  border-radius: 9999px;
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Abstract Background Glows */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
}
.top-glow { top: -200px; left: -200px; }
.bottom-glow { bottom: 10%; right: -200px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: var(--t-smooth);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--accent-base);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover { color: var(--text-primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: var(--t-smooth);
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 55;
}

.nav-btn { 
  display: none; 
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  z-index: 60;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--t-smooth);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-links { 
    display: flex; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-btn { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

/* 1. Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-quote {
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  max-width: 400px;
  margin: 0 auto;
}

.hero-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* 2. Why We Exist */
.split-layout {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 992px) {
  .split-layout { grid-template-columns: 1fr 1fr; align-items: center; }
}

.highlight-card {
  background: var(--bg-tertiary);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.highlight-card h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.highlight-card p { margin-bottom: 1.5rem; }

.emphasis-box {
  padding: 1.5rem;
  background: rgba(245, 158, 11, 0.05);
  border-left: 4px solid var(--accent-base);
  border-radius: 0 12px 12px 0;
}
.emphasis-box strong { color: var(--text-primary); font-weight: 500; font-size: 1.125rem;}

.split-content h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* 3. Differentiators */
.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  border-radius: 20px;
  transition: var(--t-smooth);
}

.feature-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.brand-card {
  background: var(--brand-gradient);
  border: none;
}
.brand-card .feature-number,
.brand-card h3,
.brand-card p {
  color: var(--bg-primary);
  opacity: 1;
}

/* 4. Who It's For */
.audience-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-tertiary);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  transition: var(--t-smooth);
}
.audience-card:hover {
  background: var(--bg-secondary);
  border-color: rgba(255,255,255,0.1);
}

.audience-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.audience-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* 5. Programs Accordion/List */
.accordion-container {
  max-width: 900px;
  margin: 0 auto;
}

.program-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--t-smooth);
}
.program-row:first-child { border-top: 1px solid var(--border-subtle); }

.program-row:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border-bottom-color: transparent;
}

.program-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-base);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.program-title { font-size: 1.5rem; margin-bottom: 0.5rem; }

.program-action .btn-icon {
  transition: transform var(--t-bounce);
}
.program-row:hover .program-action .btn-icon {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateX(5px);
}

@media (max-width: 640px) {
  .program-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .program-action { align-self: flex-end; }
}

/* 6. Impact */
.impact-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 992px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
}

.stat-card {
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.stat-value { font-size: 5rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; font-family: var(--font-heading); }
.stat-desc { color: var(--text-secondary); }

/* 7. Framework (How We Teach) */
.pillars-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
  padding: 2rem;
  background: var(--bg-tertiary);
  border-radius: 20px;
  border: 1px solid transparent;
  transition: var(--t-smooth);
}
.pillar-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-5px);
}

.pillar-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon-wrapper {
  color: var(--text-primary);
}

.pillar-card h3 { font-size: 1.25rem; }

.quote-box {
  max-width: 600px;
  margin: 4rem auto 0;
}
.quote-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-primary);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1rem;
}
.quote-author {
  color: var(--accent-base);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

/* 8. Promise */
.promise-layout {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}
@media (min-width: 992px) {
  .promise-layout { grid-template-columns: 3fr 2fr; align-items: center; }
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.promise-item {
  display: flex;
  gap: 1.5rem;
}

.promise-check {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-base);
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.promise-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.promise-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  position: relative;
  width: 300px;
  height: 300px;
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 10s infinite ease-in-out alternate;
}

.circle.c1 {
  width: 200px;
  height: 200px;
  background: var(--brand-gradient);
  top: 0; left: 0;
  opacity: 0.6;
}

.circle.c2 {
  width: 150px;
  height: 150px;
  background: #6366f1; /* purple/indigo touch */
  bottom: 0; right: 0;
  opacity: 0.4;
  animation-delay: -5s;
}

.promise-visual .glass-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(23, 23, 23, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  border-radius: 100px;
  z-index: 10;
  white-space: nowrap;
}

.overlay-text { font-weight: 500; color: var(--text-primary); font-family: var(--font-heading); }

/* 9. CTA */
.cta-section { padding: 8rem 0; }
.cta-box {
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(23,23,23,0.8) 0%, rgba(5,5,5,0.9) 100%);
}

.cta-title { font-size: 3rem; margin-bottom: 1.5rem; }
.cta-subtitle { font-size: 1.25rem; max-width: 600px; margin: 0 auto 3rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* 10. Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  background: var(--bg-primary);
}

.footer-top {
  display: grid;
  gap: 4rem;
  margin-bottom: 4rem;
}
@media (min-width: 992px) {
  .footer-top { grid-template-columns: 1fr 2fr; }
}

.footer-slogan { margin: 1.5rem 0; max-width: 300px; }
.footer-est { color: var(--text-tertiary); font-family: var(--font-heading); letter-spacing: 0.1em; font-size: 0.875rem; text-transform: uppercase; }

.footer-links-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-links-wrapper { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Responsive Utilities
   ========================================================================== */
@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, -30px); }
}

/* Reveal Animations setup */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active .fade-in-up,
.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Mobile Menu logic for hidden links */
.mobile-nav-active { overflow: hidden; }
.mobile-nav-active .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--bg-primary);
  padding: 2rem;
  z-index: 40;
}
.mobile-nav-active .nav-links a { font-size: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav-active .nav-btn { display: flex; align-self: flex-start; margin-top: 2rem; }

/* ==========================================================================
   Header Profile Dropdown (Auth State)
   ========================================================================== */
.profile-dropdown {
  position: relative;
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

.profile-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: transform var(--t-fast);
}

.profile-icon-btn:hover {
  transform: scale(1.05);
}

.user-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #000;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: var(--t-fast);
}

.profile-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
}

.profile-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  transition: var(--t-bounce);
}

.profile-trigger:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.logout-popup {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.logout-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logout-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 17px;
  width: 12px;
  height: 12px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  transform: rotate(45deg);
}

.logout-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #ef4444;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}




/* ==========================================
   Google Auth Simulator Styles
   ========================================== */
.google-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.google-auth-overlay.active {
    display: flex;
}

.google-auth-modal {
    background: #fff;
    color: #333;
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.google-logo-sm {
    display: block;
    margin: 0 auto 1.5rem;
}

.google-modal-title {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #202124;
}

.google-modal-subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #5f6368;
}

.google-account-list {
    border-top: 1px solid #e8eaed;
}

.google-account-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8eaed;
    cursor: pointer;
    transition: background 0.2s;
}

.google-account-item:hover {
    background: #f8f9fa;
}

.account-avatar {
    width: 36px;
    height: 36px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.account-info {
    flex: 1;
}

.account-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #3c4043;
}

.account-email {
    font-size: 0.8rem;
    color: #70757a;
}

.google-modal-footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #5f6368;
    line-height: 1.4;
}

.google-modal-footer a {
    color: #4285f4;
    text-decoration: none;
}

/* Loading state */
.google-loading-view {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.google-loading-view.active {
    display: block;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4285F4;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
