/* ===== Home Page — Section Spacing ===== */
.home-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.home-section .section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Section Header Pattern */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.section-label::before {
    right: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.section-label::after {
    left: 100%;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.9;
    color: var(--color-text-light);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle p,
.section-subtitle div,
.section-subtitle span {
    text-align: center;
}

/* Glow divider line */
.glow-divider {
    width: 80px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        transparent
    );
    border-radius: 2px;
}

/* CTA button style */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), transparent);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-glow:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 0, 0.25),
        rgba(0, 153, 255, 0.15)
    );
    box-shadow:
        0 0 30px rgba(0, 255, 0, 0.3),
        inset 0 0 15px rgba(0, 255, 0, 0.05);
    transform: translateY(-2px);
}

.btn-glow-secondary {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), transparent);
}

.btn-glow-secondary:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 153, 255, 0.25),
        rgba(0, 212, 255, 0.15)
    );
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.3);
}

/* Glass card utility */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 255, 0, 0.2);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 0, 0.05);
    transform: translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .home-section .section-container {
        padding: 0 16px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 3px;
        padding: 0 12px;
    }

    .section-label::before,
    .section-label::after {
        width: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }

    .btn-glow {
        padding: 12px 24px;
        font-size: 11px;
    }

    /* Hide section subtitles on mobile for all sections */
    .subtitle-mobile-hidden,
    .subtitle-mobile-hidden * {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .home-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .home-section .section-container {
        padding: 0 12px;
    }
}

/* ===== Section Divider / Beautiful Section Starter ===== */
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0 40px 0;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    max-width: 400px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        transparent
    );
    position: relative;
}

.section-divider::before {
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        var(--primary-color)
    );
}

.section-divider::after {
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--primary-color),
        transparent
    );
}

.section-label-indicator {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    padding: 12px 40px;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 0, 0.15),
        rgba(0, 153, 255, 0.1)
    );
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    box-shadow:
        0 0 30px rgba(0, 255, 0, 0.2),
        inset 0 0 20px rgba(0, 255, 0, 0.05);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-label-indicator::before,
.section-label-indicator::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    animation: sectionPulse 2s ease-in-out infinite;
}

.section-label-indicator::before {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.section-label-indicator::after {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1s;
}

@keyframes sectionPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Hover effect for section divider */
.section-divider:hover .section-label-indicator {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 0, 0.25),
        rgba(0, 153, 255, 0.15)
    );
    box-shadow:
        0 0 40px rgba(0, 255, 0, 0.3),
        inset 0 0 25px rgba(0, 255, 0, 0.08);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .section-divider {
        padding: 50px 0 30px 0;
    }

    .section-divider::before,
    .section-divider::after {
        max-width: 200px;
    }

    .section-label-indicator {
        font-size: 10px;
        letter-spacing: 3px;
        padding: 10px 30px;
    }

    .section-label-indicator::before,
    .section-label-indicator::after {
        width: 6px;
        height: 6px;
    }

    .section-label-indicator::before {
        left: 10px;
    }

    .section-label-indicator::after {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .section-divider {
        padding: 40px 0 20px 0;
    }

    .section-divider::before,
    .section-divider::after {
        max-width: 100px;
    }

    .section-label-indicator {
        font-size: 9px;
        letter-spacing: 2px;
        padding: 8px 24px;
    }
}
