/* ==========================================================================
   CSS Variables & Base Setup (Bright, Clean Theme)
   ========================================================================== */
   :root {
    --primary-color: #3b82f6; /* Bright Blue */
    --primary-dark: #2563eb;
    --primary-light: #eff6ff;
    --secondary-color: #10b981; /* Fresh Green */
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    
    --border-color: #e2e8f0;
    
    --font-sans: 'Noto Sans KR', 'Poppins', sans-serif;
    --font-eng: 'Poppins', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 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-glow: 0 0 20px rgba(59, 130, 246, 0.2);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth; /* CSS Only Smooth scrolling */
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.3;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.highlight { color: var(--primary-color); }

.section { padding: 6rem 0; }

.section-title { margin-bottom: 4rem; }
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
}
.section-title span { color: var(--primary-color); }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.divider {
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.4rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-eng);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

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

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

/* Mobile Menu Toggle (CSS Only) */
.menu-toggle { display: none; }
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}
.nav-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    position: relative;
    transition: var(--transition);
}
.nav-icon::before, .nav-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--text-main);
    transition: var(--transition);
}
.nav-icon::before { top: -8px; }
.nav-icon::after { top: 8px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideUp 1s ease forwards;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-family: var(--font-eng);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-break: keep-all;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

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

/* CSS Only Graphic Elements */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 400px;
    animation: fadeIn 1.5s ease forwards;
}

.abstract-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    right: 10%;
    animation: pulse 6s infinite alternate;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: 0;
    left: 20%;
    animation: pulse 8s infinite alternate-reverse;
}

.card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.card-1 {
    width: 250px;
    height: 300px;
    right: 15%;
    top: 15%;
    transform: rotate(5deg);
    animation: float 4s ease-in-out infinite;
}

.card-1::after {
    content: 'MUONX \A Data & Growth';
    white-space: pre-wrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-eng);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.2rem;
}

.card-2 {
    width: 200px;
    height: 150px;
    left: 10%;
    bottom: 20%;
    transform: rotate(-5deg);
    animation: float 5s ease-in-out infinite alternate;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill { fill: #ffffff; }

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-main);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--primary-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-eng);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

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

.service-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.team-message h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.team-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.veteran-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vet-badge {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-eng);
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0f172a; /* Dark Blue Slate */
    color: white;
    padding-top: 5rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-eng);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #94a3b8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a { color: #94a3b8; }
.footer-links ul li a:hover { color: white; }

.footer-bottom {
    background-color: #020617;
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(7deg); }
    100% { transform: translateY(0px) rotate(5deg); }
}

@keyframes floatRev {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.3; }
    to { transform: scale(1.1); opacity: 0.6; }
}

.card-2 { animation-name: floatRev; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title { font-size: 2.8rem; }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text { text-align: center; }
    .check-list li { text-align: left; max-width: 500px; margin-left: auto; margin-right: auto;}
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        display: none;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
    }
    
    .nav-menu .btn {
        margin: 1rem auto;
        width: max-content;
    }
    
    .menu-icon { display: block; }
    
    /* CSS Toggle Menu Checkbox logic */
    #menu-toggle:checked ~ .nav-menu {
        display: block;
    }
    
    #menu-toggle:checked ~ .menu-icon .nav-icon { background: transparent; }
    #menu-toggle:checked ~ .menu-icon .nav-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    #menu-toggle:checked ~ .menu-icon .nav-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero-title { font-size: 2.2rem; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-content {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
