/* Homepage-only visual refinement layer. Existing markup and behavior remain unchanged. */

:root {
    --ink: #0B192C;
    --navy: #102b4c;
    --gold: #FFD700;
    --muted: #64748b;
    --surface: #ffffff;
    --soft-surface: #f6f9fc;
    --line: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 88px;
}

header {
    backdrop-filter: blur(14px);
    background-color: rgba(11, 25, 44, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.footer-col:first-child h3 {
    width: 220px;
    height: 42px;
    margin-bottom: 18px;
    background: url('../images/brand-logo.svg') center / contain no-repeat;
    font-size: 0;
    line-height: 0;
}

header > nav > ul > li > a {
    position: relative;
}

header > nav > ul > li > a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

header > nav > ul > li > a:hover::after,
header > nav > ul > li > a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: min(760px, calc(100vh - 78px));
    padding: clamp(78px, 9vw, 125px) 24px clamp(70px, 8vw, 100px);
}

.hero-container {
    width: 100%;
    max-width: 1240px;
    gap: clamp(42px, 6vw, 92px);
}

.hero-text h1 {
    max-width: 720px;
    font-size: clamp(34px, 4.1vw, 58px);
    letter-spacing: -1.1px;
    line-height: 1.12;
}

.hero-text p {
    max-width: 650px;
    font-size: 16px;
    color: #dbe7f3;
}

.badge-box {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.badge-box:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 26px 60px rgba(2, 12, 28, 0.38);
}

.pricing-header {
    background: linear-gradient(135deg, var(--ink), var(--navy));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    outline: 3px solid rgba(255, 215, 0, 0.32);
    outline-offset: 1px;
}

.submit-btn,
.support-btn,
.grade-btn,
.cta-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    border-radius: 999px !important;
}

.cta-btn,
.support-btn,
.grade-btn {
    background: linear-gradient(135deg, #FFD700, #ffe259) !important;
    color: #0B192C !important;
    box-shadow: 0 10px 26px rgba(255, 215, 0, 0.28);
}

.submit-btn {
    background: linear-gradient(135deg, #0B192C, #1E3E62) !important;
    box-shadow: 0 10px 24px rgba(11, 25, 44, 0.22);
}

.submit-btn:hover,
.support-btn:hover,
.grade-btn:hover,
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(11, 25, 44, 0.2);
}

.feature-card,
.testimonial-card {
    border-radius: 18px !important;
}

.pricing-card {
    border-radius: 20px !important;
    overflow: hidden;
}

.logos-section {
    margin: -34px auto 0;
    padding: 0 20px;
}

.logos-container {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 35px rgba(11, 25, 44, 0.08);
}

.logo-item {
    transition: color 0.25s ease, transform 0.25s ease;
}

.logo-item:hover {
    color: var(--ink);
    transform: translateY(-2px);
}

.features-slider-section {
    background: linear-gradient(180deg, var(--soft-surface) 0%, #ffffff 100%);
    border-top: 0;
    border-bottom: 0;
}

.features-header h2,
.how-it-works h2,
.faq-section h2 {
    letter-spacing: -0.6px;
}

.feature-card,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 215, 0, 0.65);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    }
}

.faq-section {
    max-width: 1240px;
}

@media (max-width: 900px) {
    .hero-section {
        min-height: auto;
    }

    .hero-text h1 {
        letter-spacing: -0.6px;
    }

    .logos-section {
        margin-top: -24px;
    }
}

@media (max-width: 600px) {
    .logo {
        width: 190px;
        height: 36px;
        flex-basis: 190px;
    }

    .footer-col:first-child h3 {
        width: 190px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .badge-box,
    .submit-btn,
    .support-btn,
    .grade-btn,
    .cta-btn,
    .logo-item,
    .feature-card,
    .testimonial-card {
        transition: none;
    }
}
