/* TOWA AI V7.2 restored page stylesheet. */
@import url("/css/pages/legacy-page-compat.css");

/* Industry demo architecture ------------------------------------------------ */
.tai-industry-pillars-section {
    padding-bottom: 1.5rem;
    background: #f7f2e9;
}

.tai-industry-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tai-industry-pillar-card {
    padding: 1.4rem;
    border: 1px solid rgba(31, 42, 55, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 46px rgba(32, 39, 50, .06);
}

.tai-industry-pillar-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    color: #172032;
    background: #efe4d3;
    font-size: 1.25rem;
}

.tai-industry-pillar-card h3 {
    margin: 0 0 .65rem;
    font-size: 1.1rem;
    font-weight: 850;
    color: #111827;
}

.tai-industry-pillar-card p {
    margin: 0;
    color: #5f6c7a;
    line-height: 1.85;
}

.tai-industry-pillar-card ul {
    display: grid;
    gap: .45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.tai-industry-pillar-card li {
    position: relative;
    padding-left: 1.05rem;
    color: #36465a;
    font-size: .9rem;
}

.tai-industry-pillar-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a7733c;
}

.tai-industry-pillar-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(31, 42, 55, .08);
}

.tai-industry-pillar-card__services a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    color: #5b4630;
    background: #f2e8da;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: none;
}

.tai-industry-pillar-card__services a:hover {
    color: #172032;
    background: #ead9c3;
}

.tai-industry-demo-index {
    background: #fbf8f1;
}

.tai-industry-demo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.tai-industry-demo-card {
    overflow: hidden;
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(34, 41, 50, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(31, 38, 48, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tai-industry-demo-card:hover {
    transform: translateY(-5px);
    color: inherit;
    border-color: rgba(156, 103, 49, .32);
    box-shadow: 0 24px 58px rgba(31, 38, 48, .12);
}

.tai-industry-demo-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
    background: #ede9e1;
}

.tai-industry-demo-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(11, 18, 28, .18));
}

.tai-industry-demo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.tai-industry-demo-card:hover .tai-industry-demo-card__media img {
    transform: scale(1.035);
}

.tai-industry-demo-card__preview-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .4s ease;
}

.tai-industry-demo-card.is-video-playing .tai-industry-demo-card__preview-video {
    opacity: 1;
    transform: scale(1.035);
}

.tai-industry-demo-card__media::after {
    z-index: 1;
    pointer-events: none;
}

.tai-industry-demo-card__body {
    display: grid;
    gap: .35rem;
    padding: 1rem 1.05rem 1.1rem;
}

.tai-industry-demo-card__body small {
    color: #9b6d3e;
    font-size: .63rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.tai-industry-demo-card__body strong {
    color: #111827;
    font-size: 1.04rem;
    font-weight: 850;
}

.tai-industry-demo-card__body > span {
    min-height: 3.8em;
    color: #687483;
    font-size: .82rem;
    line-height: 1.65;
}

.tai-industry-demo-card__body b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .35rem;
    color: #273447;
    font-size: .78rem;
}

.tai-industry-detail-page {
    background: #fbf8f1;
}

.tai-industry-detail-hero {
    padding: clamp(2.2rem, 5vw, 5rem) 0 clamp(2.4rem, 5vw, 4.5rem);
    background:
        radial-gradient(circle at 78% 12%, rgba(205, 173, 128, .27), transparent 30%),
        linear-gradient(180deg, #fbf8f1 0%, #f4eee3 100%);
}

.tai-industry-detail-hero .tai-case-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.4rem;
    color: #5e6877;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 750;
}

.tai-industry-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}


.tai-client-demo-banner {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 1.35rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(151, 103, 51, .22);
    border-radius: 16px;
    color: #3d2f20;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 32px rgba(73, 53, 31, .07);
}

.tai-client-demo-banner__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #fff;
    background: #1d2736;
    font-size: 1rem;
}

.tai-client-demo-banner__copy {
    min-width: 0;
}

.tai-client-demo-banner__copy small {
    display: block;
    margin-bottom: .14rem;
    color: #9b6d3e;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.tai-client-demo-banner__copy strong {
    display: block;
    overflow-wrap: anywhere;
    color: #1a2330;
    font-size: clamp(.95rem, 2vw, 1.08rem);
    font-weight: 900;
    line-height: 1.45;
}

.tai-industry-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .38rem .65rem;
    border: 1px solid rgba(159, 111, 61, .20);
    border-radius: 999px;
    color: #865d34;
    background: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.tai-industry-detail-badge span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    background: #1d2736;
    font-size: .68rem;
}

.tai-industry-detail-hero__copy h1 {
    max-width: 760px;
    margin: .45rem 0 1rem;
    color: #121a27;
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 900;
}

.tai-industry-detail-hero__lead {
    max-width: 760px;
    margin: 0;
    color: #596777;
    font-size: 1.02rem;
    line-height: 1.95;
}

.tai-industry-detail-hero__visual {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: 30px;
    background: #d9d2c7;
    box-shadow: 0 28px 70px rgba(43, 48, 57, .16);
}

