/**
 * Firepoint Compatibilities Section Styles
 */

.fp-compat-section {
    width: 100%;
    padding: 80px 0;
}

.fp-compat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: stretch;
}

/* Left Content */
.fp-compat-content {
    flex: 1;
    min-width: 0;
}

.fp-compat-header {
    margin-bottom: 50px;
}

.fp-compat-eyebrow {
    display: block;
    color: #FF640F;
    font-family: "grotesque", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.fp-compat-title {
    color: #FFF;
    font-family: "ginkamedium", serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
}

/* Options Wrapper - contains the line + option items */
.fp-compat-options-wrapper {
    position: relative;
    padding-left: 30px;
}

/* The single continuous vertical line */
.fp-compat-line {
    position: absolute;
    left: 3px;
    top: 14px;
    bottom: -30px;
    width: 1px;
    background-color: #FF640F;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-compat-section.fp-animated .fp-compat-line {
    transform: scaleY(1);
}

/* Individual option item */
.fp-compat-option {
    position: relative;
    padding-bottom: 35px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fp-compat-option:last-child {
    padding-bottom: 0;
}

.fp-compat-section.fp-animated .fp-compat-option {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for options */
.fp-compat-section.fp-animated .fp-compat-option[data-index="0"] {
    transition-delay: 0.5s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="1"] {
    transition-delay: 0.7s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="2"] {
    transition-delay: 0.9s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="3"] {
    transition-delay: 1.1s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="4"] {
    transition-delay: 1.3s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="5"] {
    transition-delay: 1.5s;
}

/* The square on the line */
.fp-compat-dot {
    position: absolute;
    left: -30px;
    top: 14px;
    width: 8px;
    height: 8px;
    background-color: #FF640F;
    border-radius: 1px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.fp-compat-section.fp-animated .fp-compat-option[data-index="0"] .fp-compat-dot {
    transition-delay: 0.4s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="1"] .fp-compat-dot {
    transition-delay: 0.6s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="2"] .fp-compat-dot {
    transition-delay: 0.8s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="3"] .fp-compat-dot {
    transition-delay: 1.0s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="4"] .fp-compat-dot {
    transition-delay: 1.2s;
}
.fp-compat-section.fp-animated .fp-compat-option[data-index="5"] .fp-compat-dot {
    transition-delay: 1.4s;
}

.fp-compat-section.fp-animated .fp-compat-dot {
    transform: scale(1);
}

/* Hover glow on dot */
.fp-compat-option:hover .fp-compat-dot {
    box-shadow: 0 0 12px rgba(255, 100, 15, 0.6), 0 0 24px rgba(255, 100, 15, 0.3);
}

/* Option content */
.fp-compat-option-content {
    transition: transform 0.3s ease;
}

.fp-compat-option:hover .fp-compat-option-content {
    transform: translateX(5px);
}

.fp-compat-option-title {
    color: #FFF;
    font-family: "ginkamedium", serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0 0 6px 0;
}

.fp-compat-option-desc,
.fp-compat-option-desc p {
    color: #FFF;
    font-family: "ginkalight", serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin: 0;
}

.fp-compat-option-desc p {
    margin-bottom: 4px;
}

.fp-compat-option-desc p:last-child {
    margin-bottom: 0;
}

.fp-compat-option-desc ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
    list-style-type: disc;
}

.fp-compat-option-desc ul li {
    color: #FFF;
    font-family: "ginkalight", serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
}

/* Option Links */
.fp-compat-option-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.fp-compat-option-links a {
    color: #929292;
    font-family: "ginkalight", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fp-compat-option-links a:hover {
    color: #FF640F;
}

.fp-compat-link-sep {
    color: #929292;
    font-family: "ginkalight", serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 120%;
    user-select: none;
}

/* Right Image */
.fp-compat-image {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
}

.fp-compat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ============================
   Tablet Responsive - 1024px
   ============================ */
@media (max-width: 1024px) {
    .fp-compat-section {
        padding: 60px 0;
    }

    .fp-compat-container {
        gap: 40px;
        padding: 0 30px;
    }

    .fp-compat-title {
        font-size: 34px;
    }

    .fp-compat-option-title {
        font-size: 26px;
    }

    .fp-compat-option-desc,
    .fp-compat-option-desc p,
    .fp-compat-option-desc ul li {
        font-size: 16px;
    }

    .fp-compat-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

/* ============================
   Mobile Responsive - 768px
   ============================ */
@media (max-width: 768px) {
    .fp-compat-section {
        padding: 50px 0;
    }

    .fp-compat-container {
        flex-direction: column-reverse;
        padding: 0 20px;
        gap: 35px;
    }

    .fp-compat-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        max-height: 300px;
    }

    .fp-compat-header {
        margin-bottom: 35px;
    }

    .fp-compat-eyebrow {
        font-size: 16px;
    }

    .fp-compat-title {
        font-size: 30px;
    }

    .fp-compat-option-title {
        font-size: 24px;
    }

    .fp-compat-dot {
        top: 10px;
    }

    .fp-compat-line {
        top: 10px;
        bottom: 10px;
    }

    .fp-compat-option-desc,
    .fp-compat-option-desc p,
    .fp-compat-option-desc ul li {
        font-size: 16px;
    }

    .fp-compat-option {
        padding-bottom: 28px;
    }
}

/* ============================
   Small Mobile - 480px
   ============================ */
@media (max-width: 480px) {
    .fp-compat-section {
        padding: 40px 0;
    }

    .fp-compat-container {
        padding: 0 16px;
        gap: 25px;
    }

    .fp-compat-image {
        max-height: 220px;
    }

    .fp-compat-header {
        margin-bottom: 28px;
    }

    .fp-compat-eyebrow {
        font-size: 14px;
    }

    .fp-compat-title {
        font-size: 26px;
    }

    .fp-compat-options-wrapper {
        padding-left: 22px;
    }

    .fp-compat-dot {
        left: -22px;
        top: 11px;
    }

    .fp-compat-line {
        left: 3px;
        top: 11px;
        bottom: 11px;
    }

    .fp-compat-option-title {
        font-size: 22px;
    }

    .fp-compat-option-desc,
    .fp-compat-option-desc p,
    .fp-compat-option-desc ul li {
        font-size: 15px;
    }
}
