@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --nx-blue-core: #1e40af;
    --nx-blue-deep: #1e3a8a;
    --nx-dark-slate: #0a0f1e;
    --nx-cyan-bright: #22d3ee;
    --nx-surface-pale: #f1f5f9;
    --nx-surface-pure: #ffffff;
    --nx-ink-primary: #1e293b;
    --nx-ink-muted: #475569;
    --nx-divider: #cbd5e1;
    --nx-emerald: #059669;
    --nx-crimson: #dc2626;
    --nx-motion: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --nx-elevation-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --nx-elevation-md: 0 8px 24px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--nx-ink-primary);
    line-height: 1.65;
    background-color: var(--nx-surface-pale);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--nx-motion);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hidden {
    display: none !important;
}

.hv-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Navigation Bar */
.hv-header-x99 {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--nx-divider);
}

.hv-container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin-inline: auto;
    padding: 18px 24px;
}

.hv-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--nx-dark-slate);
    letter-spacing: -0.02em;
}

.hv-icon-brand {
    color: var(--nx-blue-core);
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.2));
}

.hv-nav-desktop {
    display: none;
}

.hv-mobile-toggle {
    font-size: 1.625rem;
    cursor: pointer;
    color: var(--nx-dark-slate);
    transition: var(--nx-motion);
}

.hv-mobile-toggle:hover {
    color: var(--nx-blue-core);
}

.hv-mobile-menu {
    background: var(--nx-surface-pure);
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    border-bottom: 1px solid var(--nx-divider);
    padding-block: 24px;
    box-shadow: var(--nx-elevation-sm);
}

.hv-mobile-list li {
    text-align: center;
    margin-block: 18px;
}

.hv-mobile-list a {
    font-weight: 600;
    color: var(--nx-dark-slate);
    font-size: 1.05rem;
}

/* Hero Banner */
.hv-hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 650px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--nx-surface-pure);
    padding-inline: 24px;
}

.hv-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.92) 0%, rgba(30, 64, 175, 0.75) 100%);
    z-index: -1;
}

.hv-hero-content {
    max-width: 880px;
    z-index: 1;
}

.hv-hero-title {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-block-end: 24px;
    letter-spacing: -0.03em;
}

.hv-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-block-end: 48px;
    opacity: 0.92;
    line-height: 1.7;
}

.hv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hv-primary-btn, .hv-secondary-btn, .hv-cta-btn, .hv-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 36px;
    min-height: 54px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--nx-motion);
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.hv-primary-btn, .hv-submit-btn, .hv-cta-btn {
    background: linear-gradient(135deg, var(--nx-blue-core) 0%, var(--nx-blue-deep) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.hv-primary-btn:hover, .hv-submit-btn:hover, .hv-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.hv-secondary-btn {
    background-color: transparent;
    border: 2.5px solid white;
    color: white;
}

.hv-secondary-btn:hover {
    background-color: white;
    color: var(--nx-blue-core);
    transform: translateY(-3px);
}

/* Feature Cards Grid */
.hv-features-grid {
    padding-block: 96px;
    background-color: var(--nx-surface-pure);
}

.hv-section-heading {
    text-align: center;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--nx-dark-slate);
    margin-block-end: 64px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hv-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.hv-card-item {
    background: var(--nx-surface-pure);
    border: 2px solid var(--nx-divider);
    border-radius: 16px;
    padding: 36px;
    transition: var(--nx-motion);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hv-card-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(34, 211, 238, 0.03) 100%);
    opacity: 0;
    transition: var(--nx-motion);
}

.hv-card-item:hover::before, .hv-card-item:focus::before {
    opacity: 1;
}

.hv-card-item:hover, .hv-card-item:focus {
    box-shadow: var(--nx-elevation-md);
    border-color: var(--nx-blue-core);
    transform: translateY(-6px);
}

.hv-card-icon {
    font-size: 2.5rem;
    color: var(--nx-blue-core);
    margin-block-end: 24px;
}

.hv-card-item h3 {
    margin-block-end: 12px;
    color: var(--nx-dark-slate);
    font-weight: 700;
    font-size: 1.35rem;
}

.hv-card-preview {
    color: var(--nx-ink-muted);
    font-size: 1.05rem;
}

.hv-card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-block-start 0.5s ease;
    color: var(--nx-ink-primary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.hv-card-item:focus .hv-card-details,
.hv-card-item:active .hv-card-details {
    max-height: 250px;
    opacity: 1;
    margin-block-start: 18px;
}

/* Split Layout Section */
.hv-split-section {
    padding-block: 96px;
}

.hv-split-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hv-text-column h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--nx-dark-slate);
    margin-block-end: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hv-text-column p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--nx-ink-muted);
}

.hv-check-list {
    margin-block-start: 28px;
}

.hv-check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-block-end: 14px;
    font-weight: 600;
    font-size: 1.05rem;
}

.hv-check-list i {
    color: var(--nx-emerald);
    font-size: 1.2rem;
}

.hv-rounded-img {
    border-radius: 20px;
    box-shadow: var(--nx-elevation-md);
}