.tai-industry-detail-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(7, 13, 22, .76) 100%);
}

.tai-industry-detail-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.tai-industry-detail-hero__label {
    position: absolute;
    z-index: 2;
    left: 1.3rem;
    right: 1.3rem;
    bottom: 1.15rem;
    color: #fff;
}

.tai-industry-detail-hero__label small {
    display: block;
    margin-bottom: .15rem;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .13em;
    opacity: .82;
}

.tai-industry-detail-hero__label strong {
    display: block;
    font-size: 1.3rem;
}

.tai-industry-demo-notice {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    margin-top: 1.4rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(105, 84, 60, .14);
    border-radius: 14px;
    color: #6f624f;
    background: rgba(255, 255, 255, .62);
    font-size: .84rem;
    line-height: 1.7;
}

.tai-industry-problem-section {
    background: #fff;
}

.tai-industry-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.tai-industry-problem-card {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid #e4e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(20, 30, 45, .05);
}

.tai-industry-problem-card--pain {
    background: linear-gradient(180deg, #fff 0%, #fff9f4 100%);
}

.tai-industry-problem-card--solution {
    background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
}

.tai-industry-problem-card__head {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: .7rem;
    align-items: center;
    margin-bottom: 1.1rem;
}

.tai-industry-problem-card__head > span {
    color: #9b6d3e;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.tai-industry-problem-card__head > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #1f3148;
    background: #f0ece5;
}

.tai-industry-problem-card__head h2 {
    margin: 0;
    color: #121a27;
    font-size: 1.18rem;
    font-weight: 850;
}

.tai-industry-problem-card ul {
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tai-industry-problem-card li {
    position: relative;
    padding-left: 1.25rem;
    color: #526071;
    line-height: 1.75;
}

.tai-industry-problem-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a7733c;
}

.tai-industry-experience-section {
    background: #111923;
}

.tai-industry-experience-heading .tai-kicker,
.tai-industry-experience-heading h2,
.tai-industry-experience-heading p {
    color: #fff;
}

.tai-industry-experience-heading p {
    opacity: .7;
}

.tai-industry-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tai-industry-experience-card {
    overflow: hidden;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 24px;
    background: #17212d;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.tai-industry-experience-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0b1119;
}

.tai-industry-experience-card__media video,
.tai-industry-experience-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tai-industry-experience-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1.2rem 1.3rem;
}

.tai-industry-experience-card__body > span {
    margin-bottom: .4rem;
    color: #c39a6b;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .11em;
}

.tai-industry-experience-card__body h3 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 850;
}

.tai-industry-experience-card__body p {
    margin: 0 0 1rem;
    color: #aeb8c5;
    line-height: 1.75;
}

.tai-industry-chat-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .9rem;
    background: linear-gradient(180deg, rgba(3, 10, 18, .12), rgba(3, 10, 18, .78));
}

.tai-industry-chat-status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .35rem .55rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 18, 29, .58);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .1em;
    backdrop-filter: blur(9px);
}

.tai-industry-chat-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43d795;
    box-shadow: 0 0 0 4px rgba(67, 215, 149, .14);
}

.tai-industry-chat-bubble {
    padding: .75rem .8rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    color: #fff;
    background: rgba(8, 18, 30, .72);
    backdrop-filter: blur(9px);
}

.tai-industry-chat-bubble small {
    display: block;
    margin-bottom: .25rem;
    color: #c9d2dc;
    font-size: .64rem;
}

.tai-industry-chat-bubble strong {
    display: block;
    font-size: .82rem;
    line-height: 1.55;
}

.tai-industry-immersive-chip {
    position: absolute;
    left: .8rem;
    top: .8rem;
    padding: .35rem .55rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(8, 18, 30, .58);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .1em;
    backdrop-filter: blur(8px);
}

.tai-industry-demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: auto;
    padding: .72rem .9rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.06);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

button.tai-industry-demo-button {
    cursor: pointer;
    font-family: inherit;
}

.tai-industry-demo-button:hover {
    color: #fff;
    background: rgba(255,255,255,.13);
    transform: translateY(-1px);
}

.tai-industry-services-section {
    background: #f5f0e7;
}

@media (max-width: 1199.98px) {
    .tai-industry-demo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .tai-industry-pillar-grid,
    .tai-industry-experience-grid {
        grid-template-columns: 1fr;
    }

    .tai-industry-demo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tai-industry-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .tai-industry-detail-hero__visual {
        min-height: 420px;
    }

    .tai-industry-detail-hero__visual img {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .tai-industry-problem-grid,
    .tai-industry-demo-grid {
        grid-template-columns: 1fr;
    }

    .tai-industry-demo-card {
        display: grid;
        grid-template-columns: 118px 1fr;
    }

    .tai-industry-demo-card__media {
        min-height: 100%;
        aspect-ratio: auto;
    }

    .tai-industry-demo-card__body > span {
        min-height: 0;
    }

    .tai-industry-detail-hero__visual,
    .tai-industry-detail-hero__visual img {
        min-height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tai-industry-demo-card,
    .tai-industry-demo-card__media img,
    .tai-industry-demo-button {
        transition: none;
    }
}
