/* broadcast.css - 알리미방송 페이지 */
/* 헤더 스타일은 header.css에서 공통으로 처리 */

/* 모바일/태블릿 줄바꿈 */
.mo-br { display: none; }
@media (max-width: 900px) {
    .mo-br { display: block; }
}

/* 히어로 배경 */
.hero-section .hero-background {
    background-image: url('/images/alrimipage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .hero-title {
    font-size: 0;
    line-height: 0;
}

.hero-section .hero-title::after {
    content: "알리미방송 서비스";
    display: block;
    font-size: 3.1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-section .hero-desc {
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.hero-section .hero-desc::after {
    content: "알리미 서비스(Alrimi Service)는 음성합성(TTS) 기술을 이용한 디지털 안내방송 서비스로,\A 저렴한 비용으로 고품질의 안내방송을 하실 수 있으며,\A 고객의 다양한 화자와 언어를 지원하여 실시간으로 로컬 및 원격지방송이 가능한 차세대 안내방송 서비스 입니다.";
    display: block;
    white-space: pre-line;
    font-size: 1.15rem;
    line-height: 1.85;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

/* 스크롤 애니메이션 */
.bc-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.bc-fade-up.bc-visible {
    opacity: 1;
    transform: translateY(0);
}

.bc-delay-1 { transition-delay: 0.4s; }
.bc-delay-2 { transition-delay: 0.4s; }
.bc-delay-3 { transition-delay: 0.8s; }
.bc-delay-4 { transition-delay: 1.2s; }
.bc-delay-5 { transition-delay: 1.6s; }
.bc-delay-6 { transition-delay: 2.0s; }

/* 공통 컨테이너 */
.bc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.bc-eyebrow {
    font-size: clamp(0.9rem, 1.5vh, 1.3rem);
    font-weight: 600;
    color: #1e3a8a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: clamp(10px, 1.5vh, 20px);
}

.bc-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 48px;
}

/* 서비스 소개 */
.bc-intro-section {
    min-height: 100vh;
    background: #fff;
    padding: 22vh 0 80px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.bc-intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bc-intro-overlay {
    display: none;
}

.bc-intro-section .bc-container {
    position: relative;
    z-index: 2;
}

.bc-intro-section .bc-eyebrow {
    color: rgba(255, 255, 255, 0.85);
}

.bc-intro-section .bc-intro-text h2 {
    color: #fff;
}

.bc-intro-section .bc-intro-desc {
    color: rgba(255, 255, 255, 0.9);
}

.bc-intro-section .bc-stat-number {
    color: #fff;
}

.bc-intro-section .bc-stat-label {
    color: rgba(255, 255, 255, 0.85);
}

.bc-intro-section .bc-flow-item span {
    color: #fff;
}

.bc-intro-section .bc-flow-arrow {
    color: rgba(255, 255, 255, 0.7);
}

.bc-intro-section .bc-flow-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}


.bc-intro-text h2 {
    font-size: clamp(2.4rem, 5.5vh, 5.5rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: clamp(16px, 2.5vh, 36px);
}

.bc-intro-desc {
    font-size: clamp(1.05rem, 1.8vh, 1.7rem);
    color: #555;
    line-height: 1.85;
}

.bc-intro-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(40px, 6vh, 80px);
}

.bc-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.5vh, 20px);
    flex: 1;
}

.bc-flow-icon {
    width: clamp(72px, 10vh, 120px);
    height: clamp(72px, 10vh, 120px);
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.6rem, 3vh, 3rem);
    color: #1e3a8a;
}

.bc-flow-item span {
    font-size: clamp(0.95rem, 1.5vh, 1.5rem);
    font-weight: 600;
    color: #333;
}

.bc-flow-arrow {
    color: #adb5bd;
    font-size: clamp(1.2rem, 1.8vh, 2rem);
}

/* 주요 기능 */
.bc-features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.bc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.bc-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.bc-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(30,58,138,0.12);
}

.bc-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.bc-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.bc-feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.75;
}

/* 누적 단지 수 */
.bc-intro-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 28px;
}

.bc-stat-number {
    font-size: clamp(2.8rem, 6vh, 6rem);
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1;
}

.bc-stat-label {
    font-size: clamp(1rem, 1.8vh, 1.7rem);
    color: #555;
    font-weight: 500;
}

/* 적용 분야 슬라이더 */
.bc-areas-section {
    padding: 80px 0;
    background: #fff;
}

.bc-areas-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bc-slider-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bc-slider-btn:hover:not(:disabled) {
    background: #fff;
    border-color: #dee2e6;
    color: #333;
}

.bc-slider-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.bc-areas-slider-viewport {
    overflow: hidden;
    flex: 1;
    padding: 20px 0;
}

.bc-areas-slider-track {
    display: flex;
    gap: 6px;
    transition: transform 0.4s ease;
    position: relative;
}

.bc-area-card {
    flex: 0 0 calc(25% - 15px);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid #d0d5dd;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s, border-color 0.3s, opacity 0.4s;
    transform: scale(0.82);
    opacity: 0.55;
    position: relative;
    z-index: 1;
}

