/**
 * Homepage Enhanced Design - Apple-Inspired Premium Aesthetics
 * Comprehensive redesign for Zero Qubit homepage
 * 
 * @package Zero_Qubit_Astra_Child
 * @since 1.0.0
 */

/* ===================================
   ENHANCED HERO SECTION - Centered, Bold, Impactful
   =================================== */
.hero-section-split {
  background: var(--bg-primary);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  margin: 0;
  width: 100%;
  left: auto;
  transform: none;
}

/* Remove the background particles for cleaner look */
#ai-particles-background {
  display: none;
}

/* Subtle gradient background */
.hero-section-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, var(--primary-subtle) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

/* Enhanced Hero Container */
.hero-content-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
  position: relative;
}

.hero-content-container .ast-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

/* Hero Left Pane - Now Centered */
.hero-left-pane {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Enhanced Hero Title */
.hero-main-title {
  font-family: var(--font-display) !important;
  font-size: clamp(4rem, 8vw, 7rem) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTitleFade 1.2s ease-out;
}

/* Enhanced Hero Headline */
.hero-headline {
  font-family: var(--font-body) !important;
  font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
  color: var(--text-secondary) !important;
  margin-bottom: 3rem !important;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  animation: heroSubtitleFade 1.4s ease-out 0.2s both;
}

/* Hero animations */
@keyframes heroTitleFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   BUSINESS PROFILE CARDS - Elegant Grid Design
   =================================== */
.hero-right-pane {
  width: 100%;
  max-width: 1200px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-executive-navigator {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-executive-navigator::before {
  display: none;
}

/* Hide the navigator header - we don't need it with the new design */
.navigator-header {
  display: none;
}

/* Transform accordion into elegant card grid */
.nav-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

/* Individual Business Profile Cards - Compact Design */
.nav-option {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--glass-shadow-medium);
}

.nav-option:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-elevated), 0 8px 25px rgba(0, 122, 204, 0.15);
  background: rgba(255, 255, 255, 0.92);
}

.nav-option.active {
  background: var(--primary-light-bg);
  border-color: var(--primary);
  box-shadow: var(--glass-shadow-elevated), 0 0 0 2px var(--primary-subtle);
  min-height: 300px;
  height: auto;
}

/* Redesigned Option Header */
.option-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  cursor: pointer;
  gap: 1rem;
}

/* Enhanced Option Icons - Compact Size */
.option-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light-bg) 0%, var(--primary-subtle) 100%);
  border: 2px solid var(--primary-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.1);
  flex-shrink: 0;
}

.option-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.nav-option:hover .option-icon {
  transform: scale(1.05) rotate(2deg);
  background: linear-gradient(135deg, var(--primary-medium-bg) 0%, var(--primary-light-bg) 100%);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 122, 204, 0.2);
}

.nav-option.active .option-icon {
  background: var(--primary);
  border-color: var(--primary-dark);
  transform: scale(1.1);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.nav-option.active .option-icon svg {
  color: var(--text-inverse);
  width: 28px;
  height: 28px;
}

/* Option Label - Compact and Bold */
.option-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

/* Hide the option indicator arrows */
.option-indicator {
  display: none;
}

/* Redesigned Option Content - Progressive Disclosure */
.option-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  flex-direction: column;
}

.nav-option.active .option-content {
  max-height: 200px;
  opacity: 1;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.option-content p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.nav-option:hover .option-content p {
  color: var(--text-primary);
}

.nav-option.active .option-content p {
  color: var(--text-primary);
  font-weight: 500;
}

/* Compact benefit display for collapsed state */
.nav-option::after {
  content: attr(data-benefit);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--primary);
  text-align: center;
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 1;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-option.active::after {
  opacity: 0;
  display: none;
}

/* Key points for expanded state */
.option-content::after {
  content: '';
  display: block;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--primary);
  text-align: center;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
}

/* Specific benefit text for collapsed state and expanded key points */
.nav-option[data-target="enterprise-client"] {
  --benefit: "Reduce costs & improve efficiency";
}

/* Translated content is now populated via JavaScript from data attributes */
/*.nav-option[data-target="enterprise-client"] .option-content::after {
  content: "✓ Reduce operational costs\A✓ Improve efficiency\A✓ Scale operations";
  white-space: pre-line;
}*/

.nav-option[data-target="sme-owner"] {
  --benefit: "Compete smarter with AI automation";
}

/*.nav-option[data-target="sme-owner"] .option-content::after {
  content: "✓ Compete with larger companies\A✓ Automate routine tasks\A✓ Accelerate growth";
  white-space: pre-line;
}*/

