/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-dark: #f8fafc; /* Slate 50 - clean off-white background */
  --bg-card: rgba(255, 255, 255, 0.75); /* Frosted white glass cards */
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  
  /* Brand Glow Accents (Warm Orange & Deep Blues) */
  --accent-orange: #f37022; /* Premium brand orange */
  --accent-orange-rgb: 243, 112, 34;
  --accent-cyan: #0284c7; /* Sky blue for light contrast */
  --accent-cyan-rgb: 2, 132, 199;
  --accent-purple: #7c3aed; /* Violet */
  --accent-purple-rgb: 124, 58, 237;

  /* Neutrals mapped for Light Theme */
  --text-white: #0f172a; /* Slate 900 for primary text headings */
  --text-gray: #475569; /* Slate 600 for body descriptions */
  --text-muted: #64748b; /* Slate 500 for muted elements */
  --border-glass: rgba(15, 23, 42, 0.08); /* Darker border for light glass */
  --border-glass-glow: rgba(243, 112, 34, 0.2);
  
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout elements */
  --navbar-bg: rgba(248, 250, 252, 0.8);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   GLOWING ATMOSPHERIC BACKGROUND
   ========================================================================== */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

.blob-1 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
  top: -10vw;
  right: -5vw;
  animation: float-blob-1 25s infinite alternate;
}

.blob-2 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 15vw;
  left: -10vw;
  animation: float-blob-2 20s infinite alternate;
}

.blob-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: 40vh;
  right: 20vw;
  animation: float-blob-3 30s infinite alternate;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 10%) scale(1.1); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, -10%) scale(1.15); }
}

@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10%, -5%) scale(0.9); }
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-glow-orange {
  color: var(--accent-orange);
  text-shadow: 0 0 20px rgba(var(--accent-orange-rgb), 0.35);
}

.text-glow-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(var(--accent-cyan-rgb), 0.35);
}

.text-glow-purple {
  color: var(--accent-purple);
  text-shadow: 0 0 20px rgba(var(--accent-purple-rgb), 0.35);
}

/* ==========================================================================
   GLASSMORPHISM STYLING
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #ffa834;
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 4px 25px rgba(var(--accent-orange-rgb), 0.4);
}

.btn-glow:hover {
  box-shadow: 0 6px 30px rgba(var(--accent-orange-rgb), 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-icon {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.btn-icon-right {
  margin-left: 8px;
  width: 18px;
  height: 18px;
}

.w-full {
  width: 100%;
}

.m-top-20 { margin-top: 20px; }
.m-top-30 { margin-top: 30px; }

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVBAR SECTION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-dark {
  color: var(--text-white); /* Renders as slate-900 */
}

.logo-orange {
  color: var(--accent-orange); /* Renders as brand orange */
}

