/* ============================================================
   E-Commerce Development Page - Modern Immersive Design
   ============================================================ */

/* ── Page Wrapper ────────────────────────────────────────────── */
.ec-page {
    background: var(--surface-1);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-primary);
    direction: rtl;
    position: relative;
}

.ec-page * {
    box-sizing: border-box;
}

.ec-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}





/* ── Floating CTA ────────────────────────────────────────────── */
.ec-floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9990;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.ec-floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.ec-floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    color: var(--white);
    padding: 14px 28px;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 32px var(--primary-alpha-40), 0 0 0 0 var(--primary-alpha-30);
    transition: all 0.3s ease;
    animation: ecPulseRing 2.5s ease-in-out infinite;
    font-family: var(--font-primary);
}

.ec-floating-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-alpha-50);
    color: var(--white);
}

@keyframes ecPulseRing {
    0%, 100% { box-shadow: 0 8px 32px var(--primary-alpha-40), 0 0 0 0 var(--primary-alpha-30); }
    50% { box-shadow: 0 8px 32px var(--primary-alpha-40), 0 0 0 12px rgba(92, 181, 229, 0); }
}

/* ── Reveal Animation ────────────────────────────────────────── */
.ec-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ec-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ec-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 50px;
    background: linear-gradient(160deg, #f0f8ff 0%, #ffffff 35%, #f5faff 65%, #edf6ff 100%);
}

/* Background Effects */
.ec-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ec-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--primary-alpha-03) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-alpha-03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

.ec-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: ecBlobFloat 20s ease-in-out infinite;
}

.ec-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-alpha-15) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.ec-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-alpha-08) 0%, transparent 70%);
    bottom: 5%;
    left: -8%;
    animation-delay: -7s;
}

.ec-blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-alpha-10) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes ecBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

.ec-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Hero Layout */
.ec-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Content */
.ec-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white-95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-strong-2);
    border: 1px solid var(--primary-alpha-15);
    margin-bottom: 28px;
    box-shadow: 0 4px 20px var(--primary-alpha-08);
}

.ec-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-success);
    border-radius: 50%;
    animation: ecDotPulse 2s ease-in-out infinite;
}

@keyframes ecDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.ec-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--brand-ink);
    margin: 0 0 24px;
}

.ec-title-line {
    display: block;
}

.ec-title-gradient {
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-mid), var(--brand-primary-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ecGradientShift 4s ease-in-out infinite;
}

@keyframes ecGradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.ec-hero-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted-2);
    margin-bottom: 32px;
    max-width: 550px;
}

.ec-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.ec-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
}

.ec-btn-glow {
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    color: var(--white);
    box-shadow: 0 6px 24px var(--primary-alpha-30);
}

.ec-btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--white-25), transparent);
    transition: left 0.6s ease;
}

.ec-btn-glow:hover::before {
    left: 100%;
}

.ec-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px var(--primary-alpha-40);
    color: var(--white);
}

.ec-btn-glow svg {
    transition: transform 0.3s ease;
}

.ec-btn-glow:hover svg {
    transform: translateX(-4px);
}

.ec-btn-glass {
    background: var(--white-85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--brand-primary-bright);
    border: 2px solid var(--primary-alpha-20);
}

.ec-btn-glass:hover {
    background: var(--surface-blue-2);
    border-color: var(--brand-primary-bright);
    transform: translateY(-2px);
    color: var(--brand-primary-bright);
}

.ec-btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: 16px;
}

.ec-btn-outline-light {
    background: var(--white-10);
    color: var(--white);
    border: 2px solid var(--white-25);
}

.ec-btn-outline-light:hover {
    background: var(--white-20);
    border-color: var(--white-45);
    transform: translateY(-2px);
    color: var(--white);
}

/* Hero Visual */
.ec-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ec-hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.ec-hero-main-card {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 80px var(--primary-alpha-20),
        0 0 0 1px var(--primary-alpha-08);
    position: relative;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.4s ease;
}

.ec-hero-main-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.ec-hero-main-card:hover img {
    transform: scale(1.04);
}

