/* =========================================
   DATA DRIVEN & IA — Page Styles
   ========================================= */

:root {
  --dd-purple:       #7C3AED;
  --dd-purple-dark:  #5B21B6;
  --dd-purple-glow:  rgba(124, 58, 237, 0.18);
  --dd-purple-soft:  rgba(124, 58, 237, 0.08);
  --dd-violet:       #A78BFA;
  --dd-dark:         #0D1117;
  --dd-dark-2:       #1E2530;
  --dd-dark-3:       #151020;
}

/* =========================================
   HERO
   ========================================= */
.dd-hero {
  position: relative;
  background: var(--dd-dark);
  padding: 160px 0 100px;
  overflow: hidden;
}

.dd-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.dd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dd-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--dd-violet);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.dd-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.dd-hero-title .dd-accent {
  color: var(--dd-violet);
}

.dd-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.dd-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-dd-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dd-purple);
  color: var(--white) !important;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}

.btn-dd-primary:hover {
  background: var(--dd-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(124, 58, 237, 0.5);
}

.btn-dd-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-dd-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white) !important;
}

.dd-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dd-hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 24px;
  pointer-events: none;
}

.dd-hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* =========================================
   SHARED SECTION STYLES
   ========================================= */
.dd-section {
  padding: 96px 0;
}

.dd-section--dark {
  background: var(--dd-dark);
}

.dd-section--dark-2 {
  background: var(--dd-dark-2);
}

.dd-section--light {
  background: var(--off-white);
}

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

.dd-section-header .section-label {
  justify-content: center;
}

.dd-title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 20px;
}

.dd-title--light {
  color: var(--white);
}

.dd-section--dark .section-label,
.dd-section--dark-2 .section-label {
  color: var(--dd-violet);
}

/* =========================================
   INTRO SECTION
   ========================================= */
.dd-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dd-intro-text p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.dd-intro-bullets {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dd-intro-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.5;
}

.dd-intro-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--dd-purple);
  border-radius: 50%;
  margin-top: 6px;
}

.dd-intro-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* =========================================
   METHODOLOGY
   ========================================= */
.dd-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dd-method-card {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.dd-method-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.dd-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.375rem;
}

.dd-method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.dd-method-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.dd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dd-service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 28px 32px;
  border-left: 4px solid var(--dd-purple);
  transition: all 0.3s ease;
}

.dd-service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.dd-service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.dd-service-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  text-align: justify;
}

/* =========================================
   SOLUTIONS LIST
   ========================================= */
.dd-solutions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dd-solutions-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}

.dd-solutions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dd-solutions-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.dd-solutions-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: var(--dd-violet);
  border-radius: 50%;
  margin-top: 5px;
}

.dd-solutions-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

/* =========================================
   BENEFITS
   ========================================= */
.dd-benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dd-benefits-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.dd-benefits-text p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}

.dd-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.dd-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.5;
}

.dd-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.dd-check-icon svg {
  stroke: var(--dd-purple);
}

/* =========================================
   USE CASES
   ========================================= */
.dd-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dd-case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.dd-case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.3);
}

.dd-case-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.dd-case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.dd-case-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =========================================
   FOR WHOM
   ========================================= */
.dd-forwhom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dd-forwhom-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: justify;
}

.dd-forwhom-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dd-forwhom-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.dd-forwhom-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--dd-violet);
  border-radius: 50%;
  margin-top: 6px;
}

.dd-forwhom-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

/* =========================================
   WHY / GOVERNANCE
   ========================================= */
.dd-wide-inner {
  max-width: 820px;
  margin: 0 auto;
}

.dd-wide-inner p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.dd-wide-inner.light p {
  color: rgba(255, 255, 255, 0.7);
}

.dd-gov-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.dd-gov-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.5;
}

.dd-gov-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: var(--dd-purple);
  border-radius: 50%;
  margin-top: 6px;
}

/* =========================================
   VALUE SECTION
   ========================================= */
.dd-value-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dd-value-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.dd-value-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

/* =========================================
   CTA
   ========================================= */
.dd-cta {
  background: linear-gradient(135deg, var(--dd-dark-3) 0%, var(--dd-dark-2) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dd-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dd-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.dd-cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 40px;
  text-align: justify;
}

.btn-dd-lg {
  font-size: 1.0625rem;
  padding: 18px 44px;
}

.dd-cta-note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.dd-cta-note a {
  color: var(--dd-violet);
  transition: opacity 0.3s;
}

.dd-cta-note a:hover {
  opacity: 0.8;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .dd-method-grid,
  .dd-services-grid,
  .dd-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dd-hero-inner,
  .dd-intro-inner,
  .dd-solutions-inner,
  .dd-benefits-inner,
  .dd-forwhom-inner,
  .dd-value-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dd-method-grid,
  .dd-services-grid,
  .dd-cases-grid,
  .dd-solutions-list {
    grid-template-columns: 1fr;
  }

  .dd-hero {
    padding: 120px 20px 72px;
  }

  .dd-section {
    padding: 64px 20px;
  }

  .dd-cta {
    padding: 72px 20px;
  }
}

@media (max-width: 480px) {
  .dd-hero-actions {
    flex-direction: column;
  }

  .btn-dd-primary,
  .btn-dd-ghost {
    width: 100%;
    justify-content: center;
  }

  .btn-dd-lg {
    width: 100%;
    justify-content: center;
  }
}
