:root {
    /* Color Palette */
    --c-bg-main: #ffffff;
    --c-bg-soft: #f8fafc;
    --c-bg-ivory: #fefce8;
    --c-bg-dark: #020617;
    --c-bg-dark-soft: #0f172a;

    --c-text-main: #0f172a;
    --c-text-soft: #475569;
    --c-text-light: #f8fafc;
    --c-text-muted: #94a3b8;

    --c-primary: #2563eb;
    --c-primary-hover: #1d4ed8;
    --c-border: #e2e8f0;
    --c-border-dark: #1e293b;

    /* Typography Scale */
    --fs-15: 0.9375rem;
    --fs-18: 1.125rem;
    --fs-32: 2rem;
    --fs-44: 2.75rem;
    --fs-56: 3.5rem;

    /* Spacing & Layout */
    --section-py: 120px;
    --container-w: 1000px;
    --border-radius: 16px;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--c-bg-main);
    color: var(--c-text-main);
    line-height: 1.6;
    font-size: var(--fs-15);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 24px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.justify-center {
    justify-content: center;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.mo-br {
    display: none;
}

@media (max-width: 768px) {
    .mo-br {
        display: block;
    }

    .pc-br {
        display: none;
    }
}

/* Header & Logo Image */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 50;
    background: rgba(2, 6, 23, 0.65);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--c-text-light);
}

.logo {
    display: flex;
    align-items: center;
    width: 200px;
}

.logo-img {
    height: 28px;
    width: auto;
    min-width: 80px;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: var(--fs-15);
    font-weight: 500;
}

.nav-links a {
    position: relative;
    opacity: 0.7;
    padding-bottom: 6px;
    transition: opacity 0.3s ease, font-weight 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: var(--fs-15);
    font-weight: 600;
    cursor: pointer;
    height: 52px;
}
.btn-pill img {
    width: 32px;
    margin-right: 6px;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
}

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

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-text-light);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

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

/* Sections Common */
.section {
    padding: var(--section-py) 0;
}

.section-title {
    font-size: var(--fs-32);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: var(--fs-18);
    color: var(--c-text-soft);
    margin-bottom: 48px;
}

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

.dark-section .section-subtitle {
    color: var(--c-text-muted);
}

.light-section {
    background: var(--c-bg-main);
}

.soft-section {
    background: var(--c-bg-soft);
}

.ivory-section {
    background: var(--c-bg-ivory);
}

/* Hero Section */
#hero.full-bg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background-image: url('../img/DSC03540.JPG');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 1;
}

.hero-content-only {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.tagline {
    font-size: var(--fs-15);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-heading {
    font-size: var(--fs-56);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-text {
    font-size: var(--fs-18);
    color: var(--c-text-muted);
    margin-bottom: 40px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

/* Empathy Section */
.emotional-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1499209974431-9dddcece7f88?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
}

.emotional-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.emotional-section h2,
.emotional-section p,
.emotional-section span {
    color: var(--c-text-light);
}

.emotional-section .section-subtitle {
    color: var(--c-text-muted);
}

/* Chat Bubble Style */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.chat-bubble {
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 85%;
}

.chat-bubble p {
    margin: 0;
    font-size: var(--fs-18);
    font-weight: 400;
    color: var(--c-text-light);
    line-height: 1.5;
}

.chat-bubble.left {
    align-self: flex-start;
    border-radius: 24px 24px 24px 4px;
    text-align: left;
}

.chat-bubble.right {
    align-self: flex-end;
    border-radius: 24px 24px 4px 24px;
    text-align: right;
}

/* About Section & Slider */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-bottom: 32px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: var(--fs-18);
    color: var(--c-text-soft);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-primary);
    font-weight: bold;
}

.about-signature {
    font-size: var(--fs-15);
    color: var(--c-text-muted);
}

.slider-container {
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Vertical Gathering Layout */
.vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.vertical-stack .bento-item {
    width: 100%;
    text-align: center;
    background: var(--c-bg-dark-soft);
    border: 1px solid var(--c-border-dark);
    border-radius: var(--border-radius);
    padding: 32px 20px;
    transition: transform 0.3s ease;
}
.bento-item .hero-cta-row {
    margin-bottom: 0;
}
.vertical-stack .bento-item:hover {
    transform: translateY(-4px);
}

.vertical-stack .main-item {
    background: linear-gradient(135deg, var(--c-bg-dark-soft) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.vertical-stack .item-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.item-header h3 {
    font-size: var(--fs-18);
    font-weight: 700;
}

.badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--fs-15);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
}

.badge.essential {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.badge.optional {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

.text-lg {
    font-size: var(--fs-18);
    font-weight: 500;
}

.text-muted {
    font-size: var(--fs-15);
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* New Here & FAQ */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #fff;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.step-num {
    font-size: var(--fs-44);
    font-weight: 800;
    color: var(--c-border);
    line-height: 1;
    min-width: 60px;
}

.step-info h4 {
    font-size: var(--fs-18);
    margin-bottom: 4px;
}

.step-info p {
    font-size: var(--fs-15);
    color: var(--c-text-soft);
}

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

.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--c-border);
}

.faq-item strong {
    display: block;
    font-size: var(--fs-18);
    margin-bottom: 8px;
    color: var(--c-primary);
}

.faq-item span {
    font-size: var(--fs-15);
    color: var(--c-text-soft);
}

/* Footer */
.site-footer {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
    padding: 60px 0;
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border-dark);
    font-size: var(--fs-15);
    color: var(--c-text-muted);
}

.footer-bottom em {
    font-family: serif;
    color: var(--c-text-light);
}

.copyright {
    display: block;
    margin-top: 8px;
    font-size: var(--fs-15);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.empathy-lines p {
    font-size: var(--fs-32);
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 400;
}

.empathy-signature {
    display: block;
    margin-top: 40px;
    font-style: italic;
    font-size: var(--fs-18);
    color: #93c5fd;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-heading {
        font-size: var(--fs-44);
    }

    .empathy-lines p {
        font-size: var(--fs-32);
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    #hero.full-bg-hero {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.95) 100%);
    }

    .empathy-lines p {
        font-size: 1.5rem;
    }

    .chat-bubble {
        padding: 20px 24px;
        max-width: 95%;
    }
    .hero-cta-row {
        flex-direction: column;
    }
    .btn-pill:not(header .btn-pill) {
        width: 100%;
    }
}
