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

:root {
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.5);
    --bg: #020617;
    --card: rgba(15, 23, 42, 0.8);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Top Navigation --- */
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-container {
    position: relative;
}

.menu-btn {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.menu-btn:hover {
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 150px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    z-index: 100;
}

.nav-dropdown.active {
    display: flex;
    animation: fadeInDown 0.2s ease-out forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown a {
    color: var(--text);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-dropdown a:hover {
    background: rgba(255,255,255,0.05);
}

.logo-small {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    text-transform: none;
    opacity: 0.9;
}

.sub-logo {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 0.1rem;
}

/* --- Premium Hero Section --- */
.hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background-color: transparent;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.7)), url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

@keyframes slowZoom {
    from { transform: scale(1.0); }
    to { transform: scale(1.1); }
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.highlight {
    background: linear-gradient(to bottom right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* --- Premium Search UI --- */
.search-box {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    max-width: 1000px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.05);
}

input[type="text"] {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    color: white;
    font-size: 1.25rem;
    outline: none;
    font-family: 'Outfit', sans-serif;
}

.btn-premium {
    background: white;
    color: var(--bg);
    padding: 0 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255,255,255,0.4);
}

/* --- Results --- */
.results-preview {
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
}

.result-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: left;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item:hover, .result-item.active {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    transform: translateX(10px);
    outline: none;
}

.result-item.active {
    background: rgba(56, 189, 248, 0.15);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card);
    padding: 0; /* Remove padding for image bleed */
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
    overflow: hidden; /* For image corners */
}

.feature-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.feature-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-thumbnail img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2.5rem;
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

/* --- Contact Form --- */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
    background: var(--card);
    padding: 4rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .top-nav {
        padding: 1rem;
    }

    .logo-small span {
        font-size: 1.2rem;
    }

    .sub-logo {
        display: none; /* Hide subtitle on very small screens to save space */
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem !important;
    }

    .search-input-group { 
        flex-direction: column; 
        background: transparent; 
        padding: 0; 
        gap: 1rem;
    }

    .search-box {
        padding: 1.5rem;
    }

    input[type="text"] { 
        background: rgba(255,255,255,0.05); 
        border-radius: 1rem; 
        width: 100%;
        margin: 0;
    }

    .btn-premium { 
        width: 100%;
        padding: 1.25rem; 
        border-radius: 1rem;
    }

    .features-grid {
        padding: 4rem 1rem;
        gap: 2rem;
    }

    .about-content {
        margin: 5rem auto;
        padding: 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .app-card {
        flex-direction: column;
        padding: 2rem !important;
        text-align: center;
    }

    .app-info h2 {
        font-size: 1.8rem !important;
    }

    .app-visual {
        display: none !important; /* Hide the complex visual on small mobile screens */
    }
}
.contact-text {
    flex: 1;
    min-width: 300px;
    padding: 2rem 0;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        gap: 2rem;
    }

    .contact-form h2 {
        font-size: 2rem;
    }

    .contact-text h3 {
        font-size: 1.75rem;
    }
}
