/* --- CSS Variables --- */
:root {
    --primary-red: #e63b2e;
    --accent-green: #449d48;
    --bg-white: #ffffff;
    --surface-mist: #f2f4f6;
    --text-dark: #212121;
    --text-light: #6b7280;
}

/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body.home {
    text-align: center;
}

/* --- Layout Containers --- */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.container.narrow {
    max-width: 720px;
    padding: 60px 20px;
}

/* --- Global Typography Elements --- */
h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

ul {
    padding-left: 20px;
    margin-bottom: 24px;
    color: var(--text-light);
}

li {
    margin-bottom: 12px;
    line-height: 1.6;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* --- Hero Section (Home) --- */
.hero {
    padding: 80px 20px 60px;
    background-color: var(--bg-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23E63B2E' fill-opacity='0.03' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%23E63B2E' fill-opacity='0.05' d='M0,256L48,261.3C96,267,192,277,288,266.7C384,256,480,224,576,213.3C672,203,768,213,864,224C960,235,1056,245,1152,240C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%23E63B2E' fill-opacity='0.08' d='M0,96L48,128C96,160,192,224,288,240C384,256,480,224,576,197.3C672,171,768,149,864,160C960,171,1056,213,1152,218.7C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.hero-icon {
    width: 180px;
    height: 180px;
    /* Subtle drop shadow to lift it off the page */
    filter: drop-shadow(0px 10px 15px rgba(230, 59, 46, 0.15));
    margin-bottom: 24px;
    border-radius: 40px;
    /* Matches iOS squircle shape roughly */
}

h1.app-name {
    /* Extending h1 but with specific size for hero */
    font-size: 3rem;
    margin-bottom: 16px;
}

p.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid #a6a6a6;
}

.app-store-badge:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.apple-icon {
    width: auto;
    height: 28px;
    margin-right: 12px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.small-text {
    font-size: 0.7rem;
    font-weight: 400;
}

.large-text {
    font-size: 1.15rem;
    font-weight: 600;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 6px rgba(230, 59, 46, 0.2);
}

.btn-primary:hover {
    background-color: #c92e22; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(230, 59, 46, 0.3);
}

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    flex: 1 1 250px;
    max-width: 300px;
    padding: 24px;
    background: var(--surface-mist);
    border-radius: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* --- Feature Showcase Details --- */
.feature-showcase {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.showcase-image img:hover {
    transform: translateY(-5px);
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.showcase-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 20px 100px;
    background-color: var(--bg-white);
    /* Linear gradient, stronger at bottom, reduced intensity */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 25%, rgba(230, 59, 46, 0.15) 100%);
    text-align: center;
}

.active-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-section h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 2.2rem;
}

.cta-section p {
    max-width: 600px;
    margin-bottom: 32px;
}

.feedback-text {
    margin-top: 32px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* --- Footer --- */
footer {
    padding: 0px 0px;
    background-color: #1f2d41; /* Dark grey */
    color: #e5e7eb;
    font-size: 0.85rem;
}

footer a {
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
}

footer .disclaimer {
    margin-top: 8px;
    opacity: 0.7;
}

/* --- Privacy Policy Specifics --- */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-box {
    background-color: var(--surface-mist);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-box h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.summary-box p:last-child {
    margin-bottom: 0;
}

.footer-link {
    display: block;
    margin-top: 60px;
    text-align: center;
    font-weight: 600;
    padding: 20px;
}

/* --- Mobile Tweaks --- */
@media (max-width: 600px) {
    h1.app-name {
        font-size: 2.5rem;
    }

    p.tagline {
        font-size: 1.1rem;
    }

    .hero-icon {
        width: 140px;
        height: 140px;
    }

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
        text-align: center;
    }

    .showcase-text h3 {
        font-size: 1.75rem;
    }
}
