/* 
 * BlogLingo - Landing Page (LP) Styles
 * Used for building custom high-conversion UX/UI sections within Elite Templates.
 */

/* 1. Typography & Branding */
.lp-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.lp-accent-text {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.75rem;
}

.lp-lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2.5rem;
}

/* 2. Layout Modules */
.lp-grid {
    display: grid;
    gap: 3rem;
    margin: 4rem 0;
}

.lp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .lp-grid-2,
    .lp-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* 3. Feature Cards */
.lp-feature-card {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.lp-feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.lp-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: #ffffff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.lp-icon-box .material-symbols-outlined {
    font-size: 1.75rem;
    color: var(--primary);
}

/* 4. Content Spacing */
.lp-spacer {
    height: 3rem;
}

.lp-divider {
    display: none;
    /* Removed as per user request for modern feel */
}

/* 5. Team/Story Elements & Author */
.lp-story-block {
    position: relative;
    padding: 2.25rem;
    background: #fdfdfd;
    border-left: 4px solid var(--primary);
    border-radius: 0 1.5rem 1.5rem 0;
    margin: 2rem 0;
}

.lp-author-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    background: #f1f5f9;
}

.lp-quote {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    color: #0f172a;
    margin: 2rem 0;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

/* 13. Reveal Animations (Scroll Triggered) */
.lp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lp-reveal.delay-1 {
    transition-delay: 0.2s;
}

.lp-reveal.delay-2 {
    transition-delay: 0.4s;
}

.lp-reveal.delay-3 {
    transition-delay: 0.6s;
}

.lp-quote::before {
    content: "“";
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

/* 6. Elite Positioning Strip */
.lp-positioning-band {
    background: #0f172a;
    color: #ffffff;
    padding: 3.5rem;
    border-radius: 2rem;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-system-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    color: var(--primary-light);
}

.lp-system-line span:not(.arrow) {
    opacity: 0;
    animation: flow-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lp-system-line .arrow {
    font-size: 1.5rem;
    opacity: 0;
    color: #FFFFFF;
    animation: arrow-slide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Animation Delays */
.lp-system-line span:nth-child(1) {
    animation-delay: 0.2s;
}

.lp-system-line .arrow:nth-child(2) {
    animation-delay: 0.4s;
}

.lp-system-line span:nth-child(3) {
    animation-delay: 0.6s;
}

.lp-system-line .arrow:nth-child(4) {
    animation-delay: 0.8s;
}

.lp-system-line span:nth-child(5) {
    animation-delay: 1.0s;
}

@keyframes flow-reveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrow-slide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 0.5;
        transform: translateX(0);
    }
}

/* Base Mobile Overrides in Desktop block (if any) - none here, handled in media query */

/* 7. Fit Filter / Comparison */
.lp-fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 4rem 0;
}

.lp-fit-col {
    padding: 3rem;
    border-radius: 2rem;
}

.lp-fit-col.fit-yes {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
}

.lp-fit-col.fit-no {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
}

.lp-fit-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.lp-check-list li::before {
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1.25rem;
}

.fit-yes .lp-check-list li::before {
    content: "check_circle";
    color: #10b981;
}

.fit-no .lp-check-list li::before {
    content: "cancel";
    color: #f43f5e;
}

/* 8. Stepper Layout */
.lp-stepper {
    position: relative;
    padding-left: 4rem;
}

.lp-stepper::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.lp-step {
    position: relative;
    margin-bottom: 3.5rem;
}

.lp-step-num {
    position: absolute;
    left: -4rem;
    width: 3rem;
    height: 3rem;
    background: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 9. Outcome vs Output Boxes */
.lp-comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    padding: 1rem;
    margin: 2rem 0;
}

.lp-comp-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.lp-comp-item.output {
    border-top: 3px solid #cbd5e1;
}

.lp-comp-item.outcome {
    border-top: 3px solid #10b981;
}

.lp-comp-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.5rem;
    display: block;
}

.lp-comp-val {
    font-weight: 700;
    color: #0f172a;
}

/* 10. Buttons & CTAs */
.lp-btn-wrap {
    text-align: center;
    margin: 3rem 0;
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--gradient-brand);
    /* Matches header CTA exactly */
    color: #ffffff !important;
    padding: 1.15rem 2.75rem;
    border-radius: 9999px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(120, 58, 251, 0.3);
    position: relative;
    overflow: hidden;
}

.lp-btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 45px rgba(120, 58, 251, 0.4);
}

/* Shimmer Animation for the Final CTA (Elite Touch) */
.lp-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-25deg);
    animation: cta-shimmer 4s infinite ease-in-out;
}

