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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Landing Page Styles */
.landing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

/* Typography */
h1 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    color: #764ba2;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    color: #764ba2;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.feature h3 {
    color: #764ba2;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
    font-size: 1rem;
}

/* Buttons */
.cta {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #764ba2;
}

.btn-secondary:hover {
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.4);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.3s, opacity 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.download-btn.apple {
    background: #000;
}

.download-btn.google {
    background: #000;
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer p {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Content Page Styles (Privacy/Terms) */
.content-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.content-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.content-body {
    color: #333;
    line-height: 1.8;
}

.content-body h2 {
    color: #667eea;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-body h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

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

.content-body ul,
.content-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #555;
}

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

.content-body strong {
    color: #333;
    font-weight: 600;
}

.content-body a {
    color: #667eea;
    text-decoration: none;
}

.content-body a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error State */
.error {
    text-align: center;
    padding: 2rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 10px;
    color: #c33;
    margin: 2rem 0;
}

.error h3 {
    color: #c33;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-container {
        padding: 1.5rem;
    }
    
    .content-body {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container,
    .landing-container,
    .content-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

