/*
Theme Name: Digital Eryndor Theme
Author: Rushikesh
Version: 1.0
Description: AI-Powered Digital Marketing Agency — Apple-inspired design system
Text Domain: digital-eryndor
*/

/* ============================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ============================================================ */

:root {

  /* — Brand colors — */
  --de-color-primary:       #0071e3;
  --de-color-primary-hover: #0077ed;
  --de-color-primary-light: rgba(0, 113, 227, 0.1);

  /* — Text colors — */
  --de-color-text:           #1d1d1f;
  --de-color-text-secondary: #86868b;
  --de-color-text-muted:     #c7c7cc;

  /* — Surface colors — */
  --de-color-white:          #ffffff;
  --de-color-gray-light:     #f5f5f7;
  --de-color-border:         #e8e8ed;

  /* — Semantic tokens (HSL, Shadcn-compatible — kept for future component parity) — */
  --background:              0 0% 100%;
  --foreground:              0 0% 10%;
  --card:                    0 0% 100%;
  --card-foreground:         0 0% 10%;
  --popover:                 0 0% 100%;
  --popover-foreground:      0 0% 10%;
  --primary:                 0 0% 10%;
  --primary-foreground:      0 0% 100%;
  --secondary:               0 0% 96%;
  --secondary-foreground:    0 0% 10%;
  --muted:                   0 0% 96%;
  --muted-foreground:        0 0% 45%;
  --accent:                  0 0% 96%;
  --accent-foreground:       0 0% 10%;
  --destructive:             0 84% 60%;
  --destructive-foreground:  0 0% 100%;
  --border:                  0 0% 90%;
  --input:                   0 0% 90%;
  --ring:                    0 0% 10%;

  /* — Chart palette — */
  --chart-1: 220 70% 50%;
  --chart-2: 160 60% 45%;
  --chart-3: 30  80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;

  /* — Border radius — */
  --de-radius:      0.75rem;  /* 12px — inputs, tags         */
  --de-radius-lg:   1.125rem; /* 18px — cards                */
  --de-radius-pill: 980px;    /* pill — buttons              */

  /* — Spacing — */
  --de-section-pad:        80px;
  --de-section-pad-mobile: 60px;
  --de-container-pad:      24px;
  --de-max-width:          1200px;

  /* — Shadows — */
  --de-shadow-card:       0 2px 12px rgba(0, 0, 0, 0.08);
  --de-shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --de-shadow-stat-hover: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* — Transitions — */
  --de-transition: all 0.3s ease;
  --de-transition-fast: all 0.2s ease;
}


/* ============================================================
   2. BASE RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--de-color-text);
  background-color: var(--de-color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--de-color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ============================================================
   3. SCROLLBAR — Apple style
   ============================================================ */

::-webkit-scrollbar              { width: 8px; }
::-webkit-scrollbar-track        { background: var(--de-color-gray-light); }
::-webkit-scrollbar-thumb        { background: #c7c7cc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover  { background: #a1a1a6; }


/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--de-color-text);
}

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

/* Gradient headline accent */
.de-gradient-text {
  background: linear-gradient(90deg, #0071e3 0%, #42a5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text color utilities */
.de-text-primary   { color: var(--de-color-text); }
.de-text-secondary { color: var(--de-color-text-secondary); }
.de-text-link      { color: var(--de-color-primary); }

/* Multi-line clamp */
.de-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ============================================================
   5. LAYOUT — Container, Sections, Hero
   ============================================================ */

.de-container {
  width: 100%;
  max-width: var(--de-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--de-container-pad);
  padding-right: var(--de-container-pad);
}

.de-section {
  padding: var(--de-section-pad) 0;
}

.de-section--white { background-color: var(--de-color-white); }
.de-section--gray  { background-color: var(--de-color-gray-light); }

.de-page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background-color: var(--de-color-white);
}

/* Background color utilities */
.de-bg-white { background-color: var(--de-color-white); }
.de-bg-gray  { background-color: var(--de-color-gray-light); }


/* ============================================================
   6. BUTTONS
   ============================================================ */

.de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: var(--de-radius-pill);
  cursor: pointer;
  transition: var(--de-transition);
  text-decoration: none;
  white-space: nowrap;
}

.de-btn--primary {
  background-color: var(--de-color-primary);
  color: var(--de-color-white);
}

.de-btn--primary:hover {
  background-color: var(--de-color-primary-hover);
  color: var(--de-color-white);
  transform: scale(1.02);
  text-decoration: none;
}

.de-btn--secondary {
  background-color: transparent;
  color: var(--de-color-primary);
}

.de-btn--secondary:hover {
  color: var(--de-color-primary-hover);
  text-decoration: underline;
}


/* ============================================================
   7. CARDS
   ============================================================ */

/* Base glass card */
.de-glass-card {
  background: var(--de-color-white);
  border: 1px solid var(--de-color-border);
  border-radius: var(--de-radius-lg);
  box-shadow: var(--de-shadow-card);
}

/* Service card — interactive tile */
.de-service-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 2rem;
  background: var(--de-color-white);
  border: 1px solid var(--de-color-border);
  border-radius: var(--de-radius-lg);
  color: inherit;
  text-decoration: none;
  transition: var(--de-transition);
  cursor: pointer;
}

.de-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--de-shadow-card-hover);
  color: inherit;
  text-decoration: none;
}

/* Stats card */
.de-stat-card {
  padding: 2rem;
  text-align: center;
  background: var(--de-color-gray-light);
  border-radius: var(--de-radius-lg);
  transition: var(--de-transition);
}

.de-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--de-shadow-stat-hover);
}

/* Blog card */
.de-blog-card {
  display: block;
  overflow: hidden;
  background: var(--de-color-white);
  border: 1px solid var(--de-color-border);
  border-radius: var(--de-radius-lg);
  color: inherit;
  text-decoration: none;
  transition: var(--de-transition);
  cursor: pointer;
}

.de-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--de-shadow-card-hover);
  color: inherit;
  text-decoration: none;
}

.de-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.de-blog-card:hover img {
  transform: scale(1.03);
}


/* ============================================================
   8. FORMS
   ============================================================ */

.de-form-input {
  width: 100%;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 17px;
  color: var(--de-color-text);
  background: var(--de-color-gray-light);
  border: 1px solid var(--de-color-border);
  border-radius: var(--de-radius);
  transition: var(--de-transition);
  appearance: none;
}

.de-form-input:focus {
  outline: none;
  border-color: var(--de-color-primary);
  background: var(--de-color-white);
  box-shadow: 0 0 0 4px var(--de-color-primary-light);
}

.de-form-input::placeholder {
  color: var(--de-color-text-secondary);
}


/* ============================================================
   9. LINKS
   ============================================================ */

.de-apple-link {
  color: var(--de-color-primary);
  font-weight: 400;
  text-decoration: none;
}

.de-apple-link:hover {
  text-decoration: underline;
}


/* ============================================================
   10. ANIMATIONS
   ============================================================ */

@keyframes de-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes de-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.de-animate-fade-in-up {
  animation: de-fade-in-up 0.6s ease-out forwards;
}

.de-animate-fade-in {
  animation: de-fade-in 0.4s ease-out forwards;
}


/* ============================================================
   11. RESPONSIVE — base elements
   ============================================================ */

@media (max-width: 768px) {

  .de-section {
    padding: var(--de-section-pad-mobile) 0;
  }

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

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
}


/* ============================================================
   12. NAVIGATION
   ============================================================ */

