/*
 Theme Name:   Astra Child
 Theme URI:    https://www.clicktocopy.com/
 Description:  A child theme for the Astra Theme.
 Author:       Your Name
 Author URI:   https://www.clicktocopy.com/
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         astra, child theme, custom colors, custom fonts, custom header, custom menu, editor style, featured images, rtl language support, theme options, translation ready
 Text Domain:  astra-child
*/
/* ========================================================== */
/* ================== HOMEPAGE HERO SECTION ================= */
/* ========================================================== */

/* Use the variables you set up in Astra's Customizer */
:root {
    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --heading-color: #0D1221;
    --body-text-color: #5A6175;
    --site-background: #F8F9FF;
}

.hero-section {
    background-color: var(--site-background);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--body-text-color);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
    /* Keep line length readable */
}

.hero-cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff !important;
    /* Important to override theme link styles */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-cta-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(124, 58, 237, 0.3);
}

.hero-sub-cta {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--body-text-color);
}

.hero-visual {
    flex: 1;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(13, 18, 33, 0.15);
}

/* --- RESPONSIVE STYLES (for tablets and mobile) --- */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 3rem;
    }
}


@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

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

/* ========================================================== */
/* ============= PROBLEM / SOLUTION SECTION ================= */
/* ========================================================== */

.problem-solution-section {
    /* Uses the white content background for high contrast */
    background-color: #fff;
    padding: 6rem 0;
}

.problem-solution-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--body-text-color);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    /* Center the subtitle */
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.problem-column,
.solution-column {
    background-color: var(--site-background);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E9EDF7;
}

.column-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.problem-column .column-icon {
    background-color: #F1F5F9;
    /* A neutral gray */
    color: #64748B;
}

.solution-column .column-icon {
    background-color: #F5F3FF;
    /* A light version of your accent */
    color: var(--accent);
}

.column-headline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.column-text {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .problem-solution-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        /* Stack columns vertically */
    }
}

/* ========================================================== */
/* ================= "HOW IT WORKS" SECTION ================= */
/* ========================================================== */

.how-it-works-section {
    /* Uses the light purple-tinted background for variety */
    background-color: var(--site-background);
    padding: 6rem 0;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using these from the previous section */
/* .section-title { ... } */
/* .section-subtitle { ... } */

.steps-grid {
    display: grid;
    /* Create three equal columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #E9EDF7;
    text-align: left;
    box-shadow: 0 4px 15px rgba(13, 18, 33, 0.05);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 2rem;
    background-color: #F5F3FF;
    /* Light purple tint */
    color: var(--accent);
}

.step-headline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.step-headline .step-number {
    display: inline-block;
    color: var(--accent);
    margin-right: 0.5rem;
}

.step-text {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .steps-grid {
        /* On smaller screens, stack into a single column */
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 4rem 0;
    }
}

/* ========================================================== */
/* =================== FEATURES SECTION ===================== */
/* ========================================================== */

.features-section {
    /* Uses the white background for a clean canvas */
    background-color: #fff;
    padding: 6rem 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using these from previous sections */
/* .section-title { ... } */
/* .section-subtitle { ... } */

.features-grid {
    display: grid;
    /* Start with a 3-column grid on large screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-visual {
    border-radius: 12px;
    border: 1px solid #E9EDF7;
    margin-bottom: 1.5rem;
    overflow: hidden;
    /* Ensures the image respects the border-radius */
    box-shadow: 0 4px 15px rgba(13, 18, 33, 0.05);
}

.feature-visual img {
    /* Ensures the image fills the container without distortion */
    width: 100%;
    height: auto;
    display: block;
}

.feature-headline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .features-grid {
        /* Switch to 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .features-section {
        padding: 4rem 0;
    }

    .features-grid {
        /* Stack to a single column on mobile */
        grid-template-columns: 1fr;
    }
}

/* ========================================================== */
/* =================== PRICING PAGE ========================= */
/* ========================================================== */

.pricing-section {
    background-color: var(--site-background);
    padding: 6rem 0;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using these from previous sections */
/* .section-title { ... } */
/* .section-subtitle { ... } */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

.plan-card {
    background-color: #fff;
    border: 1px solid #E9EDF7;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(13, 18, 33, 0.05);
}

/* Add a highlight border to the Pro plan */
.plan-card.is-pro {
    border-color: var(--accent);
    border-width: 2px;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.plan-price .price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--body-text-color);
}

.plan-subtitle {
    font-size: 1rem;
    color: var(--body-text-color);
    margin-bottom: 2rem;
    min-height: 40px;
    /* Ensures alignment */
}

.plan-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.plan-cta-btn.is-primary {
    background-color: var(--accent);
    color: #fff !important;
}

.plan-cta-btn.is-primary:hover {
    background-color: var(--accent-hover);
}

.plan-cta-btn.is-secondary {
    background-color: #fff;
    color: var(--accent) !important;
    border: 2px solid var(--accent);
}

.plan-cta-btn.is-secondary:hover {
    background-color: var(--accent);
    color: #fff !important;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--body-text-color);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.plan-features .icon-check {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.plan-features strong {
    color: var(--heading-color);
}


/* --- FAQ Section --- */
.faq-section {
    padding: 6rem 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    border-bottom: 1px solid #E9EDF7;
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================== */
/* ================= USE CASES (TABS) SECTION =============== */
/* ========================================================== */

.use-cases-section {
    background-color: var(--site-background);
    padding: 6rem 0;
}

.use-cases-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using .section-title and .section-subtitle */

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-bottom: 2px solid #E9EDF7;
    margin: 3rem 0;
}

.tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--body-text-color);
    position: relative;
    top: 2px;
    /* Aligns with the bottom border */
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--heading-color);
    background-color: transparent !important;
}

