/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   HEADER STYLES
   =========================== */
.header {
    background-color: #ffffff;
    padding: 20px 0px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 2px 8px 25px -2px rgba(0, 0, 0, 0.24);
    width: 100%;



}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: auto;
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    letter-spacing: 0.3px;
}

.logo-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
}

/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #000000;
}

/* Sign Up Button */
.signup-btn {
    background-color: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.signup-btn:hover {
    background-color: #808080;
    color: #000000;
    transform: translateY(-1px);
}

.signup-btn:active {
    transform: translateY(0);
}

/* ===========================
   HERO SECTION STYLES
   =========================== */

.hero {

    padding: 40px;
    background-color: #ffffff;
    margin-top: 20px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, hsl(216, 82%, 15%) 0%, #0a1628 50%, hsl(215, 74%, 18%) 100%);
    border-radius: 32px;
    padding: 50px 20px 60px 20px;
    position: relative;

    overflow: hidden;

}

/* Subtle gradient overlay for depth */
.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(20, 40, 80, 0.3) 0%, transparent 70%);
    pointer-events: none;

}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    pointer-events: auto;
    /* Enable mouse interaction */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Headline Styles */
.hero-headline {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
    max-width: 450px;
    flex-shrink: 0;
    margin-left: 30px;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 6px 6px 6px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    flex: 1;
    max-width: 850px;
    min-width: 500px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    background: transparent;
    padding: 12px 0;
}

.search-input::placeholder {
    color: #999999;
}

.search-btn {
    background-color: #000000;
    border: none;
    border-radius: 50px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #1a1a1a;
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.98);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* ===========================
   FEATURE CARDS SECTION
   =========================== */
.features-container {
    position: relative;
    z-index: 1;
    margin-top: 1px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-number {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px 0;
    line-height: 1;
}

.feature-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* ===========================
   MOBILE SEARCH & FEATURES CONTAINER
   =========================== */
/* Hide mobile version on desktop */
.mobile-search-features {
    display: none;
}

/* Show desktop versions */
.desktop-search {
    display: flex;
}

.desktop-features {
    display: grid;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 48px;
    }

    .search-container {
        min-width: 350px;
    }

    .features-container {
        gap: 24px;
    }

    .feature-card {
        padding: 28px 24px;
    }
}

@media (max-width: 992px) {
    .nav {
        gap: 24px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-container {
        padding: 80px 60px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-headline {
        font-size: 44px;
        max-width: 100%;
    }

    .search-container {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 20px 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 24px;
    }

    .nav {
        display: none;
    }

    /* Hide Desktop Search & Features */
    .desktop-search,
    .desktop-features {
        display: none !important;
    }

    /* Show Mobile Search & Features */
    .mobile-search-features {
        display: block;
        background-color: #ffffff;
        padding: 0 20px 24px 20px;
    }

    .hero {
        padding: 0;
        /* Full width */
    }

    /* Mobile Hero Container Settings */
    .hero-container {
        padding: 60px 20px 40px 20px;
        border-radius: 0;
        margin-top: 0;
        width: 100%;
        max-width: none;
        height: 290px;
        position: relative;
    }

    .hero-content {
        gap: 24px;
        align-items: center;
        text-align: center;
        justify-content: center;
        height: 100%;
    }

    .hero-headline {
        font-size: 35px !important;
        font-weight: 600 !important;
        margin: 0px;
        color: #ffffff;
        line-height: 0.7;
        letter-spacing: -1px;
    }

    /* Mobile Search Bar Positioning */
    .mobile-search {
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 4px 4px 4px 16px;
        -webkit-box-shadow: 0px 7px 21px -3px rgba(0, 0, 0, 0.57);
        box-shadow: 0px 7px 21px -3px rgba(0, 0, 0, 0.57);
        background-color: #ffffff;
        border-radius: 50px;
        margin: -22px auto 0 auto;
        /* Pull up to overlap hero ending and center */
        position: relative;
        z-index: 10;
    }

    .search-input {
        font-size: 14px;
        padding: 10px 0;
    }

    .search-btn {
        width: 44px;
        height: 44px;
    }

    /* Mobile Features Below Search */
    .mobile-features {
        margin-top: 24px;
        gap: 8px;
        margin-bottom: -35px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    /* Mobile Feature Cards - Outside Hero Container */
    .mobile-features .feature-card {
        padding: 16px 8px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        height: 100%;
        background: rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-features .feature-card:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.15);
    }

    .mobile-features .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0;
        background: rgba(0, 0, 0, 0.08);
        color: #000000;
    }

    .mobile-features .feature-content {
        width: 100%;
    }

    .mobile-features .feature-number {
        font-size: 16px;
        margin-bottom: 2px;
        color: #000000;
    }

    .mobile-features .feature-text {
        font-size: 11px;
        line-height: 1.2;
        color: #666666;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: auto;
        height: 32px;
    }

    .logo-title {
        display: none;
    }

    .signup-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-container {
        padding: 30px 20px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .mobile-search-features {
        padding: 0 16px 20px 16px;
    }
}