:root {
    --primary: #004b91;
    --primary-dark: #003a70;
    --secondary: #10b981;
    --accent: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --container-width: 1100px;
    --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: 'Noto Sans KR', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 75, 145, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 75, 145, 0.3);
}

.cta-button.mini {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.secondary-button:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 10% 20%, rgba(0, 75, 145, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(16, 185, 129, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.text-highlight {
    background: linear-gradient(120deg, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0.3) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 80%;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 4px;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-img-wrapper {
    width: 100%;
    height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    word-break: keep-all;
}

/* Pricing */
.pricing {
    background: var(--white);
}

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

.price-card {
    background: var(--white);
    border-radius: 32px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}



.price-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.price-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.price-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.price-header {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-header h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 10px;
}

.price-card.color-1 h3::before {
    background: #3b82f6;
}

.price-card.color-2 h3::before {
    background: #10b981;
}

.price-card.color-3 h3::before {
    background: #6366f1;
}

.price-list {
    margin-bottom: 2rem;
}

.price-list div {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 0.8rem;
}

.price-list span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.price-card.color-1 span {
    color: #2563eb;
}

.price-card.color-2 span {
    color: #059669;
}

.price-card.color-3 span {
    color: #4f46e5;
}

.price-card .cta-button {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 1rem;
    font-size: 1rem;
}

.price-card.color-2 .cta-button {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.price-card.color-3 .cta-button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.price-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price-card.featured .price-features {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.price-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.price-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
}

.price-card.featured .price-features li::before {
    color: var(--white);
}

.facilities {
    background: var(--bg-light);
}

/* Space Gallery & Facilities */
.space-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.info-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .space-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .space-gallery {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Location */
.map-container {
    height: 450px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.map-box {
    display: block;
    width: 100%;
    height: 450px;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.map-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.map-overlay p {
    margin: 0;
    font-weight: 500;
}

/* Facilities Single Mode */
.fac-content.single-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.fac-content.single-mode .fac-images {
    width: 100%;
    max-width: 800px;
}

.fac-content.single-mode .fac-text {
    width: 100%;
    max-width: 800px;
}

.fac-content.single-mode .fac-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .fac-content.single-mode .fac-list {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.footer-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 500px;
}

.footer-hashtags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Animations disabled */
[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .price-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .price-header h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .price-list span {
        font-size: 1.4rem;
    }

    .fac-content {
        flex-direction: column;
        gap: 2rem;
    }

    .fac-main-img img {
        height: 220px;
    }

    .map-container,
    .map-box {
        height: 300px;
        border-radius: 20px;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 0 1.2rem;
    }

    /* Header & Logo Mobile Fix */
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.2rem;
    }

    nav {
        height: 70px;
    }

    .logo img {
        height: 45px;
    }

    .logo {
        font-size: 1.1rem;
        white-space: nowrap;
        flex-shrink: 1;
    }

    .logo span {
        font-size: 0.85rem;
    }

    .cta-button.mini {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: auto;
        min-width: fit-content;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}