.ec-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, var(--white-20) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ec-hero-main-card:hover .ec-card-shine {
    opacity: 1;
    animation: ecShineMove 0.8s ease;
}

@keyframes ecShineMove {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Micro Cards */
.ec-micro-card {
    position: absolute;
    background: var(--white-95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px var(--shadow-10), 0 0 0 1px var(--primary-alpha-08);
    z-index: 3;
    animation: ecMicroFloat 4s ease-in-out infinite;
}

.ec-mc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-alpha-10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ec-mc-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary-bright);
}

.ec-mc-icon-green {
    background: rgba(34, 197, 94, 0.1);
}

.ec-mc-icon-green svg {
    color: var(--brand-success);
}

.ec-mc-icon-gold {
    background: rgba(244, 183, 64, 0.12);
}

.ec-mc-icon-gold svg {
    color: var(--brand-gold);
}

.ec-mc-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ec-mc-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-ink);
    line-height: 1.2;
}

.ec-mc-label {
    font-size: 0.75rem;
    color: var(--text-muted-3);
    font-weight: 500;
}

.ec-mc-1 {
    top: 5%;
    right: -20px;
    animation-delay: 0s;
}

.ec-mc-2 {
    bottom: 15%;
    left: -25px;
    animation-delay: -1.5s;
}

.ec-mc-3 {
    top: 50%;
    right: -30px;
    animation-delay: -3s;
}

@keyframes ecMicroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stats Bar */
.ec-stats-bar {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 28px 40px;
    background: var(--white-95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    box-shadow: 0 10px 50px var(--primary-alpha-10), 0 0 0 1px var(--primary-alpha-08);
    position: relative;
    z-index: 2;
}

.ec-stat-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.ec-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand-primary-bright);
    line-height: 1.1;
    display: inline;
}

.ec-stat-plus {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-primary-bright);
}

.ec-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted-3);
    margin-top: 6px;
    font-weight: 500;
}

.ec-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-soft), transparent);
    flex-shrink: 0;
}

/* Scroll Indicator */
.ec-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: ecFadeInUp 1s ease 1.5s both;
}

.ec-scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-alpha-30);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.ec-scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--brand-primary-bright);
    border-radius: 2px;
    animation: ecScrollWheel 2s ease-in-out infinite;
}

@keyframes ecScrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.ec-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted-3);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes ecFadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.ec-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ec-section-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 20px;
    background: var(--primary-alpha-08);
    color: var(--brand-primary-bright);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid var(--primary-alpha-15);
}

.ec-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand-ink);
    margin-bottom: 16px;
    line-height: 1.3;
}

.ec-section-header p {
    font-size: 1.08rem;
    color: var(--text-muted-2);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.ec-services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.ec-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-alpha-15), transparent);
}

.ec-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ec-service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.ec-service-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-alpha-03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ec-service-card:hover .ec-service-card-bg {
    opacity: 1;
}

.ec-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary-bright), var(--brand-primary-mid), var(--brand-primary-dark));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ec-service-card:hover::before {
    transform: scaleX(1);
}

.ec-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--primary-alpha-12);
    border-color: var(--primary-alpha-20);
}

.ec-service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-alpha-06);
    position: absolute;
    top: 16px;
    left: 24px;
    line-height: 1;
    transition: color 0.4s ease;
}

.ec-service-card:hover .ec-service-number {
    color: var(--primary-alpha-12);
}

.ec-service-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-alpha-08), var(--primary-alpha-03));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.ec-service-card:hover .ec-service-icon-wrap {
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 8px 24px var(--primary-alpha-30);
}

.ec-service-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: var(--brand-primary-bright);
    transition: color 0.3s ease;
}

.ec-service-card:hover .ec-service-icon-wrap svg {
    color: var(--white);
}

.ec-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ec-service-card p {
    font-size: 0.95rem;
    color: var(--text-muted-2);
    line-height: 1.85;
    position: relative;
    z-index: 1;
    margin: 0;
}

