/* style.css - Refactored for Hyper-Modern SaaS Architecture */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =========================================================================
   1. CSS Variables (Theming System)
   ========================================================================= */
:root {
    /* Light Theme (Default) */
    --bg-base: #ffffff;
    --bg-surface: #f8fafc;
    /* Slate 50 */
    --bg-surface-hover: #f1f5f9;
    /* Slate 100 */
    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --border-color: #e2e8f0;
    /* Slate 200 */

    --accent-color: #0d6efd;
    /* Perltec Blue */
    --accent-hover: #0b5ed7;
    --brand-blue: #0d6efd;

    --shadow-sm: 0 1px 2px 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    --font-family: 'Inter', 'Noto Sans KR', sans-serif;
    --header-height: 72px;
}



/* =========================================================================
   2. Reset & Typography
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    word-break: keep-all;
    word-wrap: break-word;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0dcaf0 30%, var(--accent-color) 70%, #0dcaf0 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Apple Style Hero Reveals */
.hero-title-line {
    display: inline-block;
    overflow: hidden;
    /* For masking text drop-in */
    padding-bottom: 5px;
    /* Prevent text clipping */
    vertical-align: top;
    line-height: normal;
}

.reveal-text {
    display: inline-block;
    transform: translateY(120%) rotate(3deg);
    opacity: 0;
    filter: blur(10px);
    animation: appleReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleReveal {
    0% {
        transform: translateY(120%) rotate(3deg);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

.apple-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: appleFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================================================================
   3. Core Layout System
   ========================================================================= */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

* {
    box-sizing: border-box;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}

.section,
.section-padding {
    padding: clamp(60px, 10vw, 120px) 0;
    position: relative;
    clear: both;
}

.section-padding2 {
    padding: clamp(30px, 5vw, 60px) 0;
}

.text-center {
    text-align: center;
}

.bg-light-gray {
    background-color: var(--bg-surface) !important;
}

.bg-dark-blue {
    background-color: var(--brand-blue) !important;
    color: var(--bg-base) !important;
    border: none !important;
}

.bg-dark-blue h2,
.bg-dark-blue h3,
.bg-dark-blue p {
    color: var(--bg-base) !important;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

p {
    margin-bottom: 16px;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    h2 {
        line-height: 1.2;
    }
}

/* Utilities */
.order-2-mobile {
    order: 2;
}

@media (max-width: 768px) {
    .order-1-mobile {
        order: 1;
    }

    .order-2-mobile {
        order: 2;
    }
}

/* =========================================================================
   4. UI Components
   ========================================================================= */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--bg-base);
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.25);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-primary);
}

.btn-light-outline {
    background-color: transparent;
    border-color: var(--bg-base);
    color: var(--bg-base);
    border-width: 2px;
}

.btn-light-outline:hover {
    background-color: var(--bg-base);
    color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label,
label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-base);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    appearance: none;
    border-radius: var(--radius-sm);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: var(--text-primary);
    background-color: var(--bg-base);
    border-color: var(--brand-blue);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Modern Cards */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--text-secondary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* =========================================================================
   5. Header (Glassmorphism Nav)
   ========================================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
}

.lang-link {
    color: var(--text-secondary) !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: var(--text-primary) !important;
}

.lang-link.active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}


.logo img {
    height: 48px;
    margin-right: 10px;
}

.main-nav>ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand-blue);
}

.main-nav a.active {
    font-weight: 700;
}


/* Submenu (Modern Dropdown) */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    /* 오버라이드 대비 강제 블록 */
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px) scale(1);
}

.submenu li {
    width: 100%;
    display: block;
}

.submenu a {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.submenu a:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-base);
        padding: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        max-height: calc(100vh - var(--header-height));
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .main-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--bg-surface-hover);
    }

    .main-nav a {
        display: block;
        padding: 16px 24px;
        width: 100%;
        font-size: 1rem;
    }

    .submenu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        background: var(--bg-surface);
    }

    .submenu.active {
        display: block;
    }

    .has-submenu:hover .submenu {
        transform: none;
    }

    .logo img {
        height: 38px; /* 30px -> 38px로 가독성 개선 */
    }

    @media (max-width: 360px) {
        .logo img { height: 32px; } /* 매우 좁은 기기에서도 소폭 확대 */
    }

    .header-actions {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--brand-blue) !important;
        font-size: 1.5rem; /* 1.6rem -> 1.5rem 축소 */
        cursor: pointer;
        padding: 0;
        width: 38px; /* 40px -> 38px 축소 */
        height: 38px;
        line-height: 1;
        margin-left: 8px;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }

    .header-actions .btn {
        display: none;
    }
}

/* =========================================================================
   6. Index: Hero Section
   ========================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Subtle background glowing orb */
.hero::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(1.7rem, 9vw, 2.5rem); /* 최소 사이즈를 더 공격적으로 축소 */
        line-height: 1.2;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
}

