/* ----- MODERN DESIGN SYSTEM 2026 ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Nova brand colors */
    --nova-deep: #083B77;
    --nova-azure: #1E8DB0;
    --nova-emerald: #29A87C;
    --nova-gold: #F59E0B;
    --nova-purple: #8B5CF6;
    --nova-cyan: #00D4FF;
    --nova-charcoal: #1F2937;
    --nova-steel: #6B7280;
    --nova-cloud: #F9FAFB;
    --nova-white: #FFFFFF;
    --nova-border: #E5E7EB;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #083B77, #1E8DB0);
    --gradient-accent: linear-gradient(135deg, #1E8DB0, #00D4FF);
    --gradient-emerald: linear-gradient(135deg, #29A87C, #34D399);
    --gradient-gold: linear-gradient(135deg, #F59E0B, #FBBF24);
    --gradient-purple: linear-gradient(135deg, #8B5CF6, #A78BFA);
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(30, 141, 176, 0.3);
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
}

[data-theme="black"] {
    --nova-deep: #0A0F1E;
    --nova-azure: #2AA9C9;
    --nova-emerald: #3BB57C;
    --nova-gold: #FFB347;
    --nova-purple: #A78BFA;
    --nova-cyan: #5EDFFF;
    --nova-charcoal: #EDF2F7;
    --nova-steel: #A0AEC0;
    --nova-cloud: #1A1E2A;
    --nova-white: #0F131F;
    --nova-border: #2D3748;
    background-color: #0A0C12;
    color: #F7FAFC;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--nova-charcoal);
    background-color: var(--nova-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ----- MODERN CONTAINER ----- */
.container-modern {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ----- STUNNING BUTTON DESIGNS ----- */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.01em;
}

    .btn-modern::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: -1;
    }

    .btn-modern:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-modern:active {
        transform: scale(0.98);
    }

/* Primary button with gradient */
.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(8, 59, 119, 0.4);
}

    .btn-primary-modern:hover {
        box-shadow: 0 20px 30px -8px rgba(8, 59, 119, 0.6);
        transform: translateY(-2px);
    }

/* Secondary button with outline */
.btn-secondary-modern {
    background: transparent;
    color: var(--nova-deep);
    border: 2px solid var(--nova-azure);
    position: relative;
    isolation: isolate;
}

    .btn-secondary-modern::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-accent);
        opacity: 0;
        transition: opacity 0.3s;
        z-index: -2;
        border-radius: inherit;
    }

    .btn-secondary-modern:hover {
        color: white;
        border-color: transparent;
    }

        .btn-secondary-modern:hover::after {
            opacity: 1;
        }

/* Accent button */
.btn-accent-modern {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(30, 141, 176, 0.4);
}

    .btn-accent-modern:hover {
        box-shadow: 0 20px 30px -8px rgba(30, 141, 176, 0.6);
        transform: translateY(-2px);
    }

/* Emerald button */
.btn-emerald-modern {
    background: var(--gradient-emerald);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(41, 168, 124, 0.4);
}

    .btn-emerald-modern:hover {
        box-shadow: 0 20px 30px -8px rgba(41, 168, 124, 0.6);
        transform: translateY(-2px);
    }

/* Gold button */
.btn-gold-modern {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(245, 158, 11, 0.4);
}

    .btn-gold-modern:hover {
        box-shadow: 0 20px 30px -8px rgba(245, 158, 11, 0.6);
        transform: translateY(-2px);
    }

/* Purple button */
.btn-purple-modern {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(139, 92, 246, 0.4);
}

    .btn-purple-modern:hover {
        box-shadow: 0 20px 30px -8px rgba(139, 92, 246, 0.6);
        transform: translateY(-2px);
    }

/* Glass button */
.btn-glass-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-glass-modern:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

/* Button sizes */
.btn-sm-modern {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg-modern {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-xl-modern {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Button with icon */
.btn-icon-modern {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

    .btn-icon-modern i {
        font-size: 1.25rem;
    }

/* ----- HERO SECTION (MODERN) ----- */
.hero-modern {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(145deg, var(--nova-white), var(--nova-cloud));
    overflow: hidden;
}

    .hero-modern::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(30, 141, 176, 0.03) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero-modern::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(8, 59, 119, 0.03) 0%, transparent 70%);
        pointer-events: none;
    }

.hero-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 141, 176, 0.08);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(30, 141, 176, 0.2);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nova-azure);
}

    .hero-badge-modern i {
        font-size: 1rem;
    }

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    color: var(--nova-deep);
}

    .hero-title-modern span {
        background: var(--gradient-accent);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

.hero-subtitle-modern {
    font-size: 1.25rem;
    color: var(--nova-steel);
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero-actions-modern {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats-modern {
    display: flex;
    gap: var(--space-2xl);
}

.stat-item-modern {
    display: flex;
    flex-direction: column;
}

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nova-deep);
    line-height: 1;
}

.stat-label-modern {
    font-size: 0.9rem;
    color: var(--nova-steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image-modern {
    position: relative;
}

    .hero-image-modern img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-2xl);
        box-shadow: var(--shadow-xl);
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
        transition: transform 0.5s ease;
    }

    .hero-image-modern:hover img {
        transform: perspective(1000px) rotateY(0) rotateX(0);
    }

.floating-card-modern {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--nova-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--nova-border);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ----- SECTION HEADERS ----- */
.section-header-modern {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag-modern {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nova-azure);
    background: rgba(30, 141, 176, 0.08);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nova-deep);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: var(--nova-steel);
    max-width: 680px;
    margin: 0 auto;
}

