:root {
    --bg-color: #ffffff;
    --text-color: #222222;
    --accent-color: #2DB4B4;
    /* Boutique Teal */
    --secondary-text: #777777;
    --border-color: #eeeeee;
    --font-main: 'Noto Sans KR', 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
    font-family: var(--font-display);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-color);
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--text-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    border: 1px solid var(--text-color);
}

.btn:hover {
    background: transparent;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.btn-point {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-point:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 12rem 0;
    background-color: #f9f9f9;
}

.section-header {
    margin-bottom: 7rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.service-card {
    background: #fff;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(45, 180, 180, 0.05),
            transparent);
    transform: skewX(-25deg);
    transition: none;
}

.service-card:hover::before {
    left: 150%;
    transition: left 0.7s ease;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

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

/* Footer */
footer {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
    background: #fff;
    color: var(--secondary-text);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text-color);
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
}

/* About Page */
.page-header {
    padding: 12rem 0 6rem;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-color), #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.about-intro {
    padding: 6rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.intro-text p {
    margin-bottom: 1.5rem;
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.placeholder-image {
    width: 100%;
    height: 500px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.philosophy {
    padding: 6rem 0 12rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.philosophy-item {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
}

.philosophy-item:hover {
    border-color: var(--accent-color);
}

.philosophy-item .num {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    line-height: 1;
}

.philosophy-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.philosophy-item p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Responsive for About */
@media (max-width: 768px) {
    .page-header {
        padding: 10rem 0 4rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .placeholder-image {
        height: 300px;
    }

    .philosophy {
        padding: 4rem 0 8rem;
    }
}

/* Inquiry Board Styles */
.inquiry-section,
.inquiry-create-section {
    padding: 12rem 0 6rem;
}

.inquiry-section .section-header,
.inquiry-create-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.inquiry-section .section-header h1,
.inquiry-create-section .section-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-color), #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inquiry-section .section-header p,
.inquiry-create-section .section-header p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* Messages */
.messages {
    margin-bottom: 2rem;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #fcfcfc;
    border: 1px solid var(--border-color);
}

.message.success {
    background: rgba(46, 213, 115, 0.1);
    border-color: rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.message.error {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Inquiry Actions */
.inquiry-actions {
    margin-bottom: 3rem;
    text-align: right;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #e6e6e6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Inquiry Table */
.inquiry-table {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.inquiry-table-header,
.inquiry-row {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px;
    gap: 2rem;
    padding: 1.5rem 2rem;
    align-items: center;
}

.inquiry-table-header {
    background: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-text);
}

.inquiry-row {
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease;
}

.inquiry-row:last-child {
    border-bottom: none;
}

.inquiry-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.col-subject {
    font-weight: 500;
}

.col-date {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.status-pending {
    background: rgba(255, 177, 66, 0.2);
    color: #ffb142;
    border: 1px solid rgba(255, 177, 66, 0.3);
}

.status-answered {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-state p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Form Container */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.inquiry-form {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.required {
    color: var(--accent-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #ffffff;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--secondary-text);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #ff4757;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 3rem;
}

/* Responsive for Inquiry Board */
@media (max-width: 768px) {

    .inquiry-section,
    .inquiry-create-section {
        padding: 10rem 0 4rem;
    }

    .inquiry-section .section-header h1,
    .inquiry-create-section .section-header h1 {
        font-size: 2.5rem;
    }

    .inquiry-table-header,
    .inquiry-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .inquiry-table-header {
        display: none;
    }

    .inquiry-row {
        padding: 1.5rem;
    }

    .col-status,
    .col-subject,
    .col-name,
    .col-date {
        padding: 0.3rem 0;
    }

    .col-subject::before {
        content: '제목: ';
        font-weight: 600;
        color: var(--secondary-text);
    }

    .col-name::before {
        content: '작성자: ';
        font-weight: 600;
        color: var(--secondary-text);
    }

    .col-date::before {
        content: '작성일: ';
        font-weight: 600;
        color: var(--secondary-text);
    }

    .inquiry-form {
        padding: 2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Animations & Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Magnetic Element */
.magnetic-wrap {
    display: inline-block;
}

/* Hero Parallax */
.hero-parallax {
    will-change: transform;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Hero Animation */
.animate-fadeInUp {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}