/* Enterprise Scaling Page */

/* FA icon fix */
.fas, .far, .fab { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; font-style: normal !important; }
.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }

/* Accent */
.es-accent {
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ── */
.es-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #030D1A;
  padding: 130px 60px 80px;
  overflow: hidden;
  text-align: center;
}

.es-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.es-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 860px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.es-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #00D4FF;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.es-hero-badge i {
  color: #00D4FF !important;
  -webkit-text-fill-color: #00D4FF !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.es-hero-title {
  font-size: 62px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.es-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 48px;
}

/* Stats row */
.es-hero-stats {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 48px;
}

.es-stat { display: flex; flex-direction: column; align-items: center; }

.es-stat-num {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #0A4AFF, #00D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.es-stat-unit { font-size: 28px; }

.es-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.es-stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(0, 212, 255, 0.2);
}

/* Buttons */
.es-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0A4AFF, #00D4FF);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.es-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 212, 255, 0.5); }
.es-cta-btn i { color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; transition: transform 0.2s ease; }
.es-cta-btn:hover i { transform: translateX(4px); }
.es-cta-large { font-size: 17px; padding: 20px 44px; }

.es-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: transparent;
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  border-radius: 10px;
  color: #00D4FF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.es-outline-btn:hover { background: rgba(0, 212, 255, 0.08); border-color: #00D4FF; transform: translateY(-2px); }
