@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --primary-dark: #0f172a;
    --accent: #c8a27b;
    --accent-light: #dfc8ae;
    --accent-dark: #a57c52;
    --bg-light: #faf9f6;
    --bg-white: #ffffff;
    --text-main: #27272a;
    --text-muted: #71717a;
    --border-color: #e4e4e7;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    color: var(--primary-dark);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg-white {
    background-color: var(--bg-white);
}

.section-bg-dark {
    background-color: var(--primary);
    color: var(--bg-light);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3 {
    color: var(--bg-white);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.section-bg-dark .section-subtitle {
    color: var(--accent-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-light);
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-dark);
}

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

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

.menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), url('../remote_images/bg.jpg') no-repeat center center;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    color: var(--bg-white);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* Product Cards */
.product-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-card-popular {
    border: 2px solid var(--accent);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-header {
    padding: 35px 30px;
    text-align: center;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.product-price-wrapper {
    margin-bottom: 8px;
}

.product-original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-discount-info {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.product-body {
    padding: 30px;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: '✓';
    color: var(--accent-dark);
    font-weight: bold;
    margin-right: 10px;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-footer {
    padding: 0 30px 35px 30px;
    text-align: center;
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 162, 123, 0.1);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px auto;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--accent);
    color: var(--bg-white);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* History Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-white);
    border: 3px solid var(--accent);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item-right::after {
    left: -8px;
}

.timeline-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--accent-light);
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--primary-dark);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Call to Action & Forms */
.cta-form-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('../remote_images/bg1.jpg') no-repeat center center;
    background-size: cover;
}

.cta-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--accent-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    transition: var(--transition-smooth);
    color: var(--primary-dark);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 162, 123, 0.2);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

/* FAQ Accordion */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1.1rem;
    user-select: none;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent-dark);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: #fafafa;
    border-top: 0 solid var(--border-color);
}

.faq-answer-content {
    padding: 24px 28px;
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    border-top-width: 1px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    color: var(--bg-white);
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.footer-info {
    line-height: 1.8;
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-label {
    color: var(--accent-light);
    font-weight: 500;
    min-width: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }
    .timeline-item-left {
        left: 0;
    }
    .timeline-item-right {
        left: 0;
    }
    .timeline-item::after {
        left: 22px;
        right: auto;
    }
    .timeline-item-right::after {
        left: 22px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section {
        padding: 60px 0;
    }
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }
    .nav.open {
        display: flex;
    }
    .nav-link {
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    .nav-link::after {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .hero {
        height: 500px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cta-form-wrapper {
        padding: 24px;
    }
}