.logo-subtext {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-gray); /* Slate 600 */
  margin-top: -2px;
  text-transform: uppercase;
  font-family: var(--font-headings);
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-link:hover {
  color: var(--accent-orange);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 290px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(243, 112, 34, 0.2);
  box-shadow: 5px 0 30px rgba(15, 23, 42, 0.06), 0 0 20px rgba(243, 112, 34, 0.03);
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
  color: var(--accent-orange);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.03);
  padding-left: 20px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.mobile-link.active {
  color: var(--accent-orange);
  background: rgba(247, 154, 29, 0.08);
  border-left: 3px solid var(--accent-orange);
  font-weight: 600;
  text-shadow: 0 0 15px rgba(247, 154, 29, 0.25);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--accent-orange-rgb), 0.1);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.25);
  color: var(--accent-orange);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  gap: 8px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--text-gray);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.partner-badges {
  display: flex;
  gap: 24px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.partner-badge i {
  color: var(--accent-orange);
  width: 16px;
  height: 16px;
}

.hero-visual {
  position: relative;
}

.visual-card {
  padding: 24px;
  border-radius: 24px;
  border-color: rgba(var(--accent-orange-rgb), 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.user-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.status-indicator {
  background: rgba(var(--accent-cyan-rgb), 0.1);
  border: 1px solid rgba(var(--accent-cyan-rgb), 0.25);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-val {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
}

.visual-graph {
  background: rgba(0, 0, 0, 0.2);
  height: 140px;
  border-radius: 16px;
  padding: 16px 16px 0 16px;
  display: flex;
  align-items: flex-end;
}

.graph-bar-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.graph-bar {
  width: 12%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px 6px 0 0;
  transition: height 1s ease-in-out;
}

.glow-bar {
  background: linear-gradient(to top, var(--accent-orange), var(--accent-cyan));
  box-shadow: 0 0 20px rgba(var(--accent-cyan-rgb), 0.4);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px;
  gap: 30px;
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.stat-title {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-gray);
  padding: 12px 28px;
  border-radius: 12px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.tab-btn.active {
  background: var(--accent-orange);
  color: var(--bg-dark);
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(var(--accent-orange-rgb), 0.35);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.cyan-glow {
  background: rgba(var(--accent-cyan-rgb), 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
}

.orange-glow {
  background: rgba(var(--accent-orange-rgb), 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
}

.purple-glow {
  background: rgba(var(--accent-purple-rgb), 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(var(--accent-purple-rgb), 0.2);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 50px;
  gap: 50px;
  align-items: center;
}

.calc-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.calc-subtitle {
  color: var(--text-gray);
  margin-bottom: 40px;
}

.slider-group {
  margin-bottom: 30px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 500;
}

.slider-display {
  color: var(--accent-cyan);
  font-weight: 700;
}

.input-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
}

.input-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.6);
  transition: scale 0.15s ease;
}

.input-slider::-webkit-slider-thumb:hover {
  scale: 1.25;
}

.calc-results {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--border-glass);
}

.result-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.result-label {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.result-value {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
}

/* ==========================================================================
   LLC CONFIGURATOR SECTION
   ========================================================================== */
.llc-section {
  padding: 80px 0;
}

.llc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.llc-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.llc-option-card {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  gap: 20px;
  cursor: pointer;
}

.option-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: transparent;
}

.llc-option-card.active .option-checkbox,
.llc-option-card.checked .option-checkbox {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--bg-dark);
}

.option-details {
  flex-grow: 1;
}

.option-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-desc {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-top: 4px;
}

.option-price {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
}

.badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.badge-purple {
  background: rgba(var(--accent-purple-rgb), 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(var(--accent-purple-rgb), 0.25);
}

.llc-summary {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.summary-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.summary-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.summary-items li {
  display: flex;
  justify-content: space-between;
}

.summary-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 20px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
}

.total-price {
  font-size: 2rem;
  font-weight: 700;
}

/* ==========================================================================
   CASE STUDIES & VIDEO SECTION
   ========================================================================== */
.case-studies-section {
  padding: 80px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.case-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-gray);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--border-glass);
}

.case-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.case-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.case-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat-val {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
}

.case-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Video Player Box */
.video-case-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  padding: 40px;
  gap: 40px;
  align-items: center;
}

.video-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.video-text {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.video-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.video-meta i {
  color: var(--accent-orange);
  width: 18px;
  height: 18px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  aspect-ratio: 16 / 9;
}

.custom-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: 1fr 0.90fr;
  gap: 40px;
  align-items: stretch;
}

.testimonial-slider {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 340px;
}

.rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star-filled {
  color: var(--accent-orange);
  fill: var(--accent-orange);
  width: 18px;
  height: 18px;
}

.slider-slides {
  position: relative;
  flex-grow: 1;
}

.slide {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-white);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
}

.author-platform {
  font-size: 0.8rem;
  color: var(--accent-orange);
  font-weight: 500;
}

.slider-controls {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.slide-control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slide-control-btn:hover {
  background: var(--accent-orange);
  color: var(--bg-dark);
  border-color: var(--accent-orange);
}

/* Video Testimonial Card */
.video-testimonial-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-video-info {
  display: flex;
  flex-direction: column;
}

.video-reviewer-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 6px;
  margin-bottom: 8px;
}

.video-reviewer-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ==========================================================================
   MODAL BACKDROP & CALENDAR
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  border-color: rgba(var(--accent-orange-rgb), 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-white);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-align: center;
}

.modal-subtitle {
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 24px;
}

/* Calendar widget */
.calendar-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border-glass);
}

.calendar-header {
  font-family: var(--font-headings);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 500;
  transition: var(--transition-fast);
}

.calendar-day-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.calendar-day-btn.active {
  background: var(--accent-orange);
  color: var(--bg-dark);
  font-weight: 700;
}

.calendar-day-btn:disabled {
  color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
}

/* Time Slots */
.time-slots-wrapper {
  display: flex;
  flex-direction: column;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.time-slot-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-gray);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 600;
  transition: var(--transition-fast);
}

.time-slot-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.time-slot-btn.active {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.35);
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.06);
}

select.form-input option {
  background: #0d0f17;
  color: var(--text-white);
}

/* Success Stage */
.success-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.1);
  border: 2px solid #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.success-icon {
  color: #2ecc71;
  width: 40px;
  height: 40px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 0 0;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-size: 1.6rem;
}

.footer-desc {
  color: var(--text-gray);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 380px;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.contact-item:hover {
  color: var(--accent-orange);
}

.contact-item i {
  color: var(--accent-orange);
  width: 18px;
  height: 18px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-link-item {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--text-white);
}

.footer-text {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 30px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SUBPAGE HEADER & TEASER STYLES
   ========================================================================== */
.subpage-header {
  padding-top: 150px;
  padding-bottom: 60px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-glass);
}

.subpage-title {
  font-size: 3rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white), var(--text-gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-desc {
  max-width: 700px;
  margin: 0 auto;
}

/* Teaser splits & sections */
.teaser-section {
  padding: 80px 0;
}

.teaser-section.alternate-bg {
  background: rgba(10, 11, 18, 0.5);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.teaser-card {
  padding: 30px;
  transition: var(--transition-normal);
}

.teaser-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-orange-rgb), 0.25);
}

.teaser-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.teaser-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.teaser-card-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.teaser-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.teaser-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teaser-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-gray);
}

