/* Base Styles */
.gct-market-section {
    --gct-primary: #2a7f62;
    --gct-accent: #4ecdc4;
    --gct-light: #f0f7f4;
    --gct-text: #1a2e35;
    --gct-transaction: #4ecdc4;
    --gct-node-glow: rgba(78, 205, 196, 0.6);

    background-color: var(--gct-light);
    color: var(--gct-text);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', system-ui, sans-serif;
    isolation: isolate;
}

.gct-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Typography */
.gct-section-title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateX(-40px);
    animation: gct-fadeInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    line-height: 1.2;
    color: var(--gct-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gct-section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--gct-primary), var(--gct-accent));
    animation: gct-expandLine 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
    transform-origin: left;
    transform: scaleX(0);
    border-radius: 3px;
}

.gct-section-content {
    display: grid;
    gap: 30px;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.gct-paragraph {
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 400;
}

.gct-paragraph:nth-child(1) {
    animation: gct-fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.gct-paragraph:nth-child(2) {
    animation: gct-fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.gct-paragraph:nth-child(3) {
    animation: gct-fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

/* Marketplace Network Visualization */
.gct-market-graph {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
}

/* Enhanced Transaction Bubbles */
.gct-transaction {
    position: absolute;
    border-radius: 50%;
    background-color: var(--gct-transaction);
    opacity: 0;
    filter: blur(1.5px);
    z-index: 2;
    animation: gct-transaction-flow linear infinite;
    box-shadow: 0 0 10px 2px var(--gct-node-glow);
}

/* Keyframes */
@keyframes gct-fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gct-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gct-expandLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes gct-transaction-flow {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
        width: 8px;
        height: 8px;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-150px) translateX(30px) scale(1.2);
        opacity: 0;
        width: 12px;
        height: 12px;
    }
}

@keyframes gct-node-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 var(--gct-node-glow);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 20px 5px var(--gct-node-glow);
    }
}

@keyframes gct-connection-pulse {
    0% {
        stroke-width: 1.5;
        stroke-opacity: 0.2;
    }

    50% {
        stroke-width: 2.5;
        stroke-opacity: 0.6;
    }

    100% {
        stroke-width: 1.5;
        stroke-opacity: 0.2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gct-market-section {
        padding: 80px 20px;
    }

    .gct-section-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .gct-section-title::after {
        bottom: -15px;
        height: 4px;
        width: 80px;
    }

    .gct-section-content {
        gap: 20px;
    }
}