.tab-btn:active {
    background-color: transparent !important;
    transform: translateY(1px);
}

.tab-btn.is-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    /* All tab content panels are hidden by default */
    display: none;
}

/* The active tab content panel is shown */
.tab-content.is-active {
    display: block;
}

.tab-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.tab-panel-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(13, 18, 33, 0.1);
}

.tab-panel-text .feature-headline {
    font-size: 1.75rem;
}

/* ========================================================== */
/* ============ LOGGED-OUT / AUTH-GATE SCREEN =============== */
/* ========================================================== */

.logged-out-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--site-background, #F8F9FF);
    /* Fallback for your page bg */
    padding: 2rem;
    text-align: center;
}

.logged-out-box {
    background-color: var(--surface-color, #FFFFFF);
    padding: 3rem;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border-color, #E9EDF7);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
}

.logged-out-logo {
    /* You would replace this with your actual logo */
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    /* Example styling for a placeholder */
    background-color: var(--accent, #7C3AED);
    border-radius: 12px;
}

.logged-out-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color, #0D1221);
    margin-bottom: 0.75rem;
}

.logged-out-message {
    font-size: 1rem;
    color: var(--body-text-color, #5A6175);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.logged-out-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-btn {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.auth-btn.is-primary {
    background-color: var(--accent, #7C3AED);
    color: #fff !important;
}

.auth-btn.is-primary:hover {
    background-color: var(--accent-hover, #6D28D9);
}

.auth-btn.is-secondary {
    background-color: transparent;
    color: var(--accent, #7C3AED) !important;
    border-color: var(--accent, #7C3AED);
}

.auth-btn.is-secondary:hover {
    background-color: var(--accent, #7C3AED);
    color: #fff !important;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .tabs-nav {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .tab-panel-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 2rem;
        text-align: center;
    }

    .tab-panel-visual {
        order: -1;
        /* Move image to the top on mobile */
    }
}

/* ========================================================== */
/* ================= PRICING SUMMARY SECTION ================ */
/* ========================================================== */

.pricing-summary-section {
    background-color: #fff;
    padding: 6rem 0;
}

.pricing-summary-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* ========================================================== */
/* =================== FINAL CTA SECTION ==================== */
/* ========================================================== */

.final-cta-section {
    /* Using the dark background for high impact */
    background-color: #161B29;
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.final-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-headline {
    color: white !important;
    /* A bright white for the headline to stand out */
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.final-cta-text {
    font-size: 1.1rem;
    color: #E9EDF7;
    /* A slightly softer white */
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* ========================================================== */
/* ============= REGISTRATION & LOGIN PAGES ================= */
/* ========================================================== */

/* This container ensures the form is centered on the page */
.registration-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    min-height: 80vh;
    /* Adjust as needed */
    background-color: var(--site-background, #F8F9FF);
}

.registration-box {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E9EDF7;
    box-shadow: 0 10px 30px rgba(13, 18, 33, 0.08);
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.registration-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color, #0D1221);
    margin-bottom: 0.5rem;
}

.registration-subheadline {
    font-size: 1rem;
    color: var(--body-text-color, #5A6175);
    margin-bottom: 2.5rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color, #0D1221);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E9EDF7;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--site-background, #F8F9FF);
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent, #7C3AED);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background-color: #fff;
}

.registration-btn {
    background-color: var(--accent, #7C3AED);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.2s ease;
}

.registration-btn:hover {
    background-color: var(--accent-hover, #6D28D9);
}

.login-link {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--body-text-color, #5A6175);
}

.login-link a {
    color: var(--accent, #7C3AED);
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.form-footer-text {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8;
    /* A more muted gray */
    line-height: 1.5;
}

.form-footer-text a {
    color: #94a3b8;
    text-decoration: underline;
}

#user_login {
    background-color: white !important;
}

form#loginform p label {
    background: rgba(255, 255, 255, 0.5);
}

/* ========================================================== */
/* =================== FEATURES PAGE ======================== */
/* ========================================================== */

/* --- Page Header / Hero --- */
.page-header-section {
    background-color: var(--site-background);
    text-align: center;
    padding: 5rem 2rem;
}

.page-header-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.page-header-subtitle {
    font-size: 1.2rem;
    color: var(--body-text-color);
    max-width: 650px;
    margin: 0 auto;
}

/* --- Individual Feature Row --- */
.feature-row {
    background-color: #fff;
    padding: 6rem 0;
    border-bottom: 1px solid #E9EDF7;
}

/* Alternate background color for visual rhythm */
.feature-row:nth-child(even) {
    background-color: var(--site-background);
}

.feature-row-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse the column order for every other row */
/* .feature-row:nth-child(even) .feature-row-container { */
/* This will not work if the row is wrapped in another div.
       A class-based approach is more robust. */
/* } */

/* A better way is with a dedicated class */
.feature-row.is-reversed .feature-row-container {
    grid-template-columns: 1fr 1fr;
    /* Reset for desktop */
    direction: rtl;
    /* Reverses the order of grid items */
}

.feature-row.is-reversed .feature-row-container>* {
    direction: ltr;
    /* Resets text direction for content inside */
}


.feature-row-text .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: #F5F3FF;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-row-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.feature-row-text p {
    font-size: 1.1rem;
    color: var(--body-text-color);
    line-height: 1.7;
}

.feature-row-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(13, 18, 33, 0.1);
    margin-bottom: 30px;
}

.bottom-cta {
    text-align: center;
    margin: auto;
    margin-top: 4rem;
    width: 50%;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {

    .bottom-cta {
        width: 100%;
    }

    .page-header-section {
        padding: 4rem 1.5rem;
    }

    .page-header-title {
        font-size: 2.25rem;
    }

    .feature-row {
        padding: 4rem 0;
    }

    .feature-row-container,
    .feature-row.is-reversed .feature-row-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 2.5rem;
        direction: ltr;
        /* Reset direction on mobile */
    }

    .feature-row-text {
        text-align: center;
    }

    .feature-row-visual {
        order: -1;
        /* Always show visual on top on mobile */
    }

    .feature-row-text h2 {
        font-size: 1.75rem;
    }
}

/* ========================================================== */
/* ================ USE CASES HUB PAGE ====================== */
/* ========================================================== */

/* Re-using these from the Features page for consistency */
/* .page-header-section { ... } */
/* .page-header-title { ... } */
/* .page-header-subtitle { ... } */

.use-cases-grid-section {
    background-color: #fff;
    padding: 4rem 0 6rem 0;
    /* A bit less padding on top */
}

.use-cases-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.use-cases-grid {
    display: grid;
    /* Start with a 3-column grid on desktops */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    /* Make the whole card the link */
    display: block;
    text-decoration: none;

    background-color: #fff;
    border: 1px solid #E9EDF7;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(13, 18, 33, 0.05);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 18, 33, 0.1);
    border-color: #d1d9e6;
}

.use-case-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-color: #F5F3FF;
    color: var(--accent);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.use-case-card p {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .use-cases-grid {
        /* Switch to 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .use-cases-grid {
        /* Stack to a single column on mobile */
        grid-template-columns: 1fr;
    }
}

/* ========================================================== */
/* ========= SOLUTION / JOB-TO-BE-DONE PAGE TEMPLATE ======== */
/* ========================================================== */

/* You can reuse .page-header-section, .feature-row, .final-cta-section etc. */

/* New section for pain points */
.pain-points-section {
    background-color: #fff;
    padding: 4rem 0 2rem 0;
}

.pain-points-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pain-points-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pain-points-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--body-text-color);
}

.pain-points-list .icon-x {
    color: #ef4444;
    /* A soft red */
    flex-shrink: 0;
}

/* New section for testimonials */
.testimonial-section {
    background-color: var(--site-background);
    padding: 6rem 0;
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    font-weight: 400;
    color: var(--body-text-color);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .pain-points-list {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 1.25rem;
    }
}

/* ========================================================== */
/* ============= INTERACTIVE DEMO SECTION =================== */
/* ========================================================== */

.interactive-demo-section {
    /* Use the alternate background to stand out */
    background-color: var(--site-background);
    padding: 6rem 0;
}

.interactive-demo-container {
    max-width: 1200px;
    /* Allow it to be a bit wider */
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using these from previous sections for consistency */
/* .section-title { ... } */
/* .section-subtitle { ... } */

.demo-board-wrapper {
    margin-top: 4rem;
    /* You might want to add a subtle border or shadow to the wrapper
       to frame the demo app nicely. */
    border: 1px solid #E9EDF7;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(13, 18, 33, 0.08);
    overflow: hidden;
    /* Important if your demo has sharp corners */
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .interactive-demo-section {
        padding: 4rem 0;
    }
}

/* ========================================================== */
/* ================== SPOKE PAGE TEMPLATE =================== */
/* ========================================================== */

/* You can re-use .page-header-section from your other pages */

/* --- Breadcrumbs for Navigation --- */
.breadcrumbs {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--body-text-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    color: var(--body-text-color);
    opacity: 0.6;
}

/* Re-use the .interactive-demo-section from the solution pages */
/* It's perfect for this */

/* --- The Main Signup CTA Block --- */
.spoke-cta-section {
    background-color: #fff;
    padding: 4rem 0;
}

.spoke-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    text-align: center;
    background-color: var(--site-background);
    border: 2px solid var(--accent);
    border-radius: 16px;
}

.spoke-cta-headline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.spoke-cta-text {
    font-size: 1.1rem;
    color: var(--body-text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Re-use .hero-cta-btn */


/* --- Related Content / SEO Text Section --- */
.related-content-section {
    background-color: #fff;
    padding: 4rem 0 6rem 0;
}

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

.related-content-container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

/* Basic styling for the HTML content coming from the JSON */
.related-content-container .content-wrapper p,
.related-content-container .content-wrapper ul {
    font-size: 1.1rem;
    color: var(--body-text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.related-content-container .content-wrapper ul {
    padding-left: 25px;
}

.related-content-container .content-wrapper h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
}

/* ========================================================== */
/* ================== PILLAR PAGE TEMPLATE ================== */
/* ========================================================== */

/* You will re-use the following existing styles: */
/* .page-header-section, .page-header-title, .page-header-subtitle */
/* .use-cases-grid-section, .use-cases-grid-container, .use-cases-grid, .use-case-card */
/* .final-cta-section */

/* --- New Section for Introductory Content --- */
.pillar-intro-section {
    background-color: #fff;
    padding: 4rem 0 2rem 0;
}

.pillar-intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pillar-intro-container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pillar-intro-container p {
    font-size: 1.1rem;
    color: var(--body-text-color);
    line-height: 1.8;
}

/* ========================================================== */
/* ============== HOMEPAGE TEMPLATES SECTION ================ */
/* ========================================================== */

.templates-section {
    /* Uses the light purple-tinted background */
    background-color: var(--site-background);
    padding: 6rem 0;
}

.templates-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Re-using these from previous sections */
/* .section-title { ... } */
/* .section-subtitle { ... } */

.templates-grid {
    display: grid;
    /* We'll do a 4-column grid for this to show more variety */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    text-align: left;
}

.template-card {
    display: block;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #E9EDF7;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 18, 33, 0.1);
    border-color: #d1d9e6;
}

/* Subtle gradient hover effect */
.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, var(--accent, #7C3AED) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.template-card:hover::before {
    opacity: 0.1;
}

.template-card .icon {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.template-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.template-card p {
    font-size: 0.9rem;
    color: var(--body-text-color);
    line-height: 1.5;
}

.templates-cta-wrapper {
    margin-top: 4rem;
}

/* Re-use .hero-cta-btn, but make it an outline style for variety */
.hero-cta-btn.is-secondary {
    background-color: transparent;
    color: var(--accent) !important;
    border: 2px solid var(--accent);
    box-shadow: none;
}

.hero-cta-btn.is-secondary:hover {
    background-color: var(--accent);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .templates-grid {
        /* Switch to 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .templates-section {
        padding: 4rem 0;
    }

    .templates-grid {
        /* Stack to a single column on mobile */
        grid-template-columns: 1fr;
    }
}

/*
 * 1. The animation definition.
 * It starts invisible and slightly lower, then fades in and moves up.
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
 * 2. A reusable class to trigger the animation.
 * We set opacity to 0 initially. JS will add an "is-visible" class.
*/
.fade-in-section {
    opacity: 0;
}

.fade-in-section.is-visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 
 * 3. Accessibility: Respect user preferences for reduced motion.
*/
@media (prefers-reduced-motion: reduce) {
    .fade-in-section {
        transition: none;
        animation: none;
        opacity: 1;
        /* Just make it visible immediately */
    }
}

/* Add this alongside your other fade-in styles */

/* We add a transition to the cards themselves */
.step-card,
.feature-card,
.template-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When the parent section becomes visible, the cards will fade in */
.is-visible .step-card,
.is-visible .feature-card,
.is-visible .template-card {
    opacity: 1;
    transform: translateY(0);
}

/* The magic: Apply a delay to each subsequent card */
.is-visible .step-card:nth-child(2),
.is-visible .feature-card:nth-child(2),
.is-visible .template-card:nth-child(2) {
    transition-delay: 0.15s;
}

.is-visible .step-card:nth-child(3),
.is-visible .feature-card:nth-child(3),
.is-visible .template-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Add more if you have more cards in a row */
.is-visible .template-card:nth-child(4) {
    transition-delay: 0.45s;
}

/* ========================================================== */
/* ============= 404 / NOT FOUND PAGE STYLE ================= */
/* ========================================================== */

.not-found-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    /* Adjust to fit your layout */
    background-color: var(--site-background, #F8F9FF);
    padding: 2rem;
    text-align: center;
    margin: auto;
}

.not-found-box {
    max-width: 550px;
    width: 100%;
}

.not-found-code {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent, #7C3AED);
    margin-bottom: 0.5rem;
}

.not-found-headline {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color, #0D1221);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.not-found-message {
    font-size: 1.1rem;
    color: var(--body-text-color, #5A6175);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Re-using your button styles */
/* .hero-cta-btn { ... } */
/* .hero-cta-btn.is-secondary { ... } */

/* Responsive Styles */
@media (max-width: 768px) {
    .not-found-headline {
        font-size: 2.25rem;
    }

    .not-found-actions {
        flex-direction: column;
        align-items: center;
    }

    .not-found-actions .hero-cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .not-found-image {
        max-width: 100%;
        height: auto;
    }
}

.not-found-image {
    width: 35%;
    height: auto;
    max-width: 400px;
    margin: auto;
    margin-bottom: 5vh;
    /* Adjust as needed */
}

/* ========================================================== */
/* =================== CONTACT PAGE ========================= */
/* ========================================================== */

/* Re-use page header from Features page for the title */
/* .page-header-section { ... } */
/* .page-header-title { ... } */
/* .page-header-subtitle { ... } */


/* --- Self-Help Section --- */
.self-help-section {
    background-color: #fff;
    padding: 0 0 4rem 0;
}

.self-help-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.self-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-box {
    display: block;
    text-decoration: none;
    background-color: var(--site-background);
    border: 1px solid #E9EDF7;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 18, 33, 0.08);
    border-color: #d1d9e6;
}

.info-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-color: #F5F3FF;
    color: var(--accent);
}

.info-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 1rem;
    color: var(--body-text-color);
    line-height: 1.6;
}


/* --- Contact Form Section --- */
.contact-form-section {
    background-color: #fff;
    padding: 4rem 0 6rem 0;
    border-top: 1px solid #E9EDF7;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2.5rem;
}

/* Re-use the form styles from the registration page */


.form-group select {
    /* Simple styling for the dropdown */
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E9EDF7;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--site-background, #F8F9FF);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235A6175' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.nf-form-con {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .self-help-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================================== */
/* ============== LEGAL / TEXT PAGE STYLES ================== */
/* ========================================================== */

.legal-page-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body-text-color);
}

.legal-page-container h1 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.legal-page-container .effective-date {
    font-style: italic;
    color: #94a3b8;
    /* Muted gray */
    margin-bottom: 3rem;
}

.legal-page-container h2 {
    font-size: 1.75rem;
    color: var(--heading-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #E9EDF7;
    padding-bottom: 0.5rem;
}

.legal-page-container h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page-container ul {
    padding-left: 25px;
}

.legal-page-container a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

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