:root {
    --bg-primary: #0b0f19;
    --bg-surface: #111827;
    --bg-highlight: #1e1b4b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --color-cyan: #00d2ff;
    --color-purple: #8b5cf6;
    --text-dark: #030712;
    --font-family-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --card-radius: 16px;
    --btn-radius: 10px;
    --modal-radius: 20px;
    --tag-radius: 30px;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --accent-glow: 0 0 25px rgba(0, 210, 255, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: inherit;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.35;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

small,
caption {
    font-size: 0.875rem;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1rem;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.65rem, 6vw, 2.25rem);
        word-break: keep-all;
    }

    h2 {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
        word-break: keep-all;
    }

    h3 {
        font-size: clamp(1.15rem, 4vw, 1.45rem);
        word-break: keep-all;
    }

    h4,
    h5,
    h6 {
        font-size: 1.05rem;
        word-break: keep-all;
    }

    a,
    p,
    span {
        word-break: break-word;
    }
}

/* ===== header ===== */
.lanternfox-header {
    background-color: var(--bg-primary, #0b0f19);
    position: relative;
    z-index: 100;
    min-height: 72px;
}

.bg-dark-custom {
    background-color: var(--bg-primary, #0b0f19);
}

.border-bottom-subtle {
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.border-top-subtle {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.brand-logo-svg {
    max-width: 48px;
    height: auto;
    display: block;
}

.brand-name {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary, #f8fafc);
}

.text-cyan {
    color: var(--color-cyan, #00d2ff);
}

.text-slate-300 {
    color: var(--text-secondary, #94a3b8);
}

.text-slate-400 {
    color: rgba(148, 163, 184, 0.7);
}

.nav-link-custom {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.nav-link-custom:hover {
    color: var(--color-cyan, #00d2ff);
}

.btn-cta-gradient {
    background: linear-gradient(135deg, var(--color-cyan, #00d2ff) 0%, var(--color-purple, #8b5cf6) 100%);
    padding: 0.625rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-cta-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
    color: #ffffff;
}

.btn-cta-gradient:active {
    transform: translateY(0);
}

.hamburger-btn {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    border-radius: 8px;
}

.close-btn {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    border-radius: 8px;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    background-color: var(--bg-primary, #0b0f19);
    display: none;
    overflow-y: auto;
}

.mobile-menu-overlay.is-open {
    display: flex;
}

.mobile-nav-link {
    min-height: 48px;
    background-color: var(--bg-surface, #111827);
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background-color: var(--bg-highlight, #1e1b4b);
    color: var(--color-cyan, #00d2ff);
}

@media (max-width: 767.98px) {
    .brand-name {
        font-size: 0.8rem;
    }
}

/* ===== hero ===== */
#hero {
    overflow: hidden;
    min-height: 85vh;
    background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 100%);
    color: var(--text-primary);
    box-sizing: border-box
}

#hero .hero-bg {
    z-index: 1
}

#hero .hero-img {
    object-fit: cover;
    object-position: center;
    display: block
}

#hero .hero-overlay {
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.8) 50%, rgba(30, 27, 75, 0.7) 100%);
    z-index: 2
}

#hero .container {
    z-index: 3
}

#hero .text-cyan {
    color: var(--color-cyan)
}

#hero .text-primary-light {
    color: var(--text-primary)
}

#hero .text-secondary-light {
    color: var(--text-secondary)
}

#hero .hero-badge {
    background-color: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(0, 210, 255, 0.25);
    backdrop-filter: blur(4px)
}

#hero .hero-title {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: keep-all;
    hyphens: auto
}

#hero .hero-description {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 620px;
    word-break: keep-all
}

#hero .btn-primary-custom {
    background: linear-gradient(135deg, #00d2ff 0%, #8b5cf6 100%);
    color: #f8fafc;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

#hero .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.35);
    color: #ffffff
}

#hero .btn-outline-custom {
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(248, 250, 252, 0.25);
    color: var(--text-primary);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease
}

