﻿/* === 1. Hero & Login Section Styles === */

.hero-v5 {
    background-color: var(--light-color, #f8f9fa); /* Clean, light background */
    padding: 4rem 0; /* Vertical padding */
    overflow: hidden; /* For any visual elements that might overflow */
}

.hero-v5-content {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    align-items: center;
    gap: 2rem;
}

.hero-v5-text {
    text-align: center; /* Center text on mobile */
    max-width: 650px;
}

.hero-v5-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

    .hero-v5-title .highlight-v5 {
        color: var(--primary-color);
    }

.hero-v5-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-v5-subnote {
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

    .hero-v5-subnote span {
        display: inline-flex;
        align-items: center;
    }

    .hero-v5-subnote i {
        color: var(--accent-color);
        margin-right: 0.4rem;
    }

.hero-v5-form-card {
    background-color: var(--card-bg, #fff);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px; /* Control form width */
}

    .hero-v5-form-card .form-title {
        font-size: 1.5rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .hero-v5-form-card .form-desc {
        font-size: 0.95rem;
        text-align: center;
        color: var(--secondary-color);
        margin-bottom: 1.5rem;
    }

    .hero-v5-form-card .welcome-back-panel {
        text-align: center;
        padding: 1rem 0;
    }

        .hero-v5-form-card .welcome-back-panel h4 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

    .hero-v5-form-card .btn-block {
        display: block;
        width: 100%;
    }

    .hero-v5-form-card hr {
        margin: 1.5rem 0;
        border-color: rgba(0,0,0,0.05);
    }

/* Desktop Layout for Hero */
@media (min-width: 992px) { /* lg breakpoint */
    .hero-v5 {
        padding: 6rem 0;
    }

    .hero-v5-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
    }

    .hero-v5-text {
        flex-basis: 55%;
        text-align: left;
    }

    .hero-v5-subnote {
        justify-content: flex-start;
    }

    .hero-v5-form-card {
        flex-basis: 40%;
        flex-shrink: 0; /* Prevent form from shrinking */
    }

    .hero-v5-title {
        font-size: 3.2rem;
    }

    .hero-v5-subtitle {
        font-size: 1.2rem;
    }
}


/* === 2. Key Features Section Styles === */

.features-v3 {
    /* background-color: white;*/
    padding-top: var(--section-padding, 4rem);
    padding-bottom: var(--section-padding, 4rem);
}

    .features-v3 .section-title,
    .features-v3 .section-subtitle {
        margin-bottom: 1rem;
    }

    .features-v3 .section-subtitle {
        margin-bottom: 3rem;
    }

.feature-card-v3 {
    background-color: var(--card-bg, #fff);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    text-align: left;
    height: 100%; /* For equal height cards in a Bootstrap row */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
    border-top: 4px solid transparent;
}

    .feature-card-v3:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        border-top-color: var(--primary-color);
    }

.feature-v3-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    background-color: rgba(0, 123, 255, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 16px; /* Squarish rounded icon */
}

.feature-card-v3 h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-card-v3 p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Assuming Bootstrap's gy-4 and gx-lg-5 for gutters */
/* === 3. Live Editor Showcase Section Styles === */

.live-editor-showcase {
    background-color: var(--light-color, #f8f9fa);
    padding-top: var(--section-padding, 4rem);
    padding-bottom: var(--section-padding, 4rem);
}

    .live-editor-showcase .text-content {
        /* Optional specific styling for the text column */
    }

    /* Align titles and subtitles to the left for this section layout */
    .live-editor-showcase .section-title.text-start,
    .live-editor-showcase .section-subtitle.text-start {
        text-align: left !important;
    }

        .live-editor-showcase .section-title.text-start::after {
            left: 0;
            transform: translateX(0);
        }

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

    .showcase-list li {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-color);
    }

        .showcase-list li i {
            color: var(--accent-color);
            margin-right: 0.75rem;
        }

.live-editor-showcase .image-content .img-fluid {
    /* Add a subtle browser-window like frame to the image */
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}


/* === 4. How It Works (Timeline) Section Styles === */
.how-it-works-v3 {
    background-color: white;
    padding-top: var(--section-padding, 4rem);
    padding-bottom: var(--section-padding, 4rem);
}

.timeline-steps-v3 {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0; /* Padding inside the timeline itself */
}

    /* The vertical timeline line */
    .timeline-steps-v3::before {
        content: '';
        position: absolute;
        left: 19px; /* Centered on the 40px icon */
        top: 1.5rem; /* Start after first icon's top half */
        bottom: 1.5rem; /* End before last icon's bottom half */
        width: 2px;
        background-color: var(--primary-color-soft, #ddeaff);
        z-index: 0;
    }

.timeline-step-v3 {
    position: relative;
    padding-left: 65px; /* Space for icon and line */
    margin-bottom: 3rem; /* Space between steps */
}

    .timeline-step-v3:last-child {
        margin-bottom: 0;
    }

.timeline-icon-v3 {
    position: absolute;
    left: 0;
    top: 0; /* Align with top of text */
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--light-color, #f8f9fa); /* Ring effect */
    z-index: 1; /* Above the line */
}

.timeline-content-v3 h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-content-v3 p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}



/* === 5. What Makes Us Different Section Styles === */

.differentiator-section {
    background-color: var(--light-alt-bg, #f8f9fc); /* Using a slightly different light background */
    padding-top: var(--section-padding, 4rem);
    padding-bottom: var(--section-padding, 4rem);
}

    /* Reusing .section-title and .section-subtitle but ensuring left alignment */
    .differentiator-section .section-title.text-start,
    .differentiator-section .section-subtitle.text-start {
        text-align: left !important;
    }

        .differentiator-section .section-title.text-start::after {
            left: 0; /* Align underline with left-aligned text */
            transform: translateX(0);
        }

.diff-item {
    display: flex;
    align-items: flex-start; /* Aligns icon with the top of the text block */
    gap: 1.5rem; /* Space between icon and text */
    margin-bottom: 2rem; /* Space between each differentiator item */
    text-align: left; /* Ensure text inside is left-aligned */
}

    .diff-item:last-child {
        margin-bottom: 0;
    }

.diff-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, var(--primary-color) 0%, #4e95ff 100%);
    color: white;
    border-radius: 16px; /* Softly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.diff-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
}

.diff-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

.differentiator-section .image-content {
    text-align: center; /* Center image within its column */
}

    .differentiator-section .image-content .img-fluid {
        /* Optional effect for the illustration */
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    }

/* === 6. Public Profile Showcase Section Styles === */

.public-profile-showcase {
    background-color: var(--light-alt-bg, #f8f9fc);
    padding-top: var(--section-padding, 4rem);
    padding-bottom: var(--section-padding, 4rem);
}

    /* Align titles and subtitles to the left */
    .public-profile-showcase .section-title.text-start,
    .public-profile-showcase .section-subtitle.text-start {
        text-align: left !important;
    }

        .public-profile-showcase .section-title.text-start::after {
            left: 0;
            transform: translateX(0);
        }

/* Using .showcase-list as defined previously for the "Live Editor" section is a good way
   to maintain consistency. Here is a slightly refined version if needed. */
.showcase-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

    .showcase-list li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        gap: 1.25rem;
        text-align: left;
    }

    .showcase-list .showcase-list-icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        background-color: var(--accent-color); /* Use accent color for this section's icons */
        color: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
    }

    .showcase-list h4 {
        font-size: 1.15rem;
        color: var(--dark-color);
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .showcase-list p {
        font-size: 0.95rem;
        color: var(--text-color);
        line-height: 1.6;
        margin-bottom: 0;
    }

.public-profile-showcase .image-content {
    text-align: center;
}

    .public-profile-showcase .image-content .img-fluid {
        /* Optional: Add a frame or effect to the mockup */
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    }


/* Helper class for Bootstrap-like responsive row reversing */
@media (min-width: 992px) { /* lg breakpoint */
    .flex-lg-row-reverse {
        flex-direction: row-reverse !important;
    }

    .ps-lg-5 { /* Bootstrap padding-start utility */
        padding-left: 3rem !important;
    }
}

/* === 7. Final Call to Action Section Styles === */

.final-cta-v3 {
    background-color: var(--dark-color);
    background-image: var(--primary-gradient, linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%));
    color: white;
    padding-top: calc(var(--section-padding, 4rem) + 1rem); /* Extra padding */
    padding-bottom: calc(var(--section-padding, 4rem) + 1rem);
    padding-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

    /* Optional: Add subtle background shapes for more visual flair */
    .final-cta-v3::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        background-color: rgba(255,255,255,0.05);
        border-radius: 45%;
        transform: rotate(45deg);
    }

.final-cta-content {
    position: relative; /* Ensure content is above pseudo-elements */
    z-index: 1;
    max-width: 800px;
}

.final-cta-v3 .section-title,
.final-cta-v3 .section-subtitle {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.final-cta-v3 .section-title {
    font-size: 2.2rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .final-cta-v3 .section-title {
        font-size: 2.5rem;
    }
}

.final-cta-v3 .section-title::after {
    display: none; /* No underline for this title style */
}

.cta-icon-large {
    font-size: 3.5rem;
    color: var(--warning-color);
    margin-bottom: 1.5rem;
    display: block;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.final-cta-v3 .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.final-cta-v3 .btn {
    /* .btn-lg handles size */
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.final-cta-v3 .btn-primary { /* The main CTA button */
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    font-weight: 600;
}

    .final-cta-v3 .btn-primary:hover {
        background-color: var(--light-color);
        border-color: var(--light-color);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }

.final-cta-v3 .btn-outline-secondary { /* For secondary actions */
    color: white;
    border-color: rgba(255,255,255,0.6);
    background-color: transparent;
}

    .final-cta-v3 .btn-outline-secondary:hover {
        background-color: white;
        color: var(--primary-color);
        border-color: white;
        transform: translateY(-2px);
    }