﻿/* ============================================================
       ECOSYSTEM PAGE - ADDYBUDDY THEME
       Professional Services Platform
       ============================================================ */

    .eco-page {
        padding: 0 0 60px;
        background: linear-gradient(145deg, #f4f9ff 0%, #e8f2fc 100%);
        min-height: 80vh;
    }

    .eco-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ─── Hero Section ────────────────────────────────────────────── */
    .eco-hero {
        background: linear-gradient(135deg, #0b2b4a 0%, #1a4b7a 50%, #2a6f9c 100%);
        border-radius: 24px;
        padding: 50px 40px;
        margin-bottom: 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(26, 75, 122, 0.15);
    }

    .eco-hero::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -15%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
        border-radius: 50%;
        animation: ecoGlow 8s ease-in-out infinite;
    }

    .eco-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 70%);
        border-radius: 50%;
        animation: ecoGlow 12s ease-in-out infinite reverse;
    }

    @keyframes ecoGlow {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.15); opacity: 1; }
    }

    .eco-hero-content {
        position: relative;
        z-index: 1;
    }

    .eco-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        padding: 0.4rem 1.5rem;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #fcd34d;
        border: 1px solid rgba(255, 215, 0, 0.15);
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }

    .eco-hero-badge i {
        margin-right: 4px;
    }

    .eco-hero-title {
        font-size: 3.5rem;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 0.5rem;
        font-family: 'Inter', sans-serif;
    }

    .eco-hero-title .text-gradient {
        background: linear-gradient(135deg, #fcd34d, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .eco-hero-sub {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.85);
        max-width: 680px;
        margin: 0 auto 1.5rem;
        line-height: 1.7;
    }

    .eco-hero-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .eco-hero-stat {
        text-align: center;
    }

    .eco-hero-stat-number {
        font-size: 2rem;
        font-weight: 800;
        color: #fcd34d;
        display: block;
        line-height: 1.2;
    }

    .eco-hero-stat-label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        font-weight: 400;
    }

    .eco-hero-stat-divider {
        width: 1px;
        background: rgba(255, 255, 255, 0.15);
    }

    /* ─── Section Headers ──────────────────────────────────────────── */
    .eco-section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .eco-section-badge {
        display: inline-block;
        background: #e6f0fa;
        color: #1a4b7a;
        padding: 0.3rem 1.2rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .eco-section-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: #0b2b4a;
        margin-bottom: 0.5rem;
        font-family: 'Inter', sans-serif;
    }

    .eco-section-title .text-gradient {
        background: linear-gradient(135deg, #1a4b7a, #4a8bb7);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .eco-section-sub {
        font-size: 1.05rem;
        color: #4a5a6e;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.7;
    }

    /* ─── Ecosystem Overview ───────────────────────────────────────── */
    .eco-overview {
        margin-bottom: 40px;
    }

    .eco-overview-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .eco-overview-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 28px 24px;
        text-align: center;
        border: 1px solid rgba(26, 75, 122, 0.06);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .eco-overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1a4b7a, #4a8bb7);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .eco-overview-card:hover::before {
        transform: scaleX(1);
    }

    .eco-overview-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 35px rgba(26, 75, 122, 0.08);
        border-color: rgba(26, 75, 122, 0.12);
    }

    .eco-overview-icon {
        width: 64px;
        height: 64px;
        background: #e6f0fa;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 0.75rem;
        font-size: 1.8rem;
        color: #1a4b7a;
        transition: all 0.4s ease;
    }

    .eco-overview-card:hover .eco-overview-icon {
        transform: scale(1.05) rotate(-3deg);
    }

    .eco-overview-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0b2b4a;
        margin-bottom: 0.5rem;
    }

    .eco-overview-card p {
        font-size: 0.9rem;
        color: #4a5a6e;
        line-height: 1.7;
        margin: 0 0 0.75rem 0;
    }

    .eco-overview-tag {
        display: inline-block;
        font-size: 0.65rem;
        font-weight: 600;
        padding: 0.2rem 0.8rem;
        border-radius: 12px;
        background: #e6f0fa;
        color: #1a4b7a;
    }

    /* ─── Ecosystem Map ────────────────────────────────────────────── */
    .eco-map-section {
        background: #ffffff;
        border-radius: 24px;
        padding: 32px;
        margin-bottom: 40px;
        border: 1px solid rgba(26, 75, 122, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .eco-map {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 8px;
    }

    .eco-map-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }

    .eco-map-node {
        background: #f8fafc;
        border-radius: 16px;
        padding: 24px 20px;
        text-align: center;
        border: 1px solid #eef3f7;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .eco-map-node:hover {
        border-color: #1a4b7a;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    }

    .eco-map-icon {
        font-size: 2.5rem;
        color: #1a4b7a;
        display: block;
        margin-bottom: 0.35rem;
    }

    .eco-map-name {
        font-weight: 700;
        color: #0b2b4a;
        font-size: 1.05rem;
        margin: 0;
    }

    .eco-map-desc {
        color: #94a3b8;
        font-size: 0.8rem;
        margin: 0.1rem 0 0;
        line-height: 1.4;
    }

    .eco-map-arrow {
        display: inline-block;
        color: #4a8bb7;
        font-size: 1.4rem;
        margin-top: 0.4rem;
    }

    /* Center Node - AddyBuddy */
    .eco-map-center {
        background: linear-gradient(135deg, #1a4b7a, #2a6f9c);
        border-color: #1a4b7a;
        color: #ffffff;
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(26, 75, 122, 0.15);
    }

    .eco-map-center .eco-map-icon {
        color: #fcd34d;
    }

    .eco-map-center .eco-map-name {
        color: #ffffff;
    }

    .eco-map-center .eco-map-desc {
        color: rgba(255, 255, 255, 0.75);
    }

    .eco-map-center:hover {
        border-color: #fcd34d;
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 12px 40px rgba(26, 75, 122, 0.25);
    }

    /* ─── Benefits ──────────────────────────────────────────────────── */
    .eco-benefits {
        margin-bottom: 40px;
    }

    .eco-benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .eco-benefit-item {
        background: #ffffff;
        border-radius: 16px;
        padding: 20px 16px;
        text-align: center;
        border: 1px solid rgba(26, 75, 122, 0.06);
        transition: all 0.3s ease;
    }

    .eco-benefit-item:hover {
        border-color: #1a4b7a;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    }

    .eco-benefit-icon {
        font-size: 1.8rem;
        color: #1a4b7a;
        display: block;
        margin-bottom: 0.3rem;
    }

    .eco-benefit-item h5 {
        font-weight: 700;
        color: #0b2b4a;
        font-size: 0.95rem;
        margin: 0 0 0.2rem;
    }

    .eco-benefit-item p {
        color: #94a3b8;
        font-size: 0.8rem;
        margin: 0;
    }

    /* ─── Platforms ─────────────────────────────────────────────────── */
    .eco-platforms {
        margin-bottom: 40px;
    }

    .eco-platforms-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .eco-platform-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 32px;
        border: 1px solid rgba(26, 75, 122, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
    }

    .eco-platform-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(26, 75, 122, 0.08);
    }

    .eco-platform-client {
        border-top: 4px solid #1a4b7a;
    }

    .eco-platform-professional {
        border-top: 4px solid #16a34a;
    }

    .eco-platform-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #0b2b4a;
        margin-bottom: 1rem;
    }

    .eco-platform-card h4 i {
        margin-right: 0.5rem;
    }

    .eco-platform-client h4 i {
        color: #1a4b7a;
    }

    .eco-platform-professional h4 i {
        color: #16a34a;
    }

    .eco-platform-features {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
    }

    .eco-platform-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.4rem 0;
        font-size: 0.9rem;
        color: #1e2a3a;
        border-bottom: 1px solid #f8fafc;
    }

    .eco-platform-features li:last-child {
        border-bottom: none;
    }

    .eco-platform-features li i {
        color: #1a4b7a;
        font-size: 1rem;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }

    .eco-platform-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 10px 24px;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .eco-platform-client .eco-platform-btn {
        background: linear-gradient(135deg, #1a4b7a, #2a6f9c);
        color: #ffffff;
    }

    .eco-platform-client .eco-platform-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(26, 75, 122, 0.25);
        color: #ffffff;
    }

    .eco-platform-professional .eco-platform-btn {
        background: #dcfce7;
        color: #16a34a;
    }

    .eco-platform-professional .eco-platform-btn:hover {
        background: #16a34a;
        color: #ffffff;
        transform: translateY(-2px);
    }

    /* ─── Partners ──────────────────────────────────────────────────── */
    .eco-partners {
        margin-bottom: 40px;
    }

    .eco-partners-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .eco-partner-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 20px 16px;
        text-align: center;
        border: 1px solid rgba(26, 75, 122, 0.06);
        transition: all 0.3s ease;
        text-decoration: none;
        display: block;
    }

    .eco-partner-card:hover {
        transform: translateY(-4px);
        border-color: #1a4b7a;
        box-shadow: 0 8px 20px rgba(26, 75, 122, 0.06);
        text-decoration: none;
    }

    .eco-partner-card.active {
        border-color: #1a4b7a;
        background: #e6f0fa;
    }

    .eco-partner-card i {
        font-size: 2rem;
        color: #1a4b7a;
        display: block;
        margin-bottom: 0.3rem;
    }

    .eco-partner-card h4 {
        font-size: 0.85rem;
        font-weight: 700;
        color: #0b2b4a;
        margin-bottom: 0.1rem;
    }

    .eco-partner-card p {
        font-size: 0.7rem;
        color: #94a3b8;
        margin: 0 0 0.3rem 0;
    }

    .eco-partner-status {
        display: inline-block;
        font-size: 0.6rem;
        font-weight: 600;
        padding: 1px 10px;
        border-radius: 20px;
        background: #e2e8f0;
        color: #4a5a6e;
    }

    .eco-partner-card.active .eco-partner-status {
        background: #dcfce7;
        color: #16a34a;
    }

    /* ─── Escrow Flow ──────────────────────────────────────────────── */
    .eco-escrow {
        background: #ffffff;
        border-radius: 24px;
        padding: 32px;
        margin-bottom: 40px;
        border: 1px solid rgba(26, 75, 122, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .eco-escrow-flow {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .eco-escrow-step {
        flex: 1;
        min-width: 160px;
        text-align: center;
        padding: 16px 12px;
    }

    .eco-escrow-number {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1a4b7a, #2a6f9c);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        margin: 0 auto 4px;
    }

    .eco-escrow-icon {
        font-size: 1.8rem;
        color: #1a4b7a;
        display: block;
        margin-bottom: 4px;
    }

    .eco-escrow-step h4 {
        font-size: 0.85rem;
        font-weight: 700;
        color: #0b2b4a;
        margin-bottom: 2px;
    }

    .eco-escrow-step p {
        font-size: 0.8rem;
        color: #4a5a6e;
        margin: 0;
        line-height: 1.4;
    }

    .eco-escrow-arrow {
        color: #cbd5e1;
        font-size: 1.2rem;
    }

    /* ─── CTA ───────────────────────────────────────────────────────── */
    .eco-cta {
        margin-top: 20px;
    }

    .eco-cta-content {
        background: linear-gradient(135deg, #0b2b4a, #1a4b7a);
        border-radius: 24px;
        padding: 48px 40px;
        text-align: center;
        color: #ffffff;
        box-shadow: 0 20px 60px rgba(26, 75, 122, 0.15);
    }

    .eco-cta-content h2 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .eco-cta-content h2 .text-gradient {
        background: linear-gradient(135deg, #fcd34d, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .eco-cta-content p {
        font-size: 1.05rem;
        opacity: 0.8;
        margin-bottom: 1.5rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .eco-cta-buttons {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .eco-cta-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 36px;
        background: #ffffff;
        color: #1a4b7a;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .eco-cta-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
        color: #1a4b7a;
    }

    .eco-cta-btn-secondary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 36px;
        background: transparent;
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .eco-cta-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        color: #ffffff;
    }

    .eco-cta-note {
        margin-top: 1rem;
        font-size: 0.85rem;
        opacity: 0.6;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .eco-cta-note i {
        font-size: 1rem;
    }

    /* ─── Responsive ────────────────────────────────────────────────── */
    @media (max-width: 992px) {
        .eco-hero-title {
            font-size: 2.8rem;
        }
        .eco-hero {
            padding: 40px 30px;
        }
        .eco-section-title {
            font-size: 1.8rem;
        }
        .eco-platforms-grid {
            grid-template-columns: 1fr;
        }
        .eco-escrow-flow {
            flex-direction: column;
        }
        .eco-escrow-arrow {
            transform: rotate(90deg);
            padding: 4px 0;
        }
        .eco-map-row {
            grid-template-columns: 1fr 1fr 1fr;
            gap: 14px;
        }
        .eco-map-node {
            padding: 18px 14px;
        }
        .eco-map-icon {
            font-size: 2rem;
        }
        .eco-map-name {
            font-size: 0.95rem;
        }
    }

    @media (max-width: 768px) {
        .eco-hero {
            padding: 30px 20px;
        }
        .eco-hero-title {
            font-size: 2rem;
        }
        .eco-hero-sub {
            font-size: 1rem;
        }
        .eco-hero-stats {
            gap: 12px;
        }
        .eco-hero-stat-number {
            font-size: 1.4rem;
        }
        .eco-hero-stat-divider {
            display: none;
        }
        .eco-section-title {
            font-size: 1.5rem;
        }
        .eco-section-sub {
            font-size: 0.95rem;
        }
        .eco-overview-grid {
            grid-template-columns: 1fr;
        }
        .eco-map-row {
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        .eco-map-node {
            padding: 16px 12px;
        }
        .eco-map-icon {
            font-size: 1.8rem;
        }
        .eco-map-name {
            font-size: 0.9rem;
        }
        .eco-map-desc {
            font-size: 0.75rem;
        }
        .eco-map-arrow {
            font-size: 1rem;
        }
        .eco-map-center {
            transform: scale(1);
        }
        .eco-map-center:hover {
            transform: translateY(-4px) scale(1.01);
        }
        .eco-benefits-grid {
            grid-template-columns: 1fr 1fr;
        }
        .eco-partners-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .eco-cta-content {
            padding: 32px 24px;
        }
        .eco-cta-content h2 {
            font-size: 1.5rem;
        }
        .eco-cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        .eco-cta-btn-primary,
        .eco-cta-btn-secondary {
            width: 100%;
            justify-content: center;
        }
        .eco-escrow-step {
            min-width: 120px;
        }
    }

    @media (max-width: 480px) {
        .eco-hero-title {
            font-size: 1.6rem;
        }
        .eco-hero-badge {
            font-size: 0.65rem;
            padding: 0.3rem 1rem;
        }
        .eco-map-row {
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .eco-map-node {
            padding: 14px 10px;
            border-radius: 12px;
        }
        .eco-map-icon {
            font-size: 1.5rem;
        }
        .eco-map-name {
            font-size: 0.8rem;
        }
        .eco-map-desc {
            font-size: 0.65rem;
        }
        .eco-map-arrow {
            font-size: 0.9rem;
            margin-top: 0.2rem;
        }
        .eco-map-section {
            padding: 20px 16px;
            border-radius: 16px;
        }
        .eco-benefits-grid {
            grid-template-columns: 1fr 1fr;
        }
        .eco-partners-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .eco-platform-card {
            padding: 20px 16px;
        }
    }