/* 원격지원 — support/remote.html */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.remote-page { overflow-x: hidden; }

.remote-container {
    width: min(1200px, 100% - 2.5rem);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 0;
    box-sizing: border-box;
}

.remote-page #main {
    width: 100%;
    overflow-x: hidden;
}

/* 공통 버튼 그룹 */
.remote-page .remote-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.remote-page .remote-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
    flex: 0 0 auto;
    box-sizing: border-box;
    line-height: 1.2;
}

/* site.css .btn와 충돌 방지 */
.remote-page .remote-hero-actions.remote-actions,
.remote-page .remote-cta-actions.remote-actions {
    justify-content: flex-start;
}
.remote-page .remote-cta .remote-cta-actions.remote-actions {
    justify-content: center;
}

.remote-page .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.remote-page .btn-primary:hover {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
    color: #fff;
}

.remote-page .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.remote-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.remote-page .remote-main .btn-primary {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
}

.remote-page .remote-main .btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.remote-page .remote-main .btn-secondary:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: #fff;
}

.btn-external {
    font-size: 0.9em;
    opacity: 0.9;
    line-height: 1;
}

.btn-download {
    min-width: 160px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .remote-page .remote-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .remote-page .remote-actions .btn {
        width: 100%;
    }
}

/* Hero — 레이아웃은 hero-unified.css */
.remote-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(6, 12, 24, 0.94) 0%, rgba(15, 39, 68, 0.9) 48%, rgba(6, 12, 24, 0.88) 100%),
        radial-gradient(ellipse 65% 75% at 80% 25%, rgba(37, 99, 235, 0.28), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.remote-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 12% 65%, rgba(124, 58, 237, 0.2), transparent 55%);
    pointer-events: none;
}
.remote-hero h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.remote-hero-lead {
    margin: 0 0 2rem;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.remote-main {
    padding: 3.25rem 0 5rem;
    width: 100%;
}

.remote-section {
    margin-bottom: 4rem;
    width: 100%;
}
.remote-section:last-of-type { margin-bottom: 0; }

.remote-section-head {
    margin-bottom: 1.75rem;
    width: 100%;
}
.remote-section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.remote-section-head p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Intro card */
.remote-intro-card {
    padding: 1.75rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
.remote-intro-card p {
    margin: 0;
    line-height: 1.75;
    font-size: 0.95rem;
}
.remote-intro-card p + p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

/* TeamViewer card */
.remote-tv-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.25s var(--ease-out), border-color 0.25s;
    width: 100%;
    box-sizing: border-box;
}
.remote-tv-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-hover);
}
.remote-tv-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    min-width: 0;
}
@media (min-width: 769px) {
    .remote-tv-card {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 2rem;
    }
    .remote-tv-main {
        grid-column: 1;
        grid-row: 1;
    }
    .remote-tv-actions {
        grid-column: 2;
        grid-row: 1;
        flex-direction: column;
        align-items: flex-end;
        justify-self: end;
        padding-top: 0;
    }
    .remote-tv-notice {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
@media (max-width: 768px) {
    .remote-tv-main {
        grid-template-columns: auto 1fr;
        text-align: left;
    }
}
@media (max-width: 480px) {
    .remote-tv-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .remote-tv-icon { margin-inline: auto; }
}
.remote-tv-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}
.remote-tv-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
}
.remote-tv-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}
.remote-tv-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 1rem;
    padding-top: 0.25rem;
    min-width: 0;
}
.remote-tv-external-label {
    display: block;
    width: 100%;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: inherit;
}
@media (max-width: 480px) {
    .remote-tv-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .remote-tv-external-label {
        text-align: center;
    }
    .remote-tv-actions .btn-download {
        width: 100%;
    }
}
.remote-tv-notice {
    padding: 1rem 1.15rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: var(--radius-md);
}
.remote-tv-notice strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b45309;
}
.remote-tv-notice p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Support scope grid — 3열 / 모바일 1열 */
.remote-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    align-items: stretch;
}
@media (max-width: 768px) {
    .remote-scope-grid { grid-template-columns: 1fr; }
}
.remote-scope-card {
    padding: 1.4rem 1.45rem;
    min-height: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.remote-scope-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
}
.remote-scope-card .scope-icon {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    line-height: 1;
}
.remote-scope-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
}
.remote-scope-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Timeline — 번호 배지 + 본문 */
.remote-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

.remote-timeline-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    position: relative;
    list-style: none;
    align-items: start;
}
.remote-timeline-item:last-child { padding-bottom: 0; }
.remote-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(1.5rem - 1px);
    top: 3rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(37, 99, 235, 0.12));
}
.remote-step-num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 1;
}
.remote-step-body {
    padding: 1.1rem 1.35rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
    min-width: 0;
}
.remote-timeline-item:hover .remote-step-body {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
}
.remote-step-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 700;
}
.remote-step-body p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .remote-timeline-item {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
    }
    .remote-step-num {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.85rem;
    }
    .remote-timeline-item:not(:last-child)::before {
        left: calc(1.25rem - 1px);
        top: 2.6rem;
    }
}

/* 기술지원 운영시간 — 중앙 정렬 3카드 */
.support-hours-section {
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.support-hours-header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.support-hours-header h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.25rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.support-hours-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.support-hours-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.support-hour-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
    box-sizing: border-box;
}

.support-hour-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.support-hour-card .label {
    margin: 0 0 0.75rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--accent);
}

.support-hour-card .time {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.support-hour-card .time--compact {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.support-hour-card .desc {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.support-hours-note {
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 1.1rem 1.5rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.65;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .support-hours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .support-hours-grid .support-hour-card:last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        margin-inline: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .support-hours-section {
        padding: 3rem 1.125rem;
    }

    .support-hours-grid {
        grid-template-columns: 1fr;
    }

    .support-hours-grid .support-hour-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .support-hour-card .time {
        font-size: 1.5rem;
    }
}

/* Future platform */
.remote-future {
    padding: 2.25rem 2.35rem;
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.06), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
.remote-future-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.remote-future h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}
.remote-future-desc {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
.remote-badge-dev {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.remote-future-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
@media (max-width: 768px) {
    .remote-future-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .remote-future-features { grid-template-columns: 1fr; }
}
.remote-future-features li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}
.remote-future-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* FAQ Accordion */
.remote-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}
.remote-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.remote-faq-item:hover { border-color: rgba(37, 99, 235, 0.2); }
.remote-faq-item.is-open {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: var(--shadow-sm);
}
.remote-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    min-height: 48px;
}
.remote-faq-trigger::after {
    content: '+';
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(12, 13, 14, 0.05);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}
.remote-faq-item.is-open .remote-faq-trigger::after {
    content: '−';
    background: var(--accent-soft);
    color: var(--accent);
}
.remote-faq-panel {
    display: none;
    padding: 0 1.35rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.remote-faq-item.is-open .remote-faq-panel {
    display: block;
}

/* Bottom CTA */
.remote-cta {
    margin-top: 4rem;
    padding: 2.75rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0f2744 0%, #111827 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}
.remote-cta h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 800;
}
.remote-cta p {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 480px;
    margin-inline: auto;
}
.remote-cta .remote-actions {
    justify-content: center;
}
