:root {
    /* Premium Dark Theme Palette (Updated) */
    --bg-main: #002040;
    /* Deep Navy (Trust & Professionalism) */
    --bg-secondary: #001830;
    /* Slightly darker navy */
    --bg-card: rgba(0, 32, 64, 0.6);
    /* Glassy card bg blended with navy */

    --primary-gold: #D4AF37;
    --primary-gold-light: #FCE996;
    --primary-gold-dim: #927620;

    --text-main: #FFFFFF;
    /* White/Silver (Vision & Clarity) */
    --text-muted: #CBD5E1;
    /* Light Slate for better contrast on navy */

    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(212, 175, 55, 0.3);

    /* Typography from Guidelines */
    --font-heading: 'Pretendard', sans-serif;
    /* Logical Headlines */
    --font-body: 'Noto Serif KR', serif;
    /* Emotional Storytelling */

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    word-break: keep-all;
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 0%, var(--primary-gold-light) 40%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.4rem;
    border-radius: 2px;
    /* Sharp premium look */
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B4941F 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Shimmer Animation */
.shimmer-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-gold);
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.nav-links a:not(.btn):::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08), transparent 60%),
        linear-gradient(to bottom, rgba(2, 6, 23, 0.3), var(--bg-main)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-highlight);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-description strong {
    color: var(--text-main);
    font-weight: 500;
    border-bottom: 1px solid var(--primary-gold);
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Philosophy Section */
.philosophy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.philosophy-image {
    position: relative;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.philosophy-image:hover img {
    filter: grayscale(0%) contrast(1);
}

.philosophy-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.quote-block {
    border-left: 3px solid var(--primary-gold);
    padding-left: 2rem;
    margin: 2.5rem 0;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--text-main);
    font-style: italic;
}

/* Stats Section */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-subtle);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* System & Service Cards (Glassmorphism) */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    border-color: var(--border-highlight);
    background: rgba(30, 41, 59, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.system-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-main), #050a1f);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.contact-info {
    padding: 4rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(10, 15, 28, 0));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-wrapper {
    padding: 4rem;
    background: var(--bg-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.4);
}

textarea.form-input {
    min-height: 140px;
    resize: none;
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border-subtle);
    background: #010409;
}

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

/* Mobile */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .philosophy-wrapper,
    .stats-grid,
    .system-grid,
    .services-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        display: flex;
    }

    .philosophy-image {
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }
}