.ec-service-arrow {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-alpha-06);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(10px, 10px);
    transition: all 0.4s ease;
}

.ec-service-arrow svg {
    color: var(--brand-primary-bright);
}

.ec-service-card:hover .ec-service-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
   KSA SECTION
   ============================================================ */
.ec-ksa {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--white) 100%);
    position: relative;
}

.ec-ksa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-alpha-15), transparent);
}

.ec-ksa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ec-ksa-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.ec-ksa-card-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-alpha-08) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ec-ksa-card:hover .ec-ksa-card-glow {
    opacity: 1;
}

.ec-ksa-card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary-bright), var(--brand-gold));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.ec-ksa-card:hover .ec-ksa-card-border {
    transform: scaleX(1);
}

.ec-ksa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--primary-alpha-12);
    border-color: var(--primary-alpha-15);
}

.ec-ksa-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-alpha-08), var(--primary-alpha-03));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.ec-ksa-card:hover .ec-ksa-icon {
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px var(--primary-alpha-30);
}

.ec-ksa-icon svg {
    width: 34px;
    height: 34px;
    color: var(--brand-primary-bright);
    transition: color 0.3s ease;
}

.ec-ksa-card:hover .ec-ksa-icon svg {
    color: var(--white);
}

.ec-ksa-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 12px;
}

.ec-ksa-card p {
    font-size: 0.93rem;
    color: var(--text-muted-2);
    line-height: 1.85;
    margin: 0;
}

/* ============================================================
   PLATFORMS MARQUEE
   ============================================================ */
.ec-platforms {
    padding: 90px 0 70px;
    background: var(--white);
    overflow: hidden;
}

.ec-marquee-wrap {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.ec-marquee-wrap::before,
.ec-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ec-marquee-wrap::before {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.ec-marquee-wrap::after {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

#ecMarquee {
    display: flex;
    width: max-content;
    direction: ltr;
    will-change: transform;
}

.ec-marquee-track {
    display: flex;
    gap: 24px;
    padding-inline-end: 24px;
    flex-shrink: 0;
}

.ec-platform-chip {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 18px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-strong);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.ec-platform-chip:hover {
    background: var(--surface-blue-2);
    border-color: var(--brand-primary-bright);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--primary-alpha-12);
}

.ec-platform-chip svg {
    width: 26px;
    height: 26px;
    color: var(--brand-primary-bright);
    flex-shrink: 0;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.ec-integrations {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--white) 100%);
}

.ec-integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.ec-integration-group {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-soft);
    transition: all 0.4s ease;
}

.ec-integration-group:hover {
    box-shadow: 0 12px 40px var(--primary-alpha-08);
    border-color: var(--primary-alpha-15);
}

.ec-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.ec-group-title svg {
    color: var(--brand-primary-bright);
}

.ec-integration-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ec-int-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-strong);
    transition: all 0.3s ease;
    cursor: default;
}

.ec-int-chip:hover {
    background: var(--surface-blue-2);
    border-color: var(--primary-alpha-25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--primary-alpha-08);
}

.ec-int-chip i {
    font-size: 1.1rem;
    color: var(--brand-primary-bright);
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.ec-process {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.ec-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-right: 60px;
}

.ec-timeline-line {
    position: absolute;
    top: 0;
    right: 24px;
    width: 3px;
    height: 100%;
    background: var(--border-soft);
    border-radius: 3px;
}

.ec-timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--brand-primary-bright), var(--brand-primary-dark));
    border-radius: 3px;
    transition: height 0.5s ease;
}

.ec-timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-right: 20px;
}

.ec-timeline-item:last-child {
    margin-bottom: 0;
}

.ec-timeline-dot {
    position: absolute;
    right: -48px;
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--primary-alpha-30);
    z-index: 1;
    transition: all 0.4s ease;
}

.ec-timeline-dot span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.ec-timeline-item:hover .ec-timeline-dot {
    transform: scale(1.15);
    box-shadow: 0 8px 28px var(--primary-alpha-40);
}

