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

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #6b7280;
    --text-dark: #1f2937;
    --text-medium: #374151;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --hover-bg: #e5e7eb;
}

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

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

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 30px;
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-white);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
    line-height: 1.7;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--hover-bg);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.feature-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-white);
}

.download-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.download-free-info {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.app-store-badge {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.app-store-badge img {
    height: 60px;
}

.pricing-info {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tier {
    padding: 24px 32px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.pricing-tier h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pricing-tier p {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Contact Page */
.contact-page {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-page h1 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-align: center;
}

.contact-intro {
    margin-bottom: 40px;
    text-align: center;
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.form-message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.form-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-page .last-updated {
    color: var(--text-light);
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-page h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-page ul,
.legal-page ol {
    margin-bottom: 15px;
    margin-left: 20px;
}

.legal-page ul li,
.legal-page ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-page strong {
    color: var(--text-dark);
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .features h2,
    .faq h2,
    .download-section h2 {
        font-size: 28px;
    }

    .nav {
        display: none;
    }

    .feature-item h3 {
        font-size: 20px;
    }

    .pricing-info {
        flex-direction: column;
        gap: 16px;
    }
}
