:root {
    --bg-main: #fdfdfa;
    --bg-secondary: #ffffff;
    --accent-color: #10b981;
    /* Emerald Green for visibility on white */
    --accent-glow: rgba(16, 185, 129, 0.2);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 2rem;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    color: var(--accent-color);
    letter-spacing: 1px;
}

.logo-sub {
    color: var(--text-secondary);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Highlighter Effect style */
.nav-link.highlight-link {
    background: linear-gradient(120deg, transparent 0%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    transition: 0.3s;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.nav-link.highlight-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    right: -5px;
    height: 12px;
    background: rgba(132, 255, 122, 0.6);
    /* Light Green Highlighter */
    z-index: -1;
    transform: skewX(-10deg);
    border-radius: 4px;
    opacity: 0.8;
}

.nav-link.highlight-link:hover {
    color: #15803d;
    /* Darker green on hover */
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 4px;
}

.dropdown-menu a:hover {
    background: var(--bg-main);
    color: var(--text-primary);
}

/* Main */
main {
    min-height: 80vh;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Board Style (Table) */
.board-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
}

.board-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, var(--bg-secondary), rgba(56, 236, 240, 0.05));
}

.board-title h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
}

.board-title span {
    color: var(--accent-color);
}

.board-controls {
    display: flex;
    gap: 1rem;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.product-table th {
    background: #f1f5f9;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.product-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    transition: 0.2s;
}

.product-table tr:hover td {
    background: rgba(16, 185, 129, 0.05);
    color: var(--text-primary);
}

.price-cell {
    color: var(--accent-color);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.brand-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 1rem;
    background: radial-gradient(circle at center, rgba(56, 236, 240, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    display: inline-block;
    max-width: 500px;
    width: 100%;
}

/* Inquiry Board */
.board-list-item {
    display: grid;
    grid-template-columns: 80px 1fr 150px 120px;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.board-list-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.status-badge {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: #238636;
    color: white;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .board-list-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 50px;
    height: 50px;
    font-weight: bold;
}

#scrollTopBtn:hover {
    background-color: #059669;
    /* Darker shade of emerald */
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}