/* Enterprise Page Styles */

/* Root Variables */
:root {
  --primary: #67bc7c;
  --primary-pressed: #5aa86b;
  --primary-text-color: #ffffff;
  --secondary-text-color: rgba(255, 255, 255, 0.8);
  --background-dark: #000000;
  --accent-orange: #e06247;
  --accent-pink: #ff0095;
  --accent-blue: #67bc7c;
}

/* Global Styles */
body.enterprise {
  background-color: var(--background-dark);
  color: var(--primary-text-color);
  font-family: 'Cal Sans', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* Prevent layout shifts */
  font-display: swap;
  text-rendering: optimizeSpeed;
}

/* Background blur handled by shared.css */

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cal Sans', sans-serif;
  color: var(--primary-text-color);
}

p {
  color: var(--secondary-text-color);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  margin-top: 150px;
  padding: 50px 0 60px 0;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  min-height: 600px;
  max-width: 1200px;
  margin: 150px auto 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
  position: relative;
  padding-left: 20px;
  margin-right: -20%;
}

.hero-text {
  margin-bottom: 30px;
}

.hero-title {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--primary-text-color);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--primary-text-color);
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

/* Hero Image - Match Advisor/Educator */
.hero-image {
  flex: 0 0 auto;
  max-width: 800px;
  min-width: 600px;
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: -100px;
  aspect-ratio: 4/3;
  height: auto;
  background: transparent;
}

/* Enterprise Image Layers Container */
.enterprise-image-layers {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

/* Enterprise Image Layer - Base layer */
.enterprise-image-layer-1 {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  flex-shrink: 0;
  background: transparent;
}

.enterprise-image-layer-1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  position: relative;
  background: transparent !important;
}


/* Ensure no white flash during loading */
.enterprise-image-layer-1 img.image-loading {
  background: transparent !important;
  opacity: 1 !important;
}

/* Color Gradient Overlay - Applied directly to image */
.enterprise-image-layer-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-position: center;
  background-size: 100%;
  mix-blend-mode: overlay;
  filter: none;
  opacity: 0.9;
  z-index: 2;
  /* Circular container with feathered edges */
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}

/* Color Gradient Overlay - Applied directly to trees */
.forest-layer-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  flex-shrink: 0;
  background: 
    /* Left side blue-grey gradient - balanced dark */
    linear-gradient(135deg, rgba(40, 70, 120, 0.7) 0%, rgba(25, 45, 80, 0.5) 30%, transparent 60%),
    /* Right side green gradient - balanced dark */
    linear-gradient(225deg, transparent 40%, rgba(20, 80, 40, 0.7) 70%, rgba(15, 60, 30, 0.9) 100%),
    /* Enhanced glow effects */
    radial-gradient(circle at 25% 25%, rgba(30, 80, 120, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(20, 100, 50, 0.5) 0%, transparent 50%);
  background-position: center;
  background-size: 100%;
  mix-blend-mode: overlay;
  filter: none;
  opacity: 0.9;
  z-index: 2;
  /* Circular container with feathered edges */
  border-radius: 50%;
  overflow: hidden;
  /* Less aggressive fade to prevent cut-off */
  -webkit-mask: radial-gradient(circle, black 0%, black 40%, transparent 70%);
  mask: radial-gradient(circle, black 0%, black 40%, transparent 70%);
}

/* Add texture overlay for stylized look */
.forest-layer-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px, 15px 15px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 3;
}


/* Buttons */
body.enterprise .btn-primary,
.enterprise .btn-primary {
  background: var(--accent-orange) !important;
  color: var(--primary-text-color) !important;
  border: none !important;
  padding: 12px 20px;
  border-radius: 6px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(224, 98, 71, 0.3);
}

body.enterprise .btn-primary::before,
.enterprise .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}



.btn-primary.btn-large {
  padding: 18px 40px;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(224, 98, 71, 0.3);
}


.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}


.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 12px 18px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.stats-text {
  font-size: 46px;
  font-weight: 400;
  text-align: left;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--primary-text-color);
}

.stats-text .highlight {
  color: var(--accent-orange);
}

.troutwood-brand {
  font-family: 'Troutwood', sans-serif;
}

