/* ============================================================
   linkedin-page.css
   Styles for the LinkedIn Landing Page template
   ============================================================ */


.lp-hero__inner,
.lp-flow__inner,
.lp-section-inner,
.lp-stats__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

/* Sections that keep the background at full width */
.lp-hero,
.lp-flow,
.lp-how,
.lp-form-section,
.lp-stats {
    width: 100%;
    box-sizing: border-box;
}

/*The sections with a background completely fill the screen on the left and right sides.*/
.linkedin-page-section {

    overflow-x: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* ---------- HERO ---------- */
.lp-hero {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--primary-25-rgb);
    color: var(--primary-850-rgb);
}

.lp-hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.lp-hero__left {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-hero__badge {
    display: inline-block;
    background: var(--primary-50-rgb);
    border: 1px solid var(--primary-75-rgb);
    color: var(--primary-500-rgb);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
}

.lp-hero__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--primary-850-rgb);
    margin: 0;
}

.lp-hero__title--accent {
    color: var(--primary-500-rgb);
}

.lp-hero__sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--t-foreground-secondary-rgb);
    margin: 0;
}

.lp-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-hero__bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-850-rgb);
}

.lp-bullet-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lp-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.lp-btn--primary {
    background: var(--primary-500-rgb);
    color: #fff;
    border: 2px solid var(--primary-500-rgb);
}

.lp-btn--primary:hover {
    background: var(--primary-550-rgb);
    border-color: var(--primary-550-rgb);
    color: #fff;
}

.lp-btn--ghost {
    background: transparent;
    color: var(--primary-850-rgb);
    border: 2px solid var(--primary-850-rgb);
}

.lp-btn--ghost:hover {
    background: var(--primary-850-rgb);
    color: #fff;
}

.lp-hero__right {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lp-hero__logo {
    width: 130px;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

.lp-hero__dashboard-img {
    width: 100%;
    max-width: 560px;
    border-radius: 14px;
    box-shadow: 0 8px 48px rgba(0, 113, 240, 0.18);
    object-fit: cover;
}

/* ---------- FLOW SECTION ---------- */
.lp-flow {
    background: #fff;
    padding: 72px 0;
}

.lp-flow__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.lp-flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 150px;
}

.lp-flow__item--center {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.lp-flow__icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.lp-flow__label {
    font-size: 20px;
    font-weight: 600;
    color: #1B3362;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* Dotted arrow — horizontal, side-by-side */
.lp-flow__arrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.lp-flow__dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-500-rgb);
    flex-shrink: 0;
}

.lp-flow__chevron {
    flex-shrink: 0;
}

/* ---------- HOW IT WORKS ---------- */
.lp-how {
    background: var( --primary-25-rgb);
    padding: 72px 0 68px;
}

.lp-how__header {
    text-align: center;
    margin-bottom: 52px;
}

.lp-how__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-850-rgb);
    margin: 0 0 8px;
}

.lp-how__subtitle {
    font-size: 16px;
    color: var(--primary-500-rgb);
    font-weight: 600;
    margin: 0;
}

.lp-how__steps {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lp-how__step {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(0, 113, 240, 0.09);
    padding: 36px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    max-width: 280px;
    height: 235px;
    position: relative;
}

.lp-how__step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-500-rgb);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-how__step-icon-wrap {
    background: var(--primary-50-rgb);
    border-radius: 14px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.lp-how__step-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lp-how__step-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-850-rgb);
    margin: 0 0 10px;
}

.lp-how__step-desc {
    font-size: 14px;
    color: var(--t-foreground-secondary-rgb);
    line-height: 1.6;
    margin: 0;
}

/* How It Works - horizontal arrow */
.lp-how__connector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding-bottom: 0;
}

/* ---------- FORM SECTION ---------- */
.lp-form-section {
    background: #fff;
    padding: 72px 0 68px;
}

.lp-form-section .lp-section-inner {
    display: flex;
    justify-content: center;
}

.lp-form-card {
    background: #fff;
    border: 1px solid var(--primary-50-rgb);
    border-radius: 16px;
    box-shadow: 1px 1px 20px 4px rgba(0, 113, 240, 0.10);
    padding: 44px 48px 36px;
    width: 100%;
    max-width: 600px;
    color: var(--primary-850-rgb);
    box-sizing: border-box;
}

.lp-form-card br {
    display: none;
}

.lp-form-card__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-850-rgb);
    margin: 0 0 8px;
}

.lp-form-card__sub {
    font-size: 14px;
    color: var(--t-foreground-secondary-rgb);
    margin: 0 0 28px;
    line-height: 1.5;
}