.nav-option[data-target="business-seller"] {
  --benefit: "Preserve culture, add AI value";
}

/*.nav-option[data-target="business-seller"] .option-content::after {
  content: "✓ Preserve company culture\A✓ Add AI capabilities\A✓ Secure future growth";
  white-space: pre-line;
}*/

.nav-option[data-target="private-investor"] {
  --benefit: "Find AI transformation opportunities";
}

/*.nav-option[data-target="private-investor"] .option-content::after {
  content: "✓ Identify opportunities\A✓ Build sustainable value\A✓ Generate strong returns";
  white-space: pre-line;
}*/

/* ===================================
   ENHANCED SERVICE CARDS SECTION
   =================================== */
.executive-business-value-section {
  background: var(--bg-secondary);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Remove the animated lines for cleaner look */
.executive-business-value-section::before,
.executive-business-value-section::after {
  display: none;
}

/* Enhanced Section Header */
.executive-section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.executive-headline {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(3rem, 5vw, 4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}

.executive-opening-statement {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
  line-height: 1.6 !important;
  color: var(--text-secondary) !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Enhanced Value Cards Grid */
.executive-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 0 auto 4rem;
  max-width: 1200px;
}

/* Refined Value Cards */
.executive-value-card {
  background: var(--glass-bg);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow-medium);
  animation: none; /* Remove breathing animation */
}

.executive-value-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.executive-value-card:hover::before {
  opacity: 0.1;
}

.executive-value-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--glass-shadow-elevated), var(--glow-primary);
}

/* Remove the animated scan line */
.executive-value-card::after {
  display: none;
}

/* Enhanced Value Card Icons */
.value-card-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary-light-bg) 0%, var(--primary-subtle) 100%);
  border: 2px solid var(--primary-subtle);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 122, 204, 0.15);
}

.executive-value-card:hover .value-card-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-dark);
  color: var(--text-inverse);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 32px rgba(0, 122, 204, 0.3);
}

/* Centered Card Titles */
.value-card-title {
  font-family: var(--font-display) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  letter-spacing: -0.02em !important;
}

/* Refined Card Descriptions */
.value-card-description {
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  max-width: none !important;
}

/* Enhanced CTA Buttons */
.executive-cta-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border: none !important;
  color: var(--text-inverse) !important;
  padding: 1.125rem 2.75rem !important;
  border-radius: 16px !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1) !important;
  box-shadow: 0 4px 16px rgba(0, 122, 204, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
}

.executive-cta-button:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 32px rgba(0, 122, 204, 0.35), var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Refined Closing Statement */
.executive-closing-statement {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.executive-closing-statement p {
  font-family: var(--font-body) !important;
  font-size: 1.25rem !important;
  line-height: 1.7 !important;
  color: var(--text-primary) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .nav-options {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .executive-value-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .hero-section-split {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-content-container .ast-row {
    gap: 3rem;
  }
  
  .hero-main-title {
    font-size: clamp(3rem, 10vw, 4.5rem) !important;
    line-height: 1 !important;
  }
  
  .hero-headline {
    font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
    margin-bottom: 2rem !important;
  }
  
  .nav-option {
    min-height: 100px;
    height: 100px;
    padding: 1rem;
  }
  
  .nav-option.active {
    min-height: 240px;
    height: auto;
  }
  
  .option-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
  
  .nav-option.active .option-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
  }
  
  .option-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .nav-option.active .option-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .option-label {
    font-size: 1.125rem;
  }
  
  .option-content p {
    font-size: 0.9rem;
  }
  
  .executive-headline {
    font-size: clamp(2.25rem, 8vw, 3rem) !important;
  }
  
  .executive-value-card {
    padding: 2rem 1.5rem;
  }
  
  .value-card-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .value-card-title {
    font-size: 1.5rem !important;
  }
  
  .executive-closing-statement {
    padding: 2rem;
  }
  
  .executive-closing-statement p {
    font-size: 1.125rem !important;
  }
}

/* ===================================
   PREMIUM ANIMATIONS & INTERACTIONS
   =================================== */
/* Subtle page load animation */
.hero-section-split,
.executive-business-value-section {
  animation: pageReveal 0.8s ease-out;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover ripple effect */
.nav-option::before,
.executive-value-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-subtle) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.nav-option:hover::before,
.executive-value-card:hover::before {
  width: 300%;
  height: 300%;
  opacity: 0.1;
}

/* Focus states for accessibility */
.nav-option:focus-visible,
.executive-value-card:focus-visible,
.executive-cta-button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}