/* PIXEL PERFECT SAAS LAYOUT CSS */
:root {
  --green: #00E599;
  --dark-bg: #0A0F1C;
  --dark-panel: #111827;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --text-light: #F3F4F6;
  --border-light: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.1);
  --gradient-gold: linear-gradient(135deg, #FFB020 0%, #F59E0B 100%);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.saas-theme {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #fff;
  color: var(--text-dark);
}

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

/* Typography Overrides */
.saas-theme h1, .saas-theme h2, .saas-theme h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.saas-theme p {
  line-height: 1.6;
}

/* Sections */
.section-dark {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 100px 0;
}

.section-white {
  background-color: #fff;
  color: var(--text-dark);
  padding: 100px 0;
}

.section-gray {
  background-color: #F9FAFB;
  padding: 100px 0;
}

/* Buttons */
.btn-saas-green {
  background-color: var(--green);
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-saas-green:hover {
  background-color: #00c985;
  transform: translateY(-2px);
}

.btn-saas-outline {
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* Hero Section */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 120px 0;
}

.hero-tag {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #9CA3AF;
}

.hero-mockup {
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* About Split (Text left, Green card right) */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.green-tint-card {
  background-color: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

/* Full Width Chart Card */
.chart-card-full {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: -50px;
}

/* 3 Dark Cards */
.dark-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.dark-card-item {
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.dark-card-item:hover {
  border-color: var(--green);
}

/* Layout: Text Left, Cards Right */
.split-text-cards {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

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

/* White Card Item */
.white-card-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.white-card-item h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

.white-card-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Layout: Title Top, 3x2 Grid Below */
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* Metric Split Layout (Dark) */
.metric-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.metric-box {
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 4rem;
  text-align: center;
}

.metric-number {
  font-size: 5rem;
  color: var(--green);
  font-weight: 800;
  line-height: 1;
}

/* 4 Logo Cards row */
.grid-4-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.logo-card {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

/* 3 Testimonial Cards */
.grid-3-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
}

/* Middle CTA banner (Dark inside white section) */
.middle-cta-banner {
  background: var(--dark-bg);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 0;
}

/* Bottom CTA block */
.bottom-cta-block {
  background: var(--dark-panel);
  border-radius: 24px;
  padding: 5rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-row {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.faq-row-btn {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: #fff;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-row-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.3s;
}

.faq-row.active .faq-row-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 300px;
}

/* Terminal Mockup */
.terminal-mockup {
  background: #0D1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-title {
  color: #6B7280;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.terminal-body {
  padding: 1.5rem;
}

.terminal-section-title {
  color: #6B7280;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.terminal-code-box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1.5rem;
}

.terminal-code-box pre {
  margin: 0;
  color: var(--green);
}

.terminal-code-box code {
  font-family: inherit;
}

.terminal-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.terminal-list-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  color: #D1D5DB;
}

.terminal-list-item .status-green {
  color: var(--green);
  font-weight: 600;
}

.terminal-list-item .status-blue {
  color: #60A5FA;
  font-weight: 600;
}

.terminal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  color: #4B5563;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* Navigation Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--dark-panel);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 100000;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
}

.nav-dropdown-content a {
  color: #9CA3AF !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-transform: none;
  font-weight: 500;
}

.nav-dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--green) !important;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-link-item {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s;
}

.nav-link-item:hover, .nav-dropdown:hover .nav-link-item {
  color: var(--green);
}

/* Mega Menu */
.nav-dropdown-content.mega-menu {
  min-width: 650px;
  padding: 1.5rem;
  left: -200px;
}

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

.mega-column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-dark);
}

.mega-dot {
  width: 6px;
  height: 6px;
  background-color: var(--green);
  border-radius: 50%;
}

.mega-column-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-dropdown-content a.mega-item {
  display: flex !important;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem !important;
  border-radius: 8px;
  color: inherit !important;
}

.nav-dropdown-content a.mega-item:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

.mega-item-icon {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.mega-item-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.mega-item-desc {
  color: #6B7280;
  font-size: 0.8rem;
  line-height: 1.4;
}

.nav-dropdown-content a.mega-item:hover .mega-item-title {
  color: var(--green);
}


/* --- UI/UX Modernization Additions --- */

:root {
  --glow-green: rgba(0, 229, 153, 0.15);
  --glow-blue: rgba(14, 165, 233, 0.15);
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, #00E599 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle background glows */
.glow-bg-wrap {
  position: relative;
  z-index: 1;
}

.glow-bg-wrap::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.glow-bg-wrap::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Enhanced Buttons */
.btn-saas-green {
  background: linear-gradient(135deg, #00E599 0%, #00C985 100%);
  box-shadow: 0 4px 15px rgba(0, 229, 153, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-saas-green:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 229, 153, 0.5);
  background: linear-gradient(135deg, #00C985 0%, #00E599 100%);
}

.btn-saas-outline {
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-saas-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Card Hover Animations */
.dark-card-item, .metric-box, .white-card-item, .testimonial-card, .logo-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-card-item:hover, .metric-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 153, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 153, 0.05);
}

.white-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Terminal Mockup Enhancement */
.terminal-mockup {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(14, 165, 233, 0.1);
}

/* Locations Mega Menu Additions */
.nav-dropdown-content.locations-mega-menu {
  min-width: 400px;
  padding: 1.5rem;
  left: -150px;
}
.quick-city-link {
  color: #9CA3AF !important;
  text-decoration: none;
  font-size: 0.85rem !important;
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  padding: 0.4rem 0.5rem !important;
  border-radius: 6px;
}

/* Fix header dropdown overlay rendering behind page elements & background transparency clash */
header, .header {
  z-index: 99999 !important;
  background: rgba(10, 15, 28, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Link card hover animations with glows */
.hover-glow-card {
  transition: all 0.3s ease;
}
.hover-glow-card:hover {
  border-color: rgba(0, 229, 153, 0.4) !important;
  background: rgba(0, 229, 153, 0.04) !important;
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.1);
  transform: translateY(-2px);
}
.hover-glow-card-blue {
  transition: all 0.3s ease;
}
.hover-glow-card-blue:hover {
  border-color: rgba(14, 165, 233, 0.4) !important;
  background: rgba(14, 165, 233, 0.04) !important;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}
