/* === GLOBAL STYLES - refined, professional palette === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium navy / azure palette */
    --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;
    --nova-bg: #FFFFFF;
    --nova-card-bg: #FFFFFF;
    --nova-text-primary: #1F2937;
    --nova-text-secondary: #6B7280;
    --gradient-primary: linear-gradient(135deg, #083B77, #1E8DB0);
    --gradient-accent: linear-gradient(135deg, #1E8DB0, #00D4FF);
    --gradient-cta: linear-gradient(145deg, #083B77, #1E569A);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --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;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

[data-theme="black"] {
    --nova-deep: #083B77;
    --nova-azure: #1E8DB0;
    --nova-emerald: #29A87C;
    --nova-gold: #F59E0B;
    --nova-purple: #8B5CF6;
    --nova-cyan: #00D4FF;
    --nova-charcoal: #1F2937;
    --nova-steel: #94A3B8;
    --nova-cloud: #0F172A;
    --nova-white: #1E293B;
    --nova-border: #334155;
    --nova-bg: #0F172A;
    --nova-card-bg: #1E293B;
    --nova-text-primary: #F1F5F9;
    --nova-text-secondary: #CBD5E1;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--nova-bg);
    color: var(--nova-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--nova-text-primary);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nova-purple);
    background: rgba(139, 92, 246, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    backdrop-filter: blur(4px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--nova-text-secondary);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-xl);
    }

.btn-secondary {
    background: white;
    color: var(--nova-deep);
    border: 2px solid var(--nova-azure);
}

    .btn-secondary:hover {
        background: var(--nova-azure);
        color: white;
        border-color: var(--nova-azure);
    }

.btn-outline {
    background: transparent;
    color: var(--nova-azure);
    border: 2px solid var(--nova-azure);
}

    .btn-outline:hover {
        background: var(--nova-azure);
        color: white;
    }

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* announcement */
.announcement-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

    .announcement-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.announcement-link {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}



/* hero */
.hero-section {
    position: relative;
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: radial-gradient(ellipse at 80% 30%, rgba(30,141,176,0.08) 0%, transparent 50%);
    overflow: hidden;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

    .hero-title span {
        color: var(--nova-azure);
    }

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--nova-text-secondary);
    max-width: 720px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--nova-azure);
}

.stat-label {
    color: var(--nova-text-secondary);
    font-size: 0.9rem;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: var(--nova-border);
}

/* section header – crisp, modern */
.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nova-azure);
    background: rgba(11, 94, 142, 0.08);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 1rem;
    backdrop-filter: blur(2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--nova-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--nova-text-secondary);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== REDESIGNED FEATURE GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}

/* card – glass with depth, rounded, clean */
.feature-card {
    background: var(--nova-card-bg);
    backdrop-filter: blur(4px);
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 10px 25px -8px rgba(0,35,65,0.08);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition-smart);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(2px);
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-elevation);
        border-color: var(--nova-azure);
        background: white;
    }

/* image area – larger, nicer gradient overlay */
.feature-card-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover .feature-card-image {
    transform: scale(1.02);
}

/* icon row – larger, left aligned, with subtle background */
.feature-icon {
    font-size: 2.1rem;
    color: white;
    background: var(--nova-azure);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 20px 0 8px 22px;
    box-shadow: 0 10px 15px -8px rgba(11,94,142,0.4);
    transition: 0.2s;
}

.feature-card:hover .feature-icon {
    background: var(--nova-azure-light);
    transform: scale(0.98);
}

/* title – bolder, generous spacing */
.feature-title {
    margin: 6px 24px 8px 24px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--nova-text-primary);
    line-height: 1.3;
}

/* description – softer, readable */
.feature-description {
    margin: 0 24px 26px 24px;
    color: var(--nova-text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
    flex: 1;
}

/* optional accent border-top on hover */
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--nova-azure);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

/* make cards slightly different background for variation? kept clean */
/* special micro interactions: icons per card tiny variation */
.feature-card:nth-child(1) .feature-icon {
    background: #0d4e70;
}

.feature-card:nth-child(2) .feature-icon {
    background: #1e5f8e;
}

.feature-card:nth-child(3) .feature-icon {
    background: #0b5e8e;
}

.feature-card:nth-child(4) .feature-icon {
    background: #0f6290;
}

.feature-card:nth-child(5) .feature-icon {
    background: #0b4f77;
}