.ec-timeline-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ec-timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--brand-primary-bright), var(--brand-primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-timeline-item:hover .ec-timeline-card {
    box-shadow: 0 14px 44px var(--primary-alpha-10);
    border-color: var(--primary-alpha-15);
    transform: translateX(-6px);
}

.ec-timeline-item:hover .ec-timeline-card::before {
    opacity: 1;
}

.ec-timeline-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 10px;
}

.ec-timeline-card p {
    font-size: 0.93rem;
    color: var(--text-muted-2);
    line-height: 1.8;
    margin: 0 0 16px;
}

.ec-timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ec-timeline-tags span {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-alpha-06);
    color: var(--brand-primary-dark);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary-alpha-10);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.ec-why {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--white) 100%);
    position: relative;
}

.ec-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ec-why-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.ec-why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 64px var(--primary-alpha-12);
    border-color: var(--primary-alpha-15);
}

.ec-why-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, var(--primary-alpha-05) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.ec-why-card:hover .ec-why-card-shine {
    transform: translateX(100%);
}

.ec-why-icon-ring {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-alpha-06);
    transition: all 0.5s ease;
}

.ec-why-icon-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed var(--primary-alpha-15);
    transition: all 0.5s ease;
    animation: ecRingSpin 12s linear infinite;
}

@keyframes ecRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ec-why-card:hover .ec-why-icon-ring {
    background: linear-gradient(135deg, var(--brand-primary-bright), var(--brand-primary-dark));
    box-shadow: 0 10px 30px var(--primary-alpha-30);
}

.ec-why-card:hover .ec-why-icon-ring::before {
    border-color: var(--primary-alpha-30);
    inset: -8px;
}

.ec-why-icon-ring svg {
    width: 32px;
    height: 32px;
    color: var(--brand-primary-bright);
    transition: color 0.3s ease;
}

.ec-why-card:hover .ec-why-icon-ring svg {
    color: var(--white);
}

.ec-why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin-bottom: 12px;
}

.ec-why-card p {
    font-size: 0.93rem;
    color: var(--text-muted-2);
    line-height: 1.85;
    margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.ec-faq {
    padding: 90px 0;
    background: var(--white);
}

.ec-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ec-faq-item {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ec-faq-item:hover {
    border-color: var(--primary-alpha-20);
}

.ec-faq-item.active {
    border-color: var(--brand-primary-bright);
    box-shadow: 0 8px 30px var(--primary-alpha-10);
    background: var(--white);
}

.ec-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--brand-ink);
    transition: color 0.3s ease;
    user-select: none;
    gap: 16px;
}

.ec-faq-item.active .ec-faq-question {
    color: var(--brand-primary-bright);
}

.ec-faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.ec-faq-icon span {
    position: absolute;
    background: var(--text-muted-3);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.ec-faq-icon span:first-child {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ec-faq-icon span:last-child {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ec-faq-item.active .ec-faq-icon span {
    background: var(--brand-primary-bright);
}

.ec-faq-item.active .ec-faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.ec-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.ec-faq-item.active .ec-faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.ec-faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted-2);
    line-height: 1.9;
    margin: 0;
}

/* ============================================================
   RESULTS SHOWCASE
   ============================================================ */
.ec-results {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-primary-bright) 0%, var(--brand-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.ec-results .ec-section-header h2,
.ec-results .ec-section-header p {
    color: var(--white);
}

.ec-results .ec-section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.ec-results .ec-section-tag {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.ec-results-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ec-results-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.ec-results-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
}

.ec-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.ec-result-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ec-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-result-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ec-result-card:hover::before {
    opacity: 1;
}

.ec-result-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.ec-result-card:hover .ec-result-icon-wrap {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.ec-result-icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.ec-result-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
    letter-spacing: -0.02em;
}

.ec-result-suffix {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-gold);
    display: inline;
    margin-right: 4px;
}

.ec-result-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    line-height: 1.5;
}

.ec-result-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}

