/* =========================================
   ROK CORE - FREE VS PRO COMPARISON
   ThemeDesign24: Navy #06235A / Orange #FF5A00
========================================= */

.rok-fpc {
    --rok-fpc-navy: #06235A;
    --rok-fpc-orange: #FF5A00;
    --rok-fpc-background: #FFFFFF;
    --rok-fpc-muted: #58709A;
    --rok-fpc-line: #E1E8F3;
    --rok-fpc-soft-blue: #F4F7FC;
    --rok-fpc-soft-orange: #FFF5EF;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: clamp(56px, 7vw, 94px) 24px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(213, 230, 255, .58), transparent 29%),
        radial-gradient(ellipse at 100% 100%, rgba(255, 220, 198, .52), transparent 28%),
        var(--rok-fpc-background);
    color: var(--rok-fpc-navy);
    font-family: inherit;
}

.rok-fpc *,
.rok-fpc *::before,
.rok-fpc *::after {
    box-sizing: border-box;
}

.rok-fpc__inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
}

/* Subtle background decorations */
.rok-fpc__decor {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.rok-fpc__decor--top-left {
    width: 310px;
    height: 310px;
    top: -190px;
    left: -145px;
    background: linear-gradient(135deg, rgba(6, 35, 90, .12), rgba(6, 35, 90, 0));
}

.rok-fpc__decor--top-right {
    width: 260px;
    height: 260px;
    top: -150px;
    right: -115px;
    background: linear-gradient(135deg, rgba(255, 90, 0, .14), rgba(255, 90, 0, 0));
}

.rok-fpc__decor--bottom-left {
    width: 270px;
    height: 270px;
    bottom: -190px;
    left: -120px;
    background: linear-gradient(135deg, rgba(255, 90, 0, .10), rgba(6, 35, 90, .04));
}

.rok-fpc__decor--bottom-right {
    width: 300px;
    height: 300px;
    right: -160px;
    bottom: -210px;
    background: linear-gradient(135deg, rgba(6, 35, 90, .10), rgba(255, 90, 0, .05));
}

/* Header */
.rok-fpc__header {
    margin: 0 auto 30px;
    text-align: center;
}

.rok-fpc__eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
    color: var(--rok-fpc-orange);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
}

.rok-fpc__eyebrow span {
    width: 30px;
    height: 2px;
    background: currentColor;
    opacity: 1;
}

.rok-fpc__title {
    margin: 0 0 5px;
    color: var(--rok-fpc-navy);
}

.rok-fpc__title-highlight {
    color: var(--rok-fpc-orange);
}

.rok-fpc__subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--rok-fpc-muted);
    font-size: 16px
    line-height: 1.5;
}

/* Table */
.rok-fpc__table-wrap {
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(6, 35, 90, .09);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 55px rgba(6, 35, 90, .10);
    animation: rokFpcTableIn .85s cubic-bezier(.2, .7, .2, 1) both;
}

.rok-fpc__table {
    width: 100%;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0;
    color: var(--rok-fpc-navy);
    font-size: 15px;
}

.rok-fpc__table th,
.rok-fpc__table td {
    border: 0;
    border-bottom: 1px solid var(--rok-fpc-line);
    padding: 7px 17px;
    vertical-align: middle;
    line-height: 1.35;
}

.rok-fpc__table thead th {
    height: 70px;
    font-weight: 700;
    border-bottom: 1px solid var(--rok-fpc-line);
}

.rok-fpc__feature-heading {
    width: 58%;
    padding-left: 27px !important;
    background: linear-gradient(110deg, #EAF0FA, #F3F6FC);
    text-align: left;
    font-size: 19px;
}

.rok-fpc__plan-heading {
    width: 21%;
    text-align: center;
}

.rok-fpc__free-heading {
    background: #F4F7FC;
	border-left: 1px solid var(--rok-fpc-line) !important;
}

.rok-fpc__plan-heading strong {
    display: block;
    font-size: 19px;
    line-height: 1.35;
}

.rok-fpc__plan-heading span {
    display: block;
    margin-top: 3px;
    color: var(--rok-fpc-muted);
    font-size: 12px;
    font-weight: 400;
}

.rok-fpc__pro-heading {
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF711F, var(--rok-fpc-orange));
    border-left: 1px solid var(--rok-fpc-orange) !important;
    border-right: 1px solid var(--rok-fpc-orange) !important;
}

.rok-fpc__pro-heading span {
    color: rgba(255, 255, 255, .92);
}

.rok-fpc__table tbody tr {
    transition: background-color .25s ease;
}

.rok-fpc__table tbody tr:hover {
    background-color: #F8FAFE;
}

.rok-fpc__table tbody tr:last-child th,
.rok-fpc__table tbody tr:last-child td {
    border-bottom: 0;
}

.rok-fpc__feature {
    padding-left: 27px !important;
    text-align: left;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.rok-fpc__status-cell {
    text-align: center;
	border-left:1px solid var(--rok-fpc-line) !important;
}

.rok-fpc__pro-cell {
    background: rgba(255, 90, 0, .045);
    border-left: 1px solid rgba(255, 90, 0, .13) !important;
    border-right: 1px solid rgba(255, 90, 0, .13) !important;
}

.rok-fpc__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform .25s ease, box-shadow .25s ease;
}

.rok-fpc__status.is-included {
    color: var(--rok-fpc-orange);
    background: #FFE5D7;
}

.rok-fpc__pro-cell .rok-fpc__status.is-included {
    color: #FFFFFF;
    background: var(--rok-fpc-orange);
    box-shadow: 0 4px 10px rgba(255, 90, 0, .20);
}

