:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #047857;
    --accent-hover: #065f46;
    --warning: #d97706;
    --bg-light: #fafaf9;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.125rem;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--warning);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a:focus {
    color: var(--warning);
    outline: 2px solid var(--warning);
    outline-offset: 4px;
}

.burger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    min-height: 80vh;
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,32L120,42.7C240,53,480,75,720,74.7C960,75,1200,53,1320,42.7L1440,32L1440,120L1320,120C1200,120,960,120,720,120C480,120,240,120,120,120L0,120Z' fill='%23fafaf9'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero p {
    font-size: 1.35rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn:hover, .btn:focus {
    background-color: var(--accent-hover);
    outline: 3px solid var(--warning);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: -3rem auto 4rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

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

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

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}

.feature-img {
    width: 50%;
    border-radius: 12px;
    object-fit: cover;
}

.feature-text {
    width: 50%;
}

.feature-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-text li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-text i {
    color: var(--accent);
    margin-top: 5px;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}

.pricing-card.popular {
    border: 3px solid var(--accent);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.5rem;
}

.form-section {
    background-color: var(--primary-light);
    color: white;
    padding: 6rem 2rem;
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #475569;
    background-color: #0f172a;
    color: white;
    font-size: 1.125rem;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: 2px solid var(--warning);
    background-color: #1e293b;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 2rem;
}

.checkbox-group input {
    margin-top: 6px;
    width: 18px;
    height: 18px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
    color: var(--text-muted);
}

.faq-content.open {
    max-height: 500px;
    padding-top: 1rem;
}

.trust-layer {
    background-color: #f1f5f9;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

footer {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 4rem 2rem;
    font-size: 0.95rem;
}

.footer-nav {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--warning);
}

.copyright-box {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    z-index: 100;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    display: none;
}

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

.cookie-btns {
    display: flex;
    gap: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary);
        padding: 2rem;
        gap: 1.5rem;
    }
    .nav-menu.open {
        display: flex;
    }
    .burger {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .feature-block {
        flex-direction: column;
    }
    .feature-img, .feature-text {
        width: 100%;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}