.de-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.de-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(210, 210, 215, 0.5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.de-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.de-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

/* — Logo — */
.de-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.de-nav-logo img {
  height: 40px;
  width: auto;
}

/* — Desktop link list — */
.de-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.de-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(29, 29, 31, 0.70);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.de-nav-link:hover {
  color: #1d1d1f;
  text-decoration: none;
}

.de-nav-link.is-active {
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* — Services dropdown trigger — */
.de-services-wrap {
  position: relative;
}

.de-services-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(29, 29, 31, 0.70);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.de-services-btn:hover { color: #1d1d1f; }

.de-services-btn.is-active {
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* — Shared chevron — */
.de-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.de-chevron.is-rotated { transform: rotate(180deg); }

/* — Mega dropdown panel — */
.de-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 640px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.de-mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.de-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.de-mega-col {
  padding: 20px;
}

.de-mega-col--digital {
  border-right: 1px solid #f3f4f6;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.4) 0%, #ffffff 100%);
}

.de-mega-col--ai {
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.4) 0%, #ffffff 100%);
}

.de-mega-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.de-mega-col-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-mega-col--digital .de-mega-col-icon { stroke: #2563eb; }
.de-mega-col--ai .de-mega-col-icon      { stroke: #9333ea; }

.de-mega-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.de-mega-col--digital .de-mega-col-label { color: #2563eb; }
.de-mega-col--ai .de-mega-col-label      { color: #9333ea; }

.de-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.de-mega-list::-webkit-scrollbar       { width: 4px; }
.de-mega-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

.de-mega-list li a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: rgba(29, 29, 31, 0.80);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.de-mega-col--digital .de-mega-list li a:hover { background: #eff6ff; color: #1d4ed8; }
.de-mega-col--ai      .de-mega-list li a:hover { background: #faf5ff; color: #7c3aed; }

.de-mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.de-mega-col--digital .de-mega-viewall        { color: #2563eb; }
.de-mega-col--digital .de-mega-viewall:hover  { color: #1d4ed8; text-decoration: none; }
.de-mega-col--ai      .de-mega-viewall        { color: #9333ea; }
.de-mega-col--ai      .de-mega-viewall:hover  { color: #7c3aed; text-decoration: none; }

/* — CTA pill — */
.de-nav-cta {
  display: none;
  align-items: center;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(to right, #9333ea, #ec4899);
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.20);
  transition: all 0.2s ease;
}

.de-nav-cta:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.30);
}

/* — Hamburger — */
.de-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1d1d1f;
  line-height: 0;
  transition: color 0.2s ease;
}

.de-hamburger:hover { color: #9333ea; }

.de-hamburger-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* — Mobile menu panel — */
.de-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e8e8ed;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.de-mobile-menu.is-open {
  max-height: 80vh;
  overflow-y: auto;
}

.de-mobile-menu-inner {
  padding: 16px;
}

.de-mobile-link {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s ease;
}

.de-mobile-link:hover,
.de-mobile-link.is-active { color: #9333ea; text-decoration: none; }

/* — Mobile services accordion — */
.de-mobile-services {
  border-bottom: 1px solid #f3f4f6;
}

.de-mobile-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.de-mobile-accordion-btn:hover,
.de-mobile-accordion-btn.is-active { color: #9333ea; }

.de-mobile-accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.de-mobile-accordion-panel.is-open { max-height: 900px; }

/* — Mobile sub-accordions (Digital / AI) — */
.de-mobile-sub-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.de-mobile-sub-btn--digital { color: #1d4ed8; }
.de-mobile-sub-btn--ai      { color: #7c3aed; }

.de-mobile-sub-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.de-mobile-sub-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.de-mobile-sub-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.de-mobile-sub-panel.is-open { max-height: 700px; }

.de-mobile-sub-link {
  display: block;
  padding: 6px 40px;
  font-size: 13px;
  color: rgba(29, 29, 31, 0.70);
  text-decoration: none;
  transition: color 0.15s ease;
}

.de-mobile-sub-panel--digital .de-mobile-sub-link:hover { color: #1d4ed8; text-decoration: none; }
.de-mobile-sub-panel--ai      .de-mobile-sub-link:hover { color: #7c3aed; text-decoration: none; }

.de-mobile-sub-viewall {
  display: block;
  padding: 6px 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.de-mobile-sub-viewall--digital       { color: #2563eb; }
.de-mobile-sub-viewall--digital:hover { color: #1d4ed8; text-decoration: none; }
.de-mobile-sub-viewall--ai            { color: #9333ea; }
.de-mobile-sub-viewall--ai:hover      { color: #7c3aed; text-decoration: none; }

/* — Mobile CTA block — */
.de-mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 12px;
  text-align: center;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.de-mobile-cta:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
}

/* — Responsive: show/hide desktop vs mobile elements — */
@media (min-width: 640px) {
  .de-nav-inner    { padding: 0 24px; }
  .de-nav-logo img { height: 48px; }
}

@media (min-width: 768px) {
  .de-nav-links    { display: flex; }
  .de-nav-cta      { display: inline-flex; }
  .de-hamburger    { display: none; }
  .de-mobile-menu  { display: none; }
}

@media (min-width: 1024px) {
  .de-mega { width: 760px; }
}


/* ============================================================
   13. FOOTER
   ============================================================ */

.de-footer {
  background-color: var(--de-color-gray-light);
  border-top: 1px solid #d2d2d7;
}

.de-footer-inner {
  max-width: var(--de-max-width);
  margin: 0 auto;
  padding: 40px var(--de-container-pad);
}

/* 5-column responsive grid */
.de-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #d2d2d7;
}

/* Brand column — full-width on mobile */
.de-footer-brand { grid-column: 1 / -1; }

.de-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
}

.de-footer-logo img {
  height: 40px;
  width: auto;
}

.de-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--de-color-text-secondary);
  margin-bottom: 16px;
}

/* Social icon row */
.de-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.de-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--de-color-white);
  border: 1px solid #d2d2d7;
  color: var(--de-color-text-secondary);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.de-social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.de-social-btn:hover            { transform: scale(1.1); text-decoration: none; }
.de-social-btn--instagram:hover { color: #ec4899; border-color: #ec4899; }
.de-social-btn--linkedin:hover  { color: #2563eb; border-color: #2563eb; }
.de-social-btn--google:hover    { color: #22c55e; border-color: #22c55e; }

/* Column headings & lists */
.de-footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.de-footer-list li + li { margin-top: 12px; }

.de-footer-link {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.de-footer-link:hover { color: var(--de-color-text); text-decoration: none; }

.de-footer-static {
  font-size: 14px;
  color: var(--de-color-text-secondary);
}

/* Address row with pin icon */
.de-footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.5;
}

.de-footer-address-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--de-color-text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bottom bar */
.de-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.de-footer-copy {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  text-align: center;
}

.de-footer-legal {
  display: flex;
  gap: 16px;
}

.de-footer-legal-link {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.de-footer-legal-link:hover { color: var(--de-color-text); text-decoration: none; }

/* Footer responsive */
@media (min-width: 640px) {
  .de-footer-inner { padding: 56px var(--de-container-pad); }

  .de-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .de-footer-copy  { text-align: left; }
  .de-footer-legal { gap: 24px; }
}

@media (min-width: 768px) {
  .de-footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .de-footer-brand { grid-column: auto; }
}


/* ============================================================
   14. HOMEPAGE
   ============================================================ */

/* — WordPress admin bar offset — */
.admin-bar .de-navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .de-navbar { top: 46px; }
}

/* — Scroll-reveal system — */
.de-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.de-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* — Shared section header — */
.de-section-header { text-align: center; margin-bottom: 48px; }

.de-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--de-radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.de-section-badge--purple {
  background: linear-gradient(to right, #f3e8ff, #fce7f3);
  color: #7c3aed;
}

.de-section-badge--ghost {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fbbf24;
  backdrop-filter: blur(8px);
}

.de-section-badge-icon {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: block;
}

.de-section-h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.de-section-h2--dark  { color: #ffffff; }
.de-section-h2--light { color: var(--de-color-text); }

.de-section-desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.de-section-desc--dark  { color: rgba(255, 255, 255, 0.60); }
.de-section-desc--light { color: var(--de-color-text-secondary); }

/* ============================================================
   HERO
   ============================================================ */

.de-hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 64px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.de-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f8fafc 0%, rgba(250,245,255,0.50) 50%, rgba(253,242,248,0.50) 100%);
  z-index: 0;
}

.de-hero-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316, #eab308);
  z-index: 2;
}

/* Right-side blur mesh */
.de-hero-mesh {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}

.de-hero-mesh-1 {
  position: absolute;
  top: 80px; right: 80px;
  width: 384px; height: 384px;
  background: radial-gradient(circle, #c084fc 0%, #f9a8d4 60%, transparent 100%);
  border-radius: 50%;
  filter: blur(60px);
}

.de-hero-mesh-2 {
  position: absolute;
  bottom: 80px; right: 160px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #a5f3fc 0%, #93c5fd 60%, transparent 100%);
  border-radius: 50%;
  filter: blur(60px);
}

/* Animated flowing SVG lines */
.de-hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  /* Isolate compositing context — prevents transform children from leaking outside */
  contain: layout style;
  will-change: transform;
}

.de-hero-lines svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.de-anim-line {
  stroke-dasharray: 400 2600;
  stroke-dashoffset: 3000;
  animation: de-line-flow 4s linear infinite;
}

.de-anim-line-2 { animation-duration: 5s;   animation-delay: 0.5s; }
.de-anim-line-3 { animation-duration: 6s;   animation-delay: 1s;   }
.de-anim-line-4 { animation-duration: 5.5s; animation-delay: 1.5s; }

@keyframes de-line-flow {
  0%   { stroke-dashoffset:  3000; }
  100% { stroke-dashoffset: -3000; }
}

/* Glowing orbs */
.de-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  /* Start hidden; animation keyframes at 0% { opacity: 0 } control appearance.
     Without this, orbs with animation-delay are fully visible during the delay. */
  opacity: 0;
}

.de-hero-orb--purple {
  width: 16px; height: 16px;
  background: #a855f7;
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
  animation: de-orb-1 8s linear infinite;
}

.de-hero-orb--cyan {
  width: 12px; height: 12px;
  background: #06b6d4;
  box-shadow: 0 0 10px rgba(6,182,212,0.5);
  animation: de-orb-2 10s linear infinite 1s;
}

.de-hero-orb--pink {
  width: 12px; height: 12px;
  background: #ec4899;
  box-shadow: 0 0 10px rgba(236,72,153,0.5);
  animation: de-orb-3 9s linear infinite 2s;
}

@keyframes de-orb-1 {
  0%   { transform: translate(0px, 150px); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(1600px, 180px); opacity: 0; }
}

@keyframes de-orb-2 {
  0%   { transform: translate(0px, 300px); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(1500px, 320px); opacity: 0; }
}

@keyframes de-orb-3 {
  0%   { transform: translate(0px, 450px); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(1400px, 480px); opacity: 0; }
}

/* Inner wrapper */
.de-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Responsive grid: single-col → 7/5 split at lg */
.de-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

/* ---- Left: copy ---- */

.de-hero-content {
  text-align: left;
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(8px);
  border: 1px solid #e9d5ff;
  border-radius: var(--de-radius-pill);
  margin-bottom: 24px;
}

.de-hero-badge-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: linear-gradient(to right, #a855f7, #ec4899);
  border-radius: 50%;
  flex-shrink: 0;
}

.de-hero-badge-dot svg {
  width: 12px; height: 12px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-hero-badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--de-color-text);
}

.de-hero-h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-hero-h1-gradient {
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.de-hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(29,29,31,0.70);
  margin-bottom: 32px;
  max-width: 560px;
}

/* Trust indicators */
.de-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.de-avatar-stack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.de-avatar-circles {
  display: flex;
  align-items: center;
}

.de-avatar-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-right: -8px;
  flex-shrink: 0;
}

.de-avatar-circle:last-child { margin-right: 0; }

.de-avatar-circle--1 { background: linear-gradient(to right, #c084fc, #f9a8d4); }
.de-avatar-circle--2 { background: linear-gradient(to right, #60a5fa, #67e8f9); }
.de-avatar-circle--3 { background: linear-gradient(to right, #fb923c, #fbbf24); }
.de-avatar-circle--4 { background: linear-gradient(to right, #4ade80, #2dd4bf); }

.de-avatar-stack-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--de-color-text);
}

.de-hero-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.de-hero-star {
  width: 16px; height: 16px;
  display: block;
}

.de-hero-rating-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--de-color-text);
  margin-left: 4px;
}

/* Country flags */
.de-hero-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.de-hero-flags-label {
  font-size: 13px;
  color: var(--de-color-text-secondary);
  font-weight: 500;
}

.de-hero-flags-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.de-hero-flag { font-size: 22px; line-height: 1; }

/* CTA */
.de-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(147,51,234,0.30);
  transition: all 0.3s ease;
}

.de-hero-cta:hover {
  transform: scale(1.05);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(147,51,234,0.40);
}

.de-hero-cta svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Right: dashboard visual (desktop only) ---- */

.de-hero-visual {
  display: none;
  position: relative;
  animation: de-fade-in-up 0.7s ease-out 0.2s both;
}

.de-hero-visual-orb-1 {
  position: absolute;
  top: -32px; right: -32px;
  width: 256px; height: 256px;
  background: linear-gradient(135deg, #c084fc, #f9a8d4);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.50;
  pointer-events: none;
}

.de-hero-visual-orb-2 {
  position: absolute;
  bottom: -32px; left: -32px;
  width: 288px; height: 288px;
  background: linear-gradient(135deg, #a5f3fc, #93c5fd);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.50;
  pointer-events: none;
}

.de-dashboard {
  position: relative;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(147,51,234,0.20);
}

.de-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.de-dashboard-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.de-dashboard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 10px;
  flex-shrink: 0;
}

.de-dashboard-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-dashboard-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--de-color-text);
}

.de-live-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 8px;
  border-radius: var(--de-radius-pill);
}

/* KPI 2×2 */
.de-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.de-kpi-item {
  padding: 16px;
  border-radius: 16px;
}

.de-kpi-item--purple { background: linear-gradient(135deg, #faf5ff, #fdf2f8); border: 1px solid #e9d5ff; }
.de-kpi-item--blue   { background: linear-gradient(135deg, #eff6ff, #ecfeff); border: 1px solid #bfdbfe; }
.de-kpi-item--orange { background: linear-gradient(135deg, #fff7ed, #fefce8); border: 1px solid #fed7aa; }
.de-kpi-item--green  { background: linear-gradient(135deg, #f0fdf4, #f0fdfa); border: 1px solid #a7f3d0; }

.de-kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--de-color-text-secondary);
  margin-bottom: 4px;
}

.de-kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--de-color-text);
  line-height: 1.1;
}

.de-kpi-meta {
  font-size: 11px;
  color: #16a34a;
  font-weight: 500;
  margin-top: 2px;
}

/* Revenue bar chart */
.de-revenue-chart {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d1d1f, #3b0764);
}

.de-revenue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.de-revenue-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.60);
}

.de-revenue-pct {
  font-size: 11px;
  font-weight: 600;
  color: #f9a8d4;
}

.de-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.de-chart-bar {
  flex: 1;
  background: linear-gradient(to top, #a855f7, #f472b6);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}

/* Floating badge */
.de-floating-badge {
  position: absolute;
  bottom: -16px; left: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 10;
}

.de-floating-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #4ade80, #10b981);
  border-radius: 50%;
  animation: de-pulse-icon 2s ease-in-out infinite;
  flex-shrink: 0;
}

.de-floating-badge-icon svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-floating-badge-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--de-color-text);
  white-space: nowrap;
}

.de-floating-badge-sub {
  font-size: 9px;
  color: var(--de-color-text-secondary);
  white-space: nowrap;
}

@keyframes de-pulse-icon {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.10); }
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.de-stats-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.de-stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
}

.de-stats-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
  background-size: 40px 40px;
}

.de-stats-glow-1 {
  position: absolute;
  top: 0; left: 25%;
  width: 384px; height: 384px;
  background: radial-gradient(circle, rgba(147,51,234,0.10), transparent);
  border-radius: 50%; filter: blur(40px);
}

.de-stats-glow-2 {
  position: absolute;
  bottom: 0; right: 25%;
  width: 384px; height: 384px;
  background: radial-gradient(circle, rgba(6,182,212,0.10), transparent);
  border-radius: 50%; filter: blur(40px);
}

.de-stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.de-stat-box {
  position: relative;
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--de-transition);
}

.de-stat-box:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

.de-stat-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.de-stat-box:hover .de-stat-glow { opacity: 1; }

.de-stat-box--purple .de-stat-glow  { background: rgba(168,85,247,0.10); }
.de-stat-box--cyan   .de-stat-glow  { background: rgba(6,182,212,0.10); }
.de-stat-box--pink   .de-stat-glow  { background: rgba(236,72,153,0.10); }
.de-stat-box--yellow .de-stat-glow  { background: rgba(234,179,8,0.10); }

.de-stat-number {
  position: relative;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.de-stat-box--purple .de-stat-number { background-image: linear-gradient(to right, #c084fc, #a855f7); }
.de-stat-box--cyan   .de-stat-number { background-image: linear-gradient(to right, #67e8f9, #06b6d4); }
.de-stat-box--pink   .de-stat-number { background-image: linear-gradient(to right, #f9a8d4, #ec4899); }
.de-stat-box--yellow .de-stat-number { background-image: linear-gradient(to right, #fef08a, #eab308); }

.de-stat-name {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.60);
}

/* ============================================================
   AI SERVICES SECTION
   ============================================================ */

.de-ai-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(250,245,255,0.30) 50%, #ffffff 100%);
  overflow: hidden;
}

.de-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.de-ai-tile {
  display: block;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.3s ease;
}

.de-ai-tile:hover {
  border-color: #e9d5ff;
  box-shadow: 0 10px 40px rgba(147,51,234,0.10);
  color: inherit;
  text-decoration: none;
}

.de-ai-tile-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.de-ai-tile:hover .de-ai-tile-icon { transform: scale(1.10); }

.de-ai-tile-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-ai-tile-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.de-ai-tile:hover .de-ai-tile-name { color: #7c3aed; }

.de-ai-tile-desc { font-size: 12px; color: var(--de-color-text-secondary); }

.de-ai-tile--more {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  border-color: transparent;
}

.de-ai-tile--more .de-ai-tile-name  { color: #ffffff; }
.de-ai-tile--more .de-ai-tile-desc  { color: rgba(255,255,255,0.80); }
.de-ai-tile--more .de-ai-tile-icon  { background: rgba(255,255,255,0.20); backdrop-filter: blur(8px); }
.de-ai-tile--more:hover             { border-color: transparent; box-shadow: 0 10px 40px rgba(147,51,234,0.30); color: inherit; }
.de-ai-tile--more:hover .de-ai-tile-name { color: #ffffff; }

/* ============================================================
   SPECIALIZED MARKETING SECTION
   ============================================================ */

.de-special-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.de-special-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.de-special-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.de-special-orb--1 { top: 0; left: 0;   width: 384px; height: 384px; background: rgba(147,51,234,0.20); }
.de-special-orb--2 { bottom: 0; right: 0; width: 384px; height: 384px; background: rgba(236,72,153,0.20); }
.de-special-orb--3 {
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: rgba(59,130,246,0.10);
  filter: blur(80px);
}

.de-special-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.de-special-tile {
  display: block;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.3s ease;
}

.de-special-tile:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: inherit;
  text-decoration: none;
}

.de-special-tile-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.de-special-tile:hover .de-special-tile-icon { transform: scale(1.10); }

.de-special-tile-icon svg {
  width: 24px; height: 24px;
  display: block;
}

.de-special-tile-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.de-special-tile-desc { font-size: 12px; color: rgba(255,255,255,0.50); }

/* ============================================================
   ALL SERVICES SECTION
   ============================================================ */

.de-all-services {
  padding: 64px 0;
  background-color: var(--de-color-gray-light);
}

.de-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-svc-tile {
  display: block;
  padding: 24px;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.3s ease;
}

.de-svc-tile:hover {
  border-color: #e9d5ff;
  box-shadow: 0 10px 40px rgba(147,51,234,0.10);
  color: inherit;
  text-decoration: none;
}

.de-svc-icon {
  width: 40px; height: 40px;
  fill: none;
  stroke: #9333ea;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
  display: block;
}

.de-svc-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-svc-desc {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
}

.de-svc-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #9333ea;
  text-decoration: none;
}

.de-svc-more svg {
  width: 12px; height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */

.de-why-section {
  padding: 64px 0;
  background: #ffffff;
}

.de-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-why-card {
  padding: 24px 32px;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.de-why-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.de-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 20px;
}

.de-why-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 12px;
}

.de-why-desc {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   SERVING MUMBAI SECTION
   ============================================================ */

.de-mumbai-section {
  padding: 64px 0;
  background: #1a1a2e;
  text-align: center;
}

.de-mumbai-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-mumbai-h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.de-mumbai-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
  max-width: 640px;
  margin: 0 auto 32px;
}

.de-mumbai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--de-radius-pill);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.de-mumbai-btn:hover {
  background: rgba(255,255,255,0.20);
  color: #ffffff;
  text-decoration: none;
}

.de-mumbai-btn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   HOME CTA SECTION
   ============================================================ */

.de-home-cta-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.de-home-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #faf5ff, #fce7f3, #fff7ed, #fefce8);
}

.de-home-cta-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316, #eab308);
}

.de-home-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
  text-align: center;
}

.de-home-cta-h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-home-cta-desc {
  font-size: 17px;
  color: rgba(29,29,31,0.70);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.de-home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(147,51,234,0.30);
  transition: all 0.3s ease;
}

.de-home-cta-btn:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(147,51,234,0.50);
}

.de-home-cta-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */

@media (min-width: 640px) {
  .de-hero                 { padding-top: 96px; }
  .de-hero-h1              { font-size: 56px; }
  .de-hero-desc            { font-size: 19px; }
  .de-stats-section        { padding: 80px 0; }
  .de-ai-section           { padding: 80px 0; }
  .de-special-section      { padding: 80px 0; }
  .de-all-services         { padding: 80px 0; }
  .de-why-section          { padding: 80px 0; }
  .de-mumbai-section       { padding: 80px 0; }
  .de-home-cta-section     { padding: 80px 0; }
  .de-section-header       { margin-bottom: 64px; }
  .de-stat-number          { font-size: 56px; }
  .de-svc-tile             { padding: 32px; }
  .de-home-cta-h2          { font-size: 40px; }
  .de-home-cta-desc        { font-size: 19px; }
}

@media (min-width: 768px) {
  .de-hero-h1              { font-size: 64px; }
  .de-stats-grid           { grid-template-columns: repeat(4, 1fr); }
  .de-ai-grid              { grid-template-columns: repeat(3, 1fr); }
  .de-special-grid         { grid-template-columns: repeat(4, 1fr); }
  .de-services-grid        { grid-template-columns: repeat(2, 1fr); }
  .de-why-grid             { grid-template-columns: repeat(3, 1fr); }
  .de-section-h2           { font-size: 36px; }
  .de-mumbai-h2            { font-size: 36px; }
  .de-home-cta-h2          { font-size: 48px; }
}

@media (min-width: 1024px) {
  .de-hero-grid            { grid-template-columns: 7fr 5fr; gap: 48px; }
  .de-hero-visual          { display: block; }
  .de-hero-h1              { font-size: 72px; }
  .de-ai-grid              { grid-template-columns: repeat(6, 1fr); }
  .de-services-grid        { grid-template-columns: repeat(3, 1fr); }
  .de-section-h2           { font-size: 42px; }
  .de-mumbai-h2            { font-size: 42px; }
  .de-home-cta-h2          { font-size: 48px; }
}

/* Collapse 2-col grids on screens narrower than 400px (e.g. 320px legacy devices).
   The React design used 2-col at mobile, which works at 375px+.
   Below 400px the tile content becomes too cramped. */
@media (max-width: 399px) {
  .de-stats-grid,
  .de-ai-grid,
  .de-special-grid  { grid-template-columns: 1fr; }
  .de-stat-number   { font-size: 40px; }
  .de-hero-h1       { font-size: 34px; }
}

/* ============================================================
   17. INNER PAGES (About / Services / Contact)
   ============================================================ */

/* Pulse animation for inner hero orbs */
@keyframes de-orb-pulse {
  0%, 100% { opacity: 0.40; }
  50%       { opacity: 0.20; }
}

/* ---- Shared inner hero ---- */

.de-inner-hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: 64px;
  overflow: hidden;
}

.de-inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.de-inner-hero-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
}

.de-inner-hero-orb {
  position: absolute;
  width: 288px; height: 288px;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: de-orb-pulse 3s ease-in-out infinite;
}

.de-inner-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-inner-hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  /* Animate on page-load via CSS — matches .de-hero-content on the homepage.
     fill-mode:both means the from-keyframe (opacity:0) applies before the
     animation starts, so there is no flash before the animation fires. */
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-inner-hero-h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-inner-hero-h1-grad {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.de-inner-hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(29, 29, 31, 0.70);
}

/* ---- About: story ---- */

.de-story-section {
  padding: 48px 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 245, 255, 0.30) 100%);
}

.de-story-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
  text-align: center;
}

.de-story-h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-story-p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--de-color-text-secondary);
  margin-bottom: 16px;
}

/* ---- About: light stat cards ---- */

.de-about-stats-section {
  padding: 48px 0;
  background: #ffffff;
}

.de-about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.de-about-stat-card {
  text-align: center;
  padding: 24px 16px 32px;
  border-radius: 16px;
}

.de-about-stat-card--purple { background: linear-gradient(135deg, #faf5ff, #fdf2f8); }
.de-about-stat-card--blue   { background: linear-gradient(135deg, #eff6ff, #ecfeff); }
.de-about-stat-card--orange { background: linear-gradient(135deg, #fff7ed, #fefce8); }
.de-about-stat-card--green  { background: linear-gradient(135deg, #f0fdf4, #f0fdfa); }

.de-about-stat-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  line-height: 1.1;
}

.de-about-stat-card--purple .de-about-stat-value { background-image: linear-gradient(to right, #9333ea, #ec4899); }
.de-about-stat-card--blue   .de-about-stat-value { background-image: linear-gradient(to right, #2563eb, #06b6d4); }
.de-about-stat-card--orange .de-about-stat-value { background-image: linear-gradient(to right, #f97316, #eab308); }
.de-about-stat-card--green  .de-about-stat-value { background-image: linear-gradient(to right, #22c55e, #14b8a6); }

.de-about-stat-label { font-size: 12px; color: var(--de-color-text-secondary); }

/* ---- About: Values (extends .de-why-card) ---- */

.de-values-section {
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.30) 0%, #ffffff 100%);
}

.de-values-section .de-why-card:hover {
  border-color: #e9d5ff;
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.10);
}

/* ---- About: Testimonials ---- */

.de-testimonials-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(239, 246, 255, 0.30) 100%);
}

.de-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-testimonial-card {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 24px 32px;
  transition: var(--de-transition);
}

.de-testimonial-card:hover {
  border-color: #fef08a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.de-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.de-testimonial-star {
  width: 16px; height: 16px;
  fill: #facc15;
  stroke: #facc15;
  stroke-width: 0.5;
  display: block;
  flex-shrink: 0;
}

.de-testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-testimonial-name    { font-size: 14px; font-weight: 600; color: var(--de-color-text); margin-bottom: 2px; }
.de-testimonial-company { font-size: 12px; color: var(--de-color-text-secondary); }

/* ---- Inner-page CTA ---- */

.de-inner-cta-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  text-align: center;
}

.de-inner-cta-bg     { position: absolute; inset: 0; }
.de-inner-cta-stripe { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1; }

.de-inner-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-inner-cta-content { max-width: 720px; margin: 0 auto; }

.de-inner-cta-h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-inner-cta-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(29, 29, 31, 0.70);
  margin-bottom: 32px;
}

.de-inner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.30);
  transition: all 0.3s ease;
}

.de-inner-cta-btn:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(147, 51, 234, 0.40);
}

/* ---- Services: colored gradient icon boxes ---- */

.de-services-page-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 245, 255, 0.30) 100%);
}

/* Title turns purple on hover (matches React group-hover:text-purple-600) */
.de-services-page-section .de-svc-tile:hover .de-svc-title { color: #9333ea; }

/* Arrow nudges right on hover */
.de-services-page-section .de-svc-tile:hover .de-svc-more svg { transform: translateX(3px); }

.de-svc-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.de-svc-tile:hover .de-svc-icon-box { transform: scale(1.05); }

.de-svc-icon-box svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Services: Mumbai CTA banner ---- */

.de-mumbai-banner-section { padding: 48px 0; background: #ffffff; }

.de-mumbai-banner-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  border-radius: 16px;
}

.de-mumbai-banner-h3   { font-size: 19px; font-weight: 600; color: var(--de-color-text); margin-bottom: 4px; }
.de-mumbai-banner-desc { font-size: 14px; color: var(--de-color-text-secondary); }

.de-mumbai-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--de-transition);
  flex-shrink: 0;
}

.de-mumbai-banner-btn:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
}

.de-mumbai-banner-btn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Contact page ---- */

.de-contact-section {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(236, 254, 255, 0.30) 100%);
}

.de-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.de-contact-info-heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-contact-info-desc {
  font-size: 15px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.de-contact-items { display: flex; flex-direction: column; gap: 20px; }

.de-contact-item { display: flex; align-items: flex-start; gap: 16px; }

.de-contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.de-contact-item-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-contact-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 4px;
}

.de-contact-item-content {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

a.de-contact-item-content:hover { color: #9333ea; text-decoration: none; }

/* Contact form card */

.de-contact-form-card {
  background: #ffffff;
  border: 1px solid #ecfeff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.05);
}

.de-contact-form-h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-form-field   { margin-bottom: 16px; }

.de-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-form-captcha-box {
  padding: 16px;
  background: linear-gradient(to right, #ecfeff, #eff6ff);
  border-radius: 12px;
  margin-bottom: 16px;
}

.de-form-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(to right, #14b8a6, #3b82f6);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.30);
  transition: var(--de-transition);
}

.de-form-submit-btn:hover    { background: linear-gradient(to right, #0d9488, #2563eb); }
.de-form-submit-btn:disabled { opacity: 0.50; cursor: not-allowed; }

.de-form-submit-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-form-feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.de-form-feedback svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-form-feedback--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.de-form-feedback--error svg { stroke: #dc2626; }

/* Visually hidden honeypot — must not be reachable by humans */
.de-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---- Inner pages responsive ---- */

@media (min-width: 640px) {
  .de-inner-hero          { padding-top: 128px; padding-bottom: 80px; }
  .de-inner-hero-h1       { font-size: 48px; }
  .de-inner-hero-desc     { font-size: 19px; }
  .de-story-section       { padding: 64px 0; }
  .de-story-h2            { font-size: 32px; }
  .de-story-p             { font-size: 17px; }
  .de-about-stats-section { padding: 64px 0; }
  .de-about-stat-value    { font-size: 40px; }
  .de-about-stat-label    { font-size: 14px; }
  .de-contact-form-card   { padding: 32px; }
  .de-inner-cta-h2        { font-size: 32px; }
}

@media (min-width: 768px) {
  .de-inner-hero-h1          { font-size: 56px; }
  .de-about-stats-grid       { grid-template-columns: repeat(4, 1fr); }
  .de-about-stat-value       { font-size: 48px; }
  .de-testimonials-grid      { grid-template-columns: repeat(3, 1fr); }
  .de-mumbai-banner-card     { flex-direction: row; align-items: center; justify-content: space-between; }
  .de-contact-grid           { grid-template-columns: 1fr 1fr; }
  .de-inner-cta-h2           { font-size: 40px; }
}

/* ============================================================
   15. ACCESSIBILITY UTILITIES
   ============================================================ */

/* Screen-reader only — visually hidden but announced by assistive tech */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal skip link on keyboard focus — positioned above the navbar */
.sr-only-focusable:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--de-color-primary);
  color: #ffffff;
  border-radius: var(--de-radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}

/* ============================================================
   16. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  /* Disable all animations and transitions globally */
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }

  /* Scroll-reveal: ensure all elements are visible regardless of JS */
  .de-reveal {
    opacity:    1    !important;
    transform:  none !important;
    transition: none !important;
  }

  /* SVG lines: show as static decorations instead of animated */
  .de-anim-line {
    stroke-dasharray:  none;
    stroke-dashoffset: 0;
  }

  /* Orbs: purely decorative — hide entirely at rest */
  .de-hero-orb { display: none; }
}


/* ============================================================
   18. AI SERVICE PAGES (archive + single)
   All colour theming is driven by CSS custom properties set
   inline on .de-as-page by the PHP template.
   ============================================================ */

/* CSS custom property defaults (overridden per-page inline) */
.de-as-page {
  --as-from:         #ea580c;
  --as-to:           #ef4444;
  --as-light:        #fff7ed;
  --as-border:       #fed7aa;
  --as-text:         #ea580c;
  --as-hero-bg:      linear-gradient(135deg,#fff7ed 0%,#ffffff 50%,#fef2f2 100%);
  --as-solutions-bg: linear-gradient(135deg,#fff7ed,#fef2f2);
  --as-cta-bg:       linear-gradient(to right,#ea580c,#ef4444);
  --as-challenge-bg: linear-gradient(135deg,#ffffff,#fff7ed);
}

/* ---- Archive ---- */

.de-as-archive-section {
  padding: 64px 0;
  background: var(--de-color-gray-light);
}

.de-as-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.de-as-archive-card {
  display: block;
  padding: 24px;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.de-as-archive-card:hover {
  border-color: #e9d5ff;
  box-shadow: 0 12px 40px rgba(147, 51, 234, 0.12);
  text-decoration: none;
  color: inherit;
  transform: translateY(-4px);
}

.de-as-archive-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.de-as-archive-card:hover .de-as-archive-icon { transform: scale(1.08); }

.de-as-archive-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-as-archive-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.de-as-archive-card:hover .de-as-archive-name { color: #9333ea; }

.de-as-archive-tagline {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  /* Clamp to 2 lines so all cards stay consistent height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.de-as-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #9333ea;
  text-decoration: none;
}

.de-as-archive-link svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.de-as-archive-card:hover .de-as-archive-link svg { transform: translateX(3px); }

/* ---- Single: hero ---- */

.de-as-hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: 64px;
  overflow: hidden;
}

.de-as-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--as-hero-bg);
}

.de-as-hero-orb {
  position: absolute;
  top: 80px; right: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

.de-as-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-as-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.de-as-hero-content {
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-as-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--as-border);
  border-radius: var(--de-radius-pill);
  margin-bottom: 24px;
}

.de-as-hero-badge svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--as-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.de-as-hero-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--as-text);
}

.de-as-hero-h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-as-hero-highlight {
  background: linear-gradient(to right, var(--as-from), var(--as-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.de-as-hero-subtitle {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 32px;
}

.de-as-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #6b7280;
}

.de-as-hero-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
}

.de-as-hero-bullet svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: #22c55e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stats panel */
.de-as-stats-panel {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.10);
  animation: de-fade-in-up 0.7s ease-out 0.2s both;
}

.de-as-stats-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 24px;
}

.de-as-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  background: var(--as-hero-bg);
  margin-bottom: 12px;
}

.de-as-stat-item:last-child { margin-bottom: 0; }

.de-as-stat-label  { font-size: 14px; color: #6b7280; }
.de-as-stat-metric {
  font-size: 24px;
  font-weight: 700;
  color: var(--as-text);
}

/* ---- Challenges section ---- */

.de-as-challenges-section { padding: 64px 0; background: #ffffff; }

.de-as-challenges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.de-as-challenge-card {
  padding: 24px;
  border: 1px solid var(--as-border);
  border-radius: 16px;
  background: var(--as-challenge-bg);
}

.de-as-challenge-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-as-challenge-problem {
  font-size: 14px;
  color: #dc2626;
  margin-bottom: 8px;
}

.de-as-challenge-solution {
  font-size: 14px;
  font-weight: 500;
  color: #16a34a;
}

/* ---- Solutions section ---- */

.de-as-solutions-section {
  padding: 64px 0;
  background: var(--as-solutions-bg);
}

.de-as-solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.de-as-solution-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.de-as-solution-card:hover { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12); }

.de-as-solution-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-as-solution-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.de-as-features-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.de-as-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--de-color-text);
}

.de-as-feature-item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--as-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

/* ---- Workflow section ---- */

.de-as-workflow-section { padding: 64px 0; background: #ffffff; }

.de-as-workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-as-step {
  text-align: center;
  padding: 24px 20px;
  border: 2px solid var(--as-border);
  border-radius: 16px;
  background: var(--as-solutions-bg);
}

.de-as-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--as-from), var(--as-to));
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.de-as-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-as-step-desc { font-size: 13px; color: #6b7280; }

/* ---- Use cases section ---- */

.de-as-use-cases-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #f9fafb, var(--as-light));
}

.de-as-use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.de-as-use-case-card {
  text-align: center;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}

.de-as-use-case-card:hover { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10); }

.de-as-use-case-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 8px;
}

.de-as-use-case-desc { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* ---- FAQ section ---- */

.de-as-faqs-section { padding: 64px 0; background: #ffffff; }

.de-as-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.de-as-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

/* <summary> is the clickable question row */
.de-as-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--de-color-text);
  cursor: pointer;
  list-style: none;  /* removes the default triangle marker */
  transition: background 0.2s ease;
  gap: 16px;
}

/* Remove WebKit's default disclosure triangle */
.de-as-faq-q::-webkit-details-marker { display: none; }
.de-as-faq-q::marker { display: none; }

.de-as-faq-item:hover .de-as-faq-q { background: #f9fafb; }

.de-as-faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: #6b7280;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.de-as-faq-item[open] .de-as-faq-chevron { transform: rotate(180deg); }

.de-as-faq-a {
  padding: 0 24px 16px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

/* ---- Related services ---- */

.de-as-related-section {
  padding: 48px 0;
  background: var(--as-solutions-bg);
}

.de-as-related-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--de-color-text);
  text-align: center;
  margin-bottom: 24px;
}

.de-as-related-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.de-as-related-pill {
  padding: 10px 20px;
  background: #ffffff;
  border: 2px solid var(--as-border);
  border-radius: var(--de-radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--de-color-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.de-as-related-pill:hover {
  background: linear-gradient(to right, var(--as-from), var(--as-to));
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

/* ---- Final CTA ---- */

.de-as-final-cta {
  padding: 80px 0;
  background: var(--as-cta-bg);
  text-align: center;
}

.de-as-final-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-as-final-cta-h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.de-as-final-cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.6;
  margin-bottom: 32px;
}

.de-as-final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #ffffff;
  color: var(--as-text);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
  transition: all 0.3s ease;
}

.de-as-final-cta-btn:hover {
  transform: scale(1.05);
  color: var(--as-text);
  text-decoration: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.de-as-final-cta-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   AI SERVICE RESPONSIVE
   ============================================================ */

@media (min-width: 640px) {
  .de-as-hero         { padding-top: 128px; padding-bottom: 80px; }
  .de-as-hero-h1      { font-size: 52px; }
  .de-as-final-cta-h2 { font-size: 52px; }
}

@media (min-width: 768px) {
  .de-as-archive-grid     { grid-template-columns: repeat(2, 1fr); }
  .de-as-challenges-grid  { grid-template-columns: repeat(2, 1fr); }
  .de-as-solutions-grid   { grid-template-columns: repeat(2, 1fr); }
  .de-as-use-cases-grid   { grid-template-columns: repeat(4, 1fr); }
  .de-as-hero-h1          { font-size: 60px; }
}

@media (min-width: 1024px) {
  .de-as-archive-grid   { grid-template-columns: repeat(3, 1fr); }
  .de-as-solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .de-as-hero-grid      { grid-template-columns: 1fr 1fr; gap: 48px; }
  .de-as-workflow-steps { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   AI SERVICE ARCHIVE — additional sections
   ============================================================ */

/* Archive stats bar (dark strip) */
.de-as-archive-stats {
  background: linear-gradient(135deg, #1d1d1f 0%, #2d1b69 100%);
  padding: 40px 0;
}

.de-as-archive-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
}

.de-as-archive-stat-cell {
  background: rgba(255,255,255,0.05);
  padding: 24px 20px;
  text-align: center;
}

.de-as-archive-stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #c084fc, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.de-as-archive-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust indicator bullets in archive hero */
.de-as-trust-bullets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  font-size: 14px;
  color: #6b7280;
}

.de-as-trust-bullet {
  display: flex;
  align-items: center;
  gap: 6px;
}

.de-as-trust-bullet svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: #22c55e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Business problems section */
.de-as-problems-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
}

.de-as-problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-as-problem-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.de-as-problem-title  { font-size: 17px; font-weight: 700; color: var(--de-color-text); margin-bottom: 8px; }
.de-as-problem-issue  { font-size: 14px; color: #dc2626; margin-bottom: 6px; }
.de-as-problem-fix    { font-size: 14px; font-weight: 500; color: #16a34a; }

/* AI transformation workflow (archive) */
.de-as-transformation-section { padding: 64px 0; background: #ffffff; }

.de-as-transformation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.de-as-transformation-step {
  position: relative;
  padding: 24px;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  border: 2px solid #e9d5ff;
  border-radius: 16px;
  text-align: center;
}

.de-as-transformation-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.de-as-transformation-title { font-size: 19px; font-weight: 700; color: var(--de-color-text); margin-bottom: 6px; }
.de-as-transformation-desc  { font-size: 14px; color: #6b7280; }

/* Industries section */
.de-as-industries-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.de-as-industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.de-as-industry-pill {
  display: inline-block;
  padding: 10px 24px;
  background: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: var(--de-radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--de-color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: default;
}

.de-as-industry-pill:hover {
  background: linear-gradient(to right, #9333ea, #ec4899);
  border-color: transparent;
  color: #ffffff;
}

/* Why choose section */
.de-as-why-section { padding: 64px 0; background: #ffffff; }

.de-as-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.de-as-why-card {
  text-align: center;
  padding: 24px 16px;
}

.de-as-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  margin: 0 auto 16px;
}

.de-as-why-icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-as-why-title { font-size: 17px; font-weight: 700; color: var(--de-color-text); margin-bottom: 6px; }
.de-as-why-desc  { font-size: 14px; color: #6b7280; line-height: 1.5; }

/* Archive final CTA */
.de-as-archive-cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
  text-align: center;
}

.de-as-archive-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-as-archive-cta-h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.de-as-archive-cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.90);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.de-as-archive-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #ffffff;
  color: #9333ea;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.20);
  transition: all 0.3s ease;
}

.de-as-archive-cta-btn:hover {
  transform: scale(1.05);
  color: #9333ea;
  text-decoration: none;
}

.de-as-archive-cta-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-as-archive-cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
}

/* Archive section responsive */
@media (min-width: 640px) {
  .de-as-archive-stat-num       { font-size: 48px; }
  .de-as-archive-cta-h2         { font-size: 52px; }
}

@media (min-width: 768px) {
  .de-as-archive-stats-grid     { grid-template-columns: repeat(4, 1fr); }
  .de-as-problems-grid          { grid-template-columns: repeat(2, 1fr); }
  .de-as-transformation-grid    { grid-template-columns: repeat(2, 1fr); }
  .de-as-why-grid               { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .de-as-problems-grid          { grid-template-columns: repeat(3, 1fr); }
  .de-as-transformation-grid    { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   19. GENERIC PAGE TEMPLATE (page.php)
   ============================================================ */

.de-page-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 48px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 60%, #faf5ff 100%);
  text-align: center;
}

.de-page-hero-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316, #eab308);
}

.de-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-page-hero h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--de-color-text);
  animation: de-fade-in-up 0.6s ease-out both;
}

/* Page prose content */
.de-page-content-section {
  padding: 48px 0 80px;
  background: #ffffff;
}

.de-page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--de-color-text);
}

.de-page-content h2 { font-size: 24px; margin: 40px 0 16px; }
.de-page-content h3 { font-size: 20px; margin: 32px 0 12px; }
.de-page-content p  { margin-bottom: 20px; }

.de-page-content a {
  color: var(--de-color-primary);
  text-decoration: underline;
}

.de-page-content ul,
.de-page-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.de-page-content li  { margin-bottom: 8px; }

.de-page-content blockquote {
  border-left: 4px solid var(--de-color-primary);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--de-color-text-secondary);
  font-style: italic;
}

.de-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.de-page-content th,
.de-page-content td {
  padding: 10px 16px;
  border: 1px solid var(--de-color-border);
  text-align: left;
}

.de-page-content th {
  background: var(--de-color-gray-light);
  font-weight: 600;
}

@media (min-width: 640px) {
  .de-page-hero { padding-top: 140px; padding-bottom: 64px; }
  .de-page-hero h1 { font-size: 48px; }
}


/* ============================================================
   20. THANK YOU PAGE
   ============================================================ */

.de-thankyou-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #ecfeff 100%);
  text-align: center;
  padding: 120px var(--de-container-pad) 80px;
  position: relative;
  overflow: hidden;
}

.de-thankyou-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #22c55e, #14b8a6, #06b6d4);
}

.de-thankyou-inner {
  max-width: 600px;
  margin: 0 auto;
  animation: de-fade-in-up 0.7s ease-out both;
}

.de-thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  margin: 0 auto 24px;
}

.de-thankyou-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-thankyou-h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-thankyou-desc {
  font-size: 17px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.de-thankyou-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.de-thankyou-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.25);
  transition: all 0.3s ease;
}

.de-thankyou-btn-primary:hover {
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.02);
}

.de-thankyou-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--de-color-text);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  border: 1px solid var(--de-color-border);
  text-decoration: none;
  transition: all 0.3s ease;
}

.de-thankyou-btn-ghost:hover {
  border-color: #e9d5ff;
  color: #9333ea;
  text-decoration: none;
}

@media (min-width: 640px) {
  .de-thankyou-h1 { font-size: 48px; }
}


/* ============================================================
   21. 404 PAGE
   ============================================================ */

.de-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  text-align: center;
  padding: 120px var(--de-container-pad) 80px;
  position: relative;
  overflow: hidden;
}

.de-404-orb-1 {
  position: absolute;
  top: 0; left: 25%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,51,234,0.15), transparent);
  filter: blur(40px);
}

