/* Reset and Base Styles */
* {
    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;
    padding-top: 70px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-links a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

/* Container */
.container {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Hero Header (Home Page) */
.hero-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.hero-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* Page Header (Support/Privacy Pages) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .tagline {
    font-size: 1.2rem;
}

/* Main Content */
main {
    padding: 40px;
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #764ba2;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 10px;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    padding: 25px;
    background: #f8f9ff;
    border-radius: 8px;
    border: 2px solid #e0e7ff;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

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

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

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

/* How It Works Section */
.how-it-works {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 8px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 5px;
}

.step-content p {
    color: #666;
}

/* Requirements Section */
.requirements ul {
    list-style-position: inside;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 8px;
}

.requirements li {
    padding: 8px 0;
    color: #666;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 8px;
}

.cta p {
    font-size: 1.1rem;
    color: #666;
}

.text-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.text-link:hover {
    border-bottom-color: #667eea;
}

/* Support Page Styles */
.support-intro {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.support-intro p {
    font-size: 1.1rem;
    color: #666;
}

.contact-section {
    background: #fff9e6;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.contact-box {
    text-align: center;
    margin: 30px 0;
}

.email-link {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.email-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.support-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
}

.contact-note {
    text-align: center;
    color: #666;
    margin-top: 20px;
}

/* FAQ Section */
.faq {
    margin-top: 40px;
}

.faq-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.faq-item h4 {
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
}

/* Troubleshooting Section */
.troubleshooting {
    background: #fff9e6;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.troubleshooting ul {
    list-style-position: outside;
    padding-left: 25px;
}

.troubleshooting li {
    padding: 8px 0;
    color: #666;
}

.troubleshooting strong {
    color: #333;
}

.contact-reminder {
    text-align: center;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 8px;
}

.contact-reminder p {
    color: #666;
    margin-bottom: 20px;
}

/* Privacy Page Styles */
.privacy-intro {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.last-updated {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-bottom: 15px;
}

.privacy-intro p {
    font-size: 1.1rem;
    color: #666;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.privacy-section h4 {
    color: #764ba2;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-section p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.privacy-list {
    list-style-position: outside;
    padding-left: 25px;
    margin: 15px 0;
}

.privacy-list li {
    padding: 8px 0;
    color: #666;
    line-height: 1.6;
}

.privacy-list strong {
    color: #333;
}

.analytics-section {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.analytics-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.analytics-note a {
    word-break: break-all;
}

.privacy-summary {
    background: #fff9e6;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.summary-box {
    text-align: center;
}

.summary-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

/* Footer */
footer {
    background: #f8f9ff;
    padding: 30px;
    border-top: 2px solid #e0e7ff;
}

.footer-content {
    text-align: center;
    color: #666;
}

.footer-links {
    margin-top: 10px;
}

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

.footer-links a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .nav-container {
        height: 50px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }

    .container {
        margin: 10px;
    }

    .hero-header {
        padding: 60px 30px;
    }

    .hero-header h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 40px 30px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    main {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps {
        gap: 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .email-link {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .hero-header h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 5px 6px;
    }
}
