/* tts.css - TTS 페이지 스타일 */

/* CSS 변수 정의 */
:root {
    --main-blue: #1e3a8a;
    --light-blue: #4a90e2;
    --light-gray: #f8f9fa;
    --border-gray: #e9ecef;
}

/* ===================== */
/* Hero Section          */
/* ===================== */
.hero-background {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.58) 0%, rgba(30, 58, 138, 0.34) 100%),
        url('/images/tts-hero.png') center center / cover no-repeat;
}


/* ===================== */
/* 적용사례 콘텐츠 섹션    */
/* ===================== */

/* 적용사례 인트로 배너 */
.cases-intro-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    padding: 48px 0 52px;
    text-align: center;
}

.cases-intro-banner h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.cases-intro-banner p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.7;
}

/* 적용사례 콘텐츠 — 흰 배경 */
/* .tts-cases-section background is set near hero-section overrides above */


/* ===================== */
/* Menu Tabs             */
/* ===================== */
/* 탭 시스템은 common.css에서 관리 */

/* TTS 페이지 전용 스타일 */
.tts-demo-section p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.demo-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 28px;
    border-radius: 10px;
    border: 1px solid #dde3ec;
    border-top: 3px solid var(--main-blue);
    overflow: hidden;
    background: white;
}

.demo-showcase-copy {
    padding: 28px 30px;
    background: white;
    text-align: left;
    border-right: 1px solid #f1f5f9;
}

.demo-showcase-eyebrow {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.demo-showcase-card h3 {
    margin: 0 0 8px;
    color: var(--main-blue);
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
}

.demo-showcase-card p {
    margin: 0;
    text-align: left;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.75;
}

.demo-showcase-points {
    margin: 0;
    padding: 20px 24px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
    background: #f8fafc;
}

.demo-showcase-points li {
    position: relative;
    padding: 9px 0 9px 14px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.6;
}

.demo-showcase-points li:last-child {
    border-bottom: none;
}

.demo-showcase-points li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 9px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #cbd5e1;
    font-size: 0.875rem;
    transform: none;
    box-shadow: none;
}

.demo-showcase-points__warning {
    font-weight: 600;
}

.demo-showcase-points__warning-text {
    color: #dc2626;
}

.demo-showcase-points li.demo-showcase-points__warning::before {
    content: "!";
    color: #f87171;
    background: none;
    box-shadow: none;
}

/* ===================== */
/* TTS 소개 탭 리디자인   */
/* ===================== */

.tts-intro-section {
    background: #f4f6f9;
}

.intro-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--main-blue);
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 16px;
    position: relative;
}

.intro-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 2px;
}

.intro-subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.intro-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--main-blue);
}

/* 제품 정보 */
.intro-product-section {
    margin-bottom: 56px;
    background: var(--main-blue);
    border-radius: 12px;
    overflow: hidden;
}

.intro-product-header {
    text-align: center;
    padding: 44px 40px 36px;
}

.intro-product-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.intro-product-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.intro-product-header p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin: 0;
}

.intro-specs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.15);
}

.intro-spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 22px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.intro-spec-item:last-child {
    border-right: none;
}

.intro-spec-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.intro-spec-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
}

/* 핵심 특징 */
.intro-features-section {
    margin-bottom: 56px;
}

.intro-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1px;
    row-gap: 1px;
    background: #dde3ec;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    overflow: hidden;
}

.intro-feature-card {
    background: white;
    padding: 28px 26px;
}

.intro-feature-card:nth-child(-n+3) {
    border-bottom: 1px solid #dde3ec;
}

.intro-feature-num {
    font-size: 1.875rem;
    font-weight: 800;
    color: rgba(30, 58, 138, 0.1);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.intro-feature-card h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--main-blue);
    margin: 0 0 8px;
}

.intro-feature-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
}

/* 기술 프로세스 플로우 */
.intro-process-section {
    margin-bottom: 56px;
}

