/**
 * Landing Page Components
 * Reusable shortcodes & block patterns for landing pages.
 */

:root {
    --lp-purple-start: #6B4FE0;
    --lp-purple-end: #8B7AE8;
    --lp-purple-solid: #6B4FE0;
    --lp-green-start: #10B981;
    --lp-green-end: #34D399;
    --lp-green-solid: #10B981;
    --lp-orange-start: #F97316;
    --lp-orange-end: #FB923C;
    --lp-orange-solid: #F97316;
    --lp-red-start: #EF4444;
    --lp-red-end: #F87171;
    --lp-red-solid: #EF4444;
    --lp-divider: #e5e7eb;
}

/* ===== Section wrapper (gives consistent vertical spacing) ===== */
.lp-section {
    margin: 32px 0;
}

/* ===================================================================
   CTA Button
   =================================================================== */
.lp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    padding: 22px 28px;
    margin: 24px 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-purple-start) 0%, var(--lp-purple-end) 100%);
    color: #fff !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(107, 79, 224, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    border: none;
}

.lp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(107, 79, 224, 0.45);
    filter: brightness(1.05);
    color: #fff !important;
}

.lp-cta:active {
    transform: translateY(0);
}

.lp-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    font-size: 16px;
    flex-shrink: 0;
}

/* Color variants */
.lp-cta--blue {
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}
.lp-cta--blue:hover { box-shadow: 0 12px 32px rgba(0, 102, 255, 0.45); }

.lp-cta--green {
    background: linear-gradient(135deg, var(--lp-green-start) 0%, var(--lp-green-end) 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.lp-cta--green:hover { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45); }

.lp-cta--orange {
    background: linear-gradient(135deg, var(--lp-orange-start) 0%, var(--lp-orange-end) 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.lp-cta--orange:hover { box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45); }

.lp-cta--red {
    background: linear-gradient(135deg, var(--lp-red-start) 0%, var(--lp-red-end) 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}
.lp-cta--red:hover { box-shadow: 0 12px 32px rgba(239, 68, 68, 0.45); }

@media (max-width: 600px) {
    .lp-cta {
        font-size: 17px;
        padding: 18px 20px;
        gap: 12px;
    }
    .lp-cta__icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ===================================================================
   Features list (circular icon + title + description)
   =================================================================== */
.lp-features {
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

.lp-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--lp-divider);
}

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

.lp-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-purple-start) 0%, var(--lp-purple-end) 100%);
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.lp-feature__body {
    flex: 1;
}

.lp-feature__title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.lp-feature__text {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 15px;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.lp-feature__text strong {
    color: #1a1a2e;
    font-weight: 600;
}

@media (max-width: 600px) {
    .lp-feature { gap: 14px; padding: 18px 0; }
    .lp-feature__icon { width: 44px; height: 44px; font-size: 18px; }
    .lp-feature__title { font-size: 16px; }
    .lp-feature__text { font-size: 14px; }
}

/* ===================================================================
   Pros list (header + checkmark items)
   =================================================================== */
.lp-pros {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid var(--lp-divider);
    border-radius: 14px;
    background: #fff;
}

.lp-pros__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lp-divider);
}

.lp-pros__header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--lp-purple-solid);
    font-size: 22px;
}

.lp-pros__header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.lp-pros__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-pro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--lp-divider);
}

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

.lp-pro__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--lp-purple-solid);
    font-size: 18px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.lp-pro__body {
    flex: 1;
}

.lp-pro__title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.lp-pro__text {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 15px;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .lp-pros { padding: 18px; }
    .lp-pros__header-title { font-size: 18px; }
    .lp-pro { padding: 14px 0; }
    .lp-pro__title { font-size: 15px; }
    .lp-pro__text { font-size: 14px; }
}

/* ===================================================================
   Author box
   =================================================================== */
.lp-author {
    margin: 40px 0;
    padding: 32px 24px;
    border: 1px solid var(--lp-divider);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.lp-author__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: #f3f4f6;
    border: 1px solid var(--lp-divider);
}

.lp-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-author__name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
}

.lp-author__text {
    font-family: 'Poppins', -apple-system, sans-serif;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .lp-author { padding: 24px 18px; }
    .lp-author__avatar { width: 96px; height: 96px; }
}
