:root {
    --primary: #0B132B;
    --accent: #C5A059;
    --accent-hover: #AB8541;
    --bg-light: #FAF9F6;
    --text-dark: #1F2430;
    --text-muted: #535C68;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-family: 'Noto Sans KR', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 18px;
    overflow-x: hidden;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--accent);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
}

.logo-link img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

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

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

main {
    min-height: calc(100vh - 350px);
}

section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

/* Custom Pattern Background on Hero */
.hero {
    background: linear-gradient(135deg, rgba(11,19,43,0.95) 0%, rgba(11,19,43,0.8) 100%), url('images/hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-light);
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E2E8F0;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Features asymmetric */
.feature-block {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature-img, .feature-text {
    flex: 1 1 500px;
}

.feature-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Services section cards */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-body {
    padding: 25px;
}

.service-body h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Pricing cards */
.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.recommended {
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
}

.price {
    font-size: 32px;
    color: var(--primary);
    margin: 20px 0;
    font-weight: 700;
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 16px;
}

/* Lead Capture Form */
.form-section {
    background-color: var(--white);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-family);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
}

.form-checkbox input {
    margin-top: 5px;
}

/* Trust Layer Plaque */
.trust-layer {
    background-color: #F1F2F6;
    border-top: 2px solid var(--accent);
    padding: 40px 20px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--text-muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trust-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Footer styling */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #1F2E54;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
}

.footer-nav a {
    color: #CBD5E1;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #94A3B8;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
    border-left: 4px solid var(--accent);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1 1 700px;
    font-size: 15px;
}

.cookie-text a {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

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

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

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

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.faq-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-body {
    padding: 0 20px 20px;
}

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

/* Responsive UI */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary);
        position: absolute;
        top: 74px;
        left: 0;
        padding: 20px;
        border-top: 1px solid var(--accent);
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: block;
    }
    .pricing-card.recommended {
        transform: none;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}