.intro-tech-flow {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
    align-items: start;
    background: white;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    overflow: hidden;
}

.intro-flow-item {
    padding: 28px 22px;
}

.intro-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 32px;
    color: #cbd5e1;
    font-size: 1rem;
    align-self: flex-start;
}

.intro-flow-step {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    color: white;
    background: var(--main-blue);
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.intro-flow-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.intro-flow-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-flow-item li {
    font-size: 0.82rem;
    color: #64748b;
    padding: 3px 0 3px 12px;
    position: relative;
    line-height: 1.55;
}

.intro-flow-item li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #cbd5e1;
    font-size: 0.7rem;
    top: 5px;
}

/* 자연 운율 재현 */
.intro-prosody-section {
    margin-bottom: 56px;
}

.intro-prosody-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.intro-prosody-card {
    background: white;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    border-top: 3px solid var(--main-blue);
    padding: 26px 24px;
}

.intro-prosody-card h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--main-blue);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.intro-prosody-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intro-prosody-card li {
    font-size: 0.85rem;
    color: #475569;
    padding-left: 14px;
    position: relative;
    line-height: 1.6;
}

.intro-prosody-card li::before {
    content: '·';
    position: absolute;
    left: 3px;
    color: var(--light-blue);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* 원격 모니터 */
.intro-monitor-section {
    margin-bottom: 48px;
}

.intro-monitor-card {
    background: var(--main-blue);
    border-radius: 10px;
    padding: 36px 40px;
}

.intro-monitor-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.intro-monitor-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.925rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
}

.intro-monitor-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 0.7rem;
    color: #7dd3fc;
    margin-top: 3px;
}

/* 반응형 */
@media (max-width: 900px) {
    .intro-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .intro-tech-flow {
        display: flex;
        flex-direction: column;
    }
    .intro-flow-arrow {
        display: none;
    }
    .intro-flow-item {
        border-bottom: 1px solid #f1f5f9;
    }
}

@media (max-width: 768px) {
    .intro-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .intro-prosody-grid {
        grid-template-columns: 1fr 1fr;
    }
    .intro-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .intro-monitor-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .intro-features-grid,
    .intro-prosody-grid,
    .intro-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== */
/* 제품 정보 섹션 (구버전) */
/* ===================== */
.product-info-section {
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.product-info-section h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
}

.product-specs p {
    margin: 10px 0;
    padding-left: 20px;
}

/* 제품 특징 섹션 */
.product-features-section {
    margin: 40px 0;
}

.product-features-section h3 {
    color: #333;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-content h4 {
    color: var(--main-blue);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 기술 적용 섹션 */
.tech-applied-section,
.natural-prosody-section,
.remote-monitor-section {
    margin: 40px 0;
}

.tech-applied-section h3,
.natural-prosody-section h3 {
    color: #333;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    margin-left: 10px;
}

.tech-category {
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.tech-category h4 {
    color: var(--main-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.tech-category ul {
    list-style: none;
    padding: 0;
}

.tech-category li {
    margin: 12px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.tech-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-blue);
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===================== */
/* 적용사례 탭 스타일       */
/* ===================== */

/* .tts-cases-section background is set near hero-section overrides above */

.cases-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--main-blue);
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 16px;
    position: relative;
}

.cases-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 2px;
}

.cases-subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.cases-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--main-blue);
}

/* Service 분류 그리드 */
.cases-service-grid-section {
    margin-bottom: 56px;
}

.cases-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cases-service-card {
    background: white;
    border: 1.5px solid #dde3ec;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color 0.2s, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.cases-service-card:hover {
    border-color: var(--main-blue);
    box-shadow: 0 2px 12px rgba(30,58,138,0.1);
}

/* 비활성 카드 - 옅어짐 */
.cases-service-card.dimmed {
    opacity: 0.4;
}

