/* CSS Variables for Colors and Fonts */
:root {
    --primary-blue: #2563eb;
    --secondary-green: #047857;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-white: #FFFFFF;
    --bg-light-gray: #f3f4f6;
    --border-color: #e5e7eb;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

p {
    color: var(--text-light);
    margin-bottom: 16px;
}

section {
    padding: 80px 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--bg-white);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

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

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

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

.nav-links .btn-nav,
.nav-links .btn-nav:hover {
    color: var(--bg-white);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.hero .container {
    max-width: 900px;
}

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 32px;
}

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

.hero-cta-note {
    font-size: 0.95rem;
}

.proof-strip {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 48px;
}

.whatsapp-highlight,
.kids,
.work-fit {
    padding-top: 0;
}

.section-intro {
    max-width: 720px;
    margin: -24px auto 48px;
    text-align: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Features Section */
.features {
    background-color: var(--bg-light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* Centers a lone card on the last row of the 3-column layout (in 2 columns it already sits in column 2) */
@media (min-width: 769px) {
    .feature-item:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
}

.feature-item {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--primary-blue);
}

/* Benefits Section */
.benefit-section {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 80px;
}

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

.benefit-text, .benefit-image {
    flex: 1;
}

.benefit-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info .author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-info .author-clinic {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Prices Section */
#prices {
    background-color: var(--bg-light-gray);
}

.pricing-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.pricing-features h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.pricing-features > p {
    margin-bottom: 32px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features li svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-green);
    flex-shrink: 0;
}

.pricing-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    min-width: 510px;
}

.pricing-card-highlighted {
    border: 4px solid var(--primary-blue);
}

.pricing-card h3 {
    font-family: var(--font-body);
    line-height: normal;
    color: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.price-display {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 4px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.price-period {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 4px;
}

.price-description {
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 16px;
}

.price-year-note {
    font-size: 0.90rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    text-align: center;
}

.final-cta h2 {
    color: var(--bg-white);
}

.final-cta p {
    color: var(--bg-white);
    max-width: 600px;
    margin: 0 auto 32px;
}

.final-cta .btn {
    background-color: var(--secondary-green);
    color: var(--bg-white);
    transform: scale(1.1);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .logo {
    color: var(--bg-white);
}

.footer p {
    color: var(--bg-light-gray);
    font-size: 0.9rem;
    max-width: 300px;
    margin-top: 16px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--bg-white);
    font-weight: 600;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--bg-light-gray);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a svg {
    fill: var(--bg-light-gray);
    transition: fill 0.2s ease;
}

.footer-socials a:hover svg {
    fill: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--bg-light-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .benefit-section { flex-direction: column; }
    .benefit-section:nth-of-type(even) { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-nav-toggle { display: block; color: var(--text-dark); }

    .header.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        padding: 8px 24px 24px;
    }

    .header.nav-open .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .header.nav-open .nav-links .btn-nav {
        margin-top: 16px;
        border-bottom: none;
        text-align: center;
    }

    h1 { font-size: 2.5rem; }
    .hero-cta-buttons { flex-direction: column; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer p { margin: 16px auto; }
    .footer-socials { justify-content: center; }
}

@media (max-width: 900px) {
    .pricing-card {
        min-width: 0px;
    }
    .pricing-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pricing-features {
        text-align: center;
    }
    .pricing-features ul {
        display: inline-block;
    }
}

.iframe-container {
    /* Define the size of the parent div */
    width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 3;
    border: 1px solid #ccc; /* Optional: for visualization */
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none; /* Optional: to remove the default iframe border */
}

/* Feature pages */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

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

.feature-page .hero {
    padding-top: 64px;
    padding-bottom: 64px;
}

.plan-badge {
    display: inline-block;
    background-color: var(--bg-light-gray);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    margin-left: 8px;
    vertical-align: middle;
}

.text-section .container {
    max-width: 800px;
}

.text-section h2 {
    text-align: left;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    margin-bottom: 16px;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: 700;
}

.check-list strong {
    color: var(--text-dark);
}

.benefit-text a,
.feature-item p a,
.text-section a {
    color: var(--primary-blue);
}

.faq .container {
    max-width: 800px;
}

.faq details {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq summary {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
    cursor: pointer;
}

.faq details p {
    margin: 12px 0 0;
}

.related .feature-item a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.feature-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.benefit-text h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 16px;
}

.steps {
    padding-left: 24px;
    margin-bottom: 16px;
}

.steps li {
    color: var(--text-light);
    margin-bottom: 12px;
}

.text-section h3 {
    margin-top: 32px;
}

.quote {
    background-color: var(--bg-light-gray);
    border-radius: 12px;
    padding: 24px;
    font-style: italic;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .benefit-text h2 { font-size: 1.6rem; }
}

/* Trust content */
.about-teaser {
    text-align: center;
}

.about-teaser .container {
    max-width: 800px;
}

.about-teaser p {
    margin-bottom: 32px;
}

.person {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 24px 0;
}

.person img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.person-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.person-role {
    color: var(--text-light);
}

.company-details {
    list-style: none;
}

.company-details li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.company-details strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .person { flex-direction: column; text-align: center; }
}