#hero .btn-outline-custom:hover {
    background: rgba(30, 27, 75, 0.85);
    border-color: var(--color-cyan);
    color: #ffffff;
    transform: translateY(-2px)
}

#hero .border-secondary-subtle {
    border-color: rgba(148, 163, 184, 0.2) !important
}

@media(max-width:767.98px) {
    #hero .hero-title {
        font-size: 1.125rem;
        line-height: 1.25
    }

    #hero .hero-description {
        font-size: 0.875rem;
        line-height: 1.4
    }

    #hero .btn-primary-custom,
    #hero .btn-outline-custom {
        width: 100%
    }
}

/* ===== catalog ===== */
#catalog {
    background-color: var(--bg-primary);
    overflow: hidden;
    position: relative
}

#catalog .catalog-badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 210, 255, 0.3);
    letter-spacing: 0.05em;
    font-size: 0.8rem
}

#catalog .catalog-subtitle {
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6
}

#catalog .btn-filter {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all .25s ease
}

#catalog .btn-filter:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2)
}

#catalog .btn-filter.active {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3)
}

#catalog .catalog-card {
    background: var(--bg-surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05)
}

#catalog .catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 210, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.3)
}

#catalog .catalog-card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #0b0f19
}

#catalog .catalog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

#catalog .catalog-card:hover .catalog-card-img {
    transform: scale(1.05)
}

#catalog .catalog-price {
    color: var(--color-cyan);
    font-size: 1.25rem
}

#catalog .catalog-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    min-height: 42px;
    line-height: 1.5
}

#catalog .catalog-features li {
    font-size: 0.825rem;
    color: var(--text-primary)
}

#catalog .catalog-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-radius: 6px
}

#catalog .catalog-select:focus {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.25)
}

#catalog .catalog-select option {
    background-color: var(--bg-surface);
    color: var(--text-primary)
}

#catalog .btn-primary-custom {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    color: #fff;
    border: none;
    font-weight: 600;
    transition: opacity .25s ease
}

#catalog .btn-primary-custom:hover {
    opacity: 0.92;
    color: #fff
}

#catalog .btn-outline-info {
    color: var(--color-cyan);
    border-color: var(--color-cyan)
}

#catalog .btn-outline-info:hover {
    background-color: var(--color-cyan);
    color: var(--text-dark)
}

.catalog-modal-content {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border-radius: 16px
}

.catalog-spec-box,
.order-summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08)
}

.catalog-guide-box {
    background: rgba(0, 210, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.15)
}

.catalog-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.6rem 0.85rem
}

.catalog-input:focus {
    background-color: var(--bg-surface);
    border-color: var(--color-cyan);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2)
}

.catalog-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7
}

@media (max-width:767.98px) {
    #catalog h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto
    }

    #catalog h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto
    }

    #catalog .catalog-card-img-wrapper {
        height: 190px
    }
}

/* ===== trip_types ===== */
.trip-types-section {
    hyphens: auto;
}

.trip-type-badge {
    background-color: var(--bg-highlight);
    border: 1px solid var(--color-purple);
    font-weight: 500;
    font-size: 0.875rem;
}

.trip-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.trip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15);
}

.trip-img-wrapper {
    height: 210px;
    width: 100%;
    overflow: hidden;
}

.trip-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trip-card:hover .trip-card-img {
    transform: scale(1.05);
}

.trip-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
    pointer-events: none;
}

.trip-tag {
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(4px);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 210, 255, 0.3);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.trip-icon {
    font-size: 1.25rem;
}

.trip-recommendation-box {
    border-left: 3px solid var(--color-cyan);
}

.trip-action-btn {
    background-color: var(--bg-highlight);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.trip-action-btn:hover {
    background-color: var(--color-purple);
    border-color: var(--color-purple);
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .trip-types-section h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    .trip-types-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .trip-img-wrapper,
    .trip-card-img {
        height: 180px;
    }
}

/* ===== packing_checklist ===== */
#packing-checklist {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

#packing-checklist .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--text-secondary);
    border-radius: 0.35rem;
    transition: all 0.2s ease-in-out;
}

