/* Product Section Styles */

.product {
    background-color: transparent;
    padding: 60px 0;
    width: 100%;
}

.product-container {
    max-width: 1502px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.product-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #5E5E5E;
    text-align: center;
    max-width: 760px;
    margin: -8px auto 40px;
    line-height: 28px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    padding-top: 14px;
}

.course-card {
    background: #ffffff;
    border: 2px solid #F5C2C2;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    border-color: #DB0000;
    box-shadow: 0px 8px 24px rgba(219, 0, 0, 0.12);
}

.course-card-featured {
    background: linear-gradient(180deg, #FFF5F5 0%, #ffffff 42%);
    border-color: #DB0000;
}

.course-ribbon {
    position: absolute;
    top: 0;
    right: 18px;
    z-index: 2;
    transform: translateY(-50%);
    background: #DB0000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 0 0 4px #ffffff, 0 6px 14px rgba(219, 0, 0, 0.22);
}

.course-ribbon-teal {
    background: #249EA1;
    box-shadow: 0 0 0 4px #ffffff, 0 6px 14px rgba(36, 158, 161, 0.22);
}

.course-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.course-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.course-badge-teal {
    color: #249EA1;
    background: #e7f6f6;
    border-color: #b7e0e1;
}

.course-badge-orange {
    color: #A30000;
    background: #FDECEC;
    border-color: #F5C2C2;
}

.course-badge-blue,
.course-badge-green {
    color: #DB0000;
    background: #FFE5DF;
    border-color: #F5C2C2;
}

.course-badge-purple {
    color: #7C3AED;
    background: #F1EAFE;
    border-color: #D9C8FB;
}

.course-badge-rose {
    color: #2E7D32;
    background: #DFFBCC;
    border-color: #B7E6A1;
}

.course-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #6b7280;
    white-space: nowrap;
}

.course-duration .fa-clock {
    font-size: 12px;
    line-height: 1;
    color: #DB0000;
}

.course-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    line-height: 28px;
    margin-bottom: 12px;
}

.course-card:hover .course-card-title {
    color: #DB0000;
}

.course-card-title {
    transition: color var(--hover-duration) var(--motion-ease);
}

@media (hover: hover) {
    .course-card {
        transition: border-color var(--hover-duration) var(--motion-ease), box-shadow var(--hover-duration) var(--motion-ease),
            transform var(--hover-duration) var(--motion-ease);
    }

    .course-card:not(.is-hiding):hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 32px rgba(219, 0, 0, 0.16);
    }
}

.course-audience {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: #FFE5DF;
    border: 1px solid #F5C2C2;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #262626;
    line-height: 1.45;
    margin-bottom: 16px;
}

.course-audience i {
    flex-shrink: 0;
    margin-top: 3px;
    color: #DB0000;
    font-size: 13px;
}

.course-audience-blue,
.course-audience-green,
.course-audience-rose {
    background: #FFE5DF;
    border-color: #F5C2C2;
    color: #262626;
}

.course-audience-blue i,
.course-audience-green i,
.course-audience-rose i {
    color: #DB0000;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-features li {
    font-size: 16px;
    line-height: 24px;
    color: #5E5E5E;
    font-weight: 400;
    padding-left: 28px;
    margin-bottom: 8px;
    position: relative;
}

.course-features li:last-child {
    margin-bottom: 0;
}

.course-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("../images/FoxGo_LandingPage/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.course-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0e6d8;
}

.course-price-label {
    font-size: 14px;
    font-weight: 500;
    color: #5E5E5E;
}

.course-price {
    font-size: 22px;
    font-weight: 700;
    color: #DB0000;
    line-height: 1.2;
    margin: 4px 0 16px;
    white-space: nowrap;
}

.course-price span {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    color: #5E5E5E;
}

.course-card.is-collapsed {
    display: none;
}

.course-grid.is-animating {
    overflow: clip;
    overflow-clip-margin: 24px;
    transition: height 0.45s ease;
}

.course-card.is-revealing {
    animation: courseCardIn 0.45s ease both;
}