.lp-microcopy {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {

    .lp-fit-grid,
    .lp-comparison-box {
        grid-template-columns: 1fr;
    }
}

/* 11. Zigzag / Split Blocks (User Inspiration) */
.lp-split-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 6rem 0;
    transition: all 0.5s ease;
}

.lp-split-block.reverse {
    flex-direction: row-reverse;
}

.lp-split-content {
    flex: 1;
}

.lp-split-visual {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Dark Frame from inspiration */
.lp-visual-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0f172a;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.lp-visual-icon {
    font-size: 5rem !important;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

/* The "Bleed" or overlap effect */
.lp-split-block .lp-split-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    z-index: 3;
    margin-left: -5rem;
    /* Overlap default */
}

.lp-split-block.reverse .lp-split-content {
    margin-left: 0;
    margin-right: -5rem;
    /* Overlap reversed */
}

/* 12. Standards Checklist */
.lp-standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.lp-standard-card {
    padding: 2rem;
    background: #ffffff;
    border-radius: 1.25rem;
    border-top: 4px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 900px) {

    .lp-split-block,
    .lp-split-block.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .lp-split-block .lp-split-content,
    .lp-split-block.reverse .lp-split-content {
        margin: 0;
        padding: 2rem;
    }

    .lp-split-visual {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* 14. Predictable Growth Framework Branding */
.lp-framework-callout {
    text-align: center;
    margin: -1rem 0 5rem 0;
}

.lp-framework-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #0f172a;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.lp-framework-pill .tm {
    font-size: 0.6rem;
    vertical-align: super;
    opacity: 0.6;
}

.lp-framework-pill .accent {
    color: var(--primary-light);
}

/* 15. Curiosity Hover Effects (High Authority) */
.lp-split-block {
    cursor: default;
}

.lp-split-visual .lp-author-avatar {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
}

.lp-split-block:hover .lp-author-avatar {
    transform: scale(1.03) rotate(1deg);
    filter: grayscale(0%);
    box-shadow: 0 30px 60px rgba(120, 58, 251, 0.2);
    border-color: var(--primary-light);
}

.lp-split-block:hover .lp-split-content {
    transform: translateX(10px);
}

.lp-split-block.reverse:hover .lp-split-content {
    transform: translateX(-10px);
}

.lp-split-content {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse for the author visual to spark curiosity */
@keyframes curiosity-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(120, 58, 251, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(120, 58, 251, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(120, 58, 251, 0);
    }
}

.lp-split-block.curiosity .lp-author-avatar {
    animation: curiosity-pulse 3s infinite;
}

/* 16. Framework Bridge (Psychology-led transition) */
.lp-framework-bridge {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 2rem 2rem 0 0;
    border: 1px solid #f1f5f9;
    border-bottom: none;
    position: relative;
    z-index: 5;
}

.lp-framework-name {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lp-framework-detail {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Adjust final section to connect to the bridge */
.lp-section-cta-final {
    background: #f8fafc;
    padding: 5rem 2rem;
    border-radius: 0 0 3rem 3rem;
    border: 1px solid #f1f5f9;
    border-top: none;
    margin-top: 0;
}

/* 17. Strategy Booking Page Styles (High-Conversion Edition) */
:root {
    --midnight-bg: #0A0A0B;
    --brand-dark-violet: #1a0b2e;
    /* Branded subtle plum/violet */
    --elite-gradient: linear-gradient(135deg, #783AFB 0%, #4F46E5 100%);
    --elite-accent: #10B981;
    /* Success Green */
    --elite-warning: #F59E0B;
    /* Warm Warning */
}

/* Base dark consistency */
#strategy-booking {
    background-color: var(--midnight-bg) !important;
}

.lp-booking-centered-wrap {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
    align-items: start;
    padding: 1.0rem 1.5rem;
}

@media (max-width: 1024px) {
    .lp-booking-centered-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Left Sidebar: Authority & USP */
.lp-authority-sidebar {
    height: 100%;
    /* Ensure container maps to full grid height for sticky tracking */
}

.lp-authority-card {
    background: var(--brand-dark-violet);
    border: 1px solid rgba(120, 58, 251, 0.15);
    border-radius: 3rem;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
}

.lp-usp-nested-card {
    background: var(--elite-gradient);
    border-radius: 2rem;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 20px 40px -10px rgba(120, 58, 251, 0.3);
}

/* Right Side: Sticky Floating Container */
.lp-form-sticky-wrap {
    position: relative;
    top: 0;
    padding-top: 2rem;
    z-index: 20;

}

.lp-multistep-container {
    background: #ffffff;
    border-radius: 3rem;
    padding: 3.5rem 3rem;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Progress Bar */
.lp-progress-wrapper {
    position: absolute;
    top: 4.0rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}

.lp-progress-bar {
    height: 100%;
    background: var(--elite-gradient);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Transitions */
.lp-form-step {
    display: none;
    animation: stepIn 0.5s ease forwards;
}

.lp-form-step.active {
    display: block;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lp-step-headline {
    font-size: 2.5rem;
    font-weight: 950;
    color: #0f172a;
    margin-bottom: 2.5rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    transition: font-size 0.3s ease;
}

/* Scaling down for step 3+ to keep within fold */
.lp-form-step[data-step="3"] .lp-step-headline,
.lp-form-step[data-step="4"] .lp-step-headline,
.lp-form-step[data-step="5"] .lp-step-headline {
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.lp-form-step[data-step="3"] .lp-progress-text,
.lp-form-step[data-step="4"] .lp-progress-text,
.lp-form-step[data-step="5"] .lp-progress-text {
    margin-bottom: 0.5rem;
}

/* Conversational Inputs */
.lp-conv-input {
    width: 100%;
    font-size: 1.5rem;
    padding: 1.5rem 0;
    border: none;
    border-bottom: 3px solid #e2e8f0;
    background: transparent;
    color: #0f172a;
    font-weight: 800;
    transition: all 0.3s ease;
}

.lp-conv-input:focus {
    outline: none;
    border-color: #783AFB;
}

.lp-step-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 3.5rem;
    gap: 1.5rem;
}

.btn-step-next {
    background: var(--elite-gradient);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 1.25rem;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(120, 58, 251, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-step-next:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(120, 58, 251, 0.5);
}

/* Choice Items */
.lp-choice-grid {
    display: grid;
    gap: 1rem;
}

.lp-choice-item {
    position: relative;
}

.lp-choice-item input {
    position: absolute;
    opacity: 0;
}

.lp-choice-label {
    display: block;
    padding: 1.1rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem;
    cursor: pointer;
    font-weight: 800;
    color: #475569;
    transition: all 0.2s ease;
}

.lp-choice-item input:checked+.lp-choice-label {
    border-color: #783AFB;
    background: rgba(120, 58, 251, 0.05);
    color: #783AFB;
}

/* Authority / Mini-Author Integration */
.lp-mini-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.lp-mini-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #783AFB;
}

.lp-mini-author-meta {
    display: flex;
    flex-direction: column;
}

.lp-mini-author-name {
    font-weight: 900;
    color: #ffffff;
    font-size: 1.05rem;
}

.lp-mini-author-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Progress Text */
.lp-progress-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

@media (max-width: 1100px) {
    .lp-booking-centered-wrap {
        grid-template-columns: 1fr;
        max-width: 100% !important;
        padding-top: 2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 3rem;
    }

    .lp-authority-sidebar {
        order: 2;
    }

    .lp-form-sticky-wrap {
        position: static;
        order: 1;
    }

    .lp-multistep-container {
        padding: 3rem 1.5rem;
        border-radius: 2rem;
    }

    /* Scaling down for step 3+ to keep within fold on small screens */
    .lp-form-step[data-step="3"] .lp-step-headline,
    .lp-form-step[data-step="4"] .lp-step-headline,
    .lp-form-step[data-step="5"] .lp-step-headline {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .lp-choice-label {
        padding: 0.85rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .lp-conv-input {
        font-size: 1.1rem !important;
        padding: 1rem 0 !important;
    }

    .lp-step-nav {
        margin-top: 1.5rem !important;
    }

    .lp-choice-grid {
        gap: 0.75rem !important;
    }

    .lp-progress-wrapper {
        top: 2.5rem !important;
    }

    /* Positioning Band Mobile Fix */
    .lp-positioning-band {
        padding: 2.5rem 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .lp-positioning-band h2 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
    }

    .lp-system-line {
        flex-direction: column !important;
        gap: 0.5rem !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.1em !important;
    }

    .lp-system-line .arrow {
        transform: rotate(90deg) !important;
        margin: 0.15rem 0 !important;
        font-size: 1.25rem !important;
        animation-name: arrow-slide-mobile !important;
    }

    @keyframes arrow-slide-mobile {
        from {
            opacity: 0;
            transform: rotate(90deg) translateY(-10px);
        }

        to {
            opacity: 0.5;
            transform: rotate(90deg) translateY(0);
        }
    }

    /* LP Button Mobile Fix */
    .lp-btn-primary {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 1.15rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
}