.de-404-orb-2 {
  position: absolute;
  bottom: 0; right: 25%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.12), transparent);
  filter: blur(40px);
}

.de-404-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-404-num {
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(to right, #c084fc, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.de-404-h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.de-404-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  margin-bottom: 40px;
}

.de-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.de-404-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  transition: all 0.3s ease;
}

.de-404-btn-primary:hover { color: #ffffff; text-decoration: none; transform: scale(1.02); }

.de-404-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  transition: all 0.3s ease;
}

.de-404-btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  text-decoration: none;
}

@media (min-width: 640px) {
  .de-404-num { font-size: 160px; }
  .de-404-h2  { font-size: 36px; }
}


/* ============================================================
   22. WHATSAPP FLOATING WIDGET
   ============================================================ */

.de-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
  transition: all 0.3s ease;
}

.de-whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}

.de-whatsapp-btn svg {
  width: 30px; height: 30px;
  fill: #ffffff;
  display: block;
}


/* ============================================================
   24. BLOG SYSTEM
   ============================================================ */

/* Reading progress bar */
#de-reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Blog archive hero */
.de-blog-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 64px;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 50%, #fdf2f8 100%);
  text-align: center;
  overflow: hidden;
}

.de-blog-hero-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316, #eab308);
}

.de-blog-hero h1,
.de-blog-hero-h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--de-color-text);
  margin-bottom: 16px;
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-blog-hero-desc {
  font-size: 19px;
  color: var(--de-color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category filter pills */
.de-blog-cats {
  padding: 28px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--de-color-border);
}

.de-blog-cats-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.de-blog-cat-pill {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  background: var(--de-color-gray-light);
  color: var(--de-color-text-secondary);
  border: 1px solid var(--de-color-border);
}

.de-blog-cat-pill:hover,
.de-blog-cat-pill.is-active {
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  border-color: transparent;
  text-decoration: none;
}

/* Blog archive section */
.de-blog-archive-section {
  padding: 64px 0;
  background: var(--de-color-gray-light);
}

/* Blog post grid */
.de-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Blog card */
.de-blog-card-full {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.de-blog-card-full:hover {
  border-color: #e9d5ff;
  box-shadow: 0 12px 40px rgba(147, 51, 234, 0.10);
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

.de-blog-card-img-wrap { overflow: hidden; }

.de-blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.de-blog-card-full:hover .de-blog-card-img { transform: scale(1.04); }

.de-blog-card-no-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.de-blog-card-no-img svg {
  width: 48px; height: 48px;
  fill: none;
  stroke: #e9d5ff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-blog-card-body { padding: 24px; }

.de-blog-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--de-radius-pill);
  background: linear-gradient(to right, #faf5ff, #fdf2f8);
  color: #9333ea;
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.de-blog-cat-badge:hover {
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  text-decoration: none;
}

.de-blog-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--de-color-text);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.de-blog-card-full:hover .de-blog-card-title { color: #9333ea; }

.de-blog-card-excerpt {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.de-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--de-color-text-secondary);
  flex-wrap: wrap;
}

.de-blog-card-meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--de-color-text-muted);
  flex-shrink: 0;
}

.de-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.de-blog-card-full:hover .de-blog-read-more { gap: 8px; }

.de-blog-read-more svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Featured card (first post) */
.de-blog-card-featured { display: grid; grid-template-columns: 1fr; }

/* Pagination */
.de-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.de-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--de-color-border);
  background: #ffffff;
  color: var(--de-color-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.de-blog-pagination .page-numbers:hover,
.de-blog-pagination .page-numbers.current {
  background: linear-gradient(to right, #9333ea, #ec4899);
  border-color: transparent;
  color: #ffffff;
}

/* ---- Single post ---- */

#de-reading-bar { display: block; } /* ensure visible */

/* Legacy single-post hero rules (kept for non-breaking reference only).
   Active hero styles are in the "Single Blog Post" block further below. */

.de-post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--de-color-text-secondary);
}