/* CF7 form */
.lp-form-card .lp-cf7-form .form-row {
    display: flex;
    gap: 15px;
}

.lp-form-card .lp-cf7-form .form-row .form-group {
    flex: 1;
}

@media (max-width: 768px) {
    .lp-form-card .lp-cf7-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.lp-form-card .wpcf7-form .form-group,
.lp-form-card .lp-cf7-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.lp-form-card .wpcf7-form label,
.lp-form-card .lp-cf7-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-850-rgb);
    margin-bottom: 6px;
    display: block;
}

.lp-form-card .wpcf7-form .form-control,
.lp-form-card .lp-cf7-form .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #CFD6E5;
    border-radius: 10px;
    font-size: 15px;
    color: #1B3362;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.lp-form-card .wpcf7-form .form-control:focus,
.lp-form-card .lp-cf7-form .form-control:focus {
    border-color: var(--primary-500-rgb);
    box-shadow: 0 0 0 3px rgba(0, 113, 240, 0.12);
    outline: none;
}

.lp-form-card .wpcf7-form .form-control::placeholder,
.lp-form-card .lp-cf7-form .form-control::placeholder {
    color: rgba(27, 51, 98, 0.45);
}

.lp-form-card .wpcf7-form textarea.form-control,
.lp-form-card .lp-cf7-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Submit button */
.lp-form-card .wpcf7-form .lp-submit-btn input[type="submit"],
.lp-form-card .lp-cf7-form .lp-submit-btn input[type="submit"] {
    background: var(--primary-500-rgb);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    width: 100%;
    transition: background 0.2s;
}

.lp-form-card .wpcf7-form .lp-submit-btn input[type="submit"]:hover,
.lp-form-card .lp-cf7-form .lp-submit-btn input[type="submit"]:hover {
    background: var(--primary-550-rgb);
}

/* Checkbox */
.lp-form-card .checkbox-group {
    display: flex;
    font-size: 14px;
    align-items: flex-start;
    gap: 6px;
}

.lp-form-card .checkbox-group a {
    color: var(--primary-500-rgb);
    text-decoration: none;
}

.lp-form-card .checkbox-group a:hover {
    text-decoration: underline;
}

.lp-form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--t-foreground-tertiary-rgb);
}

/* ---------- STATS SECTION ---------- */
.lp-stats {
    background: linear-gradient(250deg, rgba(6, 23, 53, 0.85) 36.45%, #061735 63.55%), url(https://olimpwarehousing.com/wp-content/themes/olimp/assets/img/needs-register.webp) center / cover no-repeat;
    color: #fff;
    padding: 40px 0 28px;
}

.lp-stats__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 24px;
}

.lp-stats__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-stats__icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.lp-stats__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-stats__num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.lp-stats__label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.lp-stats__tagline {
    text-align: center;
    font-size: 13px;
    color: var(--t-foreground-tertiary-rgb);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .lp-hero__title {
        font-size: 34px;
    }
    .lp-form-card {
        padding: 32px 28px 28px;
    }
    .lp-hero__inner,
    .lp-flow__inner,
    .lp-section-inner,
    .lp-stats__inner {
        padding: 0 24px;
    }
}

@media (max-width: 860px) {
    .lp-hero__inner {
        flex-direction: column;
        gap: 36px;
    }
    .lp-hero__left {
        max-width: 100%;
        text-align: center;
        align-items: center;
        order: 1;
    }
    .lp-hero__right {
        width: 100%;
        order: 2;
    }
    .lp-hero__ctas {
        justify-content: center;
    }
    .lp-how__connector {
        display: none;
    }
    .lp-how__steps {
        flex-direction: column;
        align-items: center;
    }
    .lp-how__step {
        max-width: 340px;
        width: 100%;
    }
    /* Flow section in mobile*/
    .lp-flow__inner {
        flex-direction: column;
        align-items: center;
    }
    .lp-flow__arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 600px) {
    .lp-hero {
        padding-top: 80px;
        padding-bottom: 48px;
    }
    .lp-hero__title {
        font-size: 26px;
    }
    .lp-hero__badge {
        font-size: 10px;
    }
    .lp-stats__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .lp-form-card {
        padding: 28px 16px 20px;
    }
    .lp-hero__ctas {
        flex-direction: column;
        width: 100%;
    }
    .lp-btn {
        width: 100%;
    }
    .lp-hero__inner,
    .lp-flow__inner,
    .lp-section-inner,
    .lp-stats__inner {
        padding: 0 16px;
    }
}