/* ----- FEATURE CARDS (MODERN) ----- */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature-card-modern {
    background: var(--nova-white);
    border: 1px solid var(--nova-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .feature-card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-accent);
        transform: scaleX(0);
        transition: transform 0.4s ease;
        transform-origin: left;
    }

    .feature-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--nova-azure);
    }

        .feature-card-modern:hover::before {
            transform: scaleX(1);
        }

.feature-icon-modern {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(30, 141, 176, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nova-azure);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--nova-deep);
}

.feature-card-modern p {
    color: var(--nova-steel);
    margin-bottom: var(--space-lg);
}

.feature-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nova-azure);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

    .feature-link-modern:hover {
        gap: 1rem;
    }

/* ----- DASHBOARD CARDS ----- */
.dashboard-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.stat-card-modern {
    background: var(--nova-white);
    border: 1px solid var(--nova-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

    .stat-card-modern:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--nova-azure);
    }

    .stat-card-modern .value-modern {
        font-size: 2rem;
        font-weight: 800;
        color: var(--nova-deep);
        display: block;
        margin-bottom: var(--space-xs);
    }

    .stat-card-modern .label-modern {
        color: var(--nova-steel);
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }

.trend-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--nova-emerald);
    background: rgba(41, 168, 124, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

    .trend-modern i {
        font-size: 0.75rem;
    }

.panel-modern {
    grid-column: span 2;
    background: var(--nova-white);
    border: 1px solid var(--nova-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.panel-header-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
    font-weight: 600;
    color: var(--nova-deep);
}

    .panel-header-modern i {
        color: var(--nova-azure);
        font-size: 1.25rem;
    }

.progress-modern {
    margin-bottom: var(--space-md);
}

.progress-header-modern {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
}

.progress-bar-modern {
    height: 8px;
    background: var(--nova-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill-modern {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* ----- TRUST BAR ----- */
.trust-bar-modern {
    background: var(--nova-white);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--nova-border);
    border-bottom: 1px solid var(--nova-border);
}

.trust-label-modern {
    text-align: center;
    color: var(--nova-steel);
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-cloud-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.logo-item-modern {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nova-steel);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: default;
}

    .logo-item-modern:hover {
        opacity: 1;
        color: var(--nova-azure);
        transform: scale(1.1);
    }

/* ----- TIMELINE ----- */
.timeline-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.timeline-step-modern {
    text-align: center;
    position: relative;
}

    .timeline-step-modern:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--nova-azure), transparent);
        z-index: 1;
    }

.step-number-modern {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px -5px rgba(8, 59, 119, 0.3);
}

.timeline-step-modern h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--nova-deep);
}

.timeline-step-modern p {
    color: var(--nova-steel);
    font-size: 0.95rem;
}

