@charset "UTF-8";

/* ---------- Global Variables & Reset ---------- */
:root {
    /* Color Palette */
    --bg-main: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-dark: #F1F5F9;
    
    --blue-primary: #2563EB;
    --blue-light: #60A5FA;
    --blue-dark: #1D4ED8;
    --blue-gradient: linear-gradient(135deg, #60A5FA 0%, #2563EB 50%, #1D4ED8 100%);
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-dark: #1E293B;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-highlight: rgba(37, 99, 235, 0.15);
    
    /* Typography */
    --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    
    /* Animation */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ---------- Background Glow Effects ---------- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.glow-navy {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-blue {
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ---------- Typography & Utility ---------- */
.blue-text {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--blue-primary); /* fallback */
    display: inline-block;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--glass-highlight);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.08), 0 0 20px rgba(37, 99, 235, 0.05);
}

.section {
    padding: 8rem 0;
    position: relative;
}

.dark-bg {
    background-color: var(--bg-surface-dark);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title span {
    color: var(--blue-primary);
}

.section-subtitle, .section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

/* ---------- Utilities & Extras ---------- */
details summary::-webkit-details-marker {
    display: none;
}
details[open] summary .faq-icon {
    transform: rotate(180deg);
    color: var(--blue-primary);
}
.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* Expandable Content */
.expandable-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-solid-blue, .btn-outline-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    text-align: center;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--blue-gradient);
    color: var(--bg-main);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.massive-btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn-solid-blue {
    background: var(--blue-gradient);
    color: var(--bg-main);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-solid-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    filter: brightness(1.1);
}

.btn-outline-blue {
    background: var(--bg-surface);
    color: var(--blue-primary);
    border: 1px solid var(--blue-primary);
}

.btn-outline-blue:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 0%, var(--bg-main) 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.8;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.hero-badge {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--blue-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--blue-primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

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

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
}

.blue-dot {
    width: 8px;
    height: 8px;
    background: var(--blue-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--blue-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- Systems Section ---------- */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.system-card {
    padding: 3rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-surface);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.card-icon svg {
    color: var(--blue-primary);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* ---------- Simulator Section ---------- */
.simulator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.simulator-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    opacity: 0.5;
}

.simulator-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.pulse-indicator {
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.simulator-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-wasm {
    font-size: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--blue-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

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

.simulator-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.sim-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sim-input, .sim-select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sim-input:focus, .sim-select:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.sim-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239CA3AF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.sim-select option {
    background: var(--bg-surface);
    color: var(--text-main);
}

.sim-output {
    background: linear-gradient(145deg, var(--bg-surface) 0%, #ebf2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.15);
}

.output-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.output-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 2rem;
    color: var(--blue-light);
    font-weight: 500;
}

.output-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--blue-primary);
    text-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    letter-spacing: -0.03em;
    line-height: 1;
}

.output-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ---------- SNS Section ---------- */
.sns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sns-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.sns-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
    border-color: var(--blue-light);
}

.sns-platform {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sns-content {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.sns-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.sns-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* ---------- Stories/News Section ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.news-card:hover {
    border-color: var(--glass-highlight);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-tag {
    font-size: 0.75rem;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-main);
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Recruit Form Section ---------- */
.form-container {
    max-width: 800px;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

#recruit-form {
    padding: 3rem;
    background: var(--bg-surface);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
    margin-bottom: 3rem;
}

.floating-group {
    position: relative;
}

.floating-input, .floating-select {
    width: 100%;
    padding: 1.5rem 0 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

.floating-input:focus, .floating-select:focus {
    outline: none;
    border-bottom-color: var(--blue-primary);
    box-shadow: 0 1px 0 0 var(--blue-primary);
}

.floating-label {
    position: absolute;
    left: 0;
    top: 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
    transform-origin: left top;
}

/* Floating animation triggered on focus OR when not empty (placeholder=" " hack) */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    transform: translateY(-1.25rem) scale(0.85);
    color: var(--blue-primary);
    font-weight: 500;
}

textarea.floating-input {
    resize: vertical;
    min-height: 100px;
}

.floating-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239CA3AF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 65%;
    background-size: 0.65rem auto;
    padding-top: 1rem;
}

.floating-select option {
    background: var(--bg-surface);
    color: var(--text-main);
}

.form-submit-wrapper {
    text-align: center;
}

.submit-btn {
    width: 100%;
    max-width: 300px;
}

/* ---------- Modal (Main Site) ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content.blog-modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 0;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--bg-surface);
    color: var(--blue-primary);
    transform: scale(1.05);
}

.blog-modal-header {
    padding: 3rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.blog-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0;
    line-height: 1.3;
}

.blog-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: var(--bg-surface-dark);
}

.blog-modal-body {
    padding: 2.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.blog-modal-body p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-modal-header { padding: 2.5rem 1.5rem 1.5rem; }
    .blog-modal-title { font-size: 1.5rem; }
    .blog-modal-body { padding: 1.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-surface-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand h2 span {
    color: var(--blue-primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-info {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.copyright {
    margin-top: 1.5rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ceo-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem !important;
    }
    .ceo-wrapper > div:first-child {
        width: 100%;
        max-width: 400px;
        flex: none !important;
    }
    
    .about-features {
        align-items: center;
    }
    
    .simulator-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .nav-links {
        display: none;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
        margin-top: 2rem;
    }
    
    #recruit-form {
        padding: 2rem 1.5rem;
    }
    
    .output-value {
        font-size: 3rem;
    }
}
```