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

:root {
    --primary: #0ADAFF;
    --secondary: #4592CC;
    --tertiary: #5785E5;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

/* Navbar */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 900px;
    z-index: 100;
    padding: 0;
}

.nav-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
    background: rgba(10, 218, 255, 0.1);
    color: var(--primary);
}

.download-btn {
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    color: var(--light) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: var(--dark) !important;
}

.download-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.back-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
}

.back-link:hover {
    background: rgba(10, 218, 255, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 218, 255, 0.05), rgba(87, 133, 229, 0.05));
    padding: 10rem 5% 6rem;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--secondary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.3s, opacity 0.3s;
}

.app-store-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.app-store-badge {
    height: 60px;
    width: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: var(--light);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--gray);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(10, 218, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--tertiary);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #aaa;
    font-size: 1.1rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Content Pages (Privacy, Terms) */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 5% 4rem;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.last-updated {
    color: #666;
    margin-bottom: 3rem;
}

.content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--tertiary);
}

.content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

.content a:hover {
    color: var(--tertiary);
    border-bottom-color: var(--tertiary);
}

.content ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    color: #555;
}

.content li {
    margin-bottom: 0.5rem;
}

.content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        top: 1rem;
        width: calc(100% - 2rem);
    }

    .nav-container {
        padding: 0.6rem 1rem;
        width: 100%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        gap: 0.25rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .download-btn svg {
        width: 12px;
        height: 12px;
    }

    .hero {
        padding: 8rem 5% 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .app-store-badge {
        height: 50px;
    }
}

@media (max-width: 480px) {
    nav {
        top: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    .nav-container {
        padding: 0.5rem 1rem;
        width: 100%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 7rem 5% 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .app-store-badge {
        height: 45px;
    }
}
