/* Reset and Base Styles */
* {
    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;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #bbb;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo, .footer-logo {
    height: 32px;
    width: 32px;
    background: #007bff;
    border-radius: 6px;
}

.brand-name {
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Main Content */
main {
    margin-top: 60px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.hero-title {
    margin-bottom: 16px;
    color: #212529;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #6c757d;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Section */
.trust {
    padding: 40px 0;
    background: white;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    font-weight: 500;
    color: #495057;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    color: #212529;
}

/* How It Works */
.how-it-works {
    background: #f8f9fa;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 16px;
}

.step-title {
    margin-bottom: 8px;
    color: #212529;
}

.step-description {
    color: #6c757d;
}

/* Features */
.features {
    background: white;
}

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

.feature {
    padding: 24px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-title {
    margin-bottom: 8px;
    color: #212529;
}

.feature-description {
    color: #6c757d;
    margin: 0;
}

/* Screenshots */
.screenshots {
    background: #f8f9fa;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 16px;
    object-fit: cover;
}

.screenshot-caption {
    font-weight: 500;
    color: #495057;
    margin: 0;
}

/* Install Section */
.install {
    background: white;
}

.install-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.install-description {
    font-size: 18px;
    color: #495057;
}

.permissions-info h4 {
    margin-bottom: 8px;
    color: #212529;
}

.permissions-info ul {
    list-style: none;
    padding: 0;
}

.permissions-info li {
    margin-bottom: 4px;
    color: #6c757d;
}

.permissions-info strong {
    color: #495057;
}

.install-button {
    text-align: center;
}

.install-note {
    margin-top: 8px;
    font-size: 14px;
    color: #6c757d;
}

/* Privacy & Terms */
.privacy-terms {
    background: #f8f9fa;
}

.privacy-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.privacy-description {
    font-size: 16px;
    margin-bottom: 24px;
    color: #495057;
}

.privacy-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Support */
.support {
    background: white;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.support-option {
    text-align: center;
    padding: 24px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.support-option h3 {
    margin-bottom: 8px;
    color: #212529;
}

.support-option p {
    margin-bottom: 16px;
    color: #6c757d;
}

/* Footer */
.footer {
    background: #212529;
    color: white;
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-name {
    font-weight: 600;
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #6c757d;
}

.footer-copyright p {
    margin: 0;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .trust-badges {
        gap: 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .install-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 200px;
    }
    
    .privacy-links {
        flex-direction: column;
        align-items: center;
    }
}

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

/* Loading States */
.screenshot-image {
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}