﻿/* style.css - SpiderDesk Enterprise Final Version (Fixed) */

:root {
    --bg-color: #0B1120;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #3B82F6;
    --secondary: #6366f1;
    --accent: #10B981;
    --text-main: #F1F5F9;
    --text-sub: #94A3B8;
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}


/* Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0B1120 80%);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: white;
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--card-border);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.mobile-dropdown {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 10px 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-dropdown.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

.mobile-dropdown a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 1rem;
    color: var(--text-main);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PC ?붾㈃?먯꽌 紐⑤컮??硫붾돱 媛뺤젣 ?④? */
@media (min-width: 769px) {

    .mobile-dropdown,
    .mobile-dropdown.active {
        display: none !important;
    }
}

/* Main Structure */
main {
    padding-top: 72px;
}

.cc-main {
    padding-top: 0;
}

section {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

/* Hero Section */
.hero {
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-gradient {
    background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 60px;
    margin-top: 80px;
    padding: 30px 50px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    background: linear-gradient(to right, white, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* Product Cards (Bento Grid) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
}

.card p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.6;
}

/* -----------------------------------------------------
   ??[FIXED] Adaptive Pipeline Section
----------------------------------------------------- */
.tech-pipeline {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 80px 40px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tech-pipeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pipeline-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.pipeline-step {
    background: rgba(11, 17, 32, 0.8);
    border: 1px solid var(--card-border);
    padding: 30px 25px;
    border-radius: 20px;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: 0.4s ease;
}

/* ??[FIX] ?占쎌씠占??占쎌뒪???占쎌묠 諛⑼옙? (?占쎌떖 ?占쎌젙) ??*/
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: 0.4s ease;
    font-size: 24px;

    /* 占?湲?占쏙옙? ?占쏙옙????占쎄렇?占쏙옙? 諛뽰쑝占????占쏙옙?占??占쎈쫫 */
    overflow: hidden;
    white-space: nowrap;
}

.step-info {
    text-align: center;
}

.pipeline-step h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.pipeline-step span {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-family: monospace;
}

/* ?占쎌꽦 ?占쏀뀦 ?占쎄낵 */
.pipeline-step.active {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(11, 17, 32, 0.9));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    animation: pulseBorder 3s infinite alternate;
}

@keyframes pulseBorder {
    from {
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    }

    to {
        border-color: var(--primary);
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    }
}

.pipeline-step.active .step-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary);
}

.pipeline-step.active span {
    color: #60A5FA;
}

/* ??[FIX] Fallback ?占쏀뀦: ?占쎈챸?占쎄쾶 蹂듦뎄 ??*/
.pipeline-step.fallback {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
    /* ?占쎈챸??1占??占쎌젙?占쎌뿬 ?占쎈챸?占쎄쾶 */
    background: rgba(255, 255, 255, 0.02);
}

.pipeline-step.fallback .step-icon {
    background: rgba(255, 255, 255, 0.08);
}

.step-arrow {
    color: var(--text-sub);
    opacity: 0.3;
    font-size: 28px;
    display: flex;
    align-items: center;
}

/* -----------------------------------------------------
   ??[FIXED] Footer Section (湲몄씠 ?占쎌텞 & ???占쎄굅)
----------------------------------------------------- */
footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    background: linear-gradient(to bottom, #0B1120, #05070e);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 10px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
}

/* 由ъ뒪???占쏙옙???媛뺤젣 ?占쎄굅 */
.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-col ul li {
    margin-bottom: 8px;
    /* 媛꾧꺽 異뺤냼 */
    list-style: none !important;
}