/* 카드 활성화 - 커짐 */
.cases-service-card.active {
    border-color: var(--main-blue);
    background: #eef2ff;
    box-shadow: 0 8px 28px rgba(30,58,138,0.18);
    transform: scale(1.06);
    z-index: 10;
}

.cases-service-card.active .cases-service-icon-wrap {
    background: var(--main-blue);
    color: #fff;
}

.cases-service-card.active .cases-service-name {
    color: var(--main-blue);
}


/* 카드 헤더: 아이콘 + 이름 가로 배치 */
.card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

/* 카드 내부 상세 텍스트 */
.case-card-detail {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    font-size: 0.8rem;
    color: #3b5cb8;
    line-height: 1.65;
    transition: max-height 0.4s ease, opacity 0.35s ease;
    opacity: 0;
}

.cases-service-card.active .case-card-detail {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .cases-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cases-service-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--main-blue);
}

.cases-service-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}


/* 적용사례 표 */
.cases-table-section {
    margin-bottom: 56px;
}

.cases-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dde3ec;
    background: white;
    margin: 0;
}

.cases-table thead tr {
    background: var(--main-blue);
}

.cases-table th {
    padding: 15px 20px;
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cases-table th:first-child {
    width: 160px;
}

.cases-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    line-height: 1.65;
    font-size: 0.875rem;
    color: #374151;
}

.cases-table tbody tr:last-child td {
    border-bottom: none;
}

.cases-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.case-category {
    font-weight: 700;
    color: var(--main-blue) !important;
    background: transparent !important;
    white-space: nowrap;
}

/* 주요 적용사례 */
.major-cases-section {
    margin-bottom: 48px;
}

.case-detail {
    margin-bottom: 14px;
    background: white;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    overflow: hidden;
}

.case-detail h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    background: var(--main-blue);
    padding: 13px 22px;
    margin: 0;
    letter-spacing: 0.03em;
}

.sub-section {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    background: white;
    border-radius: 0;
    border-left: none;
}

.sub-section:last-child {
    border-bottom: none;
}

.sub-section h5 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--main-blue);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.case-detail p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.case-table {
    margin-top: 12px;
    border: 1px solid #c8d3df;
    border-radius: 6px;
    overflow: hidden;
}

.case-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.case-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
    line-height: 1.5;
    vertical-align: top;
}

.case-table tr:last-child td {
    border-bottom: none;
}

.case-table .table-header {
    background: #f1f5f9;
    font-weight: 700;
    color: var(--main-blue);
    white-space: nowrap;
    width: 110px;
}

/* 데모 섹션 */
.tts-demo-section {
    background: #f4f6f9;
}

.demo-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--main-blue);
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 16px;
    position: relative;
}

.demo-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 2px;
}

.demo-container {
    margin: 0 auto 48px;
    background: white;
    padding: 36px 40px;
    border-radius: 10px;
    border: 1px solid #dde3ec;
}

.demo-intro {
    margin-bottom: 20px;
}

.demo-subsection-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.demo-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--main-blue);
}

.demo-intro h3 {
    margin-bottom: 10px;
    color: var(--main-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.demo-intro p {
    margin-bottom: 0;
    text-align: left;
}

.demo-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.demo-model-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.demo-model-card:hover {
    border-color: var(--light-blue);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.08);
    transform: translateY(-2px);
}

.demo-model-card input {
    margin: 0 0 4px;
}

.demo-model-card input:checked + .demo-model-tone {
    color: var(--main-blue);
}

.demo-model-tone {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}

.demo-model-card strong {
    font-size: 1.1rem;
    color: #111827;
}

.demo-model-card small {
    color: #64748b;
}

.demo-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.demo-sample-button {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e3a8a;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.95rem;
}

.demo-sample-button:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.demo-input {
    margin-top: 32px;
    margin-bottom: 20px;
}

.demo-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.demo-input-title {
    margin-bottom: 0;
    margin-right: auto;
    font-size: 1.125rem;
    font-weight: 700;
}

.demo-input textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
}