/* =========================================================================
   7. Index: Grid Sections  (Services / Solutions)
   ========================================================================= */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 30px 20px;
    }
}

/* =========================================================================
   8. Feature Section (Large Typography / Minimal)
   ========================================================================= */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

@media (max-width: 900px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================================================
   9. Footer (Minimal)
   ========================================================================= */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    background: var(--bg-base);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links h4 {
        margin-bottom: 15px;
    }

    footer {
        padding: 60px 0 30px;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================================================
   10. Compatibility for old content pages (about, services.. etc)
   ========================================================================= */
.page-header {
    padding: 120px 0 60px;
    /* 기존 160px에서 120px로 상단 여백 축소, 하단은 60px로 축소 */
    text-align: center;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.page-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

@media (min-width: 769px) {
    .content-two-col.flex-reverse {
        flex-direction: row-reverse;
    }
}

.content-two-col .image-col,
.content-two-col .text-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .content-two-col {
        gap: 30px;
        margin-top: 20px;
    }

    .content-two-col .image-col,
    .content-two-col .text-col {
        min-width: 100%;
    }

    .content-two-col img {
        max-height: 250px;
    }
}

.content-two-col img {
    max-width: 100%;
    width: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin: 0 auto;
    display: block;
}

.timeline {
    position: relative;
    margin-top: 60px;
    padding: 40px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--brand-blue), rgba(13, 110, 253, 0.1));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 35px;
    margin-bottom: 40px;
    display: block;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--bg-base);
    border: 4px solid var(--brand-blue);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--bg-base);
    padding: 24px;
    border-radius: calc(var(--radius-lg) * 1.2);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 110, 253, 0.3);
}

.timeline-date {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: keep-all;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 30px;
        right: auto;
        transform: translateY(-50%) translateX(0);
    }

    .timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--border-color) transparent transparent;
    }
}

/* Bottom CTA section logic */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* About Us - Mission Icons */
.mission-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.mission-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .mission-icons {
        gap: 20px;
    }

    .mission-item {
        min-width: 100%;
        max-width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }

    .mission-item:last-child {
        border-bottom: none;
    }
}

.mission-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
    display: inline-block;
}

.mission-item:hover img {
    transform: translateY(-5px);
}

.mission-item h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.mission-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
    word-break: keep-all;
}

/* =========================================================================
   11. Document Text Content (Policy, Terms)
   ========================================================================= */
.text-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-base);
    padding: 60px 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.text-content h3 {
    margin-top: 48px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--text-primary);
    border-left: 4px solid var(--brand-blue);
    padding-left: 12px;
}

.text-content h3:first-child {
    margin-top: 0;
}

.text-content p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.text-content ul,
.text-content ol {
    margin-bottom: 32px;
    padding-left: 24px;
    background: var(--bg-surface);
    padding: 24px 24px 24px 40px;
    border-radius: var(--radius-sm);
}

.text-content li {
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.text-content li:last-child {
    margin-bottom: 0;
}

.text-content .apply-date {
    margin-top: 60px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
}

@media (max-width: 768px) {
    .text-content {
        padding: 40px 30px;
    }

    .text-content h3 {
        font-size: 1.15rem;
    }

    .text-content p,
    .text-content li {
        font-size: 1rem;
    }
}

/* =========================================================================
   12. Contact Form & Info UI (Compact Mode)
   ========================================================================= */
.contact-header {
    padding: 120px 0 60px;
}

.contact-header p {
    font-size: 1.15rem;
}


#contact-info-form.section-padding {
    padding: 40px 0;
}

/* 섹션 여백 축소 */

.content-two-col .form-col {
    flex: 1.2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    background: var(--bg-base);
    padding: 30px 40px;
    /* 내부 패딩 축소 */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-form>p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

/* 폼 간격 축소 */
.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    /* 인풋 패딩 축소 */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    transition: all 0.3s ease;
}

.form-group textarea {
    height: auto !important;
    min-height: 100px;
}

/* 텍스트 영역 축소 */

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    font-size: 0.85rem;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 5px;
}

.contact-info {
    padding-right: 40px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 12px;
    color: var(--brand-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.info-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    font-size: 0.95rem;
}

.info-list li strong {
    color: var(--text-primary);
    min-width: 80px;
}

.contact-map h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-map iframe {
    border-radius: var(--radius-md);
    height: 200px !important;
}

/* 지도 높이 축소 */

@media (max-width: 992px) {
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 25px 20px;
    }
}

/* =========================================================================
   14. Cookie Consent Banner
   ========================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 20px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-top: 2px;
    line-height: 1;
}

.cookie-text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 1rem;
}

.cookie-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.cookie-actions {
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 15px;
        width: 95%;
        padding: 20px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

/* =========================================================================
   15. Toast Notifications
   ========================================================================= */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--brand-blue);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    min-width: 300px;
    max-width: 450px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.info {
    border-left-color: var(--brand-blue);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.info .toast-icon {
    color: var(--brand-blue);
}

.toast-message {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}