/* 
   FINPULSE CA SERVICES - MAIN STYLESHEET
   Design System & Styling Document
*/

:root {
  /* Targeted Exact Lovable Color Palette */
  --primary: #2ECC71;          /* Vibrant Green Accent */
  --primary-hover: #27ae60;
  --secondary: #1a365d;        /* Deep Blue Secondary */
  --accent: #3498db;           /* Subtle Blue Accent */
  
  --bg-main-top: #1e3a8a;      /* Rich Deep Blue Top for Hero */
  --bg-main-bottom: #0f172a;   /* Very dark bottom for Hero */
  
  --bg-light: #f8fafc;         /* White/Light background for sections */
  --bg-white: #ffffff;
  
  --glass-bg: rgba(15, 23, 42, 0.4); /* Glassmorphism background */
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-light: #e2e8f0;
  
  --text-main: #0f172a;        /* Heading Color (Dark) */
  --text-muted: #475569;       /* Body/Nav Text Color (Dark) */
  --text-inverse: #ffffff;     /* White text for dark sections */
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Glassmorphism Effect */
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(46, 204, 113, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-muted);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-primary { color: var(--primary); }
.text-center { text-align: center; }

/* Buttons EXACT */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(46, 204, 113, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(46, 204, 113, 0.3);
}

.btn-secondary {
  background-color: #ffffff;
  color: #1e293b;
}

.btn-secondary:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(46, 204, 113, 0.5);
}

.btn-outline:hover {
  background: rgba(46, 204, 113, 0.1);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn-block {
  width: 100%;
}

/* White Card Exact */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* Navbar Exact */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-inverse); /* Default white text for hero */
}

.navbar.scrolled .logo {
  color: var(--text-main);
}

.logo-box {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Adjust ghost button in navbar */
.navbar .btn-ghost {
  color: var(--text-inverse);
}

.navbar.scrolled .btn-ghost {
  color: var(--text-muted);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-inverse);
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at 50% 0%, var(--bg-main-top) 0%, var(--bg-main-bottom) 100%);
  color: var(--text-inverse);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.trust-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text-inverse);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.kpi-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kpi-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.kpi-icon {
  width: 48px;
  height: 48px;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-inverse);
}