/* Section Badge */
.section-badge {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

/* Section Title */
.section-title {
  font-family: 'Cal Sans', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: white;
  margin-bottom: 30px;
}

.section-description {
  font-size: 24px;
  font-weight: 300;
  color: var(--secondary-text-color);
  max-width: 854px;
}

/* How We Help Section */
.how-we-help-section {
  padding: 60px 0 0 0;
  position: relative;
  z-index: 2;
}

/* Features Section */
.features-section {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

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

.feature-card {
  background: linear-gradient(180deg, rgba(5, 14, 8, 0.5) 0%, rgba(17, 42, 24, 0.5) 100%);
  border: 1px solid #112a18;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}


.feature-image {
  position: relative;
  height: auto;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}


.feature-title {
  font-size: 24px;
  font-weight: 400;
  color: #67bc7c !important;
  margin: 30px 0 15px;
  padding: 0 30px;
}

.feature-description {
  font-size: 18px;
  font-weight: 300;
  color: var(--secondary-text-color);
  padding: 0 30px 30px;
}

/* Partners Section */
.partners-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin-top: 60px;
}

.partner-logo {
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* How It Works Section */
.how-it-works-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.how-it-works-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.section-category {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #67bc7c !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.features-list {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 5px;
}

.feature-icon::before {
  content: '✓';
  font-size: 20px;
  font-weight: bold;
  color: #67bc7c;
}

.feature-content {
  font-size: 18px;
  color: var(--secondary-text-color);
}

.feature-content strong {
  color: var(--primary-text-color);
  font-weight: 700;
}

.how-it-works-image {
  position: relative;
  width: 120%;
  max-width: 1200px;
  margin-left: -10%;
}

.how-it-works-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: brightness(0.8) contrast(1.3);
}

.how-it-works-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Left side blue-grey gradient - balanced dark */
    linear-gradient(135deg, rgba(40, 70, 120, 0.7) 0%, rgba(25, 45, 80, 0.5) 30%, transparent 60%),
    /* Right side green gradient - balanced dark */
    linear-gradient(225deg, transparent 40%, rgba(20, 80, 40, 0.7) 70%, rgba(15, 60, 30, 0.9) 100%),
    /* Enhanced glow effects */
    radial-gradient(circle at 25% 25%, rgba(30, 80, 120, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(20, 100, 50, 0.5) 0%, transparent 50%);
  background-position: center;
  background-size: 100%;
  mix-blend-mode: overlay;
  filter: saturate(200%) brightness(0.9) contrast(1.4);
  opacity: 0.9;
  z-index: 2;
  border-radius: 12px;
  /* Circular container with feathered edges */
  border-radius: 50%;
  overflow: hidden;
  /* Even more aggressive fade */
  -webkit-mask: radial-gradient(circle, black 0%, black 25%, transparent 55%);
  mask: radial-gradient(circle, black 0%, black 25%, transparent 55%);
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

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

.testimonial-card {
  background: linear-gradient(180deg, rgba(17, 42, 24, 0.5) 0%, rgba(5, 14, 8, 0.5) 100%);
  border: 1px solid #112a18;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: #67BC7C;
  font-size: 16px;
}

.testimonial-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-text-color);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--secondary-text-color);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-text-color);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: 58px;
  font-weight: 400;
  margin-bottom: 60px;
  color: var(--primary-text-color);
}

.cta-section .btn-primary {
  margin: 0 auto;
}

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background-color: var(--background-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 5% auto;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.close {
  color: var(--secondary-text-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 30px;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-image {
    max-width: 900px;
    min-width: 700px;
    margin-right: -150px;
  }
}

@media (max-width: 1098px) {
  .hero-image {
    max-width: 650px;
    min-width: 550px;
    margin-right: -120px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
    
}

/* iPad Pro (12.9") */
@media (max-width: 1024px) and (min-width: 834px) {
  .hero-image {
    max-width: 720px;
    min-width: 580px;
    margin-right: -100px;
  }

  .hero-section {
    padding: 100px 40px 0px 40px;
  }
  
  .hero-content {
    padding: 100px 40px 0px 40px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 19px;
  }
  
  .section-title {
    font-size: 42px;
  }
  
  .section-description {
    font-size: 18px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .how-it-works-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* iPad Pro (11") and iPad (10.2") */
@media (max-width: 834px) and (min-width: 768px) {
  .hero-image {
    max-width: 680px;
    min-width: 550px;
    margin-right: -80px;
  }

  .hero-content {
    padding: 100px 40px 0px 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 38px;
  }
  
  .section-description {
    font-size: 17px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .how-it-works-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media only screen and (max-width: 1024px) {

  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .how-it-works-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media only screen and (max-width: 768px) {

  .how-it-works-image {
    width: 100%;
    margin-left: 0;
  }

  .how-it-works-content   {
    margin-top: 20px !important;
  }

  .section-badge {
    margin-bottom: 0 !important;
  }

  .features-section {
    padding: 10px;
  }

  .features-grid {
    margin-top: 0 !important;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 100px 0 40px 0;
    margin-top: 0;
    gap: 0;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
  }
  
  .hero-image {
    max-width: 80%;
    min-width: auto;
    width: 80%;
    margin: 40px auto 0;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 38px;
    margin-top: 50px !important;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-description {
    font-size: 18px;
  }
  
  .cta-title {
    font-size: 40px;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .how-we-help-section {
    padding: 50px 20px 0 20px;
  }
  
  .how-it-works-section {
    padding: 50px 20px 0 20px;
  }
  
  .features-grid {  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .testimonials-section {
    padding: 50px 20px 0 20px;
  }
  
  .testimonials-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 0px;
  }
  
  .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
}

@media only screen and (max-width: 480px) {
  .hero-section {
    margin-top: 0;
    padding: 80px 0 20px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .hero-image {
    width: 90%;
    margin: 30px auto 0;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn-primary,
  .btn-secondary {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    margin: 0;
  }
  
  .btn-primary {
    width: 100% !important;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .stats-text {
    font-size: 24px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .feature-card,
  .testimonial-card {
    padding: 20px;
  }
  
  .modal-content {
    margin: 10% auto;
    padding: 30px 20px;
  }
  
  .how-we-help-section {
    padding: 50px 20px 0 20px;
  }
  
  .how-it-works-section {
    padding: 50px 20px 0 20px;
  }
  
  .features-grid {  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .testimonials-section {
    padding: 50px 20px 0 20px;
  }
  
  .testimonials-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
}