.de-post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.de-post-meta-item svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.de-post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin: 40px auto 0;
  display: block;
}

/* Post body */
.de-post-body {
  padding: 48px 0 80px;
  background: #ffffff;
}

.de-post-body-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

/* Table of contents */
.de-toc {
  background: var(--de-color-gray-light);
  border: 1px solid var(--de-color-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.de-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--de-color-text-secondary);
  margin-bottom: 12px;
}

.de-toc-list { list-style: none; margin: 0; padding: 0; }
.de-toc-list li { margin-bottom: 8px; }

.de-toc-list a {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.de-toc-list a:hover { color: #9333ea; text-decoration: none; }
.de-toc-list .de-toc-h3 { padding-left: 16px; }

/* Post content */
.de-post-content { font-size: 17px; line-height: 1.8; color: var(--de-color-text); }

.de-post-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.02em; color: var(--de-color-text); }
.de-post-content h3 { font-size: 21px; font-weight: 600; margin: 32px 0 12px; color: var(--de-color-text); }
.de-post-content h4 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
.de-post-content p  { margin-bottom: 20px; }

.de-post-content a  { color: var(--de-color-primary); text-decoration: underline; text-underline-offset: 2px; }

.de-post-content ul,
.de-post-content ol  { padding-left: 24px; margin-bottom: 20px; }
.de-post-content li  { margin-bottom: 8px; }

.de-post-content blockquote {
  border-left: 4px solid #9333ea;
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--de-color-gray-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--de-color-text-secondary);
}