.ec-result-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--white), var(--brand-gold));
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ec-result-card.ec-visible .ec-result-bar-fill {
    width: var(--bar-width);
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.ec-trust {
    padding: 40px 0 60px;
    background: var(--surface-1);
    position: relative;
}

.ec-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px 48px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

.ec-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.ec-trust-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--brand-primary-bright);
    flex-shrink: 0;
}

.ec-trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border-soft);
}

/* ============================================================
   SECTION DIVIDERS (Global Enhancement)
   ============================================================ */
.ec-services::before,
.ec-ksa::before,
.ec-why::before,
.ec-faq::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary-bright), var(--brand-gold));
    border-radius: 2px;
    margin: 0 auto 0;
    position: relative;
    top: -1px;
}

/* ============================================================
   ENHANCED SECTION HEADERS (Global Enhancement)
   ============================================================ */
.ec-section-header h2 {
    position: relative;
}

.ec-section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary-bright), var(--brand-gold));
    border-radius: 2px;
    margin: 16px auto 0;
}

.ec-results .ec-section-header h2::after,
.ec-platforms .ec-section-header h2::after {
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.3));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ec-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ec-hero-content {
        order: 1;
    }

    .ec-hero-visual {
        order: 0;
    }

    .ec-hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .ec-hero-actions {
        justify-content: center;
    }

    .ec-hero-title {
        font-size: 2.4rem;
    }

    .ec-services-grid {
        grid-template-columns: 1fr;
    }

    .ec-ksa-grid,
    .ec-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ec-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ec-integrations-grid {
        grid-template-columns: 1fr;
    }

    .ec-hero-card-stack {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ec-hero {
        padding: 80px 16px 40px;
        min-height: auto;
    }

    .ec-hero-title {
        font-size: 2rem;
    }

    .ec-hero-desc {
        font-size: 1rem;
    }

    .ec-section-header h2 {
        font-size: 1.8rem;
    }

    .ec-ksa-grid,
    .ec-why-grid {
        grid-template-columns: 1fr;
    }

    .ec-services,
    .ec-ksa,
    .ec-why,
    .ec-process,
    .ec-faq {
        padding: 70px 0;
    }

    .ec-results {
        padding: 70px 0;
    }

    .ec-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ec-result-value {
        font-size: 2.4rem;
    }

    .ec-trust-strip {
        padding: 20px 24px;
        gap: 20px;
    }

    .ec-trust-divider {
        display: none;
    }

    .ec-micro-card {
        display: none;
    }

    .ec-stats-bar {
        flex-direction: column;
        gap: 20px;
        padding: 24px 28px;
    }

    .ec-stat-divider {
        width: 60px;
        height: 1px;
    }

    .ec-stat-number {
        font-size: 2rem;
    }

    .ec-scroll-indicator {
        display: none;
    }

    .ec-hero-card-stack {
        max-width: 320px;
    }

    .ec-timeline {
        padding-right: 50px;
    }

    .ec-timeline-dot {
        width: 40px;
        height: 40px;
        right: -43px;
    }

    .ec-timeline-line {
        right: 18px;
    }

}

@media (max-width: 480px) {
    .ec-hero-title {
        font-size: 1.6rem;
    }

    .ec-btn {
        padding: 12px 24px;
        font-size: 0.92rem;
        width: 100%;
        justify-content: center;
    }

    .ec-btn-lg {
        padding: 14px 28px;
    }

    .ec-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ec-results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ec-result-card {
        padding: 24px 20px;
    }

    .ec-result-value {
        font-size: 2rem;
    }

    .ec-trust-strip {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .ec-timeline {
        padding-right: 40px;
    }

    .ec-timeline-dot {
        width: 36px;
        height: 36px;
        right: -38px;
    }

    .ec-timeline-dot span {
        font-size: 0.95rem;
    }

    .ec-timeline-line {
        right: 16px;
    }

    .ec-timeline-card {
        padding: 22px;
    }

    .ec-floating-cta {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .ec-floating-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .ec-integration-chips {
        gap: 8px;
    }

    .ec-int-chip {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
    .ec-floating-cta,
    .ec-scroll-indicator,
    .ec-particles {
        display: none !important;
    }
}
