/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-primary: #1C1C1E;
    --text-secondary: #8E8E93;
    --background: #FFFFFF;
    --surface: #F2F2F7;
    --border: #E5E5EA;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-start: #007AFF;
    --gradient-end: #5856D6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow);
}

.btn img {
    height: 60px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px var(--shadow));
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: var(--surface);
}

.screenshots h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.screenshot {
    flex: 0 0 250px;
    text-align: center;
}

.screenshot img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
}

.screenshot p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Use Cases */
.use-cases {
    padding: 5rem 0;
}

.use-cases h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.use-case {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s;
}

.use-case:hover {
    border-color: var(--primary-color);
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    text-align: center;
    color: white;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large img {
    height: 80px;
}

.download-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.qr-download {
    margin: 2rem 0;
    text-align: center;
}

.qr-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.qr-code {
    width: 200px;
    height: 200px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Support Section */
.support {
    padding: 3rem 0;
}

.support h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.support-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.support-link:hover {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .support-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}