/* LINE Seed Sans TH — brand font (Membery Brand Guideline V1.2) */
@font-face { font-family: 'LINE Seed Sans TH'; src: url('../fonts/LINESeedSansTH_W_Rg.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'LINE Seed Sans TH'; src: url('../fonts/LINESeedSansTH_W_Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'LINE Seed Sans TH'; src: url('../fonts/LINESeedSansTH_W_XBd.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }


/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'LINE Seed Sans TH', 'Noto Sans Thai', sans-serif;
    color: #172B24;
    background: #ffffff;
}

a {
    text-decoration: none;
}

:root {
    --primary: #5145E5;
    --primary-light: #756BFF;
    --green: #55A936;
    --dark: #172B24;
    --text: #526078;
    --bg: #F7F8FF;
}


/* =========================================
   HEADER
========================================= */

.feature-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.header-container {
    width: 100%;
    max-width: 1500px;
    min-height: 85px;
    padding: 0 50px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 60px;
}

.brand-logo img {
    width: 175px;
    height: auto;
    display: block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    font-size: 14px;
    color: #8992AA;
}

.breadcrumb a {
    color: #68738E;
    transition: color .3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: #B4BAD0;
}

.breadcrumb .current {
    color: var(--dark);
    font-weight: 600;
}


/* =========================================
   HERO SECTION
========================================= */

.trainer-hero {
    width: 100%;
    padding: 65px 50px 80px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(108, 99, 255, .13),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F8F9FF 55%,
            #F1F1FF 100%
        );
}

.trainer-hero-container {
    width: 100%;
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 65px;
    align-items: center;

    position: relative;
    z-index: 2;
}


/* HERO CONTENT */

.hero-content {
    width: 100%;
}

.feature-label {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 18px;
    margin-bottom: 25px;

    background: #EEECFF;
    border-radius: 50px;

    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
}

.label-icon {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;
    border-radius: 50%;
}

.hero-content h1 {
    font-size: clamp(38px, 4.2vw, 65px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;

    color: #172342;
    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    max-width: 620px;

    color: #536078;
    font-size: 19px;
    line-height: 1.85;

    margin-bottom: 28px;
}


/* BENEFITS */

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-bottom: 35px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    background: linear-gradient(
        135deg,
        #756BFF,
        #5145E5
    );

    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;

    margin-top: 2px;
}

.benefit-item p {
    color: #303D58;
    font-size: 16px;
    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.btn-primary,
.btn-outline {
    min-height: 55px;
    padding: 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;

    transition: all .3s ease;
}

.btn-primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #5145E5,
        #786BFF
    );

    box-shadow: 0 10px 25px rgba(81, 69, 229, .22);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(81, 69, 229, .3);
}

.btn-arrow {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    background: #ffffff;
    border-radius: 50%;
    font-size: 18px;
}

.btn-outline {
    color: var(--primary);
    background: #ffffff;
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    color: #ffffff;
    background: var(--primary);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-visual {
    width: 100%;
    min-width: 0;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    height: 550px;

    position: relative;
    z-index: 2;

    border-radius: 55px;
    overflow: visible;
}

.trainer-image {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
    object-position: center;

    border-radius: 55px;
    box-shadow: 0 25px 65px rgba(45, 50, 110, .13);
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 20px;

    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;

    box-shadow: 0 12px 35px rgba(30, 40, 100, .12);
    backdrop-filter: blur(10px);
}

.floating-card strong {
    display: block;
    color: #172342;
    font-size: 15px;
    margin-bottom: 4px;
}

.floating-card p {
    color: #78839A;
    font-size: 13px;
}

.floating-card-top {
    top: 50px;
    left: -40px;
}

.floating-card-bottom {
    right: -35px;
    bottom: 55px;
}

.floating-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;
    font-size: 25px;
    font-weight: 700;
}


.floating-icon.purple {
    color: var(--primary);
    background: #EEECFF;
}

.floating-icon.blue {
    color: #2783E8;
    background: #E7F3FF;
}

.floating-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}


/* DECORATIONS */

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-one {
    width: 250px;
    height: 250px;

    background: rgba(85, 169, 54, .08);
    top: -130px;
    left: -100px;
}

.circle-two {
    width: 350px;
    height: 350px;

    background: rgba(108, 99, 255, .08);
    right: -180px;
    bottom: -150px;
}


/* =========================================
   FEATURE HIGHLIGHTS
========================================= */

.feature-highlights {
    width: 100%;
    padding: 0 50px;
    position: relative;
    z-index: 3;
    margin-top: -15px;
}

.highlights-container {
    width: 100%;
    max-width: 1500px;
    min-height: 145px;

    margin: auto;
    padding: 28px 25px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    background: rgba(255, 255, 255, .95);
    border: 1px solid #E9EAF5;
    border-radius: 28px;

    box-shadow: 0 15px 50px rgba(35, 42, 100, .07);
}

