/* sections.css - All page sections (description + features) – with CSS variables */

.description-section,
.feature-section {
    position: relative;
    padding: 70px 5% 50px;
    background: var(--bg-primary, #ffffff);
    overflow: hidden;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    /* gap: 40px; */
}

.text-column {
    flex: 1;
    max-width: 48%;
    padding-right: 40px;
}

.section-heading {
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin-bottom: 1.4rem;
    color: var(--text-heading, #111);
    position: relative;

    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.section-heading span {
    opacity: 0;
    display: inline-block;
    color: var(--text-heading);
}

.section-heading span.visible {
    opacity: 1;
}

.section-heading .cursor {
    display: inline-block;
    width: 5px;
    height: 1.1em;
    background: linear-gradient(90deg, var(--gradient-start, #ffdd00), var(--gradient-middle, #ff8c00), var(--gradient-end, #ff5500));
    vertical-align: middle;
    margin-left: 3px;
    border-radius: 2px;
    animation: blink 0.72s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.description-text {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-secondary, #444);
    margin-bottom: 1rem;
}

.description-text.highlight {
    font-weight: 500;
    color: var(--accent, #1a73e8);
    font-size: 1.25rem;
}

/* Image Column – extreme right + strong glow */
.image-column {
    flex: 0 0 auto;
    width: 52%;
    margin-left: auto;
    margin-right: -8vw;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-glow-wrapper::before {
    content: '';
    position: absolute;
    inset: -90px;
    background: radial-gradient(ellipse at 50% 50%,
            var(--glow-strong, rgba(255, 221, 0, 0.62)) 0%,
            var(--glow-medium, rgba(255, 140, 0, 0.45)) 30%,
            var(--glow-light, rgba(255, 69, 0, 0.28)) 55%,
            transparent 85%);
    opacity: 0.88;
    animation: glow-breathe 5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    filter: blur(38px);
    border-radius: 90px;
}

@keyframes glow-breathe {

    0%,
    100% {
        opacity: 0.88;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    opacity: 0;
    transform: scale(1.25);
    transition:
        opacity 3.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s,
        transform 3.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s;
    position: relative;
    z-index: 2;
    background: transparent;
    mix-blend-mode: normal;
}

.fade-in-on-scroll {
    opacity: 1;
    transform: scale(1) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .text-column,
    .image-column {
        max-width: 100%;
    }

    .image-column {
        margin-right: 0;
    }

    .image-glow-wrapper::before {
        inset: -60px;
        filter: blur(28px);
    }

    .feature-image {
        transform: scale(1.15);
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.6rem;
}

.feature-list li {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text-secondary, #333);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list li::before {
    content: "✔";
    color: var(--success, #34a853);
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 0.2rem;
}