#packing-checklist .form-check-input:checked {
    background-color: var(--color-cyan);
    border-color: var(--color-cyan);
}

#packing-checklist .form-check-input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

#packing-checklist .js-item-checked {
    text-decoration: line-through;
    opacity: 0.6;
    color: var(--text-secondary) !important;
}

#packing-checklist .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#packing-checklist .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    #packing-checklist h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #packing-checklist h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }
}

/* ===== essentials ===== */
.essentials-section {
    background-color: var(--bg-primary);
    width: 100%;
    hyphens: auto;
}

.essentials-badge {
    background-color: rgba(30, 27, 75, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.essentials-badge-text {
    color: var(--color-cyan);
    font-size: 0.85rem;
    font-weight: 600;
}

.text-light-heading {
    color: var(--text-primary);
}

.essentials-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.essentials-card {
    background-color: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.essentials-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 210, 255, 0.3) !important;
}

.essentials-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-highlight);
}

.essentials-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.essentials-card:hover .essentials-img {
    transform: scale(1.05);
}

.essentials-tag {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 8px;
}

.essentials-category {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.text-card-title {
    color: var(--text-primary);
}

.essentials-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.text-cyan {
    color: var(--color-cyan) !important;
}

.essentials-btn {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    transition: opacity 0.2s ease;
}

.essentials-btn:hover {
    opacity: 0.9;
}

.essentials-modal-content {
    background-color: var(--bg-surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.essentials-input {
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.essentials-input:focus {
    background-color: var(--bg-primary);
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.2);
}

.essentials-input::placeholder {
    color: var(--text-secondary);
}

@media (max-width: 767.98px) {
    .essentials-section h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    .essentials-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .essentials-img-wrap {
        height: 180px;
    }
}

/* ===== faq ===== */
#faq {
    width: 100%;
    hyphens: auto;
}

#faq .card {
    border-left: 3px solid transparent !important;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

#faq .card:hover {
    border-left-color: var(--color-cyan) !important;
}

#faq .js-faq-toggle {
    border: none;
    font-size: 1.05rem;
}

#faq .js-faq-toggle:focus {
    box-shadow: none;
    outline: none;
}

#faq .js-faq-toggle:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-cyan) !important;
}

@media (max-width: 767.98px) {
    #faq h2.faq-title {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #faq .js-faq-toggle {
        font-size: 0.875rem !important;
        padding: 0.75rem !important;
        line-height: 1.3;
    }

    #faq .faq-subtitle {
        font-size: 0.85rem;
    }

    #faq .card-body {
        font-size: 0.85rem !important;
    }
}

/* ===== contacts ===== */
#contacts {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    hyphens: auto;
}

#contacts .custom-input {
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 0.95rem;
}

#contacts .custom-input:focus {
    background-color: var(--bg-primary);
    border-color: var(--color-cyan);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.2);
}

#contacts .custom-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

#contacts select.custom-input option {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

#contacts .form-check-input {
    background-color: var(--bg-primary);
    border-color: rgba(255, 255, 255, 0.25);
}

#contacts .form-check-input:checked {
    background-color: var(--color-cyan);
    border-color: var(--color-cyan);
}

#contacts .icon-box {
    transition: transform 0.3s ease;
}

#contacts .icon-box:hover {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    #contacts h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #contacts h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }

    #contacts .custom-input {
        font-size: 0.875rem;
    }
}

/* ===== footer ===== */
#footer {
    width: 100%;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    hyphens: auto;
}

.footer-brand-link:hover .footer-logo-title {
    color: var(--color-cyan) !important;
    transition: color 0.2s ease;
}

.footer-nav-link,
.footer-legal-link {
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav-link:hover,
.footer-legal-link:hover {
    color: var(--text-primary) !important;
}

@media (max-width: 767.98px) {
    #footer .footer-logo-title {
        font-size: 0.8rem !important;
    }

    #footer .footer-heading {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #footer p,
    #footer a {
        font-size: 0.8125rem !important;
        line-height: 1.4;
    }
}