body {
    background-color: #050505;
    color: #e5e1e4;
}

.jenga-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.gradient-text {
    color: #BD00FF; /* 폴백: background-clip 미지원 시 표시 */
    background: linear-gradient(90deg, #BD00FF 0%, #FF008A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

#mobile-menu.is-open {
    max-height: 400px;
    opacity: 1;
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none;
    }
}

.status-tag {
    display: inline-block;
    padding: 2px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #050505;
}

/* ── 견적 문의 폼 (contact-quick / contact-full) ─────────── */
.form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid #514255;
    border-radius: 0;
    padding: 10px 14px;
    color: #F4F4F9 !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.form-input::placeholder {
    color: #9d8ba0;
}

.form-input:focus {
    outline: none;
    border-color: #00F0FF;
    box-shadow: 0 0 0 1px #00F0FF;
}

textarea.form-input {
    resize: vertical;
    min-height: 84px;
}

/* select 드롭다운 팝업은 브라우저가 흰 배경으로 강제 렌더링하는 경우가 많아
   옵션 글자색은 별도로 어둡게 지정한다 (닫힌 상태의 select 박스 자체는 .form-input 색을 따름) */
select.form-input option {
    color: #050505;
    background: #ffffff;
}

.form-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #514255;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.form-option:hover {
    border-color: #BD00FF;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #BD00FF;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-section-number {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    color: #00F0FF;
}

.section-nav a.is-active {
    color: #00F0FF;
    border-color: #00F0FF;
}

/* ── 견적 자동산정 계산기 (estimate.html) ─────────────────── */
.kpi-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #514255;
}

.kpi-card--accent {
    border-color: #BD00FF;
    box-shadow: 0 0 0 1px rgba(189, 0, 255, 0.3);
}

.kpi-label {
    font-size: 12px;
    color: #9d8ba0;
}

.kpi-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #F4F4F9;
}

.estimate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.estimate-table th,
.estimate-table td {
    border: 1px solid #514255;
    padding: 6px 8px;
    text-align: right;
}

.estimate-table th:first-child,
.estimate-table td:first-child {
    text-align: left;
}

.estimate-table th {
    color: #00F0FF;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
}

details#params-panel summary {
    cursor: pointer;
    color: #F4F4F9;
    font-weight: 700;
}

@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: #ffffff !important;
        color: #111111 !important;
    }
    .glass-card,
    .form-option {
        border: 1px solid #999 !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
    }
    input,
    select {
        border: none !important;
        color: #111111 !important;
        background: transparent !important;
    }
}
