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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

header {
    background: #2563EB;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

header h1 {
    font-size: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon,
body:not([data-theme]) .moon-icon {
    display: none;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --surface-color: #2d2d2d;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
}

[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .about,
[data-theme="dark"] .contact {
    background: var(--surface-color);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .app-card {
    background: var(--surface-color);
    color: var(--text-color);
}

[data-theme="dark"] footer {
    background: #000;
}

.theme-toggle {
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

[data-theme="light"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

section {
    padding: 3rem 0;
}

.about {
    background: #f8f9fa;
}

.about h2, .services h2, .contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card h3 {
    color: #2563EB;
    margin-bottom: 1rem;
}

.apps {
    background: white;
    text-align: center;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.app-card h3 {
    color: #2563EB;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-features {
    text-align: left;
    margin: 1.5rem 0;
}

.app-features p {
    margin: 0.5rem 0;
    color: #16A34A;
    font-weight: 500;
}

.download-btn {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #1D4ED8;
}

.download-btn.disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.disabled:hover {
    background: #9CA3AF;
}

.beta-note {
    font-size: 0.9rem;
    color: #6B7280;
    font-style: italic;
}

.contact {
    background: #f8f9fa;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav a {
        margin: 0 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    main {
        margin-top: 120px;
    }
}

/* Dark Theme */
[data-theme="dark"] {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] header {
    background: #0f172a;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .about,
[data-theme="dark"] .contact {
    background: #111827;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .app-card {
    background: #1f2937;
    color: #e0e0e0;
}

[data-theme="dark"] .app-card {
    background: #1f2937;
}

[data-theme="dark"] footer {
    background: #0f172a;
}