.highlight-item {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 0 25px;

    border-right: 1px solid #E6E8F3;
}

.highlight-item:first-child {
    padding-left: 5px;
}

.highlight-item:last-child {
    border-right: none;
    padding-right: 5px;
}

.highlight-icon {
    width: 75px;
    height: 75px;
    min-width: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 23px;

    font-size: 32px;
    font-weight: 800;
}

.purple-bg {
    background: #EEECFF;
    color: #6656F5;
}

.green-bg {
    background: #E4F7EB;
    color: #249C5B;
}

.blue-bg {
    background: #E4F3FF;
    color: #2783E8;
}

.lime-bg {
    background: #E8FBDD;
    color: #48A936;
}

.highlight-content h3 {
    color: #172342;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 7px;
}

.highlight-content p {
    color: #7C859A;
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================
   CTA SECTION
========================================= */

.feature-cta {
    width: 100%;
    padding: 35px 50px 70px;
}

.cta-container {
    width: 100%;
    max-width: 1500px;
    min-height: 150px;

    margin: auto;
    padding: 30px 55px;

    display: flex;
    align-items: center;
    gap: 30px;

    position: relative;
    overflow: hidden;

    background: linear-gradient(
        110deg,
        #A89BFF 0%,
        #756BFF 45%,
        #40A9F5 100%
    );

    border-radius: 35px;
}

.cta-container::before {
    content: "";
    width: 300px;
    height: 300px;

    position: absolute;
    top: -200px;
    right: 15%;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.cta-icon {
    width: 85px;
    height: 85px;
    min-width: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 65px;
    font-weight: 300;
}

.cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
}

.cta-content h2 span {
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.7;
}

.cta-button {
    min-width: 200px;
    min-height: 55px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    position: relative;
    z-index: 1;

    color: var(--primary);
    background: #ffffff;

    border-radius: 50px;

    font-size: 16px;
    font-weight: 700;

    transition: all .3s ease;
}

.cta-button:hover {
    color: #ffffff;
    background: #172B55;
    transform: translateY(-3px);
}

.cta-button span {
    font-size: 22px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .header-container {
        padding: 0 30px;
        gap: 30px;
    }

    .trainer-hero {
        padding: 55px 35px 70px;
    }

    .trainer-hero-container {
        gap: 40px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-wrapper {
        height: 460px;
    }

    .floating-card-top {
        left: -20px;
    }

    .floating-card-bottom {
        right: -15px;
    }

    .feature-highlights {
        padding: 0 35px;
    }

    .highlights-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 0;
    }

    .highlight-item:nth-child(2) {
        border-right: none;
    }

    .highlight-item:nth-child(3) {
        padding-left: 5px;
    }

    .highlight-item:nth-child(4) {
        padding-right: 5px;
    }

    .feature-cta {
        padding-left: 35px;
        padding-right: 35px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .header-container {
        min-height: 70px;
        padding: 0 20px;
    }

    .brand-logo img {
        width: 140px;
    }

    .breadcrumb {
        display: none;
    }

    .trainer-hero {
        padding: 45px 20px 65px;
    }

    .trainer-hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .feature-label {
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-benefits {
        gap: 13px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .hero-actions {
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        min-height: 50px;
        padding: 0 20px;
        font-size: 14px;
    }

    .hero-image-wrapper {
        height: 350px;
        border-radius: 30px;
    }

    .trainer-image {
        border-radius: 30px;
    }

    .floating-card {
        padding: 10px 13px;
        gap: 9px;
        border-radius: 15px;
    }

    .floating-card-top {
        top: 20px;
        left: -8px;
    }

    .floating-card-bottom {
        right: -8px;
        bottom: 20px;
    }

    .floating-card strong {
        font-size: 12px;
    }

    .floating-card p {
        font-size: 11px;
    }

    .floating-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 12px;
    }

    .floating-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        display: block;
    }

    .feature-highlights {
        padding: 0 20px;
        margin-top: -20px;
    }

    .highlights-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0;
        border-radius: 22px;
    }

    .highlight-item,
    .highlight-item:first-child,
    .highlight-item:nth-child(3),
    .highlight-item:nth-child(4) {
        padding: 18px 0;
        border-right: none;
        border-bottom: 1px solid #E6E8F3;
    }

    .highlight-item:last-child {
        border-bottom: none;
    }

    .highlight-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: 18px;
        font-size: 26px;
    }

    .highlight-content h3 {
        font-size: 16px;
    }

    .highlight-content p {
        font-size: 13px;
    }

    .feature-cta {
        padding: 30px 20px 50px;
    }

    .cta-container {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        border-radius: 25px;
    }

    .cta-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 45px;
    }

    .cta-content h2 {
        font-size: 21px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .cta-button {
        width: 100%;
        min-height: 50px;
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-image-wrapper {
        height: 290px;
    }

}