/* ----- TABLE MODERN ----- */
.table-container-modern {
    background: var(--nova-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    border: 1px solid var(--nova-border);
    overflow-x: auto;
    margin-top: var(--space-2xl);
}

.table-modern {
    width: 100%;
    border-collapse: collapse;
}

    .table-modern th {
        text-align: left;
        padding: var(--space-md);
        color: var(--nova-steel);
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-bottom: 2px solid var(--nova-border);
    }

    .table-modern td {
        padding: var(--space-md);
        border-bottom: 1px solid var(--nova-border);
        color: var(--nova-charcoal);
    }

    .table-modern tr:last-child td {
        border-bottom: none;
    }

    .table-modern tr:hover td {
        background: var(--nova-cloud);
    }

.badge-modern {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-warning-modern {
    background: rgba(245, 158, 11, 0.1);
    color: var(--nova-gold);
}

.badge-success-modern {
    background: rgba(41, 168, 124, 0.1);
    color: var(--nova-emerald);
}

/* ----- CTA SECTION (MODERN) ----- */
.cta-modern {
    background: var(--nova-deep);
    position: relative;
    overflow: hidden;
    padding: var(--space-4xl) 0;
}

    .cta-modern::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(30, 141, 176, 0.2) 0%, transparent 70%);
        pointer-events: none;
    }

    .cta-modern::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 80%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
        pointer-events: none;
    }

.cta-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.cta-subtitle-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
}

.cta-form-modern {
    max-width: 600px;
    margin: 0 auto;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-group-modern {
    position: relative;
}

    .form-group-modern input,
    .form-group-modern select {
        width: 100%;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-full);
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .form-group-modern input:focus,
        .form-group-modern select:focus {
            outline: none;
            border-color: var(--nova-cyan);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
        }

        .form-group-modern input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .form-group-modern select {
        color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
    }

        .form-group-modern select option {
            background: var(--nova-deep);
            color: white;
        }

/* ----- MODAL MODERN ----- */
.modal-modern {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 59, 119, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

    .modal-modern.active {
        display: flex;
    }

.modal-content-modern {
    background: var(--nova-white);
    max-width: 520px;
    width: 100%;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-modern {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nova-steel);
    cursor: pointer;
    transition: all 0.2s;
}

    .modal-close-modern:hover {
        color: var(--nova-deep);
        transform: rotate(90deg);
    }

/* ----- FOOTER MODERN (minimal) ----- */
.footer-modern {
    background: var(--nova-deep);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo-modern {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .footer-logo-modern i {
        color: var(--nova-cyan);
    }

.footer-text-modern {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.social-links-modern {
    display: flex;
    gap: var(--space-sm);
}

.social-link-modern {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link-modern:hover {
        background: var(--nova-cyan);
        color: var(--nova-deep);
        transform: translateY(-3px);
    }

.footer-title-modern {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links-modern {
    list-style: none;
}

    .footer-links-modern li {
        margin-bottom: var(--space-sm);
    }

    .footer-links-modern a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-links-modern a:hover {
            color: var(--nova-cyan);
        }

.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal-modern {
    display: flex;
    gap: var(--space-lg);
}

    .footer-legal-modern a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

        .footer-legal-modern a:hover {
            color: var(--nova-cyan);
        }

/* ----- BACK TO TOP & CHAT ----- */
.back-to-top-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .back-to-top-modern.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top-modern:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
    }

.chatbot-modern {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.chatbot-toggle-modern {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(8, 59, 119, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .chatbot-toggle-modern:hover {
        transform: scale(1.1) rotate(5deg);
    }

.chatbot-pulse-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.5;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    .hero-grid-modern, .features-grid-modern, .dashboard-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }

    .timeline-step-modern:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-grid-modern, .features-grid-modern, .dashboard-grid-modern, .timeline-modern, .footer-grid-modern {
        grid-template-columns: 1fr;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .form-row-modern {
        grid-template-columns: 1fr;
    }

    .footer-bottom-modern {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-legal-modern {
        justify-content: center;
    }
}

/* Toast notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        right: 12px;
        margin-top: -8px;
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