.footer-col a {
    color: var(--text-sub);
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.legal-bar {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

/* -----------------------------------------------------
   ??Mobile Responsive
----------------------------------------------------- */
@media (max-width: 768px) {

    .hero p {
        font-size: 1.1rem;
    }

    /* Stats Bar 紐⑤컮??*/
    .stats-bar {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 20px;
        margin-top: 40px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ??紐⑤컮??Footer ?占쎌씠?占쏀듃 (?占쎌텞) ??*/
    footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 10px;
        font-size: 1rem;
        color: white;
    }

    .footer-col ul li {
        margin-bottom: 5px;
    }

    /* 由ъ뒪??媛꾧꺽 ??珥섏킌?占쎄쾶 */
    .legal-bar {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.8rem;
    }

    /* 紐⑤컮???占쎌씠?占쎈씪??*/
    .tech-pipeline {
        padding: 30px 20px;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 15px;
    }

    /* 媛꾧꺽 異뺤냼 */
    .pipeline-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        padding: 15px 20px;
        align-items: center;
        box-shadow: none !important;
    }

    .step-info {
        text-align: left;
        margin-left: 15px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: -5px 0;
    }
}

/* -----------------------------------------------------
   ??LOGIN PAGE STYLES (New)
   湲곗〈 style.css 占??占쎈옒??異뷂옙??占쎌꽭??
----------------------------------------------------- */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    text-decoration: none;
    color: white;
}

.login-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-logo .material-icons-round {
    -webkit-text-fill-color: initial;
    color: var(--primary);
    font-size: 36px;
}

/* Glass Card Design */
.login-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    padding: 50px;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.login-desc {
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: var(--text-sub);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    position: relative;
}

.input-field .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

.input-field input {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px 14px 48px;
    /* ?占쎌씠占?怨듦컙 ?占쎈낫 */
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: 'Pretendard', sans-serif;
}

.input-field input:focus {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-sub);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #475569;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: 0.2s;
}

.checkbox-container input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked+.checkmark::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    color: var(--primary);
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-sub);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.login-footer a {
    color: white;
    font-weight: 600;
}

/* Mobile Response */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
}

/* -----------------------------------------------------
   ??GOOGLE LOGIN & DIVIDER STYLES
----------------------------------------------------- */

/* 援щ텇??(OR) */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-sub);
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 10px;
    font-weight: 500;
}

/* 援э옙? 踰꾪듉 */
.btn-google {
    width: 100%;
    padding: 14px;
    background: white;
    color: #1e293b;
    /* 吏꾪븳 ?占쎌깋 ?占쎌뒪??*/
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    /* ?占쏙옙?占?*/
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-google:hover {
    background: #f1f5f9;
    /* ?占쎌쭩 ?占쎈몢???占쎌깋 */
    transform: translateY(-2px);
}

/* style.css - SpiderDesk Enterprise Final Complete */

:root {
    --bg-color: #0B1120;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #3B82F6;
    --secondary: #6366f1;
    --accent: #10B981;
    --text-main: #F1F5F9;
    --text-sub: #94A3B8;
    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

/* Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0B1120 80%);
}

/* -----------------------------------------------------
   ??LANDING PAGE STYLES (index.html)
----------------------------------------------------- */

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 1001;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: white;
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--card-border);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

/* Hero */
.hero {
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 60px;
    margin-top: 80px;
    padding: 30px 50px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    background: linear-gradient(to right, white, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
}

.card p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.6;
}

/* Adaptive Pipeline */
.tech-pipeline {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 80px 40px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tech-pipeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pipeline-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.pipeline-step {
    background: rgba(11, 17, 32, 0.8);
    border: 1px solid var(--card-border);
    padding: 30px 25px;
    border-radius: 20px;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: 0.4s ease;
}

/* SVG Icon Styles */
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: 0.4s ease;
    overflow: hidden;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.step-info {
    text-align: center;
}

.pipeline-step h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.pipeline-step span {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-family: monospace;
}

/* Active Pipeline Step */
.pipeline-step.active {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(11, 17, 32, 0.9));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    animation: pulseBorder 3s infinite alternate;
}

@keyframes pulseBorder {
    from {
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    }

    to {
        border-color: var(--primary);
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    }
}

.pipeline-step.active .step-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary);
}

.pipeline-step.active span {
    color: #60A5FA;
}