.bc-area-card.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: scale(1.15);
    opacity: 1;
    z-index: 2;
    margin: 0 16px;
}

.bc-area-card.active .bc-area-icon {
    color: rgba(255,255,255,0.85);
}

.bc-area-card.active h3 {
    color: #fff;
}

.bc-area-card:not(.main):hover {
    border-color: #1e3a8a;
}

.bc-area-icon {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.bc-area-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* 알리미 앱 */
.bc-app-label-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.bc-app-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #dde6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 1rem;
    flex-shrink: 0;
}

.bc-app-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.3px;
}

.bc-app-section {
    padding: 80px 0;
    background: #f0f4ff;
}

.bc-app-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.bc-app-text {
    flex: 1;
}

.bc-app-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 16px;
}

.bc-app-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 28px;
}

.bc-app-image {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bc-app-image > img {
    width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* 기본(태블릿/데스크탑): 텍스트 버튼 표시, 이미지 버튼 숨김 */
.bc-play-image { display: none; }

.bc-play-text {
    text-decoration: none;
    transition: .3s;
    display: inline-block;
    margin-top: 20px;
}

.bc-play-text:hover {
    transform: translateY(-2px);
}

.bc-app-text .google-play-button,
.bc-app-image .google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 12px 24px;
    border-radius: 8px;
}

.bc-app-text .google-play-icon,
.bc-app-image .google-play-icon {
    width: 24px;
    height: 24px;
}

.bc-app-text .google-play-text,
.bc-app-image .google-play-text {
    font-size: 1rem;
    font-weight: 600;
}

/* 화자 샘플 데모 섹션 */
.bc-demo-section {
    padding: 80px 0;
    background: #f8f9fb;
    scroll-margin-top: 160px;
}

.bc-demo-header {
    text-align: center;
    margin-bottom: 48px;
}

.bc-demo-sub {
    color: #64748b;
    font-size: 1rem;
    margin-top: 8px;
}

.bc-voice-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.bc-voice-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.bc-voice-card.is-playing {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.bc-voice-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bc-voice-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #e8eef8;
    color: #1e3a8a;
    white-space: nowrap;
    flex-shrink: 0;
}

.bc-voice-badge--bright {
    background: #ffeef2;
    color: #b91c4d;
}

.bc-voice-badge--lively {
    background: #fff8e0;
    color: #b45309;
}

.bc-voice-badge--purple {
    background: #e6f7f7;
    color: #0e7490;
}

.bc-voice-badge--warm {
    background: #fff7ed;
    color: #c2410c;
}

.bc-voice-badge--en {
    background: #f0fdf4;
    color: #166534;
}

.bc-voice-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bc-voice-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2236;
    line-height: 1.2;
}

.bc-voice-meta small {
    font-size: 0.78rem;
    color: #94a3b8;
}

.bc-voice-preview {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    font-style: italic;
    word-break: keep-all;
}

.bc-voice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: #1e3a8a;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    margin-top: auto;
}

.bc-voice-btn:hover:not(:disabled) {
    background: #1e40af;
}

.bc-voice-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.bc-voice-btn.is-playing {
    background: #374151;
}

.bc-demo-player {
    text-align: center;
}

.bc-demo-status {
    font-size: 0.875rem;
    color: #64748b;
    min-height: 20px;
}

@keyframes bc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 반응형 - 화자 데모 */
@media (max-width: 1100px) {
    .bc-voice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .bc-voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bc-voice-grid {
        grid-template-columns: 1fr;
    }
    .bc-demo-section {
        padding: 56px 0;
    }
}

/* CTA */
.bc-cta-section {
    padding: 96px 0;
    background: #1e3a8a;
    text-align: center;
}

.bc-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.bc-cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
}

.bc-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.bc-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.bc-btn-primary {
    background: #fff;
    color: #1e3a8a;
}

.bc-btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.bc-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.bc-btn-outline:hover {
    border-color: #fff;
    transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 900px) {
    .hero-section .hero-title::after { font-size: 2.2rem; }
    .hero-section .hero-desc::after { font-size: 1rem; line-height: 1.7; }

    .bc-container { padding: 0 20px; }

    .bc-intro-text h2 { font-size: 1.8rem; }
    .bc-intro-flow { flex-wrap: wrap; justify-content: center; }

    .bc-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .bc-area-card { flex: 0 0 calc(50% - 10px); }

    .bc-app-inner { flex-direction: column; gap: 24px; text-align: center; }
    .bc-app-text h2 { font-size: 1.8rem; }
    .bc-app-text p { word-break: keep-all; margin-bottom: 0; }
    .bc-play-text { display: none; }
    .bc-play-image {
        display: inline-block;
        text-decoration: none;
        transition: .3s;
        margin-top: 48px;
    }

    .bc-cta-buttons { flex-direction: column; align-items: center; }
    .bc-section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .bc-areas-grid { grid-template-columns: 1fr; }
    .bc-intro-section { padding: 140px 0 60px; }
    .bc-features-section,
    .bc-areas-section,
    .bc-app-section { padding: 56px 0; }
    .bc-cta-section { padding: 64px 0; }
}
