/* ParentRevive Website Styles */
/* Matching the app's warm, calming aesthetic */

:root {
    --cream: #FFF9F0;
    --mint: #6BC4A6;
    --blue: #5B9FD8;
    --lavender: #E9DFF7;
    --pink: #FFD6D6;
    --coral: #FF758C;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 196, 166, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.nav-brand h1 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-brand h1 a:hover {
    color: var(--mint);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Header (legacy support) */
header {
    background: linear-gradient(135deg, var(--mint) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

header h1 a {
    color: var(--white);
    text-decoration: none;
}

header h1 a:hover {
    opacity: 0.9;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, rgba(107, 196, 166, 0.05) 0%, rgba(91, 159, 216, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(107, 196, 166, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(91, 159, 216, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--mint) 0%, var(--blue) 100%);
    color: var(--white);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid rgba(107, 196, 166, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(107, 196, 166, 0.05);
    border-color: var(--mint);
    color: var(--mint);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: var(--white);
    padding: 20px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image {
    width: 280px;
    height: auto;
    border-radius: 12px;
    display: block;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(107, 196, 166, 0.05) 0%, rgba(91, 159, 216, 0.05) 100%);
}

.screenshots h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.screenshot-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 24px 24px;
    color: var(--white);
}

.screenshot-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.screenshot-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pink) 0%, var(--coral) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    border-radius: 20px;
}

.download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-content {
    text-align: left;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.download-button {
    display: inline-block;
    background: var(--white);
    color: var(--coral);
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 32px;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.checkmark {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-image {
    width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.download:hover .download-image {
    transform: rotate(0deg) scale(1.02);
}

/* About Section */
.about {
    padding: 60px 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Privacy Note Section */
.privacy-note {
    background: linear-gradient(135deg, rgba(233, 223, 247, 0.5) 0%, rgba(212, 241, 232, 0.5) 100%);
    padding: 50px 0;
    border-radius: 20px;
    margin: 60px 0;
}

.privacy-note h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.privacy-note p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 10px 0;
    font-weight: 500;
}

/* Content Pages (Support, Privacy) */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.content-page h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.content-page h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.content-page h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px 0 10px;
    color: var(--text-dark);
}

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

.content-page ul {
    margin: 15px 0 15px 30px;
    color: var(--text-light);
}

.content-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

.support-section {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-info {
    font-size: 1.1rem;
    margin: 15px 0;
}

.contact-info a {
    color: var(--mint);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.response-time {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: var(--mint);
    margin-top: 0;
}

.privacy-section {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.privacy-section a {
    color: var(--mint);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    margin-top: 80px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

footer nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

footer nav a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .download .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .download-content {
        text-align: center;
    }

    .download-visual {
        order: -1;
    }

    .download-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    header h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-content h2 {
        font-size: 2.25rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .screenshot-image {
        height: 400px;
    }

    .download-content h2 {
        font-size: 2rem;
    }

    .content-page h2 {
        font-size: 2rem;
    }

    footer nav {
        flex-direction: column;
        gap: 15px;
    }
}