.step-arrow {
    color: var(--text-sub);
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    background: linear-gradient(to bottom, #0B1120, #05070e);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 8px;
    list-style: none !important;
}

.footer-col a {
    color: var(--text-sub);
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.legal-bar {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

/* Landing Page Responsive */
@media (max-width: 768px) {

    .nav-menu,
    .status-indicator {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-right {
        gap: 10px;
    }

    section {
        padding: 50px 20px;
    }

    .hero {
        min-height: 60vh;
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats-bar {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 20px;
        margin-top: 40px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer Mobile */
    footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 10px;
        font-size: 1rem;
        color: white;
    }

    .legal-bar {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.8rem;
    }

    /* Pipeline Mobile */
    .tech-pipeline {
        padding: 30px 20px;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 15px;
    }

    .pipeline-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        padding: 15px 20px;
        box-shadow: none !important;
    }

    .step-info {
        text-align: left;
        margin-left: 15px;
    }

    .step-arrow svg {
        transform: rotate(90deg);
    }
}

/* -----------------------------------------------------
   ??LOGIN & SIGNUP STYLES (login.html, signup.html)
----------------------------------------------------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    text-decoration: none;
    color: white;
}

.login-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-logo .material-icons-round {
    -webkit-text-fill-color: initial;
    color: var(--primary);
    font-size: 36px;
}

.login-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    padding: 50px;
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.login-desc {
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: var(--text-sub);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    position: relative;
}

.input-field .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

.input-field input {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: 'Pretendard', sans-serif;
}

.input-field input:focus {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-sub);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #475569;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.checkbox-container input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    font-weight: 500;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-sub);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.login-footer a {
    color: white;
    font-weight: 600;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-sub);
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 10px;
    font-weight: 500;
}

.btn-google {
    width: 100%;
    padding: 14px;
    background: white;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-google:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* -----------------------------------------------------
   ??DASHBOARD / CONSOLE STYLES (console.html)
----------------------------------------------------- */

.dashboard-body {
    background-color: #0B1120;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* 1. Sidebar */
.sidebar {
    width: 260px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    z-index: 100;
}

.sidebar-header {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--card-border);
}

.sidebar-nav {
    padding: 24px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-sub);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.2s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.badge-count {
    margin-left: auto;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--card-border);
}

.nav-item.logout:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* 2. Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

/* Dashboard Header */
.dashboard-header {
    height: 72px;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-search {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 8px;
    width: 300px;
    color: var(--text-sub);
}

.header-search input {
    background: none;
    border: none;
    outline: none;
    color: white;
    margin-left: 10px;
    width: 100%;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
    cursor: pointer;
    color: var(--text-sub);
}

.noti-dot {
    position: absolute;
    top: 0;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #0B1120;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    cursor: pointer;
}

.profile-info img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--card-border);
}

/* Dashboard Content */
.dashboard-content {
    padding: 32px;
}

.page-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 24px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.stat-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-info p {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin: 0;
}

/* Table Section */
.table-section {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
}

.table-header-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.table-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-sub);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.filter-btn.alert {
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-sub);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-sub);
    font-size: 0.9rem;
}

th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-sub);
    font-weight: 500;
}

td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: white;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.device-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-sub);
    cursor: pointer;
}

.btn-icon:hover {
    color: white;
}

.load-bar {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.load-bar .fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent);
}

.load-bar .fill.high {
    background: #f59e0b;
}

.load-bar .fill.critical {
    background: #ef4444;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-info {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.page-controls {
    display: flex;
    gap: 5px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    background: transparent;
    color: var(--text-sub);
    border-radius: 6px;
    cursor: pointer;
}

.page-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: default;
}

/* -----------------------------------------------------
   ??Dashboard Mobile Responsive (Sidebar Slide-in)
----------------------------------------------------- */

/* 湲곕낯?占쎌쑝占??占쏙옙? 踰꾪듉?占쏙옙? ?占쎌뒪?占쏀깙?占쎌꽌 ?占쏙옙? */
.sidebar-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 15px;
}

.sidebar-toggle-btn .material-icons-round {
    font-size: 28px;
}

.close-sidebar-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-sub);
    cursor: pointer;
    margin-left: auto;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    transition: 0.3s;
}

/* ??紐⑤컮???占쎈㈃ (768px ?占쏀븯) ??*/
/* -----------------------------------------------------
   ??MOBILE RESPONSIVE FINAL FIX (Global Padding Reset)
   湲곗〈 ?占쎌씪 占??占쎈옒 @media 遺遺꾩쓣 ?占쎄쾬?占쎈줈 援먯껜?占쎌꽭??
----------------------------------------------------- */

