/* ═══════════════════════════════════════════════════
   DIGITAL EXPERIENCE & COMMERCE — Page Override
   Inherits: global.css + engineering-platforms.css
   This file adds unique components and accent shifts.
═══════════════════════════════════════════════════ */

/* ─── PAGE ACCENT ─── */
:root {
    --dec-accent: #c77dff;
    /* violet-purple for DEC page */
    --dec-accent-soft: rgba(199, 125, 255, 0.15);
    --dec-accent-glow: rgba(199, 125, 255, 0.2);
}

/* Override accent-cyan references for this page's eyebrows & step nums */
.dec-page .dec-eyebrow {
    color: var(--dec-accent);
}

.dec-page .dec-service-num,
.dec-page .dec-step-num {
    color: var(--dec-accent);
}

.dec-page .dec-icon {
    color: var(--dec-accent);
}

.dec-page .dec-faq-icon {
    color: var(--dec-accent);
}

/* CTA button in page accent */
.dec-btn-primary {
    background: var(--dec-accent) !important;
}

.dec-btn-primary:hover {
    background: #b56ef0 !important;
    box-shadow: 0 12px 40px var(--dec-accent-glow) !important;
}

/* Nav CTA in page accent */
.dec-nav-cta {
    background: var(--dec-accent) !important;
}

/* Process dots in page accent */
.dec-page .dec-dot {
    background: var(--dec-accent) !important;
    box-shadow: 0 0 16px var(--dec-accent-glow) !important;
}

/* Feature list hover color */
.dec-feature-list li:hover {
    color: var(--dec-accent) !important;
}

.dec-feature-list li:hover::before {
    opacity: 1;
    color: var(--dec-accent) !important;
}

/* Process track line in page accent */
.dec-page .sp-process-track::before {
    background: linear-gradient(to bottom, var(--dec-accent), transparent);
}

/* ─── HERO VISUAL (animated concentric rings) ─── */
.dec-hero-visual {
    position: absolute;
    right: 6vw;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .dec-hero-visual {
        display: none;
    }
}

.dec-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--dec-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dec-ring-pulse 4s ease-in-out infinite;
}

.dec-ring-1 {
    width: 160px;
    height: 160px;
    opacity: 0.6;
    animation-delay: 0s;
}

.dec-ring-2 {
    width: 280px;
    height: 280px;
    opacity: 0.3;
    animation-delay: 0.6s;
}

.dec-ring-3 {
    width: 400px;
    height: 400px;
    opacity: 0.12;
    animation-delay: 1.2s;
}

@keyframes dec-ring-pulse {

    0%,
    100% {
        opacity: inherit;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: calc(var(--base-opacity, 0.5) * 1.4);
        transform: translate(-50%, -50%) scale(1.04);
    }
}

.dec-hero-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dec-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px var(--dec-accent-glow), 0 0 60px var(--dec-accent-glow);
    animation: dec-dot-pulse 2s ease-in-out infinite;
}

@keyframes dec-dot-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px var(--dec-accent-glow);
    }

    50% {
        box-shadow: 0 0 60px var(--dec-accent), 0 0 100px var(--dec-accent-glow);
    }
}

/* ─── 3. BUSINESS IMPACT ─── */
.dec-impact-section {
    background: rgba(199, 125, 255, 0.02);
}

.dec-impact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8vw;
    align-items: start;
}

.dec-impact-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dec-impact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dec-impact-item:last-child {
    border-bottom: none;
}

.dec-impact-check {
    font-size: 14px;
    color: var(--dec-accent);
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px;
}

.dec-impact-item strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.dec-impact-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ─── 5. APPROACH ─── */
.dec-approach-section {
    background: linear-gradient(180deg, transparent, rgba(199, 125, 255, 0.025) 50%, transparent);
}

/* ─── 6. TECH GRID ─── */
.dec-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.dec-tech-block {
    padding: 40px 36px;
}

.dec-tech-num {
    font-size: 10px;
    color: var(--dec-accent);
    letter-spacing: 4px;
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.dec-tech-block h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 14px;
}

.dec-tech-block p {
    font-size: 14px;
    line-height: 1.7;
}

/* ─── 8. WORK GRID ─── */
.dec-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dec-work-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dec-work-card:hover {
    transform: translateY(-6px);
}

.dec-work-preview {
    height: 200px;
    background: linear-gradient(135deg, rgba(199, 125, 255, 0.08), rgba(10, 10, 15, 0.6));
    position: relative;
    overflow: hidden;
}

.dec-work-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 40% 50%, rgba(199, 125, 255, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dec-work-card:hover .dec-work-preview::after {
    opacity: 1;
}

.dec-work-body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dec-work-num {
    font-size: 10px;
    color: var(--dec-accent);
    letter-spacing: 4px;
    font-family: var(--font-heading);
}

.dec-work-body h3 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.dec-work-body p {
    font-size: 14px;
    line-height: 1.7;
}

/* ─── 9. ENGAGEMENT (5-col wider grid) ─── */
.dec-engagement-section {
    background: rgba(199, 125, 255, 0.015);
}

.dec-page .sp-engagement-featured {
    border-color: rgba(199, 125, 255, 0.35) !important;
    background: rgba(199, 125, 255, 0.06) !important;
}

.dec-page .sp-featured-tag {
    background: var(--dec-accent) !important;
}

.dec-page .sp-engagement-card li::before {
    color: var(--dec-accent);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .dec-impact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .dec-tech-grid,
    .dec-work-grid {
        grid-template-columns: 1fr;
    }
}