/* Hero Section Styles - Reduced height with enhanced logo focus */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f3a 50%, #0f1629 75%, #0a1220 100%);
    padding: 0;
    margin-top: 60px;
    min-height: 75vh;
    /* Reduced from 100vh for more compact design */
}

/* Animated Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: lighting 8s ease-in-out infinite;
}

@keyframes lighting {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Hero Content - Fixed proportions */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-right: var(--space-xl);
}

/* Animated Text */
.animated-text-container {
    margin-bottom: var(--space-xl);
}

/* WE ARE DOING - Exact Specifications */
.animated-prefix {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 20px;
    text-decoration: none solid rgb(96, 165, 250);
    text-align: start;
    text-indent: 0px;
    text-transform: uppercase;
    vertical-align: baseline;
    white-space: normal;
    word-spacing: 0px;

    /* Color & Background */
    background-attachment: scroll;
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    color: rgb(96, 165, 250);

    /* Box Model */
    height: 20px;
    width: auto;
    border: 0px solid rgb(38, 38, 38);
    margin: 0px;
    padding: 0px;
    max-height: none;
    min-height: 0px;
    max-width: none;
    min-width: 0px;

    /* Positioning */
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    float: none;
    display: block;
    clear: none;
    z-index: auto;

    /* Effects */
    transform: none;
    transition: all;
    outline: none;
    outline-offset: 0px;
    box-sizing: border-box;
    resize: none;
    text-shadow: none;
    text-overflow: clip;
    word-wrap: normal;
    box-shadow: none;
    border-radius: 0px;

    /* Spacing */
    margin-bottom: 0.5rem;
}

.animated-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    min-height: 45px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    opacity: 0.95;
}

/* Hero Title - Fixed sizing */
.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 72px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 72px;
    text-decoration: none;
    text-align: start;
    text-indent: 0px;
    text-transform: none;
    vertical-align: baseline;
    white-space: normal;
    word-spacing: 0px;

    /* Background & Gradient */
    background: linear-gradient(to right, rgb(96, 165, 250), rgb(34, 211, 238), rgb(59, 130, 246));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* Box Model */
    height: auto;
    width: auto;
    border: 0px solid rgb(38, 38, 38);
    margin: 0px;
    padding: 0px;
    max-height: none;
    min-height: 0px;
    max-width: none;
    min-width: 0px;

    /* Positioning */
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    float: none;
    display: inline;
    clear: none;
    z-index: auto;

    /* Effects */
    transform: none;
    transition: all;
    outline: none;
    outline-offset: 0px;
    box-sizing: border-box;
    resize: none;
    text-shadow: none;
    text-overflow: clip;
    word-wrap: normal;
    box-shadow: none;
    border-radius: 0px;

    /* Spacing */
    margin-bottom: var(--space-lg);
    max-width: 100%;
}

/* Hero Description - Fixed sizing */
.hero-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 23px;
    text-decoration: none solid rgba(219, 234, 254, 0.8);
    text-align: start;
    text-indent: 0px;
    text-transform: none;
    vertical-align: baseline;
    white-space: normal;
    word-spacing: 0px;

    /* Color & Background */
    background-attachment: scroll;
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    color: rgba(219, 234, 254, 0.8);

    /* Box Model */
    height: auto;
    width: auto;
    border: 0px solid rgb(38, 38, 38);
    margin: 24px 0px 0px;
    padding: 0px;
    max-height: none;
    min-height: 0px;
    max-width: 100%;
    min-width: 0px;

    /* Positioning */
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    float: none;
    display: block;
    clear: none;
    z-index: auto;

    /* Effects */
    transform: none;
    transition: all;
    outline: none;
    outline-offset: 0px;
    box-sizing: border-box;
    resize: none;
    text-shadow: none;
    text-overflow: clip;
    word-wrap: normal;
    box-shadow: none;
    border-radius: 0px;

    /* Spacing */
    margin-bottom: var(--space-xl);
}