.course-card.is-hiding {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.course-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.course-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.course-more-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.course-more.is-expanded .course-more-btn i {
    transform: rotate(180deg);
}

.course-more .course-less-label,
.course-more.is-expanded .course-more-label {
    display: none;
}

.course-more.is-expanded .course-less-label {
    display: inline;
}

@media (prefers-reduced-motion: reduce) {
    .course-card.is-revealing,
    .course-card.is-hiding,
    .course-grid.is-animating,
    .course-more-btn i {
        animation: none;
        transition: none;
    }
}

.course-price-old {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #A6A6A6;
    text-decoration: line-through;
}

.course-price-old + .course-price {
    margin-top: 0;
}

.course-price-note {
    margin: -12px 0 16px;
    font-size: 12px;
    font-style: italic;
    color: #5E5E5E;
}

.course-card-btn {
    display: block;
    width: 100%;
    text-align: center;
}

.product-title {
    font-size: 48px;
    font-weight: 700;
    color: #262626;
    line-height: 56px;
    text-align: center;
    margin-bottom: 8px;
    width: 100%;
    max-width: 1502px;
}

.product-title .title-highlight,
.about-fox-title .title-highlight {
    color: #DB0000;
}

/* Solution Sections */
.solution-section {
    width: 100%;
    margin-bottom: 52px;
}

.solution-section:last-child {
    margin-bottom: 0;
}

.solution-container {
    max-width: 1720px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

@media screen and (max-width: 1720px) {
    .solution-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.solution-reverse .solution-container {
    flex-direction: row-reverse;
}

.solution-content {
    flex: 1;
    max-width: 731px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.solution-title {
    font-size: 36px;
    font-weight: 700;
    color: #DB0000;
    margin-bottom: 8px;
    line-height: 1.2;
}

.solution-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #DB0000;
    margin-bottom: 16px;
}

.solution-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #262626;
    margin-bottom: 16px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    font-size: 16px;
    line-height: 24px;
    color: #5E5E5E;
    margin-bottom: 8px;
    padding-left: 32px;
    position: relative;
    font-weight: 500;
}

.solution-features li:last-child {
    margin-bottom: 0;
}

.solution-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 24px;
    height: 24px;
    background-image: url('../images/FoxGo_LandingPage/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.solution-price-action {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    justify-content: end;
}

.solution-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.solution-price-label {
    font-size: 18px;
    font-weight: 500;
    color:#5E5E5E;
}

.solution-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #DB0000;
}

.solution-price-period {
    font-size: 18px;
    font-weight: 600;
}

.solution-image {
    max-width: 731px;
    max-height: 411px;
    flex: 1;
    display: flex;
    justify-content: start;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
}

.solution-image img {
    width: 731px;
    height: 411px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-fox {
    background: transparent;
    padding: 60px 0;
}

.about-fox-container {
    max-width: 1502px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-fox-header {
    text-align: center;
    max-width: none;
    margin: 0 auto 32px;
}

.about-fox-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FDECEC;
    border: 1px solid #F5C2C2;
    color: #DB0000;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.about-fox-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #262626;
}

.about-fox-copy {
    max-width: none;
    margin: 0 auto 32px;
}

.about-fox-copy p {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #5E5E5E;
    margin-bottom: 16px;
}

.about-fox-copy p:last-child {
    margin-bottom: 0;
}

.about-fox-copy strong {
    color: #262626;
    font-weight: 700;
}

.about-fox-copy a {
    color: #DB0000;
    font-weight: 700;
}

.about-fox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-fox-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(219, 0, 0, 0.06);
}

.about-fox-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-fox-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    background: #FDECEC;
    color: #DB0000;
}

.about-fox-icon svg {
    width: 22px;
    height: 22px;
}

.about-fox-card {
    transition: transform var(--hover-duration) var(--motion-ease), box-shadow var(--hover-duration) var(--motion-ease);
}

.about-fox-icon {
    transition: transform var(--hover-duration) var(--motion-ease), background-color var(--hover-duration) var(--motion-ease),
        color var(--hover-duration) var(--motion-ease);
}

@media (hover: hover) {
    .about-fox-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(219, 0, 0, 0.14);
    }

    .about-fox-card:hover .about-fox-icon {
        transform: scale(1.08) rotate(-6deg);
        background: #DB0000;
        color: #ffffff;
    }
}

.about-fox-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
    margin: 0;
    line-height: 26px;
}

.about-fox-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6e6e6e;
    margin: 0;
}

.course-consult {
    background: transparent;
    padding: 40px 0 120px;
}

.course-consult-inner {
    max-width: 1454px;
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: 24px;
    background-color: #DB0000;
    background-image: url("../images/Bannerc.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 28px rgba(219, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

@media screen and (max-width: 1502px) {
    .course-consult-inner {
        max-width: none;
        margin-left: 24px;
        margin-right: 24px;
    }
}

.course-consult-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.course-consult-copy h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.course-consult-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.course-consult-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.course-consult-phone,
.course-consult-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 20px;
    border-radius: 12px;
    border: 4px solid transparent;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-consult-phone {
    background: #ffffff;
    color: #DB0000;
    border-color: #F8D0D0;
    box-shadow: 0px 4px 0px 0px #A30000;
}

.course-consult-phone i,
.course-consult-trial i {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.course-consult-phone i {
    color: #DB0000;
}

.course-consult-phone:hover {
    background: #FFF5F5;
    border-color: #F5C2C2;
    box-shadow: none;
    transform: translateY(4px);
}

.course-consult-trial {
    background: #249EA1;
    color: #ffffff;
    border-color: #4CB8BB;
    box-shadow: 0px 4px 0px 0px #1A7C7E;
}

.course-consult-trial:hover {
    background: #249EA1;
    color: #ffffff;
    box-shadow: none;
    transform: translateY(4px);
}