.de-post-content img     { border-radius: 12px; max-width: 100%; height: auto; margin: 24px 0; display: block; }
.de-post-content pre     { background: #1d1d1f; color: #e5e7eb; padding: 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.de-post-content code    { background: var(--de-color-gray-light); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.de-post-content pre code { background: none; padding: 0; color: inherit; }

/* Social sharing */
.de-post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid var(--de-color-border);
  flex-wrap: wrap;
}

.de-post-share-label { font-size: 14px; font-weight: 600; color: var(--de-color-text); }

.de-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--de-radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.de-share-btn--fb   { background: #1877f2; color: #fff; }
.de-share-btn--x    { background: #000;    color: #fff; }
.de-share-btn--li   { background: #0a66c2; color: #fff; }
.de-share-btn--wa   { background: #25d366; color: #fff; }
.de-share-btn--copy { background: var(--de-color-gray-light); color: var(--de-color-text); border: 1px solid var(--de-color-border); }

.de-share-btn:hover  { opacity: 0.88; text-decoration: none; transform: translateY(-1px); }

.de-share-btn svg   { width: 14px; height: 14px; fill: currentColor; display: block; }

/* Author box */
.de-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--de-color-gray-light);
  border-radius: 16px;
  margin-top: 48px;
}

.de-author-avatar          { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.de-author-avatar-placeholder {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
}

.de-author-name  { font-size: 17px; font-weight: 700; color: var(--de-color-text); margin-bottom: 4px; }
.de-author-role  { font-size: 13px; color: #9333ea; font-weight: 500; margin-bottom: 8px; }
.de-author-bio   { font-size: 14px; color: var(--de-color-text-secondary); line-height: 1.6; margin: 0; }

/* Related posts */
.de-related-posts-section { padding: 64px 0; background: var(--de-color-gray-light); }
.de-related-posts-grid    { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* Newsletter CTA */
.de-newsletter-cta {
  padding: 64px 0;
  background: linear-gradient(135deg, #1d1d1f 0%, #2d1b69 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.de-newsletter-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.de-newsletter-inner   { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 var(--de-container-pad); }
.de-newsletter-h2      { font-size: 32px; font-weight: 700; color: #ffffff; margin-bottom: 12px; letter-spacing: -0.02em; }
.de-newsletter-desc    { font-size: 16px; color: rgba(255,255,255,0.70); margin-bottom: 32px; line-height: 1.6; }

.de-newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.de-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--de-radius-pill);
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.de-newsletter-input::placeholder { color: rgba(255,255,255,0.50); }
.de-newsletter-input:focus { outline: none; border-color: rgba(255,255,255,0.50); background: rgba(255,255,255,0.15); }

.de-newsletter-btn {
  padding: 14px 28px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--de-radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.de-newsletter-btn:hover     { background: linear-gradient(to right, #7e22ce, #db2777); }
.de-newsletter-btn:disabled  { opacity: 0.60; cursor: not-allowed; }

.de-newsletter-msg { margin-top: 16px; font-size: 14px; min-height: 20px; color: rgba(255,255,255,0.80); }

/* Category archive hero */
.de-cat-hero { padding: 100px 0 48px; background: linear-gradient(135deg, #faf5ff 0%, #ffffff 60%); text-align: center; position: relative; overflow: hidden; }
.de-cat-hero-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #9333ea; margin-bottom: 12px; }
.de-cat-hero-h1    { font-size: 40px; font-weight: 700; color: var(--de-color-text); letter-spacing: -0.025em; }

/* Search results */
.de-search-hero    { padding: 100px 0 48px; background: linear-gradient(135deg, #faf5ff 0%, #ffffff 60%); }
.de-search-heading { font-size: 32px; font-weight: 700; color: var(--de-color-text); margin-bottom: 8px; }
.de-search-count   { font-size: 15px; color: var(--de-color-text-secondary); margin-bottom: 32px; }

.de-search-input {
  width: 100%;
  max-width: 600px;
  padding: 14px 20px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--de-color-border);
  border-radius: var(--de-radius);
  background: #ffffff;
  color: var(--de-color-text);
  transition: border-color 0.2s ease;
}

.de-search-input:focus { outline: none; border-color: var(--de-color-primary); }

/* No posts state */
.de-no-posts { text-align: center; padding: 80px 0; }
.de-no-posts-icon { width: 64px; height: 64px; margin: 0 auto 24px; fill: none; stroke: #e9d5ff; stroke-width: 1.5; stroke-linecap: round; display: block; }
.de-no-posts h2 { font-size: 24px; font-weight: 600; color: var(--de-color-text); margin-bottom: 12px; }
.de-no-posts p  { font-size: 16px; color: var(--de-color-text-secondary); margin-bottom: 32px; }

/* Blog responsive */
@media (min-width: 640px) {
  .de-blog-hero h1,
  .de-blog-hero-h1  { font-size: 56px; }
  .de-post-hero h1  { font-size: 48px; }
  .de-newsletter-h2 { font-size: 40px; }
}

@media (min-width: 768px) {
  .de-blog-grid              { grid-template-columns: repeat(2, 1fr); }
  .de-related-posts-grid     { grid-template-columns: repeat(2, 1fr); }
  .de-blog-card-featured     { grid-template-columns: 1fr 1fr; }
  .de-blog-card-featured .de-blog-card-img { height: 100%; min-height: 280px; }
}

@media (min-width: 1024px) {
  .de-blog-grid          { grid-template-columns: repeat(3, 1fr); }
  .de-related-posts-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   23. DIGITAL SERVICE DETAIL PAGES (ServiceDetailPage.jsx)
   ============================================================ */

/* Hero — white background, icon + centered h1 */
.de-ds-hero {
  padding: 80px 0 64px;
  background: #ffffff;
  text-align: center;
}

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

.de-ds-hero-icon {
  margin: 0 auto 24px;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.de-ds-hero-icon svg,
.de-ds-hero-icon-svg {
  width: 64px; height: 64px;
  fill: none;
  stroke: var(--de-color-primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.de-ds-hero-h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--de-color-text);
  margin-bottom: 20px;
  animation: de-fade-in-up 0.6s ease-out both;
}

.de-ds-hero-subtitle {
  font-size: 19px;
  color: var(--de-color-text-secondary);
  line-height: 1.5;
}

/* Intro — gray background */
.de-ds-intro {
  padding: 64px 0;
  background: var(--de-color-gray-light);
}

.de-ds-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--de-container-pad);
}

.de-ds-intro-p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-ds-intro-p:last-child { margin-bottom: 0; }

/* What We Offer — white bg, chip grid */
.de-ds-offers {
  padding: 64px 0;
  background: #ffffff;
}

.de-ds-offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.de-ds-offer-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--de-color-gray-light);
  border-radius: 12px;
  font-size: 14px;
  color: var(--de-color-text);
}

.de-ds-offer-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--de-color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Our Process — gray bg, numbered steps */
.de-ds-process {
  padding: 64px 0;
  background: var(--de-color-gray-light);
}

.de-ds-process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.de-ds-process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
}

.de-ds-process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--de-color-primary);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  flex-shrink: 0;
}

.de-ds-process-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--de-color-text);
  margin-bottom: 6px;
}

.de-ds-process-desc {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.5;
}

/* Key Benefits — white bg, chip grid */
.de-ds-benefits {
  padding: 64px 0;
  background: #ffffff;
}

.de-ds-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.de-ds-benefit-chip {
  background: var(--de-color-gray-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--de-color-text);
}

.de-ds-benefit-chip p { margin: 0; }

/* CTA — gray bg */
.de-ds-cta {
  padding: 64px 0;
  background: var(--de-color-gray-light);
}

.de-ds-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.de-ds-cta-h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--de-color-text);
  margin-bottom: 16px;
}

.de-ds-cta-desc {
  font-size: 17px;
  color: var(--de-color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.de-ds-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  border-radius: var(--de-radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.30);
  transition: all 0.3s ease;
}

.de-ds-cta-btn:hover {
  background: linear-gradient(to right, #7e22ce, #db2777);
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.05);
}

.de-ds-cta-btn svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Digital service responsive */
@media (min-width: 640px) {
  .de-ds-hero       { padding-top: 120px; }
  .de-ds-hero-h1    { font-size: 56px; }
  .de-ds-cta-h2     { font-size: 40px; }
}

@media (min-width: 768px) {
  .de-ds-offers-grid    { grid-template-columns: repeat(2, 1fr); }
  .de-ds-benefits-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .de-ds-offers-grid    { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   Digital Service: "You May Also Need" related services section
   Mirrors React xh component + wa relationship data
   ================================================================ */

.de-ds-related {
  padding: 64px 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #fdf2f8 100%);
}

.de-ds-related-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e9d5ff;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.de-ds-related-badge svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-ds-related-grad {
  background: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.de-ds-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.de-ds-related-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.de-ds-related-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.10);
  transform: translateY(-2px);
  text-decoration: none;
}

.de-ds-related-icon {
  width: 40px; height: 40px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.de-ds-related-card:hover .de-ds-related-icon { transform: scale(1.1); }

.de-ds-related-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.de-ds-related-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--de-color-text);
  margin: 0 0 6px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.de-ds-related-card:hover .de-ds-related-name { color: #9333ea; }

.de-ds-related-tagline {
  font-size: 13px;
  color: var(--de-color-text-secondary);
  margin: 0 0 20px;
  line-height: 1.5;
}

.de-ds-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
}

.de-ds-related-link svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.de-ds-related-card:hover .de-ds-related-link svg { transform: translateX(3px); }

@media (min-width: 640px) {
  .de-ds-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .de-ds-related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   Digital Service: page wrapper (.de-ds-page)
   Referenced in single-digital_service.php; must not clip content.
   ================================================================ */

.de-ds-page {
  width: 100%;
  overflow-x: hidden;
}

/* ================================================================
   Blog: newsletter status message (written by blog.js)
   ================================================================ */

.de-newsletter-status {
  min-height: 20px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  transition: opacity 0.2s ease;
}

.de-newsletter-status--success { color: #86efac; }
.de-newsletter-status--error   { color: #fca5a5; }

/* ================================================================
   Blog: index card grid
   ================================================================ */

.de-blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.de-blog-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.de-blog-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.de-blog-card-img      { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.de-blog-card:hover .de-blog-card-img { transform: scale(1.04); }

.de-blog-card-body    { padding: 24px; }

.de-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.de-blog-card-date {
  font-size: 12px;
  color: var(--de-color-text-secondary);
}

.de-blog-card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9333ea;
  background: #f5f3ff;
  padding: 3px 10px;
  border-radius: 999px;
}

.de-blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--de-color-text);
  margin-bottom: 10px;
}

.de-blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.de-blog-card-title a:hover { color: #9333ea; }

.de-blog-card-excerpt {
  font-size: 14px;
  color: var(--de-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.de-blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
}

.de-blog-card-more svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.de-blog-card:hover .de-blog-card-more svg { transform: translateX(3px); }

/* Pagination */
.de-blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.de-blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 14px; font-weight: 500;
  color: var(--de-color-text); background: #ffffff; border: 1px solid #e5e7eb;
  text-decoration: none; transition: all 0.2s ease;
}
.de-blog-pagination .page-numbers.current,
.de-blog-pagination .page-numbers:hover {
  background: #9333ea; color: #ffffff; border-color: #9333ea;
}
.de-blog-pagination .prev,
.de-blog-pagination .next { width: auto; padding: 0 16px; border-radius: 999px; }
}

/* ================================================================
   Single Blog Post
   ================================================================ */

/* Reading progress bar */
.de-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, #9333ea, #ec4899, #f97316);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Post hero */
.de-post-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.de-post-hero-img-wrap {
  position: absolute;
  inset: 0;
}

.de-post-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.de-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.de-post-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #faf5ff 0%, #1d1d1f 100%);
}

.de-post-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px var(--de-container-pad) 48px;
  max-width: 860px;
  margin: 0 auto;
}

.de-post-hero-content { text-align: left; }

.de-post-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: linear-gradient(to right, #9333ea, #ec4899);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 20px;
}

.de-post-h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
}

/* No featured image: switch to dark text on the light gradient background */
.de-post-hero--no-image .de-post-h1 { color: var(--de-color-text); }

.de-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.de-post-meta-author { display: flex; align-items: center; gap: 8px; }
.de-post-meta-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.60); }
.de-post-meta-sep    { opacity: 0.50; }

/* No featured image: switch meta to dark text */
.de-post-hero--no-image .de-post-meta { color: var(--de-color-text-secondary); }
.de-post-hero--no-image .de-post-meta-avatar { border-color: var(--de-color-border); }

/* Post layout */
.de-post-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px var(--de-container-pad);
}

/* Article body */
.de-post-content { font-size: 17px; line-height: 1.75; color: var(--de-color-text); }
.de-post-content h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--de-color-text); margin: 48px 0 16px; }
.de-post-content h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--de-color-text); margin: 36px 0 12px; }
.de-post-content p  { margin-bottom: 24px; }
.de-post-content ul,
.de-post-content ol { margin: 0 0 24px 28px; }
.de-post-content li { margin-bottom: 8px; }
.de-post-content strong { font-weight: 700; color: var(--de-color-text); }
.de-post-content a  { color: #9333ea; text-decoration: underline; text-underline-offset: 3px; }
.de-post-content a:hover { color: #7e22ce; }
.de-post-content blockquote {
  border-left: 4px solid #9333ea;
  background: #faf5ff;
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--de-color-text-secondary);
}
.de-post-content img {
  max-width: 100%; height: auto;
  border-radius: 12px;
  margin: 32px 0;
}
.de-post-content code {
  background: #f5f3ff; color: #7c3aed;
  font-size: 14px; padding: 2px 6px; border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, monospace;
}
.de-post-content pre {
  background: #1d1d1f; color: #e5e7eb;
  padding: 24px; border-radius: 12px;
  overflow-x: auto; margin: 32px 0;
  font-size: 14px; line-height: 1.6;
}
.de-post-content pre code { background: none; color: inherit; padding: 0; }

/* Tags */
.de-post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 40px 0 32px;
}
.de-post-tag {
  padding: 5px 14px;
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #e9d5ff;
  transition: background 0.2s ease;
}
.de-post-tag:hover { background: #ede9fe; }

/* Share row */
.de-post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
}
.de-post-share-label { font-size: 14px; font-weight: 600; color: var(--de-color-text-secondary); }
.de-post-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.de-post-share-btn svg { width: 14px; height: 14px; }
.de-post-share-btn--x  { background: #1d1d1f; color: #ffffff; }
.de-post-share-btn--x:hover { background: #000000; color: #ffffff; }
.de-post-share-btn--li { background: #0077b5; color: #ffffff; }
.de-post-share-btn--li:hover { background: #005885; color: #ffffff; }

/* Author card */
.de-post-author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: #f5f3ff;
  border-radius: 16px;
  border: 1px solid #e9d5ff;
  margin-top: 48px;
}
.de-post-author-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.de-post-author-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9333ea; margin-bottom: 4px; }
.de-post-author-name  { font-size: 18px; font-weight: 700; color: var(--de-color-text); margin-bottom: 8px; }
.de-post-author-bio   { font-size: 14px; color: var(--de-color-text-secondary); line-height: 1.6; margin: 0; }

/* Related posts section */
.de-post-related-section { padding: 64px 0; background: #f5f5f7; }

/* Responsive: single post */
@media (min-width: 640px) {
  .de-post-h1 { font-size: 40px; }
  .de-post-hero { min-height: 560px; }
}

@media (min-width: 1024px) {
  .de-post-h1 { font-size: 48px; }
  .de-post-content h2 { font-size: 32px; }
}