.demo-input textarea:focus {
    outline: none;
    border-color: #667eea;
}

.demo-input-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.95rem;
}

.demo-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.demo-audio-hidden {
    display: none;
}

.demo-rate-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.demo-rate-field select {
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 6px 10px;
    background: white;
}

.demo-button {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 17px;
    margin: 0 0px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
}

.demo-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.demo-button-secondary {
    background: #475569;
}

.demo-player {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.demo-player audio {
    width: 100%;
}

.demo-status {
    margin: 0;
    text-align: left;
    color: #334155;
    font-size: 12px;
    line-height: 1.35;
}

.demo-action-row .demo-status {
    font-size: 16px;
    line-height: 1.3;
}

.demo-status.is-error {
    color: #b91c1c;
}

.demo-status.is-loading {
    color: #e53e3e;
}

.demo-info {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.demo-info ul {
    list-style: none;
    padding: 0;
}

.demo-info li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.demo-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 원격 모니터 섹션 */
.remote-monitor-section {
    margin: 40px 0;
}

.remote-monitor-section h3 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
}

.monitor-features {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.monitor-features ul {
    list-style: none;
    padding: 0;
}

.monitor-features li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.monitor-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-blue);
    font-size: 1.2rem;
    font-weight: bold;
}

/* TTS 페이지 전용 반응형 디자인 */
@media (max-width: 768px) {
    .demo-showcase-card {
        grid-template-columns: 1fr;
    }

    .demo-showcase-copy {
        padding: 22px;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .demo-showcase-points {
        padding: 16px 22px;
    }

    /* Service 다이어그램 반응형 */
    .service-diagram-section {
        height: 400px;
        margin: 40px auto;
    }
    
    .service-circle {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
    
    .service-item {
        font-size: 0.8rem;
        padding: 8px 12px;
        border-radius: 20px;
    }
    
    .service-diagram-section::before {
        width: 220px;
        height: 220px;
    }
    

    
    /* 적용사례 표 반응형 */
    .cases-table-section {
        margin: 30px 0;
        overflow-x: auto;
    }
    
    .cases-table {
        margin: 20px 0;
        min-width: 600px;
    }
    
    .cases-table th,
    .cases-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .cases-table th:first-child {
        width: 25%;
    }
    
    .cases-table th:last-child {
        width: 75%;
    }
    
    /* 주요 적용사례 반응형 */
    .major-cases-section {
        margin: 40px 0;
    }
    
    .major-cases-section h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .case-detail {
        padding: 20px;
        margin: 20px 0;
    }
    
    .case-detail h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .case-detail p {
        font-size: 0.9rem;
    }
    
    .sub-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .sub-section h5 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .sub-content {
        font-size: 0.85rem;
    }
    
    .case-table table {
        font-size: 0.85rem;
    }
    
    .case-table td {
        padding: 8px 10px;
    }
    
    .case-table .table-header {
        width: 30%;
    }
    
    .case-example {
        margin-top: 20px;
        padding: 15px;
    }
    
    .case-example h6 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .case-example p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .product-info-section {
        margin: 30px 0;
        padding: 20px;
    }
    
    .product-info-section h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .product-specs p {
        font-size: 0.9rem;
        margin: 8px 0;
        padding-left: 15px;
    }
    
    .product-features-section h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .feature-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-top: 0;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .tech-applied-section h3,
    .natural-prosody-section h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .tech-category {
        margin: 20px 0;
        padding: 20px;
    }
    
    .tech-category h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .tech-category li {
        font-size: 0.9rem;
        margin: 8px 0;
        padding-left: 15px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .case-item {
        padding: 20px;
    }
    
    .case-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .case-item p {
        font-size: 0.9rem;
    }
    
    .demo-container {
        padding: 20px;
    }

    .demo-model-grid {
        grid-template-columns: 1fr 1fr;
    }

    .demo-input {
        margin-bottom: 20px;
    }
    
    .demo-input label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .demo-input textarea {
        height: 100px;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .demo-controls {
        margin-bottom: 20px;
    }

    .demo-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .demo-input-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-info {
        padding-top: 12px;
    }
    
    .demo-info li {
        font-size: 0.85rem;
        margin: 5px 0;
        padding-left: 15px;
    }
    
    .remote-monitor-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .monitor-features {
        padding: 20px;
    }
    
    .monitor-features li {
        font-size: 0.9rem;
        margin: 8px 0;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .demo-showcase-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .demo-showcase-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .demo-showcase-card h3 {
        font-size: 1.3rem;
    }

    .demo-showcase-points li {
        font-size: 0.88rem;
        padding: 12px 14px 12px 38px;
    }

    .demo-container {
        padding: 15px;
    }

    .demo-model-grid {
        grid-template-columns: 1fr;
    }

    .demo-input textarea {
        height: 80px;
        padding: 10px;
    }
    
    .demo-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}


/* TTS demo table layout */
.demo-container--table {
}

.demo-voice-table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    background: #ffffff;
}

.demo-voice-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.demo-voice-table thead th {
    background: #eef4fb;
    color: #16345f;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 12px;
    border-bottom: 1px solid #d9e1ec;
    border-right: 1px solid #d9e1ec;
}

.demo-voice-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e8eef5;
    border-right: 1px solid #e8eef5;
    color: #1f2937;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
}

.demo-voice-table thead th:last-child,
.demo-voice-table td:last-child {
    border-right: none;
}

.demo-voice-table tbody tr:last-child td {
    border-bottom: none;
}

.demo-voice-table__group {
    background: #f8fbff;
    color: #16345f;
    font-weight: 700;
    min-width: 64px;
}

.demo-radio-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4b5563;
    font-size: 0.9rem;
    white-space: nowrap;
}

.demo-radio-option input {
    margin: 0;
}

.demo-sample-button {
    border-radius: 10px;
    padding: 10px 16px;
}

.demo-input textarea {
    border-color: #d9e1ec;
    border-radius: 14px;
    background: #fbfdff;
}

.demo-input textarea:focus {
    border-color: #1e3a5f;
}

.demo-button {
    background: #1e3a5f;
    border-radius: 12px;
}

.demo-button:hover {
    background: #16345f;
}

.demo-button-secondary {
    background: #475569;
}

@media (max-width: 768px) {
    .demo-container--table {
        padding: 22px;
        border-radius: 16px;
    }

    .demo-voice-table {
        min-width: 560px;
    }
}

@media (max-width: 480px) {
    .demo-container--table {
        padding: 16px;
    }

    .demo-voice-table thead th,
    .demo-voice-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

.demo-voice-table--legacy th,
.demo-voice-table--legacy td {
    white-space: normal;
}

.demo-voice-table--legacy thead th {
    background: var(--main-blue);
    color: white;
    border-bottom-color: rgba(255,255,255,0.15);
    border-right-color: rgba(255,255,255,0.15);
}

/* 두 번째 thead row의 마지막 th(남성)는 오른쪽 선 복원 */
.demo-voice-table--legacy thead tr:last-child th:last-child {
    border-right: 1px solid rgba(255,255,255,0.15);
}

.demo-voice-table--legacy td {
    line-height: 1.45;
}

.demo-tone-detail {
    display: inline-block;
    margin-top: 4px;
    color: #1e63b6;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.demo-service-cell {
    min-width: 250px;
    max-width: 250px;
    text-align: left !important;
    color: #374151;
}

.demo-empty-cell {
    color: #94a3b8;
    font-size: 0.9rem;
}

.demo-radio-option span {
    color: #1e3a5f;
    font-weight: 700;
    white-space: nowrap;
}
