/* ==========================================================================
   WQO Service Premium Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & Custom Variables
   -------------------------------------------------------------------------- */
:root {
    /* Bright & Premium Light Palette */
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.88);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --primary: #4f46e5;
    --primary-alt: #2563eb;
    --primary-rgb: 79, 70, 229;
    
    --accent-purple: #9333ea;
    --accent-purple-rgb: 147, 51, 234;
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    --grad-purple: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    --grad-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --grad-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --grad-glow: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    
    /* Layout */
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-focus: rgba(79, 70, 229, 0.35);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows & Filters */
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.08);
    --shadow-glow-cyan: 0 0 30px rgba(79, 70, 229, 0.25);
    --shadow-glow-purple: 0 0 30px rgba(147, 51, 234, 0.25);
    --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.25);
    
    --blur-glass: blur(16px);
    
    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "PingFang SC", "Noto Sans KR", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--grad-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel Base */
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    font-weight: 600;
    padding: 13px 27px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Header Navigation (Sticky Glass)
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-color: var(--border-glass);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.logo-text {
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-console {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-console:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn-console:hover .arrow-icon {
    transform: translateX(4px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* --------------------------------------------------------------------------
   4. Hero Section & Custom Device Mockup
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--grad-glow);
    filter: blur(80px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.app-downloads {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    width: 100%;
}

.download-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.download-badges {
    display: flex;
    gap: 16px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.badge-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

/* Smartphone Mockup CSS */
.hero-graphic {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
    width: 320px;
    height: 640px;
    perspective: 1000px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 0 4px #e2e8f0, 0 10px 30px rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f0f12;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #27272a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-header {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 0;
}

.app-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-logo-img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.app-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.app-settings-btn {
    color: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.app-settings-btn:hover {
    color: #ffffff;
}

.app-settings-btn svg {
    width: 20px;
    height: 20px;
}

.app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px 16px;
    justify-content: flex-start;
}

/* App Cards styling */
.app-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.68rem;
    color: #71717a;
    font-weight: 500;
}

.input-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    align-items: center;
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 6px;
    padding: 6px 10px;
    height: 32px;
}

.password-dots {
    font-size: 0.65rem;
    color: #a1a1aa;
    letter-spacing: 1px;
    user-select: none;
}

.btn-toggle-view {
    color: #52525b;
    display: flex;
    align-items: center;
}

.btn-toggle-view svg {
    width: 14px;
    height: 14px;
}

.btn-sync {
    background: #3b82f6;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 12px;
    height: 32px;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.btn-sync:hover {
    background: #2563eb;
}

/* Usage Card style */
.usage-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
}

.usage-col {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.usage-col:first-child {
    border-right: 1px solid #27272a;
    padding-right: 8px;
}

.icon-indicator {
    font-size: 0.9rem;
}

.text-group {
    display: flex;
    flex-direction: column;
}

.card-val {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 2px;
}

.highlight-blue {
    color: #60a5fa;
}

.highlight-orange {
    color: #f59e0b;
}

.btn-refresh {
    color: #71717a;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: var(--transition-fast);
}

.btn-refresh:hover {
    color: #ffffff;
}

.btn-refresh svg {
    width: 12px;
    height: 12px;
}

/* Node Selector style */
.node-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.node-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-node {
    color: #71717a;
    display: flex;
    align-items: center;
}

.icon-node svg {
    width: 14px;
    height: 14px;
}

.node-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f59e0b;
}

.icon-lock {
    font-size: 0.75rem;
}

.btn-ping {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-ping:hover {
    background: rgba(245, 158, 11, 0.15);
}

/* Connection Button & Ring Animations */
.connection-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0;
    width: 100%;
}

.wave-circle {
    position: relative;
    width: 124px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.power-btn {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #18181b;
    border: 3px solid #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3f3f46;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6), var(--shadow-sm);
    transition: var(--transition-normal);
}

.power-btn svg {
    width: 32px;
    height: 32px;
}

.power-btn.connected {
    background: radial-gradient(circle, #1e1b4b 0%, #09090b 100%);
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: inset 0 2px 5px rgba(99,102,241,0.3), 0 0 20px rgba(99,102,241,0.25);
}

/* Pulse Waves */
.wave {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.power-btn.connected ~ .wave {
    animation: ripple 3s infinite;
}

.power-btn.connected ~ .wave:nth-child(2) {
    animation-delay: 1s;
}

.power-btn.connected ~ .wave:nth-child(3) {
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ef4444; /* Default Disconnected is Red */
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.status-text.connected {
    color: #30d158; /* Connected is Green */
    text-shadow: 0 0 10px rgba(48,209,88,0.2);
}

.node-subinfo {
    font-size: 0.68rem;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-globe {
    font-size: 0.75rem;
}

/* Bottom Tab Buttons */
.app-bottom-tabs {
    display: flex;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid #27272a;
    padding-top: 10px;
    width: 100%;
}

.app-tab-btn {
    flex: 1;
    padding: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #64748b;
    transition: var(--transition-fast);
}

.app-tab-btn.active {
    background: rgba(245, 158, 11, 0.04);
    border-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

/* --------------------------------------------------------------------------
   5. Features Section
   -------------------------------------------------------------------------- */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-focus);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 28px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.bg-gradient-cyan {
    background: var(--grad-primary);
    box-shadow: var(--shadow-glow-cyan);
    color: #000;
}

.bg-gradient-purple {
    background: var(--grad-purple);
    box-shadow: var(--shadow-glow-purple);
    color: #fff;
}

.bg-gradient-green {
    background: var(--grad-green);
    box-shadow: var(--shadow-glow-green);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. Guide Section (Tabs System)
   -------------------------------------------------------------------------- */
.guide-section {
    padding: 100px 0;
    position: relative;
}

.guide-tabs-container {
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.tab-btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 16px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(0, 242, 254, 0.03);
}

.tab-contents {
    padding: 48px;
}

.tab-panel {
    display: none;
    animation: fadeIn var(--transition-normal);
}

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

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

.tab-panel h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.tab-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-fast);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--grad-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.guide-info-list {
    margin-top: 16px;
    padding-left: 0;
}

.guide-info-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
    padding-left: 12px;
    position: relative;
}

.guide-info-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.guide-info-list strong {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   7. Support & Contact Section
   -------------------------------------------------------------------------- */
.support-section {
    padding: 100px 0;
    position: relative;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.support-card {
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.support-icon.wechat {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.support-icon.teams {
    background: rgba(91, 95, 199, 0.1);
    color: #7b83eb;
    border: 1px solid rgba(91, 95, 199, 0.2);
}

.support-icon.phone {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.support-icon svg {
    width: 32px;
    height: 32px;
}

.support-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.id-display {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    width: 100%;
}

.highlight {
    color: var(--primary);
    font-family: monospace;
    font-size: 1.05rem;
}

.support-card .desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: var(--shadow-glow-cyan);
}

.btn-link-action {
    border: 1px solid var(--border-glass);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

#support-teams .btn-copy:hover {
    background: #5B5FC7;
    border-color: #5B5FC7;
    color: #fff;
    box-shadow: 0 0 20px rgba(91, 95, 199, 0.3);
}

#support-phone .btn-link-action:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
    box-shadow: var(--shadow-glow-purple);
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.main-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 48px 0 calc(36px + env(safe-area-inset-bottom, 0px));
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 1단: 브랜드 및 정책 링크 바 */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    max-width: 480px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.footer-desc {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-nav a.is-emphasis {
    color: var(--text-primary);
    font-weight: 700;
}

.footer-nav-divider {
    color: #cbd5e1;
    font-size: 0.75rem;
    user-select: none;
}

/* 2단: 전자상거래법 준수 사업자 신원 정보 카드 */
.biz-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.biz-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 0;
    padding: 0;
}

.biz-info-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.8125rem;
    line-height: 1.65;
}

.biz-info-row--wide {
    flex-basis: 100%;
}

.biz-info-row dt {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.biz-info-row dt::after {
    content: ":";
    margin-left: 1px;
}

.biz-info-row dd {
    margin: 0;
    color: #334155;
    font-weight: 500;
}

.biz-info-row dd strong {
    color: var(--text-primary);
    font-weight: 700;
}

.biz-ftc-link {
    color: #0284c7;
    text-decoration: underline;
    margin-left: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.biz-ftc-link:hover {
    color: #0369a1;
}

.biz-contact-link {
    color: inherit;
    text-decoration: none;
}

.biz-contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 3단: 카피라이트 및 보조 정보 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0;
}

@media (max-width: 640px) {
    .main-footer {
        padding: 36px 0 calc(28px + env(safe-area-inset-bottom, 0px));
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 16px;
    }
    
    .biz-info-card {
        padding: 16px;
    }
    
    .biz-info-list {
        flex-direction: column;
        gap: 4px;
    }
    
    .biz-info-row--wide {
        flex-basis: auto;
    }
}

/* --------------------------------------------------------------------------
   9. Toast Alert Notification
   -------------------------------------------------------------------------- */
.toast-alert {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow-cyan);
    z-index: 2000;
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    pointer-events: none;
}

.toast-alert.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        max-width: 600px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-base);
        border-top: 1px solid var(--border-glass);
        padding: 40px 24px;
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .tab-contents {
        padding: 24px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 0 0 50%;
        font-size: 0.85rem;
        padding: 14px 8px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }
    
    .footer-right {
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   11. New WQO Service Guide Section Styles
   -------------------------------------------------------------------------- */
.guide-download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 48px;
    gap: 24px;
}

.download-text-side h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-text-side p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.download-text-side .warning-text {
    font-size: 0.78rem;
    color: #ef4444;
    font-weight: 600;
}

.guide-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.guide-step-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 48px;
}

.guide-step-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-desc-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-badge {
    background: var(--grad-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.step-desc-side h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc-side p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.bullet-list {
    padding-left: 0;
    width: 100%;
}

.bullet-list li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
}

.bullet-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bullet-list li strong {
    color: var(--text-primary);
}

.bullet-list li em {
    color: #f59e0b;
    font-style: normal;
}

.step-image-side {
    display: flex;
    justify-content: center;
}

.screen-frame-mini {
    width: 220px;
    border: 6px solid #27272a;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 10px 20px rgba(0, 0, 0, 0.4);
    background: #000;
}

.screen-frame-mini img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -14.5%; /* 맥/윈도우 상단 데스크탑 타이틀바 영역을 완전히 가리기 위해 크롭 비율 상향 */
    margin-bottom: -14.5%; /* 하단 비율 보정 */
}

/* Smart DNS + style */
.info-tip-box {
    background: rgba(245, 158, 11, 0.04);
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 0.92rem;
    color: #f59e0b;
    margin-bottom: 36px;
    line-height: 1.6;
}

.dns-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dns-step-item {
    display: flex;
    gap: 20px;
}

.num-dot {
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.dns-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.dns-text p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.bullet-list-sm {
    padding-left: 0;
    margin-top: 10px;
}

.bullet-list-sm li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
}

.bullet-list-sm li::before {
    content: '•';
    color: #f59e0b;
    position: absolute;
    left: 0;
}

/* WiFi Sharing styling */
.wifi-process-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.p-step {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-fast);
}

.p-step:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.p-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.p-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.p-step code {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #2563eb;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
}

.caution-wrapper {
    background: rgba(239, 68, 68, 0.02);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    padding: 32px;
}

.caution-wrapper h4 {
    font-size: 1.2rem;
    color: #ef4444;
    font-weight: 700;
    margin-bottom: 24px;
}

.caution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.caution-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.caution-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Manual Legacy Accordion styling */
.manual-accordion-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.manual-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
}

.manual-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.manual-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.acc-list {
    padding-left: 0;
}

.acc-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 12px;
    position: relative;
}

.acc-list li::before {
    content: '-';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Responsiveness for new guide components */
@media (max-width: 900px) {
    .guide-step-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .screen-frame-mini {
        width: 180px;
    }
    
    .wifi-process-container,
    .manual-accordion-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .caution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guide-download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .ex-card {
        flex: 1 1 calc(50% - 24px) !important;
        max-width: 100% !important;
    }
}

@media (max-width: 500px) {
    .ex-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================
   Notice Nav Dot & Badge
========================================== */
.nav-notice-link {
    position: relative;
}
.notice-badge-dot {
    width: 7px;
    height: 7px;
    background-color: #6366f1;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
    display: inline-block;
    flex-shrink: 0;
    margin-top: 1px;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px rgba(99, 102, 241, 1); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================
   Notice Modal Window & Backdrop
========================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.notice-modal-container {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 1080px;
    height: 82vh;
    max-height: 780px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15), 0 0 30px rgba(79, 70, 229, 0.1);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-backdrop.active .notice-modal-container {
    transform: scale(1) translateY(0);
}

.notice-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title-area .modal-icon {
    font-size: 1.4rem;
}

.modal-title-area h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.modal-close-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.notice-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar List */
.notice-sidebar {
    width: 340px;
    min-width: 300px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.notice-search-box {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.notice-search-box input {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.notice-search-box input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.15);
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.notice-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s ease, border-left 0.2s ease;
    border-left: 4px solid transparent;
}

.notice-item:hover {
    background: rgba(79, 70, 229, 0.05);
}

.notice-item.active {
    background: rgba(79, 70, 229, 0.08);
    border-left-color: #4f46e5;
}

.notice-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.notice-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
}

.notice-tag.notice-pin {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.notice-date {
    font-size: 0.75rem;
    color: #64748b;
}

.notice-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-item.active .notice-item-title {
    color: #4f46e5;
}

/* Article Content View */
.notice-content-area {
    flex: 1;
    padding: 28px 36px;
    overflow-y: auto;
    background: #ffffff;
    color: #334155;
    line-height: 1.7;
}

.notice-content-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.6;
}

.notice-view-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.notice-view-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.notice-view-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: #64748b;
}

.notice-view-body {
    font-size: 0.96rem;
    color: #334155;
}

.notice-view-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.notice-view-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
}

.notice-view-body th, .notice-view-body td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
}

.notice-view-body th {
    background: rgba(79, 70, 229, 0.08);
    color: #0f172a;
}

.notice-view-body a {
    color: #4f46e5;
    text-decoration: underline;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .notice-modal-container {
        height: 90vh;
        max-height: none;
    }
    .notice-modal-body {
        flex-direction: column;
    }
    .notice-sidebar {
        width: 100%;
        max-height: 220px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

/* ==========================================================================
   Admin & CRUD System Styles
   ========================================================================== */
.admin-badge-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-admin-action {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.btn-admin-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-admin-toggle {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-admin-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.notice-admin-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.btn-post-share {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.1);
    color: #0369a1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-post-share:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-post-edit, .btn-post-delete {
    padding: 5px 10px;
    font-size: 0.78rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-post-edit {
    background: #e0e7ff;
    color: #4338ca;
}

.btn-post-edit:hover {
    background: #c7d2fe;
}

.btn-post-delete {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-post-delete:hover {
    background: #fecaca;
}

/* Admin Modals */
.admin-modal-container, .editor-modal-container {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

.editor-modal-container {
    max-width: 720px;
}

.admin-modal-header, .editor-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.admin-modal-header h3, .editor-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.admin-form, .editor-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-row {
    display: flex;
    gap: 12px;
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.form-checkbox {
    font-size: 0.9rem;
    color: #475569;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.btn-modal-cancel {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel:hover {
    background: #e2e8f0;
    color: #334155;
}

.btn-modal-submit {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.btn-modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

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

/* ==========================================================================
   WeChat & In-App Browser Guide Overlay Styles
   ========================================================================== */
.wechat-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.wechat-arrow-indicator {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: arrowPulse 1.8s ease-in-out infinite;
}

.arrow-svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
}

.wechat-top-badge {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid #38bdf8;
    color: #38bdf8;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

.wechat-guide-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.wechat-icon-header {
    margin-bottom: 24px;
}

.wechat-badge-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 12px;
}

.wechat-icon-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.wechat-icon-header .cn-sub {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
}

.wechat-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    background: rgba(15, 23, 42, 0.6);
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-num {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-row p {
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.step-row p strong {
    color: #38bdf8;
}

.step-row .cn-text {
    color: #94a3b8;
    font-size: 0.82rem;
    display: inline-block;
    margin-top: 2px;
}

.wechat-guide-actions {
    margin-bottom: 16px;
}

.btn-wechat-direct {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-wechat-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.btn-wechat-copy {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-wechat-copy:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}

.wechat-url-box {
    margin: 12px 0 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.8rem;
    line-height: 1.4;
    color: #bae6fd;
    word-break: break-all;
    user-select: all;
    -webkit-user-select: all;
}

.wechat-copy-toast {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: #86efac;
    min-height: 18px;
    font-weight: 600;
}

.wechat-footer-note {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 14px;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-6px) scale(1.05);
        opacity: 1;
    }
}



/* --------------------------------------------------------------------------
   Pricing Section Styles (PG 심사 및 원화 요금표)
   -------------------------------------------------------------------------- */
.pricing-section {
    padding: 96px 0;
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.3);
}

.pricing-card.is-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

.pricing-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: #f1f5f9;
    color: #475569;
}

.pricing-card.is-popular .pricing-badge {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.pricing-card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.pricing-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    min-height: 40px;
    line-height: 1.45;
    margin-bottom: 20px;
}

.pricing-price-wrap {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-price .amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.pricing-price .period {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-subprice {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6366f1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--accent-green);
}

.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.btn-pricing:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.pricing-card.is-popular .btn-pricing {
    background: var(--grad-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.pricing-card.is-popular .btn-pricing:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.pricing-notice-box {
    margin-top: 40px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: rgba(79, 70, 229, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.pricing-notice-box h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-notice-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