.kpi-label {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Sections */
section {
  padding: 10rem 0;
}

.section-header {
  margin-bottom: 5rem;
}

.subtitle {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2.5px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  transition: var(--transition-normal);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow: var(--shadow-md);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Tools Section */
.tools-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
}

.tools-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tool-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.tool-list-item:hover {
  background: #f1f5f9;
}

.tool-list-item.active {
  background: rgba(46, 204, 113, 0.05);
  border-color: rgba(46, 204, 113, 0.3);
}

.tool-icon-small {
  color: var(--primary);
}

.tool-text h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.tool-text p {
  font-size: 0.85rem;
}

.tool-list-item .arrow {
  margin-left: auto;
  opacity: 0;
  transition: var(--transition-fast);
}

.tool-list-item.active .arrow {
  opacity: 1;
}

.tool-main-content {
  padding: 3rem;
}

.tax-tool-header h2 {
  margin-bottom: 3rem;
}

.range-container {
  margin: 2rem 0;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: 5px;
  outline: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#incomeDisplay {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
}

.regime-toggle {
  display: flex;
  gap: 1rem;
  margin: 3rem 0;
}

.toggle-btn {
  flex: 1;
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.toggle-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.tax-result-card {
  background: rgba(46, 204, 113, 0.05);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.result-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.result-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* Dashboard Preview */
.dashboard-preview {
  background: radial-gradient(circle at 90% 10%, rgba(52, 152, 219, 0.03) 0%, transparent 40%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.stat-header i { color: var(--primary); }
.stat-change { font-size: 0.85rem; font-weight: 700; padding: 0.2rem 0.5rem; background: rgba(46, 204, 113, 0.1); border-radius: 4px; }
.stat-change.positive { color: var(--primary); }

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label { font-size: 0.95rem; margin-top: 0.5rem; color: var(--text-muted); }

.chart-container { margin-top: 4rem; min-height: 400px; padding: 3rem; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.chart-legend { display: flex; gap: 2rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.revenue { background: var(--primary); }
.dot.savings { background: var(--accent); }

.chart-placeholder { height: 250px; position: relative; margin-top: 2rem; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 2rem; border-top: 1px solid var(--border-glass); padding-top: 1.5rem; color: var(--text-muted); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.testimonial-card {
  padding: 3rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.15rem;
  margin: 2rem 0;
  color: var(--text-main);
  line-height: 1.7;
}

.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 1.5rem; }
.client-info strong { display: block; color: var(--text-main); font-size: 1.1rem; }
.client-info span { font-size: 0.9rem; color: var(--text-muted); }

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-badges .badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Contact */
.badge-outline {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Global Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

/* Contact Section (Light Theme) */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.contact-form-container h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.info-icon {
  width: 36px;
  height: 36px;
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-card {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 1rem;
  padding: 2rem;
}

.promo-card h4 {
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.promo-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 0%, var(--bg-main-top) 0%, var(--bg-main-bottom) 100%);
  color: var(--text-inverse);
}

.cta-heading {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-inverse);
  font-family: var(--font-heading);
}

.cta-subtext {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Footer Exact */
.footer-exact {
  background-color: var(--bg-main-bottom);
  color: #94a3b8;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.brand-col .logo-text {
  color: var(--text-inverse);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  max-width: 90%;
}

.footer-col h4 {
  color: var(--text-inverse);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links, .footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.footer-contact-info i {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Animations Core */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness CTA & Footer */
@media (max-width: 968px) {
  .hero-content, .tools-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.modal-content {
  background: var(--color-bg-main);
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-section .btn-secondary {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.auth-section .btn-secondary:hover {
  background-color: rgba(var(--color-primary-rgb, 10, 25, 47), 0.05);
  color: var(--color-primary);
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--color-primary);
}

.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border, #E2E8F0);
}

.auth-tab {
  padding: 0.75rem 0;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--color-text-light);
  transition: all var(--transition-normal);
  flex: 1;
}

.auth-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.auth-section h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.auth-section p {
  margin-bottom: 2rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.social-login {
  margin-bottom: 1.5rem;
}

.btn-social {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: white;
  box-shadow: var(--shadow-sm);
  color: #475569;
  border: 1px solid #e2e8f0;
}

.google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.google-btn img {
  width: 20px;
}

/* --- EXACT Lovable Login Fullscreen Overlay --- */
.login-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.login-fullscreen-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.login-split-container {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 4rem;
  gap: 4rem;
  align-items: center;
}

/* Left Brand Side */
.login-brand-side {
  color: #ffffff;
}

.login-brand-side .logo {
  margin-bottom: 4rem;
}

.login-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.login-subtext {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  max-width: 90%;
}

.login-bullets {
  list-style: none;
  padding: 0;
}

.login-bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.bullet-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

/* Right Form Side */
.login-form-side {
  display: flex;
  justify-content: center;
}

.login-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 3.5rem 3rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #0f172a;
  position: relative;
}

.back-home-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.back-home-btn:hover {
  color: var(--primary);
}

.back-home-btn i {
  width: 16px;
  height: 16px;
}

.login-card-title {
  color: #0f172a;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.login-card-subtitle {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.btn-google {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 500;
  padding: 0.85rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-google:hover {
  background: #f8fafc;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.login-divider span {
  padding: 0 1rem;
}

.login-form-group {
  margin-bottom: 1.5rem;
}

.login-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #334155;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  width: 18px;
  height: 18px;
}

.input-action-icon {
  position: absolute;
  right: 1rem;
  color: #94a3b8;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.input-with-icon input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}

.input-with-icon input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.forgot-pwd-row {
  text-align: right;
  margin-bottom: 1.5rem;
}

.forgot-pwd-link {
  color: var(--primary);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

.signup-prompt {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #64748b;
}

.signup-prompt a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 992px) {
  .login-split-container {
    grid-template-columns: 1fr;
    padding: 2rem;
    align-items: flex-start;
  }
  .login-brand-side {
    text-align: center;
    margin-bottom: 2rem;
  }
  .login-brand-side .logo { margin-bottom: 2rem; justify-content: center; }
  .login-headline { font-size: 2.5rem; }
  .login-subtext { max-width: 100%; margin: 0 auto 2rem; }
  .login-bullets { display: inline-block; text-align: left; }
}

/* Service Accordion Exact Match */
.service-accordion {
  margin: 4rem auto 0;
  max-width: 1000px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.service-accordion summary {
  background-color: #0ea5e9;
  color: white;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary .title-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-accordion summary::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  transition: transform 0.3s ease;
}

.service-accordion[open] summary::after {
  transform: rotate(180deg);
}

.service-accordion .accordion-content {
  background: #f8fafc;
  padding: 2rem 2.5rem;
  border-left: 4px solid #0ea5e9;
}

.service-accordion ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-accordion li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.service-accordion li:last-child {
  margin-bottom: 0;
}

.service-accordion li i {
  color: #0ea5e9;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  stroke-width: 3px;
}