/* Hero Buttons */
.hero-buttons {
    margin-bottom: 0;
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* Learn More Button - Exact Specifications with Darker Blue */
.hero-buttons .btn-outline-light {
    /* Font & Text */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 24px;
    text-decoration: none solid rgb(250, 250, 250);
    text-align: start;
    text-indent: 0px;
    text-transform: none;
    vertical-align: baseline;
    white-space: normal;
    word-spacing: 0px;

    /* Color & Background - Even Darker Blue */
    background-attachment: scroll;
    background-color: rgb(3, 5, 10);
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    color: rgb(250, 250, 250);

    /* Box Model */
    border: 0px solid rgb(38, 38, 38);
    margin: 0px;
    padding: 16px 32px;
    max-height: none;
    min-height: 0px;
    max-width: none;
    min-width: 0px;

    /* Positioning */
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    float: none;
    display: block;
    clear: none;
    z-index: auto;

    /* Effects */
    transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    outline-offset: 0px;
    box-sizing: border-box;
    resize: none;
    text-shadow: none;
    text-overflow: clip;
    word-wrap: normal;
    box-shadow: none;
    border-radius: 10px;

    /* Additional styling for better appearance */
    cursor: pointer;
    visibility: visible;
    overflow: visible;
}

.hero-buttons .btn-outline-light:hover {
    background-color: rgba(3, 5, 10, 0.9);
    color: rgb(250, 250, 250);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 5, 10, 0.4);
}

/* Hero Logo - Enhanced with more focus and prominence */
.hero-logo-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-left: var(--space-xl);
}

.floating-logo {
    position: relative;
    animation: floating 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-logo {
    width: 480px;
    /* Increased from 400px for more prominence */
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.7)) drop-shadow(0 0 80px rgba(96, 165, 250, 0.4)) brightness(1.15) contrast(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Enhanced floating animation with more dynamic movement */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Logo Light Effects with more intensity */

/* Enhanced pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

/* Enhanced light rays effect with more intensity */
.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    /* Increased from 300px */
    height: 400px;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(59, 130, 246, 0.12) 45deg,
            /* Increased opacity */
            transparent 90deg,
            rgba(96, 165, 250, 0.12) 135deg,
            transparent 180deg,
            rgba(59, 130, 246, 0.12) 225deg,
            transparent 270deg,
            rgba(96, 165, 250, 0.12) 315deg,
            transparent 360deg);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 40s linear infinite;;
    opacity: 0.8;
    /* Increased from 0.6 */
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Enhanced hover effects for logo */
.floating-logo:hover {
    transform: scale(1.08) rotate(2deg);
}

.floating-logo:hover .hero-logo {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 50px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 100px rgba(96, 165, 250, 0.6)) brightness(1.2) contrast(1.15);
}

/* Additional glow ring for enhanced focus */
.hero-logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    /* Slightly larger than logo */
    height: 520px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    z-index: -1;
    animation: glowRing 4s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes glowRing {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
        border-color: rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
        border-color: rgba(96, 165, 250, 0.5);
    }
}

/* Responsive Design - Optimized Mobile Sizing */
@media (max-width: 1399px) {
    .hero-section {
        margin-top: 60px;
        min-height: 70vh;
        /* Reduced for smaller screens */
    }

    .hero-title {
        font-size: 60px;
        line-height: 60px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 26px;
    }

    .animated-text {
        font-size: 1.3rem;
    }

    .hero-logo {
        width: 420px;
        /* Reduced but still prominent */
    }
}