@media (max-width: 768px) {

    /* 1. [LANDING] ?占쎈뵫 ?占쎌씠吏 湲곕낯 ?占쎌젙 */
    .nav-menu,
    .status-indicator {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* ?占쏀꽣 ????占쏙옙 */
    ul,
    li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-col ul li {
        margin-bottom: 10px !important;
    }

    /* ?占쎈뵫 ?占쎌씠?占쎌썐 */
    section {
        padding: 40px 20px;
    }

    .hero {
        min-height: 50vh;
    }

    .stats-bar {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 20px;
    }

    .bento-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .tech-pipeline {
        padding: 30px 20px;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 20px;
    }

    .pipeline-step {
        width: 100%;
        padding: 15px 20px;
    }

    .step-arrow svg {
        transform: rotate(90deg);
    }

    /* =========================================
       2. [CONSOLE] ???占쎌떖 ?占쎌젙: ?占쎈떒 ?占쎈갚 ?占쎄굅 ??
       ========================================= */

    .sidebar {
        display: flex;
        position: fixed;
        top: 0;
        left: -260px;
        height: 100%;
        width: 260px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    .close-sidebar-btn {
        display: block;
        margin-left: auto;
        color: var(--text-sub);
        background: none;
        border: none;
        cursor: pointer;
    }

    /* ??[?占쎄린媛 踰붿씤?占쎌뿀?占쎈땲?? ??
       ?占쎈뵫?占쎌씠吏??main ?占쎄렇???占쎈떒 ?占쎈갚(72px)???占쎄린??媛뺤젣占??占쎌븷???占쎈땲?? */
    .dashboard-main {
        margin-left: 0;
        width: 100%;
        padding-top: 0 !important;
        /* <--- ?占쎄쾶 ?占쎌뼱??占??占쎈뜕 寃곷땲??*/
    }

    /* ?占쎈뜑 ?占쏙옙??? ?占쎌씠 50px 怨좎젙 占??占쎈떒 遺占?*/
    .dashboard-header {
        padding: 0 16px !important;
        height: 50px !important;
        min-height: 50px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        position: sticky;
        /* ?占쏀겕占????占쎈떒 怨좎젙 */
        top: 0;
        z-index: 90;
        background: rgba(11, 17, 32, 0.95);
        /* 諛곌꼍???占쎌떎?占쎄쾶 */
    }

    /* ?占쎈쾭占?踰꾪듉 */
    .sidebar-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin: 0;
        padding: 0;
    }

    .sidebar-toggle-btn .material-icons-round {
        font-size: 28px;
    }

    /* 寃?占쎌갹 ?占쏙옙? */
    .header-search {
        display: none;
    }

    /* ?占쎈줈???占쎌뿭 */
    .header-profile {
        gap: 12px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .profile-info span {
        display: none;
    }

    .profile-info img {
        width: 28px;
        height: 28px;
        border: 2px solid var(--card-border);
    }

    /* 肄섑뀗占?蹂몃Ц */
    .dashboard-content {
        padding: 16px;
        padding-top: 10px;
    }

    .page-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
        margin-top: 0;
    }

    /* ?占쎄퀎 移대뱶 */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ?占쎌씠占?*/
    .table-section {
        padding: 16px;
    }

    .table-header-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .table-filters {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .filter-btn {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
    }

    .table-actions {
        width: 100%;
    }

    .table-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-dropdown>.nav-link:hover {
    color: white;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 18px;
}

.nav-dropdown:not(#lang-dropdown-wrapper):hover .dropdown-content,
.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-sub);
    font-size: 0.85rem;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

.dropdown-content a .material-icons-round {
    font-size: 18px;
    color: var(--primary);
}

/* Mobile dropdown compact mode */
@media (max-width: 768px) {
    .dropdown-content {
        max-height: 70vh;
        overflow-y: auto;
    }

    .dropdown-content a {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .dropdown-content a .flag-icon {
        font-size: 14px;
    }
}

/* ==================== */
/* Console Common Styles */
/* ==================== */

.control-center {
    display: flex;
    min-height: 100vh;
    background: #0a0e14;
}

.cc-sidebar {
    width: 220px;
    background: #0d1117;
    border-right: 1px solid #21262d;
    padding: 16px 0;
    flex-shrink: 0;
}

.cc-logo {
    padding: 12px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #58a6ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-nav {
    margin-top: 20px;
}

.cc-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #8b949e;
    font-size: 0.85rem;
    transition: 0.2s;
    text-decoration: none;
}

.cc-nav a:hover {
    background: #161b22;
    color: #c9d1d9;
}

.cc-nav a.active {
    background: #21262d;
    color: #58a6ff;
    border-left: 3px solid #58a6ff;
}

.cc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cc-header {
    height: 50px;
    background: #0d1117;
    border-bottom: 1px solid #21262d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    overflow: visible;
    min-width: 0;
    position: relative;
}

.cc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9d1d9;
}

.cc-user {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #8b949e;
    font-size: 0.85rem;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
    top: 30%;
    transform: translateY(-50%);
}

.cc-user a {
    color: #8b949e;
}

.cc-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.cc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 6px 12px;
}

.cc-search input {
    background: none;
    border: none;
    color: #c9d1d9;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

.cc-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cc-footer {
    height: 30px;
    background: #0d1117;
    border-top: 1px solid #21262d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #484f58;
}

/* ==================== */
/* Mobile Menu Styles   */
/* ==================== */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #c9d1d9;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0px;
    margin-right: 12px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .cc-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100%;
        z-index: 1001;
        transition: left 0.3s ease;
        background: #0d1117;
        border-right: 1px solid #21262d;
    }

    .cc-sidebar.mobile-open {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cc-header {
        padding: 0 12px;
    }

    .cc-user span:first-child {
        display: none;
    }
}

/* Modal Styles */
.modal {
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active .modal {
    display: block;
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ff3e3e;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-title {
    color: #c9d1d9;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Styles for Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #58a6ff;
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: #64748b;
}

/* Modal Buttons */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    padding: 10px 20px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #30363d;
}

.btn-submit {
    padding: 10px 20px;
    background: #58a6ff;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    background: #4c8ed9;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #3fb950;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    z-index: 2000;
    animation: slideUp 0.3s;
}

.toast.error {
    background: #f85149;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 18px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #c9d1d9;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: #21262d;
}

.user-dropdown a i {
    width: 16px;
    color: #8b949e;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: #30363d;
    margin: 4px 0;
}

.user-dropdown .logout-link {
    color: #f85149;
}

.user-dropdown .logout-link i {
    color: #f85149;
}

.user-dropdown .logout-link:hover {
    background: rgba(248, 81, 73, 0.1);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f85149;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== Additional Mobile Responsive Fixes ===== */
@media (max-width: 768px) {

    /* Index.html Features section inline grid override */
    #features>div {
        grid-template-columns: 1fr !important;
    }

    /* Dashboard filter bar - stack vertically */
    .dashboard-filter-bar,
    .filter-bar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .dashboard-filter-bar>*,
    .filter-bar>* {
        width: 100%;
    }

    /* Dashboard header - stack title and filters */
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }

    .dashboard-header h1 {
        margin-bottom: 8px;
    }

    /* Team page member cards */
    .member-card,
    .team-member {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .member-card .member-info,
    .team-member .member-info {
        width: 100%;
    }

    .member-card .member-role,
    .team-member .member-role,
    .member-card .member-actions,
    .team-member .member-actions {
        width: 100%;
        justify-content: flex-start;
    }

    /* Group cards */
    .group-card-header,
    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .group-card-actions,
    .location-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .group-card-actions .btn,
    .location-actions .btn {
        flex: 1;
    }
}

/* =====================================================
   ★★★ LIGHT THEME (Google Antigravity style)
   body.theme-light 클래스 적용 시 활성화
   ===================================================== */

body.theme-light {
    --bg-color: #ffffff;
    --card-bg: rgba(245, 247, 250, 0.8);
    --card-border: rgba(0, 0, 0, 0.08);
    --text-main: #1a1a2e;
    --text-sub: #64748b;
    background-color: #ffffff;
    color: #1a1a2e;
}

body.theme-light #canvas-container {
    background: radial-gradient(circle at 50% 30%, #f8fafc 0%, #ffffff 80%);
}

body.theme-light header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-light .nav-menu a {
    color: #475569;
}

body.theme-light .nav-menu a:hover {
    color: #1a1a2e;
}

body.theme-light .logo {
    color: #1a1a2e;
}

body.theme-light .hero h1 {
    color: #1a1a2e;
}

body.theme-light .hero-gradient {
    background: linear-gradient(to right, #1a1a2e 20%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light .hero p {
    color: #475569;
}

body.theme-light .badge {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

body.theme-light .stats-bar {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

body.theme-light .stat-value {
    background: linear-gradient(to right, #1a1a2e, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light .card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.theme-light .card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

body.theme-light .card h3 {
    color: #1a1a2e;
}

body.theme-light .card p {
    color: #475569;
}

body.theme-light .section-title {
    color: #1a1a2e;
}

body.theme-light .btn-login {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body.theme-light .btn-login:hover {
    background: rgba(0, 0, 0, 0.08);
}

body.theme-light .mobile-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

body.theme-light .mobile-dropdown a {
    color: #1a1a2e;
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.theme-light .mobile-menu-btn {
    color: #1a1a2e;
}

body.theme-light .tech-pipeline {
    background: rgba(245, 247, 250, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

body.theme-light .pipeline-step {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-light .pipeline-step.active {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.05), rgba(255, 255, 255, 0.95));
}

body.theme-light .pipeline-step h4 {
    color: #1a1a2e;
}

body.theme-light footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-light .footer-col h4 {
    color: #1a1a2e;
}

body.theme-light .footer-col a {
    color: #64748b;
}

body.theme-light .legal-bar {
    color: #94a3b8;
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* ── Dropdown Menus ── */
body.theme-light .dropdown-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

body.theme-light .dropdown-content a {
    color: #475569;
}

body.theme-light .dropdown-content a:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #1a1a2e;
}

body.theme-light .nav-dropdown>.nav-link:hover {
    color: #1a1a2e;
}

/* ── Language Button (인라인 color:white 오버라이드) ── */
body.theme-light #lang-btn {
    color: #475569 !important;
}

body.theme-light #lang-btn:hover {
    color: #1a1a2e !important;
}

/* ── Ghost/Outline Buttons ── */
body.theme-light .btn-ghost {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.3);
}

body.theme-light .btn-ghost:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* ── Form Elements ── */
body.theme-light .input-field input,
body.theme-light .input-field select,
body.theme-light .input-field textarea {
    background: rgba(245, 247, 250, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

body.theme-light .input-field input::placeholder {
    color: #94a3b8;
}

body.theme-light .input-field input:focus,
body.theme-light .input-field select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

body.theme-light .input-group label {
    color: #475569;
}

body.theme-light .input-field .icon {
    color: #94a3b8;
}

/* ── Pricing Cards ── */
body.theme-light .pricing-card,
body.theme-light .plan-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.theme-light .pricing-card:hover,
body.theme-light .plan-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.theme-light .pricing-card.featured,
body.theme-light .plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

body.theme-light .pricing-card h3,
body.theme-light .plan-card h3 {
    color: #1a1a2e;
}

body.theme-light .price {
    color: #1a1a2e;
}

body.theme-light .feature-list li {
    color: #475569;
}

/* ── Page Sections (background 있는 섹션들) ── */
body.theme-light section[style*="background: rgba(255,255,255,0.02)"],
body.theme-light section[style*="background:rgba(255,255,255,0.02)"] {
    background: rgba(245, 247, 250, 0.5) !important;
}

/* ── Download/Guide Page ── */
body.theme-light .download-card,
body.theme-light .guide-card,
body.theme-light .step-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-light .download-card h3,
body.theme-light .guide-card h3,
body.theme-light .step-card h3 {
    color: #1a1a2e;
}

/* ── Download Card: 버튼 안 아이콘 크기 60px 겹침 방지 ── */
.download-card .btn i,
.download-card .btn .material-icons-round,
.download-card a.btn i,
.download-card button.btn i {
    font-size: 1rem !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
    display: inline !important;
}

/* ── Guide Page: 흰 텍스트 → 어둡게 ── */
body.theme-light .guide-hero p,
body.theme-light .guide-hero .guide-subtitle {
    color: #475569 !important;
}

body.theme-light .guide-section p,
body.theme-light .guide-section li,
body.theme-light .guide-section ul,
body.theme-light .guide-section ol {
    color: #334155 !important;
}

body.theme-light .guide-section {
    background: rgba(245, 247, 250, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.theme-light .guide-section h2,
body.theme-light .guide-section h3 {
    color: #1a1a2e !important;
}

body.theme-light .step-title,
body.theme-light .guide-step h3 {
    color: #1a1a2e !important;
}

body.theme-light .guide-step p,
body.theme-light .guide-step li {
    color: #334155 !important;
}

body.theme-light .code-block {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}

body.theme-light .code-block code {
    color: #1e293b !important;
    background: transparent !important;
    border: none !important;
}

body.theme-light .info-box,
body.theme-light .warning-box,
body.theme-light .tip-box {
    color: #334155 !important;
}

body.theme-light .guide-tab,
body.theme-light .guide-nav a {
    color: #475569 !important;
}

body.theme-light .guide-tab.active,
body.theme-light .guide-nav a.active {
    color: var(--primary) !important;
}

/* ── CTA Section Text ── */
body.theme-light section p[style*="color: rgba(255,255,255,0.7)"] {
    color: #475569 !important;
}

/* ── Notice/Alert Boxes ── */
body.theme-light .notice-card,
body.theme-light .release-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-light .notice-card h3,
body.theme-light .release-card h3 {
    color: #1a1a2e;
}

body.theme-light .notice-card p,
body.theme-light .release-card p {
    color: #475569;
}

/* ── Table Styles ── */
body.theme-light table {
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light th {
    background: rgba(245, 247, 250, 0.8);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light td {
    border-color: rgba(0, 0, 0, 0.06);
    color: #475569;
}

body.theme-light tr:hover {
    background: rgba(59, 130, 246, 0.03);
}

/* ── About/Contact/Security Pages ── */
body.theme-light .about-hero,
body.theme-light .contact-section,
body.theme-light .security-section {
    color: #1a1a2e;
}

body.theme-light .team-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Terms/Privacy/Cookie (Long-form text pages) ── */
body.theme-light .legal-content,
body.theme-light .legal-section {
    color: #334155;
}

body.theme-light .legal-content h2,
body.theme-light .legal-section h2 {
    color: #1a1a2e;
}

body.theme-light .legal-content h3,
body.theme-light .legal-section h3 {
    color: #1e293b;
}

/* ── Scrollbar ── */
body.theme-light ::-webkit-scrollbar-track {
    background: #f1f5f9;
}

body.theme-light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

body.theme-light ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── Mobile Menu (Light) ── */
body.theme-light .mobile-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.theme-light .mobile-dropdown a {
    color: #1a1a2e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.theme-light .mobile-dropdown a:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary);
}

body.theme-light .mobile-menu-btn {
    color: #1a1a2e;
}

/* ── Selection Color ── */
body.theme-light ::selection {
    background: rgba(59, 130, 246, 0.2);
    color: #1a1a2e;
}

/* ── Code blocks ── */
body.theme-light code {
    background: rgba(245, 247, 250, 0.8);
    color: #e11d48;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-light pre {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Tab/Toggle buttons ── */
body.theme-light .tab-btn,
body.theme-light .toggle-btn {
    background: rgba(245, 247, 250, 0.8);
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-light .tab-btn.active,
body.theme-light .toggle-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ═══════════════════════════════════════
   ★★★ DARK THEME (login/signup 전용)
   body.theme-dark 클래스 적용 시 기본 다크 복원
   ═══════════════════════════════════════ */
body.theme-dark {
    --bg-color: #0B1120;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #F1F5F9;
    --text-sub: #94A3B8;
    background-color: #0B1120;
    color: #F1F5F9;
}

body.theme-dark #canvas-container {
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0B1120 80%);
}