.es-outline-btn i { color: #00D4FF !important; -webkit-text-fill-color: #00D4FF !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; transition: transform 0.2s ease; }
.es-outline-btn:hover i { transform: translateX(4px); }

/* ── SHARED SECTION ── */
.es-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.es-section-header h2 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.es-section-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.es-section-cta { text-align: center; margin-top: 50px; }

/* ── BENTO GRID ── */
.es-framework {
  background: #050F20;
  padding: 100px 60px;
}

.es-bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Anchor spans 2 rows */
.es-bento-anchor {
  grid-row: 1 / 3;
}

/* Wide box spans 2 cols on bottom right */
.es-bento-wide {
  grid-column: 2 / 4;
}

.es-bento-box {
  position: relative;
  background: rgba(10, 30, 60, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

/* Neon trace on hover */
.es-bento-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 212, 255, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.es-bento-box:hover::before { opacity: 1; }
.es-bento-box:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.12);
}

.es-bento-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  background: linear-gradient(135deg, #0A4AFF, #00D4FF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.es-bento-icon i,
body.light-theme .es-bento-icon i {
  font-size: 22px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.es-bento-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.es-bento-anchor h3 { font-size: 24px; }

.es-bento-box p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
}

.es-bento-tag {
  display: inline-block;
  margin-top: 24px;
  padding: 4px 12px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: #00D4FF;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── BOTTLENECKS ── */
.es-bottlenecks {
  background: #030D1A;
  padding: 100px 60px;
}

.es-bottleneck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.es-bn-card {
  background: rgba(10, 30, 60, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 18px;
  padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.es-bn-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.12);
  background: rgba(10, 30, 60, 0.65);
}

.es-bn-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  background: linear-gradient(135deg, #0A4AFF, #00D4FF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.es-bn-icon i,
body.light-theme .es-bn-icon i {
  font-size: 22px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.es-bn-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.es-bn-problem, .es-bn-solution {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 10px;
}

.es-bn-problem {
  background: rgba(255, 60, 60, 0.07);
  border: 1px solid rgba(255, 60, 60, 0.15);
}

.es-bn-solution {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 0;
}

.es-bn-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 80, 80, 0.8);
  margin-bottom: 6px;
}

.es-bn-label-sol { color: #00D4FF !important; }

/* ── TESTIMONIALS ── */
.es-testimonials {
  background: #050F20;
  padding: 100px 60px;
}

.es-testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.es-testimonial-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.es-testimonial-card {
  min-width: 100%;
  padding: 0 20px;
  position: relative;
}

.es-quote-mark {
  font-size: 120px;
  line-height: 0.6;
  color: rgba(0, 212, 255, 0.08);
  font-family: Georgia, serif;
  position: absolute;
  top: 0;
  left: 20px;
  pointer-events: none;
  user-select: none;
}

.es-quote-text {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.es-quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.es-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.es-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.es-author-company {
  font-size: 13px;
  color: rgba(0, 212, 255, 0.7);
}

.es-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.es-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: transparent;
  color: #00D4FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.es-slider-btn:hover { background: rgba(0, 212, 255, 0.1); border-color: #00D4FF; }
.es-slider-btn i { color: #00D4FF !important; -webkit-text-fill-color: #00D4FF !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; font-size: 12px; }

.es-slider-dots { display: flex; gap: 8px; }

.es-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.es-dot.active { background: #00D4FF; width: 24px; border-radius: 4px; }

/* ── FINAL CTA ── */
.es-final-cta {
  background: #020A14;
  padding: 120px 60px;
  text-align: center;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.es-final-inner { max-width: 700px; margin: 0 auto; }

.es-final-cta h2 {
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.es-final-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ── LIGHT THEME ── */
body.light-theme .es-hero,
body.light-theme .es-bottlenecks,
body.light-theme .es-final-cta { background: #ffffff !important; }

body.light-theme .es-framework,
body.light-theme .es-testimonials { background: #f8f9ff !important; }

body.light-theme .es-hero-title,
body.light-theme .es-section-header h2,
body.light-theme .es-final-cta h2,
body.light-theme .es-bento-box h3,
body.light-theme .es-bn-card h3,
body.light-theme .es-quote-text { color: #1a1f3a !important; }

body.light-theme .es-hero-sub,
body.light-theme .es-section-header p,
body.light-theme .es-final-cta p { color: rgba(26,31,58,0.65) !important; }

body.light-theme .es-accent {
  background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.light-theme .es-hero-badge {
  border-color: rgba(255,123,0,0.4) !important;
  color: var(--original-orange) !important;
}

body.light-theme .es-hero-badge i {
  color: var(--original-orange) !important;
  -webkit-text-fill-color: var(--original-orange) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

body.light-theme .es-stat-num {
  background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.light-theme .es-stat-label { color: rgba(26,31,58,0.5) !important; }
body.light-theme .es-stat-divider { background: rgba(255,123,0,0.2) !important; }

body.light-theme .es-cta-btn {
  background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important;
  box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important;
}

body.light-theme .es-outline-btn {
  border-color: rgba(255,123,0,0.4) !important;
  color: var(--original-orange) !important;
}

body.light-theme .es-outline-btn:hover { background: rgba(255,123,0,0.06) !important; border-color: var(--original-orange) !important; }
body.light-theme .es-outline-btn i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }

body.light-theme .es-bento-box,
body.light-theme .es-bn-card {
  background: #fff !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

body.light-theme .es-bento-box:hover,
body.light-theme .es-bn-card:hover {
  border-color: rgba(255,123,0,0.3) !important;
  box-shadow: 0 12px 40px rgba(255,123,0,0.12) !important;
}

body.light-theme .es-bento-icon,
body.light-theme .es-bn-icon {
  background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important;
}

body.light-theme .es-bento-icon i,
body.light-theme .es-bn-icon i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

body.light-theme .es-bento-box p,
body.light-theme .es-bn-problem,
body.light-theme .es-bn-solution { color: rgba(26,31,58,0.65) !important; }

body.light-theme .es-bento-tag {
  border-color: rgba(255,123,0,0.3) !important;
  color: var(--original-orange) !important;
}

body.light-theme .es-bn-problem {
  background: rgba(255,60,60,0.05) !important;
  border-color: rgba(255,60,60,0.15) !important;
}

body.light-theme .es-bn-solution {
  background: rgba(255,123,0,0.05) !important;
  border-color: rgba(255,123,0,0.2) !important;
}

body.light-theme .es-bn-label-sol { color: var(--original-orange) !important; }

body.light-theme .es-quote-mark { color: rgba(255,123,0,0.08) !important; }
body.light-theme .es-author-name { color: #1a1f3a !important; }
body.light-theme .es-author-company { color: var(--original-orange) !important; }

body.light-theme .es-slider-btn {
  border-color: rgba(255,123,0,0.3) !important;
  color: var(--original-orange) !important;
}

body.light-theme .es-slider-btn:hover { background: rgba(255,123,0,0.08) !important; }
body.light-theme .es-slider-btn i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .es-dot { background: rgba(255,123,0,0.2) !important; }
body.light-theme .es-dot.active { background: var(--original-orange) !important; }
body.light-theme .es-final-cta { border-top-color: rgba(0,0,0,0.06) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .es-bento-grid { grid-template-columns: 1fr 1fr; }
  .es-bento-anchor { grid-row: auto; }
  .es-bento-wide { grid-column: auto; }
  .es-bottleneck-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .es-hero { padding: 120px 24px 60px; }
  .es-hero-title { font-size: 38px; }
  .es-stat-num { font-size: 40px; }
  .es-hero-stats { gap: 24px; }
  .es-framework, .es-bottlenecks, .es-testimonials, .es-final-cta { padding: 70px 24px; }
  .es-bento-grid { grid-template-columns: 1fr; }
  .es-section-header h2 { font-size: 32px; }
  .es-final-cta h2 { font-size: 40px; }
  .es-quote-text { font-size: 16px; }
}