@media (max-width: 1199px) {
    .hero-section {
        margin-top: 60px;
        min-height: 65vh;
        /* Further reduced */
    }

    .hero-title {
        font-size: 52px;
        line-height: 52px;
        letter-spacing: -1.3px;
    }

    .hero-description {
        font-size: 17px;
        line-height: 25px;
    }

    .hero-logo {
        width: 380px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        min-height: 60vh;
        /* Compact for tablets */
        padding: var(--space-xl) 0;
        margin-top: 60px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: var(--space-xl);
    }

    .hero-title {
        font-size: 48px;
        line-height: 48px;
        letter-spacing: -1.2px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    .animated-text {
        font-size: 1.2rem;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .hero-logo-container {
        padding-left: 0;
        margin-top: var(--space-lg);
    }

    .hero-logo {
        width: 320px;
        /* Still prominent on tablets */
    }

    .animated-prefix {
        text-align: center;
    }
}

/* Enhanced Mobile Optimization - Better Sizing */
@media (max-width: 767px) {
    .hero-section {
        padding: 40px 0 60px;
        margin-top: 56px;
        min-height: 85vh;
        /* Increased for mobile to accommodate content */
    }

    .hero-content {
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .animated-text-container {
        margin-bottom: 30px;
    }

    .animated-prefix {
        font-size: 11px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        text-align: center;
    }

    .animated-text {
        font-size: 1rem;
        min-height: 30px;
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 32px;
        line-height: 36px;
        letter-spacing: -0.8px;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 30px;
        padding: 0 10px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 48px;
    }

    .hero-logo-container {
        margin-top: 20px;
        padding: 0 20px;
    }

    .hero-logo {
        width: 280px;
        /* Prominent but fits mobile */
        max-width: 85vw;
        height: auto;
    }
}

/* Extra Small Mobile Devices - Optimized */
@media (max-width: 575px) {
    .hero-section {
        padding: 30px 0 50px;
        margin-top: 56px;
        min-height: 80vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .animated-text-container {
        margin-bottom: 25px;
    }

    .animated-prefix {
        font-size: 10px;
        letter-spacing: 0.4px;
        margin-bottom: 6px;
    }

    .animated-text {
        font-size: 0.9rem;
        min-height: 28px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 32px;
        letter-spacing: -0.6px;
        margin-bottom: 18px;
        padding: 0 5px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 25px;
        padding: 0 10px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        gap: 10px;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .hero-logo {
        width: 240px;
        /* Still prominent on small screens */
        max-width: 80vw;
    }

    .hero-logo-container {
        padding: 0 15px;
    }
}

/* Very Small Devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-section {
        padding: 25px 0 40px;
        min-height: 75vh;
    }

    .hero-content {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 30px;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 19px;
        margin-bottom: 22px;
        padding: 0 8px;
    }

    .hero-buttons .btn {
        max-width: 260px;
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 42px;
    }

    .hero-logo {
        width: 200px;
        max-width: 75vw;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 20px 0 30px;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        max-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-logo {
        width: 200px;
    }
}

/* Large Screen Fixed Sizes with enhanced logo */
@media (min-width: 1400px) {
    .hero-section {
        margin-top: 60px;
        min-height: 80vh;
        /* Balanced height */
    }

    .hero-title {
        font-size: 80px;
        line-height: 80px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 22px;
        line-height: 30px;
    }

    .animated-text {
        font-size: 1.5rem;
    }

    .hero-logo {
        width: 520px;
        /* Maximum prominence */
    }

    .hero-buttons .btn {
        padding: 18px 36px;
        font-size: 1.1rem;
    }
}

@media (min-width: 1600px) {
    .hero-section {
        margin-top: 60px;
        min-height: 85vh;
    }

    .hero-title {
        font-size: 62px;
        line-height: 58px;
        letter-spacing: -2.2px;
    }

    .hero-description {
        font-size: 24px;
        line-height: 32px;
    }

    .animated-text {
        font-size: 1.6rem;
    }

    .hero-logo {
        width: 560px;
        /* Ultimate prominence */
    }

    .hero-buttons .btn {
        padding: 20px 40px;
        font-size: 1.2rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .hero-buttons .btn {
        min-height: 48px;
        padding: 16px 24px;
    }

    .hero-buttons .btn:active {
        transform: scale(0.98);
    }

    .hero-logo:active {
        transform: scale(0.95);
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .hero-description {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    .floating-logo,
    .animated-background,
    .floating-logo::before,
    .floating-logo::after,
    .hero-logo-container::before,
    .hero-logo-container::after {
        animation: none;
    }

    .hero-buttons .btn:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-title {
        background: linear-gradient(to right, #ffffff, #ffffff, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-description {
        color: rgba(255, 255, 255, 1);
    }

    .animated-text {
        color: rgba(255, 255, 255, 1);
    }
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 20px 0;
        margin-top: 0;
        min-height: auto;
    }

    .hero-title {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
        font-size: 36px;
        line-height: 40px;
    }

    .hero-description {
        color: black !important;
        font-size: 16px;
        line-height: 24px;
    }

    .animated-text {
        color: black !important;
    }

    .hero-buttons {
        display: none;
    }

    .hero-logo {
        width: 200px;
        filter: none;
    }

    .animated-background,
    .floating-logo::before,
    .floating-logo::after,
    .hero-logo-container::before,
    .hero-logo-container::after {
        display: none;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(59, 130, 246, 0.3);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}