/* Analytics Dashboard */
.hv-analytics-section {
    padding-block: 96px;
    background: linear-gradient(135deg, var(--nx-dark-slate) 0%, #1e293b 100%);
    color: white;
    text-align: center;
}

.hv-analytics-section h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-block-end: 20px;
    font-weight: 800;
}

.hv-subtext {
    color: #94a3b8;
    margin-block-end: 48px;
    max-width: 680px;
    margin-inline: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hv-dashboard-mockup {
    position: relative;
    max-width: 960px;
    margin-inline: auto;
}

.hv-dash-img {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.hv-stat-overlay {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-block-start: 28px;
    flex-wrap: wrap;
}

.hv-stat-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 20px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hv-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hv-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nx-cyan-bright);
    margin-block-start: 4px;
}

/* Contact Form Section */
.hv-contact-section {
    padding-block: 96px;
    background: var(--nx-surface-pale);
}

.hv-form-wrapper {
    background: var(--nx-surface-pure);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--nx-elevation-sm);
    max-width: 640px;
    margin-inline: auto;
}

.hv-form-wrapper h2 {
    color: var(--nx-dark-slate);
    margin-block-end: 12px;
    font-size: 2rem;
    font-weight: 800;
}

.hv-form-wrapper p {
    color: var(--nx-ink-muted);
    margin-block-end: 36px;
    font-size: 1.05rem;
}

.hv-input-group {
    margin-block-end: 24px;
}

.hv-input-group label {
    display: block;
    margin-block-end: 10px;
    font-weight: 600;
    color: var(--nx-dark-slate);
    font-size: 0.95rem;
}

.hv-input-group input {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    border: 2px solid var(--nx-divider);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--nx-motion);
    background: var(--nx-surface-pale);
}

.hv-input-group input:focus {
    outline: none;
    border-color: var(--nx-blue-core);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.08);
    background: var(--nx-surface-pure);
}

.hv-input-group input:invalid:not(:placeholder-shown) {
    border-color: var(--nx-crimson);
}

.hv-submit-btn {
    width: 100%;
    margin-block-start: 8px;
}

/* Footer Section */
.hv-footer-main {
    background: var(--nx-dark-slate);
    color: #cbd5e1;
    padding: 72px 0 24px;
}

.hv-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-block-end: 48px;
}

.hv-footer-brand i {
    color: var(--nx-blue-core);
}

.hv-footer-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
}

.hv-footer-brand p {
    font-size: 0.95rem;
    margin-block-start: 14px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.65;
}

.hv-footer-links h4, .hv-footer-legal h4 {
    color: white;
    margin-block-end: 24px;
    font-weight: 700;
    font-size: 1.05rem;
}

.hv-footer-links ul li, .hv-footer-legal ul li {
    margin-block-end: 12px;
}

.hv-footer-links a:hover, .hv-modal-trigger:hover {
    color: var(--nx-cyan-bright);
}

.hv-modal-trigger {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: var(--nx-motion);
}

.hv-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-block-start: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* Modal Overlay */
.hv-modal-hidden {
    display: none;
}

#hv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.hv-modal-content {
    background: white;
    padding: 48px;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    position: relative;
    box-shadow: var(--nx-elevation-md);
}

#hv-close-modal {
    position: absolute;
    inset-block-start: 20px;
    inset-inline-end: 20px;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--nx-ink-muted);
    transition: var(--nx-motion);
}

#hv-close-modal:hover {
    color: var(--nx-dark-slate);
}

.hv-modal-text h3 {
    margin-block-end: 18px;
    color: var(--nx-dark-slate);
    font-weight: 800;
    font-size: 1.5rem;
}

.hv-modal-text p {
    line-height: 1.75;
    color: var(--nx-ink-muted);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 640px;
    background: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(12px);
    color: white;
    padding: 24px;
    border-radius: 16px;
    z-index: 9999;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    animation: slideUpFade 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
    from { 
        transform: translate(-50%, 120%); 
        opacity: 0; 
    }
    to { 
        transform: translate(-50%, 0); 
        opacity: 1; 
    }
}

.hv-cookie-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.hv-cookie-content p {
    line-height: 1.65;
    font-size: 0.95rem;
}

.hv-cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hv-btn-accept {
    background: var(--nx-blue-core);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--nx-motion);
}

.hv-btn-accept:hover {
    background: var(--nx-blue-deep);
    transform: translateY(-2px);
}

.hv-btn-decline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.35);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--nx-motion);
}

.hv-btn-decline:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .hv-cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .hv-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hv-split-container {
        flex-direction: row;
        align-items: center;
    }
    
    .hv-text-column, .hv-image-column {
        flex: 1;
    }

    .hv-footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .hv-stat-overlay {
        position: absolute;
        inset-block-end: 48px;
        inset-inline-end: 48px;
        margin-block-start: 0;
        flex-direction: column;
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .hv-nav-desktop {
        display: block;
    }
    
    .hv-mobile-toggle {
        display: none;
    }
    
    .hv-menu-list {
        display: flex;
        gap: 36px;
        align-items: center;
    }
    
    .hv-link-item {
        font-weight: 600;
        color: var(--nx-dark-slate);
        font-size: 1rem;
    }
    
    .hv-link-item:hover {
        color: var(--nx-blue-core);
    }
    
    .hv-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}