@charset "UTF-8";

/* Nature On 관리자 시스템 전용 스타일 */
:root {
    --admin-primary: #ff3e41; /* 포인트 컬러 (오케이온/네이쳐온 톤) */
    --admin-accent: #2563eb;  /* 블루 악센트 */
    --admin-dark-bg: #0b0f17;
    --admin-card-bg: rgba(18, 24, 38, 0.75);
    --admin-border: rgba(255, 255, 255, 0.08);
    --admin-text-main: #f8fafc;
    --admin-text-muted: #94a3b8;
}

/* 기본 레이아웃 */
html.custom-scroll {
    height: 100%;
    overflow-y: scroll;
}

body.theme-admin {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: var(--admin-dark-bg);
    color: var(--admin-text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 공통 컨테이너 */
.admin-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* 상단 헤더 */
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--admin-border);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.admin-header .logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.admin-header .logo span {
    color: var(--admin-primary);
}

.admin-header .logo .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 62, 65, 0.15);
    color: var(--admin-primary);
    border: 1px solid rgba(255, 62, 65, 0.3);
}

.header-links {
    display: flex;
    align-items: center;
}

.btn-nav-home {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--admin-border);
    color: var(--admin-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-nav-home:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-nav-home:active {
    transform: scale(0.95);
}

/* 히어로 섹션 */
.admin-hero {
    position: relative;
    padding: 10rem 0 5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(255, 62, 65, 0.08) 0%, rgba(11, 15, 23, 0) 70%);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--admin-border);
    font-size: 0.8125rem;
    color: var(--admin-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-pill .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--admin-primary);
    box-shadow: 0 0 10px var(--admin-primary);
}

.admin-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    color: #fff;
}

.admin-hero-title .highlight {
    background: linear-gradient(135deg, #fff 40%, var(--admin-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-hero-desc {
    font-size: 1.125rem;
    color: var(--admin-text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 3rem;
}

/* 탭 컨트롤러 */
.tab-control-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.tab-controller {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--admin-border);
    padding: 6px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--admin-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn.active {
    background: #ff3e41;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 62, 65, 0.4);
}

/* 탭 패널 컨테이너 */
.tab-content-panel {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 쇼케이스 카드 아이템 */
.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-bottom: 6rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    border-color: rgba(255, 62, 65, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.showcase-item.reverse {
    grid-template-columns: 1.25fr 1fr;
}

.showcase-item.reverse .showcase-text {
    order: 2;
}

.showcase-item.reverse .showcase-media {
    order: 1;
}

/* 텍스트 영역 */
.showcase-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--admin-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.showcase-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.showcase-desc {
    font-size: 1rem;
    color: var(--admin-text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.showcase-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9375rem;
    color: #e2e8f0;
}

.point-item i {
    color: var(--admin-primary);
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* 이미지 목업 프레임 */
.browser-frame {
    background: #111827;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    cursor: default;
    transition: transform 0.3s ease;
}

.browser-frame:hover {
    transform: scale(1.015);
}



.browser-frame img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #0b0f17;
}

/* 크로스페이드 듀얼 슬라이더 프레임 (대형 화면 순환 노출) */
.fader-frame {
    background: #111827;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    cursor: default;
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.fader-frame:hover {
    transform: scale(1.015);
}

.fader-slide {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.fader-slide.active {
    opacity: 1;
    visibility: visible;
}

.fader-slide img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #0b0f17;
}

.fader-dots {
    position: absolute;
    bottom: 12px;
    right: 14px;
    display: inline-flex;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.fader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.fader-dot.active {
    width: 16px;
    border-radius: 999px;
    background: var(--admin-primary);
    box-shadow: 0 0 8px var(--admin-primary);
}

/* 하단 배너 CTA */
.admin-cta {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(255, 62, 65, 0.18) 0%, rgba(18, 24, 38, 0.85) 65%);
    border: 1px solid rgba(255, 62, 65, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 5rem 2.5rem;
    text-align: center;
    margin-bottom: 5rem;
    backdrop-filter: blur(20px);
}

.admin-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 62, 65, 0.8), transparent);
}

.admin-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 62, 65, 0.12);
    border: 1px solid rgba(255, 62, 65, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--admin-primary);
    letter-spacing: 0.8px;
    margin-bottom: 1.5rem;
}

.admin-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: #fff;
    letter-spacing: -1px;
}

.admin-cta h2 .cta-gradient {
    background: linear-gradient(135deg, #ffffff 40%, #ff6b6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-cta p {
    font-size: 1.0625rem;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 플로팅 탑 버튼 (기존 app.html 컴포넌트 재사용 및 테마 컬러 적용) */
.top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    background: rgba(18, 24, 38, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

.top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.top-btn:hover {
    background-color: var(--admin-primary);
    border-color: var(--admin-primary);
    box-shadow: 0 0 25px rgba(255, 62, 65, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.top-btn:active {
    transform: scale(0.95);
}

.top-btn i {
    font-size: 1.4rem;
}

/* 푸터 */
.admin-footer {
    border-top: 1px solid var(--admin-border);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

/* 태블릿 및 모바일 최적화 미디어쿼리 (프로젝트 규칙 준수) */
@media (max-width: 1024px) {
    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    .showcase-item.reverse .showcase-text { order: 1; }
    .showcase-item.reverse .showcase-media { order: 2; }
    .admin-hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .admin-header {
        padding: 1rem 1.25rem;
    }
    .btn-nav-home {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.1rem;
    }
    .admin-hero {
        padding: 7rem 0 3.5rem;
    }
    .admin-hero-title {
        font-size: 1.5rem;
        line-height: 1.28;
        letter-spacing: -0.5px;
    }
    .admin-hero-desc {
        font-size: 0.875rem;
        line-height: 1.55;
        margin-bottom: 2rem;
    }
    .tab-control-wrap {
        margin-bottom: 2.5rem;
    }
    .tab-btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.875rem;
    }
    .showcase-grid {
        gap: 3rem;
        margin-bottom: 4rem;
    }
    .showcase-item,
    .showcase-item.reverse {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        gap: 1.75rem;
    }
    .showcase-title {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 0.65rem;
    }
    .showcase-desc {
        font-size: 0.84375rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }
    .point-item {
        font-size: 0.8125rem;
        line-height: 1.45;
    }
    .admin-cta {
        padding: 2.5rem 1.25rem;
        border-radius: 16px;
    }
    .admin-cta h2 {
        font-size: 1.375rem;
        line-height: 1.3;
    }
    .admin-cta p {
        font-size: 0.84375rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }
}