.rok-fpc__status.is-excluded {
    color: #7185A7;
    background: #E7EDF6;
}

.rok-fpc__table tbody tr:hover .rok-fpc__status {
    transform: scale(1.08);
}

/* CTA buttons */
.rok-fpc__actions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 18px;
    margin: 25px auto 0;
    animation: rokFpcFadeUp .8s ease-out .25s both;
}

.rok-fpc__button {
    position: relative;
    display: inline-flex;
    min-width: 275px;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 25px;
    border: 1.5px solid var(--rok-fpc-navy);
    border-radius: 12px;
    color: var(--rok-fpc-navy);
    background: #FFFFFF;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(6, 35, 90, .06);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.rok-fpc__button:hover {
    transform: translateY(-3px);
    color: var(--rok-fpc-navy);
    box-shadow: 0 13px 28px rgba(6, 35, 90, .14);
}

.rok-fpc__button:focus-visible {
    outline: 3px solid rgba(255, 90, 0, .45);
    outline-offset: 4px;
}

.rok-fpc__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.rok-fpc__button-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}

.rok-fpc__button--free:hover .rok-fpc__button-icon svg {
    transform: translateY(2px);
}

.rok-fpc__button-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.rok-fpc__button-copy strong {
    color: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.rok-fpc__button-copy small {
    color: var(--rok-fpc-muted);
    font-size: 12px;
    line-height: 1.4;
}

.rok-fpc__button--pro {
    min-width: 280px;
    border-color: var(--rok-fpc-orange);
    color: #FFFFFF;
    background: linear-gradient(115deg, var(--rok-fpc-orange), #FF741F);
    box-shadow: 0 10px 24px rgba(255, 90, 0, .20);
}

.rok-fpc__button--pro:hover {
    color: #FFFFFF;
    background: linear-gradient(115deg, #E94F00, var(--rok-fpc-orange));
    box-shadow: 0 15px 30px rgba(255, 90, 0, .28);
}

.rok-fpc__button--pro .rok-fpc__button-copy {
    align-items: center;
    text-align: center;
}

.rok-fpc__button--pro .rok-fpc__button-copy strong,
.rok-fpc__button--pro .rok-fpc__button-copy small {
    color: #FFFFFF;
}

.rok-fpc__button--pro .rok-fpc__button-copy strong span {
    display: inline-block;
    transition: transform .25s ease;
}

.rok-fpc__button--pro:hover .rok-fpc__button-copy strong span {
    transform: translateX(4px);
}

/* Entrance animation classes */
@keyframes rokFpcTableIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rokFpcFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rokFpcRowIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.rok-fpc__header {
    animation: rokFpcFadeUp .75s ease-out both;
}

.rok-fpc__eyebrow {
    animation: rokFpcFadeUp .65s ease-out .05s both;
}

.rok-fpc__title {
    animation: rokFpcFadeUp .75s ease-out .12s both;
}

.rok-fpc__subtitle {
    animation: rokFpcFadeUp .75s ease-out .2s both;
}

.rok-fpc__table tbody tr {
    animation: rokFpcRowIn .45s ease-out both;
    animation-delay: calc(.18s + (var(--rok-fpc-row-index, 0) * .035s));
}

.rok-fpc--no-row-stagger .rok-fpc__table tbody tr {
    animation: none;
}

.rok-fpc--no-animation,
.rok-fpc--no-animation .rok-fpc__header,
.rok-fpc--no-animation .rok-fpc__eyebrow,
.rok-fpc--no-animation .rok-fpc__title,
.rok-fpc--no-animation .rok-fpc__subtitle,
.rok-fpc--no-animation .rok-fpc__table-wrap,
.rok-fpc--no-animation .rok-fpc__table tbody tr,
.rok-fpc--no-animation .rok-fpc__actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Tablet */
@media (max-width: 900px) {
    .rok-fpc {
        padding: 64px 18px;
    }

    .rok-fpc__table {
        font-size: 14px;
    }

    .rok-fpc__table th,
    .rok-fpc__table td {
        padding: 8px 12px;
    }

    .rok-fpc__feature-heading,
    .rok-fpc__feature {
        padding-left: 18px !important;
    }

    .rok-fpc__feature-heading {
        font-size: 17px;
    }

    .rok-fpc__plan-heading strong {
        font-size: 17px;
    }
}

/* Mobile: keep the comparison readable without squeezing columns */
@media (max-width: 640px) {
    .rok-fpc {
        padding: 52px 12px;
    }

    .rok-fpc__header {
        margin-bottom: 25px;
    }

    .rok-fpc__eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .rok-fpc__title {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1.5px;
    }

    .rok-fpc__subtitle {
        max-width: 430px;
        font-size: 14px;
    }

    .rok-fpc__table-wrap {
        overflow-x: auto;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .rok-fpc__table {
        min-width: 570px;
        font-size: 13px;
    }

    .rok-fpc__feature-heading {
        width: 58%;
    }

    .rok-fpc__plan-heading {
        width: 21%;
    }

    .rok-fpc__table thead th {
        height: 66px;
    }

    .rok-fpc__feature-heading,
    .rok-fpc__feature {
        padding-left: 14px !important;
    }

    .rok-fpc__table th,
    .rok-fpc__table td {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .rok-fpc__status {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }

    .rok-fpc__actions {
        gap: 12px;
        margin-top: 20px;
    }

    .rok-fpc__button,
    .rok-fpc__button--pro {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        max-width: 380px;
    }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .rok-fpc *,
    .rok-fpc *::before,
    .rok-fpc *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
