/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #37BEFD 0%, #2196F3 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(55, 190, 253, 0.3);
    color: white !important;
}

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: radial-gradient(ellipse at center, rgba(55, 190, 253, 0.1) 0%, transparent 70%);
}

.hero-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #37BEFD 0%, #2196F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.promo-image:hover {
    transform: translateY(-5px);
}

/* Hero Description */
.hero-description {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-description p {
    font-size: 1.25rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #0f0f0f;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(55, 190, 253, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: #0a0a0a;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-card {
    background: #1a1a1a;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(55, 190, 253, 0.3);
}

.os-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.download-card p {
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.btn-download {
    background: linear-gradient(135deg, #37BEFD 0%, #2196F3 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(55, 190, 253, 0.3);
}

/* Footer */
.footer {
    background: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .logo {
    width: 48px;
    height: 48px;
}

.footer-brand .brand-name {
    font-size: 1.875rem;
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.link-group a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #ffffff;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.mobile-menu-content .nav-links {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-content .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.4s ease forwards;
}

.mobile-menu-content .nav-links a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-content .nav-links a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-content .nav-links a:nth-child(3) { animation-delay: 0.3s; }

.mobile-menu-content .nav-links a:hover {
    background: rgba(55, 190, 253, 0.1);
    color: #37BEFD;
    transform: translateY(-2px);
}

.mobile-menu-content .btn-primary {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    margin-top: 1rem;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 15px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .header .nav-links {
        display: none;
    }
    
    .mobile-menu-content .nav-links {
        display: flex;
    }
    
    .hero {
        padding: 100px 1rem 60px;
        min-height: auto;
    }
    
    .hero-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .promo-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download {
        padding: 80px 0;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-card {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 10px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .logo {
        width: 28px;
        height: 28px;
    }
    
    .hero {
        padding: 90px 10px 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .download-card {
        padding: 1.5rem 1rem;
    }
    
    .download-card h3 {
        font-size: 1.25rem;
    }
    
    .os-icon {
        font-size: 2.5rem;
    }
    
    .promo-image {
        border-radius: 8px;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .download-card:hover {
        transform: none;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .btn-primary:hover,
    .btn-download:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Prevent zoom on input focus on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
        font-size: 16px;
    }
}

/* Improve touch targets */
@media (max-width: 768px) {
    .nav-links a,
    .btn-primary,
    .btn-secondary,
    .btn-download {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}