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

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --secondary-color: #5AC8FA;
    --text-dark: #1D1D1F;
    --text-light: #86868B;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F7;
    --bg-light: #FAFAFA;
    --border-color: #D2D2D7;
    --success-color: #34C759;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

/* Navigation */
nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-right: 2rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.25rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-icon-placeholder {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.badge-placeholder {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.badge-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.badge-placeholder span {
    font-weight: 600;
    font-size: 1.125rem;
}

.badge-placeholder small {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

a:hover {
    text-decoration: underline;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: var(--bg-gray);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* How It Works Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Use Cases */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-case {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Testimonial / Reasons Section */
.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.reason {
    background-color: var(--bg-gray);
    padding: 2rem;
    border-radius: 12px;
}

.reason h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.reason p {
    color: var(--text-light);
    margin-bottom: 0;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* CTA Section */
.cta {
    background-color: var(--bg-gray);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Support/Privacy Content Pages */
.contact-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-box h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.contact-box a {
    color: var(--bg-white);
    text-decoration: underline;
    font-weight: 600;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.content ul,
.content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.content code {
    background-color: var(--bg-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

kbd {
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--bg-gray);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-dark);
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.tech-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    nav a {
        margin-right: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .icon-circle {
        width: 90px;
        height: 90px;
        font-size: 48px;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    main,
    .content {
        padding: 1rem;
    }

    .feature-grid,
    .use-case-grid,
    .reasons {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

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

    .tagline {
        font-size: 1.125rem;
    }

    .badge-placeholder {
        width: 100%;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .download-badges,
    .cta,
    footer {
        display: none;
    }

    .hero {
        background: none;
        padding: 1rem;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
