/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 80px 0;
    background: radial-gradient(
        circle at top right,
        rgba(var(--color-brand-rgb), 0.08),
        transparent 50%
    );
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-card);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text-main);
    letter-spacing: -1px;
}

.hero-highlight {
    color: var(--color-brand);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 14px;
    background: rgba(255, 215, 0, 0.25);
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 2px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
}

.hero-visual > * {
    animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes popIn {
    from {
        transform: scale(0.8) rotate(-5deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* =========================================
   FEATURES & HOW TO
   ========================================= */
.features {
    padding: 100px 0;
    background: var(--bg-gradient-features);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2,
.how-to-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-main);
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-card-bg);
    padding: 36px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-card);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--color-brand-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(var(--color-brand-rgb), 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--color-brand-rgb), 0.15);
    color: var(--color-brand);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg {
    width: 28px;
    height: 28px;
}
.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-main);
}
.feature-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.how-to {
    padding: 100px 0;
    text-align: center;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.step-item {
    position: relative;
}
.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border-btn-secondary);
    z-index: -1;
}
.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-text-main);
    color: var(--color-bg);
    font-size: 32px;
    font-weight: 700;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.step-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color-text-main);
}
.step-item p {
    color: var(--color-text-light);
}

/* =========================================
   MOBILE ADAPTATION
   ========================================= */
@media (max-width: 960px) {
    .hero,
    .features,
    .how-to {
        padding: 50px 0;
    }

    .hero {
        text-align: center;
    }

    .hero-inner {
        flex-direction: column;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        width: 100%;
    }
    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }
    .hero-actions .btn {
        width: 100%;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .step-item:not(:last-child)::after {
        display: none;
    }
}