.teaser-checklist li i {
  color: var(--accent-orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.formation-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formation-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.formation-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.formation-label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
}

.formation-val {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Service Detail Block */
.services-detail-section {
  padding: 80px 0;
}

.service-detail-block {
  margin-bottom: 60px;
}

.detail-header {
  margin-bottom: 40px;
}

.detail-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.detail-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.detail-card {
  padding: 30px;
  transition: var(--transition-normal);
}

.detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-orange-rgb), 0.25);
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.detail-icon i {
  width: 20px;
  height: 20px;
}

.card-detail-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-detail-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-page-section {
  padding: 80px 0;
}

.contact-page-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-details-col {
  padding: 40px;
}

.contact-col-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-col-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.contact-info-card i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-val {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.info-val:hover {
  color: var(--accent-orange);
}

.contact-form-title {
  font-size: 1.35rem;
}

.m-top-16 { margin-top: 16px; }

.contact-booking-col {
  padding: 40px;
}

.booking-layout-embedded {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Active Nav States */
.nav-link.active, .mobile-link.active {
  color: var(--accent-orange) !important;
  border-bottom: 2px solid var(--accent-orange);
}

.mobile-link.active {
  border-bottom: none;
  border-left: 3px solid var(--accent-orange);
  padding-left: 8px;
}

/* CTA Banner section */
.cta-banner-section {
  padding: 80px 0;
}

.cta-banner {
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   MEGA DROPDOWN & CHECKOUT FUNNEL
   ========================================================================== */
.nav-dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 15px) scale(0.95);
  width: 650px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 30px rgba(243, 112, 34, 0.03);
  backdrop-filter: blur(20px);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.dropdown-column h4 {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}
.dropdown-column a {
  display: block;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 6px 0;
  transition: var(--transition-fast);
}
.dropdown-column a:hover {
  color: var(--text-white);
  padding-left: 6px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Checkout Funnel Wizard */
.checkout-section {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
}
.checkout-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.checkout-box {
  padding: 40px;
}
.steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}
.steps-indicator::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.step-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--accent-orange);
  z-index: 1;
  width: 0%;
  transition: var(--transition-normal);
}
.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d0f17;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.step-node.active .step-circle {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(247, 154, 29, 0.4);
}
.step-node.completed .step-circle {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}
.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.step-node.active .step-label {
  color: var(--text-white);
}
.checkout-step {
  display: none;
}
.checkout-step.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.form-grid-full {
  grid-column: span 2;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pulse {
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.2); }
  100% { box-shadow: 0 0 25px rgba(var(--accent-cyan-rgb), 0.55); }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links, .nav-actions {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .llc-wrapper {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .video-case-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .teaser-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-page-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Spacing Adjustments */
  .teaser-section, .llc-section, .services-detail-section, .case-studies-section, .testimonials-section, .calc-section, .services-section, .calculator-section, .contact-page-section, .cta-banner-section, .checkout-section {
    padding: 40px 0 !important;
  }
  .subpage-header {
    padding-top: 110px !important;
    padding-bottom: 30px !important;
  }

  /* Card and Box Tightening */
  .teaser-card, .detail-card, .service-card, .case-card, .checkout-box, .llc-summary {
    padding: 20px 16px !important;
  }
  .llc-summary {
    position: static !important;
  }
  .teaser-icon-wrapper, .detail-icon, .service-icon-wrapper {
    margin-bottom: 12px !important;
  }
  .card-detail-title, .teaser-card-title, .service-card-title, .case-title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }
  .card-detail-desc, .teaser-card-desc, .service-card-desc, .case-desc {
    font-size: 0.85rem !important;
  }
  .llc-option-card {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  .hero-title {
    font-size: 2.3rem !important; /* Fixed text size for mobile */
    text-align: center;
  }
  .hero-subtitle {
    text-align: center;
    margin: 0 auto 30px auto;
    font-size: 1rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .partner-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  .subpage-title {
    font-size: 2.2rem !important; /* Fixed text size for mobile subheaders */
  }
  .section-title {
    font-size: 1.8rem !important; /* Safe mobile headers */
    text-align: center;
  }
  .section-desc {
    text-align: center;
    font-size: 0.9rem;
  }
  .services-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .form-row, .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .form-grid-full {
    grid-column: span 1 !important;
  }
  .modal-layout {
    grid-template-columns: 1fr;
  }
  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .stat-number {
    font-size: 2.4rem;
  }
  .hero-title {
    font-size: 1.9rem !important;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  .partner-badges {
    flex-direction: column;
    gap: 12px;
  }
  .calc-wrapper {
    padding: 24px;
  }
  .llc-option-card {
    padding: 16px;
    gap: 12px;
  }
  .option-price {
    font-size: 1.1rem;
  }
  .teaser-split-visual, .hero-visual {
    width: 100%;
  }
  .cta-banner {
    padding: 30px 20px;
  }
  .cta-title {
    font-size: 1.6rem;
  }
}

/* Adjustments for desktop windows between 1025px and 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-links {
    gap: 20px;
  }
  .nav-container {
    padding: 0 16px;
  }
  .logo {
    font-size: 1.35rem;
  }
}


