:root {
    --primary-blue: #007AFF;
    --light-blue: #40C8FF;
    --dark-blue: #0A2350;
    --white: #FFFFFF;
    --soft-gray: #C8D2DC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001529 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
    background: rgba(10, 35, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* CRITICAL: This makes logo and menu horizontal */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(64, 200, 255, 0.5));
}

/* Navigation Links - Horizontal */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--light-blue);
}

.nav-links a.active {
    color: var(--light-blue);
    font-weight: bold;
}

.btn-primary {
    background: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 122, 255, 0.4);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--light-blue);
    transform: scale(1.1);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.highlight {
    color: var(--light-blue);
    text-shadow: 0 0 20px rgba(64, 200, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-download, .btn-disabled {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-download {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--primary-blue);
}

.btn-disabled {
    background: var(--soft-gray);
    color: var(--dark-blue);
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

/* ========== FOOTER ========== */
footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile and Tablet Portrait */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar .container {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Hide regular menu, show hamburger */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 35, 80, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
        border-radius: 0 0 15px 15px;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        animation: slideDown 0.3s ease;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px;
        font-size: 16px;
        white-space: normal;
    }
    
    .nav-links a:hover {
        background: rgba(0, 122, 255, 0.2);
        border-radius: 8px;
    }
    
    .btn-primary {
        display: inline-block;
        width: auto;
        margin-top: 5px;
    }
    
    /* Show hamburger button */
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download, .btn-disabled {
        width: 90%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
}

/* Very Small Phones */
@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }
    
    .menu-toggle {
        font-size: 24px;
        right: 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features h2 {
        font-size: 1.5rem;
    }
    
    footer {
        font-size: 0.8rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-links a {
        padding: 12px;
    }
    
    .btn-download, .btn-primary {
        padding: 12px 24px;
    }
}

/* Print styles */
@media print {
    .navbar, footer, .cta-buttons {
        display: none;
    }
    
    .hero {
        padding-top: 20px;
        min-height: auto;
    }
    
    body {
        background: white;
        color: black;
    }
}