.feature-card:nth-child(6) .feature-icon {
    background: #0d5885;
}

/* responsive */
@media (max-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* small container adjustment */
section {
    padding: 80px 0;
    background: var(--nova-bg-light);
    background-image: radial-gradient(circle at 0% 30%, rgba(11,94,142,0.02) 0%, transparent 30%);
}

/* keep image unsplash sharp */
img {
    pointer-events: none;
}

/* dashboard tabs redesign */
.nova-dashboard-preview {
    background: var(--nova-card-bg);
    border: 1px solid var(--nova-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-lg);
}

.nova-dashboard-tabs {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 1px solid var(--nova-border);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.nova-tabb {
    background: transparent;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    color: var(--nova-text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: 0.2s;
}

    .nova-tabb.active {
        background: rgba(30,141,176,0.1);
        color: var(--nova-azure);
    }

.nova-tab-content {
    display: none;
}

    .nova-tab-content.active {
        display: block;
    }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--space-lg);
}

.dashboard-widget {
    background: var(--nova-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--nova-border);
}

    .dashboard-widget.large {
        grid-column: span 2;
    }

.widget-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.widget-badge {
    background: var(--nova-azure);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.live-stats, .processing-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.stat-trend.positive {
    color: #10b981;
}

.stat-trend.negative {
    color: #ef4444;
}

.nova-chart-container {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    height: 160px;
    margin: var(--space-lg) 0;
}

.nova-chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--nova-azure), var(--nova-cyan));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    min-width: 30px;
    position: relative;
}

.nova-chart-bar-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--nova-text-secondary);
}

.language-bar {
    background: var(--nova-border);
    height: 8px;
    border-radius: var(--radius-full);
    margin: 0.5rem 0;
}

.bar-fill {
    height: 100%;
    background: var(--nova-azure);
    border-radius: var(--radius-full);
}

/* timeline */
.journey-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-3xl);
    position: relative;
    gap: var(--space-xl);
}

.timeline-item {
    flex: 1;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--nova-azure);
}

.timeline-year {
    font-weight: 700;
    color: var(--nova-azure);
    margin-bottom: var(--space-xs);
}

/* partners */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.partner-logo {
    background: var(--nova-card-bg);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    border: 1px solid var(--nova-border);
    font-weight: 600;
    color: var(--nova-text-secondary);
}

/* testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.testimonial-card {
    background: var(--nova-card-bg);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    border: 1px solid var(--nova-border);
    position: relative;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 3px solid var(--nova-azure);
}

/* cta */
.cta-section {
    background: var(--gradient-cta);
    padding: var(--space-4xl) 0;
}

.cta-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    color: white;
}

    .cta-card h2 {
        color: white;
    }

    .cta-card .btn-primary {
        background: white;
        color: var(--nova-deep);
    }

/* footer */
.main-footer {
    background: var(--nova-deep);
    color: white;
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4,1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: space-between;
}

/* back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 99;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

.ai-chatbot {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
}

/* full width images */
.full-width-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    margin: var(--space-2xl) 0;
    object-fit: cover;
    max-height: 400px;
    box-shadow: var(--shadow-lg);
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

    .modal-overlay.active {
        display: flex;
        opacity: 1;
    }

.modal-container {
    background: var(--nova-card-bg);
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--nova-border);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--nova-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        font-size: 1.5rem;
        margin: 0;
    }

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--nova-text-secondary);
    line-height: 1;
}

.modal-body {
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: var(--space-xs);
        color: var(--nova-text-primary);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid var(--nova-border);
        border-radius: var(--radius-lg);
        background: var(--nova-bg);
        color: var(--nova-text-primary);
        font-family: inherit;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: 2px solid var(--nova-azure);
            border-color: transparent;
        }

.checkbox-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .checkbox-group input {
        width: auto;
    }

.modal-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--nova-border);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
    }

    .hamburger-line {
        width: 28px;
        height: 3px;
        background: var(--nova-text-primary);
        border-radius: 3px;
    }

    .features-grid, .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-widget.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: start;
    }

    .stat-divider {
        display: none;
    }

    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .journey-timeline {
        flex-direction: column;
    }
}
/* Floating Action Button */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

    .floating-action-btn:hover {
        transform: scale(1.1);
    }

.fab-tooltip {
    position: absolute;
    left: 60px;
    background: var(--nova-deep);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-action-btn:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
}