/* =========================================================
   ENTERPRISE SOFTWARE DEVELOPMENT - LIGHT THEME
   ========================================================= */

:root {
  --esd-bg: var(--clr-surface);
  --esd-bg-alt: var(--clr-surface-2);
  --esd-card: #ffffff;
  --esd-card-border: var(--clr-border);
  --esd-accent: var(--clr-accent);
  --esd-accent-light: var(--clr-accent-pale);
  --esd-primary: var(--clr-primary);
  --esd-text: var(--clr-text);
  --esd-text-muted: var(--clr-text-muted);
  --esd-shadow: 0 4px 16px rgba(26,46,68,0.04);
  --esd-shadow-hover: 0 12px 30px rgba(26,46,68,0.08);
}

body[data-back-url] {
  background-color: var(--esd-bg);
  color: var(--esd-text);
}

/* HERO SECTION */
.esd-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 5% 80px;
  background: linear-gradient(135deg, var(--esd-bg) 0%, var(--esd-bg-alt) 100%);
  text-align: center;
}

.esd-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.esd-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  background: var(--esd-card);
  border: 1px solid var(--esd-card-border);
  color: var(--esd-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: var(--esd-shadow);
}

.esd-hero-eyebrow i {
  color: var(--esd-accent);
}

.esd-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--esd-primary);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.esd-hero-desc {
  font-size: 1.15rem;
  color: var(--esd-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.esd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: var(--esd-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26,46,68,0.15);
}
.esd-btn-primary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,46,68,0.25);
}

/* SECTION GLOBAL */
.esd-section {
  padding: 80px 5%;
}

.esd-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.esd-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.esd-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--esd-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.esd-section-desc {
  color: var(--esd-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 1. OVERVIEW */
.esd-overview {
  background: var(--esd-bg);
}

.esd-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.esd-overview-card {
  background: var(--esd-card);
  border: 1px solid var(--esd-card-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--esd-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.esd-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(181, 36, 106, 0.2);
}

.esd-overview-icon {
  font-size: 2.5rem;
  color: var(--esd-accent);
  margin-bottom: 1.5rem;
  background: var(--esd-accent-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.esd-overview-card h3 {
  color: var(--esd-primary);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.esd-overview-card p {
  color: var(--esd-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* 2. FEATURES */
.esd-features {
  background: var(--esd-bg-alt);
  border-top: 1px solid var(--esd-card-border);
  border-bottom: 1px solid var(--esd-card-border);
}

.esd-features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.esd-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.esd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--esd-card);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--esd-card-border);
  box-shadow: var(--esd-shadow);
  transition: all 0.3s;
}

.esd-feature-item:hover {
  border-color: var(--esd-accent);
}

.esd-feature-item i {
  color: var(--esd-accent);
  font-size: 1.8rem;
  margin-top: 0.2rem;
}

.esd-feature-item-text h4 {
  color: var(--esd-primary);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.esd-feature-item-text p {
  color: var(--esd-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.esd-features-visual {
  background: var(--esd-card);
  border: 1px solid var(--esd-card-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--esd-shadow);
  position: relative;
  text-align: center;
}

.esd-features-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--esd-accent), var(--esd-primary));
  border-radius: 16px 16px 0 0;
}

/* Visual elements within features */
.esd-visual-mockup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.esd-mock-header {
  height: 20px;
  background: var(--esd-bg-alt);
  border-radius: 4px;
  width: 100%;
}
.esd-mock-body {
  display: flex;
  gap: 1rem;
}
.esd-mock-sidebar {
  width: 30%;
  height: 150px;
  background: var(--esd-bg-alt);
  border-radius: 4px;
}
.esd-mock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.esd-mock-line {
  height: 15px;
  background: var(--esd-accent-light);
  border-radius: 4px;
  width: 100%;
}
.esd-mock-line.short {
  width: 60%;
}

/* 3. PROCESS */
.esd-process {
  background: var(--esd-bg);
}

.esd-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.esd-process-step {
  background: var(--esd-card);
  border: 1px solid var(--esd-card-border);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--esd-shadow);
}

.esd-process-step::after {
  content: '\2192';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--esd-accent);
  font-size: 1.5rem;
  z-index: 1;
}

.esd-process-step:last-child::after {
  display: none;
}

.esd-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--esd-accent-light);
  margin-bottom: 1rem;
  line-height: 1;
}

.esd-process-step h4 {
  color: var(--esd-primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.esd-process-step p {
  color: var(--esd-text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* 4. CTA SECTION */
.esd-cta {
  background: var(--esd-bg-alt);
  padding: 80px 5%;
  text-align: center;
  border-top: 1px solid var(--esd-card-border);
}

.esd-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.esd-cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--esd-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.esd-cta-desc {
  color: var(--esd-text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .esd-features-layout {
    grid-template-columns: 1fr;
  }
  .esd-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .esd-process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .esd-hero {
    padding: 120px 5% 60px;
  }
  .esd-process-grid {
    grid-template-columns: 1fr;
  }
}
