:root {
    /* Color Palette */
    --bg-dark: #0a0f16;
    --bg-darker: #05080c;
    --primary: #00d2ff;
    --primary-hover: #3a7bd5;
    --secondary: #3a7bd5;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
    
    /* Spacing & Layout */
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Utilities */
.highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Buttons */
button, .btn-primary, .btn-secondary {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 22, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.nav .btn-primary {
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/hero.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Services */
.grid {
    display: grid;
    gap: 32px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    padding: 40px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
}

/* B2B Section */
.b2b-section {
    background: var(--bg-darker);
    position: relative;
}

.b2b-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.check-list i {
    color: var(--primary);
    font-size: 1.5rem;
}

.b2b-stats {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Contact / Booking */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.booking-panel, .form-panel {
    padding: 40px;
}

.booking-panel h3, .form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-text {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Calendar */
.calendar-ui {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.calendar-header button {
    background: none;
    color: #fff;
    font-size: 1.2rem;
}

.calendar-header button:hover {
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.cal-day-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cal-day:hover:not(.disabled) {
    background: rgba(0, 210, 255, 0.2);
}

.cal-day.disabled {
    color: #333;
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.4);
}

/* Time Slots */
.time-slots h4 {
    margin-bottom: 16px;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.time-btn {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

.time-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.time-btn.selected {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Form */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}
select option {
    background: var(--bg-dark);
    color: #fff;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 16px;
}

.selected-date-info {
    margin: -8px 0 24px;
    padding: 16px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-info p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-info .copyright {
    margin-top: 24px;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .b2b-inner, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .nav, .hero-actions {
        display: none; /* simple mobile hide for brevity */
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- ADDED SECTIONS STYLES --- */

/* About Section */
.about {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.about-text .lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cert-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cert-list i { color: var(--primary); font-size: 1.5rem; }
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }

/* Portfolio Section */
.portfolio { padding: 100px 0; background: var(--bg-darker); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.portfolio-item { overflow: hidden; transition: transform 0.3s ease; }
.portfolio-item:hover { transform: translateY(-10px); }
.portfolio-item img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--glass-border); }
.portfolio-content { padding: 24px; }
.portfolio-content .tag { display: inline-block; background: rgba(0, 210, 255, 0.1); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: 12px; }
.portfolio-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.portfolio-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* Client Logos (Infinite Scroll) */
.clients-section { padding: 60px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); overflow: hidden; }
.clients-title { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-weight: 600; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
.logo-slider { width: 100%; overflow: hidden; position: relative; }
.logo-track { display: flex; width: calc(250px * 10); animation: scroll 20s linear infinite; gap: 50px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 5)); } }
.client-logo { width: 200px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.client-logo:hover { color: #fff; }
.client-logo i { font-size: 2rem; }

/* Location Map */
.location { padding: 100px 0; }
.map-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; overflow: hidden; }
.map-info { padding: 40px; }
.contact-details { list-style: none; margin: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; align-items: center; gap: 15px; color: var(--text-muted); }
.contact-details i { color: var(--primary); font-size: 1.3rem; }
.map-buttons { display: flex; gap: 15px; margin-top: 40px; }
.mock-map { width: 100%; height: 100%; min-height: 400px; background: rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); border-left: 1px solid var(--glass-border); }
.mock-map i { font-size: 3rem; margin-bottom: 10px; color: rgba(255,255,255,0.2); }

/* Floating CTA */
.floating-cta { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,0.5); transition: transform 0.3s, box-shadow 0.3s; }
.float-btn:hover { transform: scale(1.1); }
.float-btn.phone { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.float-btn.kakao { background: #FEE500; color: #391B1B; font-size: 2rem; }

@media (max-width: 900px) {
    .about-grid, .map-container { grid-template-columns: 1fr; }
    .map-container .mock-map { border-left: none; border-top: 1px solid var(--glass-border); }
}

/* ===== scroll-world hero integration ===== */
.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;}
/* Engine theme tokens (unlayered => override the engine's @layer defaults) */
.sw-root{
    --sw-bg:#0a0f16;
    --sw-ink:#ffffff;
    --sw-ink-soft:#94a3b8;
    --sw-accent:#00d2ff;
    --sw-font-display:'Noto Sans KR','Inter',sans-serif;
    --sw-font-body:'Noto Sans KR','Inter',sans-serif;
}
/* The site keeps its own header; hide the engine's top bar */
.sw-topbar{display:none !important;}
.sw-scrollbar{top:80px !important;z-index:999 !important;}
.sw-copy{top:calc(50% + 40px) !important;}
.sw-copy__title{font-weight:900 !important;word-break:keep-all;text-shadow:0 4px 30px rgba(0,0,0,.55) !important;}
.sw-copy__body{color:#cbd5e1 !important;word-break:keep-all;text-shadow:0 2px 16px rgba(0,0,0,.7) !important;}
.sw-copy__tags li{color:#e6faff !important;background:color-mix(in srgb,var(--sw-accent) 22%,rgba(10,15,22,.6)) !important;border-color:color-mix(in srgb,var(--sw-accent) 55%,transparent) !important;backdrop-filter:blur(8px);}
.sw-btn--primary{background:linear-gradient(135deg,#3a7bd5,#00d2ff) !important;color:#fff !important;box-shadow:0 6px 20px rgba(0,210,255,.35);}
.sw-btn--ghost{color:#00d2ff !important;border-color:#00d2ff !important;background:rgba(10,15,22,.45);}
.sw-btn{border-radius:8px !important;}
.sw-hint{color:#cbd5e1 !important;}
/* Content after the flight slides up over the fixed world layers */
.after-world{position:relative;z-index:45;background:var(--bg-dark);box-shadow:0 -40px 80px 20px var(--bg-dark);}
.floating-cta{z-index:1001;}
@media (max-width:860px){ .sw-copy{top:auto !important;} }
