/* Landing Page Generator - Renders as Actual Landing Page */
.landingpage-single-display {
    /* Default color scheme - can be overridden by custom color_scheme */
    --lp-primary: #6afcff;
    --lp-secondary: #22c55e;
    --lp-accent: #8b5cf6;
    --lp-text: #e0e0e0;
    --lp-bg: #0d0d1a;
    --lp-card-bg: rgba(255, 255, 255, 0.04);

    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* ===== HERO SECTION ===== */
.lp-hero-section {
    padding: 60px 30px 50px;
    background: linear-gradient(180deg, rgba(106, 252, 255, 0.08) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
}

.lp-main-headline {
    font-size: 2.4em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.lp-subheadline {
    font-size: 1.25em;
    color: var(--lp-primary);
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 700px;
    font-weight: 400;
}

.lp-hero-copy {
    font-size: 1.1em;
    color: #b0b0b0;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== PROBLEM/SOLUTION SECTION ===== */
.lp-problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px 30px;
    text-align: left;
}

.lp-problem-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 25px;
}

.lp-problem-box::before {
    content: "The Problem";
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.lp-solution-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.04) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
    padding: 25px;
}

.lp-solution-box::before {
    content: "The Solution";
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.lp-problem-box p,
.lp-solution-box p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95em;
}

/* ===== BENEFITS SECTION ===== */
.lp-benefits-section {
    padding: 50px 30px;
    background: var(--lp-card-bg);
}

.lp-section-label {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--lp-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.lp-section-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 35px 0;
}

.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.lp-benefit-card {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    padding: 22px;
    transition: transform 0.2s, border-color 0.2s;
}

.lp-benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.35);
}

.lp-benefit-card .icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    margin-bottom: 15px;
}

.lp-benefit-card h4 {
    color: #fff;
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.lp-benefit-card p {
    color: #aaa;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

/* ===== FEATURES SECTION ===== */
.lp-features-section {
    padding: 50px 30px;
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    text-align: left;
}

.lp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: rgba(139, 92, 246, 0.08);
    border-left: 3px solid var(--lp-accent);
    border-radius: 0 8px 8px 0;
}

.lp-feature-item .icon {
    color: var(--lp-accent);
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 2px;
}

.lp-feature-item strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.lp-feature-item span {
    color: #aaa;
    font-size: 0.9em;
    line-height: 1.4;
}

/* ===== TESTIMONIALS SECTION ===== */
.lp-testimonials-section {
    padding: 50px 30px;
    background: var(--lp-card-bg);
}

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

.lp-testimonial-card {
    background: rgba(236, 72, 153, 0.06);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    position: relative;
}

.lp-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4em;
    color: #ec4899;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.lp-testimonial-card blockquote {
    margin: 0 0 15px 0;
    padding: 0;
    font-style: italic;
    color: #ccc;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.lp-testimonial-card cite {
    color: #ec4899;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9em;
}

/* ===== HOW IT WORKS SECTION ===== */
.lp-steps-section {
    padding: 50px 30px;
}

.lp-steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.lp-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.lp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #06b6d4, transparent);
}

.lp-step-number {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 1em;
    flex-shrink: 0;
}

.lp-step-content h4 {
    color: #06b6d4;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.lp-step-content p {
    color: #aaa;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95em;
}

/* ===== FAQ SECTION ===== */
.lp-faq-section {
    padding: 50px 30px;
    background: var(--lp-card-bg);
}

.lp-faq-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.lp-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.lp-faq-item:last-child {
    border-bottom: none;
}

.lp-faq-question {
    color: #f59e0b;
    font-weight: 600;
    font-size: 1.05em;
    margin: 0 0 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.lp-faq-question::before {
    content: 'Q';
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    flex-shrink: 0;
}

.lp-faq-answer {
    color: #aaa;
    line-height: 1.6;
    margin: 0;
    padding-left: 34px;
}

/* ===== CTA SECTION ===== */
.lp-cta-section {
    padding: 60px 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 0 0 16px 16px;
}

.lp-cta-headline {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.lp-primary-cta {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--lp-secondary, #22c55e), color-mix(in srgb, var(--lp-secondary, #22c55e), black 15%));
    color: #000;
    font-weight: 700;
    font-size: 1.2em;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.lp-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
}

.lp-cta-subtext {
    color: #888;
    font-size: 0.95em;
    margin: 15px 0 0 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.lp-secondary-cta {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--lp-primary);
    font-weight: 600;
    border: 2px solid var(--lp-primary);
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.2s;
    cursor: pointer;
}

.lp-secondary-cta:hover {
    background: rgba(106, 252, 255, 0.1);
}

/* ===== GUARANTEE SECTION ===== */
.lp-guarantee-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin: 30px;
    text-align: left;
}

.lp-guarantee-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.lp-guarantee-text {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

.lp-guarantee-text strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

/* ===== URGENCY BANNER ===== */
.lp-urgency-banner {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 50%, rgba(239, 68, 68, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 15px 25px;
    margin: 0 30px 30px;
    animation: urgency-glow 2s ease-in-out infinite;
}

.lp-urgency-banner p {
    color: #f87171;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes urgency-glow {
    0%, 100% { border-color: rgba(239, 68, 68, 0.4); }
    50% { border-color: rgba(239, 68, 68, 0.7); }
}

/* ===== SOCIAL PROOF STATS ===== */
.lp-stats-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    flex-wrap: wrap;
}

.lp-stat {
    text-align: center;
}

.lp-stat-value {
    font-size: 2em;
    font-weight: 800;
    color: var(--lp-accent);
    display: block;
}

.lp-stat-label {
    color: #888;
    font-size: 0.85em;
}

/* ===== BADGES ===== */
.lp-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.lp-badge {
    padding: 6px 14px;
    background: rgba(106, 252, 255, 0.1);
    color: var(--lp-primary);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

/* ===== ALTERNATIVE HEADLINES (collapsed by default) ===== */
.lp-alt-headlines {
    margin: 20px 30px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(106, 252, 255, 0.2);
    border-radius: 8px;
    font-size: 0.85em;
    color: #666;
}

.lp-alt-headlines summary {
    cursor: pointer;
    color: #888;
}

.lp-alt-headlines p {
    margin: 10px 0 0 0;
    color: #999;
}

/* ===== BROWSE VIEW ===== */
.landingpage-preview-card {
    text-align: left;
}

.landingpage-preview-card h2 {
    font-size: 1.2em;
    color: #fff;
    margin: 0 0 10px 0;
}

.landingpage-preview-card h2 a {
    color: inherit;
    text-decoration: none;
}

.landingpage-preview-card h2 a:hover {
    color: var(--lp-primary);
}

.landingpage-preview-text {
    color: #999;
    font-size: 0.95em;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .lp-main-headline {
        font-size: 1.8em;
    }

    .lp-subheadline {
        font-size: 1.1em;
    }

    .lp-problem-solution {
        grid-template-columns: 1fr;
    }

    .lp-hero-section,
    .lp-benefits-section,
    .lp-features-section,
    .lp-testimonials-section,
    .lp-steps-section,
    .lp-faq-section,
    .lp-cta-section {
        padding: 35px 20px;
    }

    .lp-guarantee-section {
        flex-direction: column;
        text-align: center;
        margin: 20px;
    }

    .lp-urgency-banner {
        margin: 0 20px 20px;
    }

    .lp-primary-cta {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    .lp-step:not(:last-child)::after {
        display: none;
    }
}
