/* ===================================
   COFA - 반도체 소재 기업 웹사이트
   Industrial Engineering Design
   =================================== */

/* === CSS 변수 === */
:root {
    /* 색상 팔레트 - COFA 브랜드 색상 */
    --primary-color: #003d82;
    --primary-dark: #002855;
    --secondary-color: #FF5722;
    --accent-color: #0078d4;
    
    --dark-bg: #1a1a2e;
    --dark-secondary: #16213e;
    --dark-accent: #0f3460;
    
    --light-bg: #f5f7fa;
    --light-secondary: #e8ecf1;
    
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #6b7280;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* 타이포그래피 */
    --font-primary: 'Noto Sans KR', sans-serif;
    
    /* 간격 */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* 전환 효과 */
    --transition: all 0.3s ease;
    
    /* 그림자 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* === 기본 리셋 및 스타일 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

/* === 헤더 및 네비게이션 === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 61, 130, 0.1);
}

.navbar {
    padding: 15px 0;
}

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

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

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

.logo-svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.logo-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-image {
    height: 50px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.company-name {
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 600;
    margin: 3px 0 0 0;
    line-height: 1;
}

.tagline {
    font-size: 9px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin: 2px 0 0 0;
    line-height: 1;
}
    text-transform: uppercase;
}

.tagline {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* 언어 전환 버튼 */
.lang-switcher {
    display: flex;
    gap: 5px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
}

.lang-btn {
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    background-color: transparent;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.lang-btn:hover:not(.active) {
    background-color: rgba(0, 61, 130, 0.1);
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* === 히어로 섹션 === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(15, 52, 96, 0.85) 100%), 
                url('https://sspark.genspark.ai/cfimages?u1=659pZHCu0003%2FhEwKtMqPv38V029MfFB90DVCMaFaFpPxXf%2B2a6hrMhYgxjtoLl7QqvBv6bnvKtvYoF0a7sJ4c3rVz7SXCKWqd5TOJOkOWvYile9leheYw%3D%3D&u2=90h0UcIhbGb5m950&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(26, 26, 46, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

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

.stat-item i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-light);
}

.stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* === 섹션 공통 스타일 === */
.section {
    padding: var(--section-padding);
}

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

.section-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

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

.section-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 25px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* === 회사소개 === */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 32px;
    color: var(--text-light);
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

.mission-statement {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.mission-statement blockquote {
    position: relative;
    color: var(--text-light);
}

.mission-statement i.fa-quote-left {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.mission-statement i.fa-quote-right {
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.mission-statement p {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    margin: 20px 0;
}

/* === 제품소개 === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--dark-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.3);
    border-color: var(--accent-color);
}

.product-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 25px;
    text-align: center;
}

.product-category {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 0;
}

.product-body {
    padding: 25px;
}

.product-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '▸';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
}

.product-footer {
    padding: 20px 25px;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background-color: var(--dark-secondary);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
}

/* === 모달 === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--dark-secondary);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    color: var(--text-light);
    max-height: 85vh;
    overflow-y: auto;
}

/* 다운로드 모달 전용 스타일 */
.download-modal {
    max-width: 500px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 2px solid var(--primary-color);
}

.download-modal-body {
    padding: 20px 0;
}

.download-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.download-modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.download-modal-header p {
    color: #666666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000 !important;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #cccccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: #ffffff;
    color: #000000 !important;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #999999;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #ffffff;
    color: #000000 !important;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

.download-modal .close {
    color: #1a1a1a;
}

.close {
    color: var(--text-light);
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
}

.modal-header {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.modal-category {
    font-size: 14px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table th {
    background-color: rgba(0, 188, 212, 0.2);
    font-weight: 700;
    color: var(--accent-color);
}

.specs-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* === 적용 분야 === */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.app-card {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.app-icon i {
    font-size: 32px;
    color: var(--text-light);
}

.app-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.app-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    padding: 0;
}

.app-features li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 16px;
}

/* === 기술자료 === */
.tech-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tech-doc-card {
    background-color: var(--dark-secondary);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.tech-doc-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.2);
}

/* 기술 백서 강조 스타일 */
.featured-doc {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.3), rgba(0, 188, 212, 0.15));
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF5722, #FF9800);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-badge i {
    margin-right: 5px;
}

.tech-paper-desc {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 25px !important;
}

.tech-paper-desc strong {
    color: var(--accent-color);
    font-weight: 700;
}

.paper-highlights {
    background: rgba(0, 188, 212, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.paper-highlights p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.paper-highlights p:last-child {
    margin-bottom: 0;
}

.paper-highlights i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.doc-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tech-doc-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
}

.featured-doc h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
}

.tech-doc-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.doc-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === IR / 회사 자료 === */
.ir-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.ir-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.ir-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ir-icon i {
    font-size: 36px;
    color: var(--text-light);
}

.ir-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.ir-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.market-info {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.market-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.market-stat {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, var(--light-bg), white);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.market-stat h4 {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-weight: 600;
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
}

/* === 문의하기 === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background-color: var(--dark-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-light);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    width: 30px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-form-container {
    background-color: var(--dark-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--font-primary);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background-color: var(--dark-secondary);
    color: var(--text-light);
}

.contact-form button[type="submit"] {
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    display: block;
}

/* === 푸터 === */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li i {
    color: var(--accent-color);
    margin-right: 8px;
    width: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* === 로딩 스피너 === */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: var(--text-light);
}

/* === 프로세스 이미지 갤러리 === */
.process-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px 0;
}

.process-image-wrapper {
    width: 200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.process-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 61, 130, 0.25);
}

.process-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 12px 15px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    line-height: 1.4;
}


/* === Ansys Fluent 시뮬레이션 섹션 === */
.simulation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.simulation-text {
    color: var(--text-light);
}

.simulation-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.simulation-text h3 i {
    margin-right: 10px;
}

.simulation-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.simulation-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.simulation-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    line-height: 1.6;
}

.simulation-features li i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 18px;
}

.simulation-features li strong {
    color: var(--accent-color);
}

.simulation-benefit {
    background: rgba(0, 188, 212, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.simulation-benefit h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.simulation-benefit h4 i {
    margin-right: 10px;
}

.simulation-benefit p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.simulation-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.simulation-box {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.4), rgba(0, 188, 212, 0.2));
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.3);
}

.simulation-box h4 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 10px;
}

.simulation-box > p {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.sim-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.sim-stat-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.sim-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.sim-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* === 반응형 디자인 === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }

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

    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .process-gallery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 30px 0 40px 0;
    }
    
    .process-image-wrapper {
        width: 200px;
    }
    
    .process-image {
        width: 200px;
        height: 200px;
    }
    
    .image-caption {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .simulation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-doc {
        grid-column: span 1;
    }
    
    .tech-docs-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }

    .modal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .logo {
        font-size: 24px;
    }

    .tagline {
        font-size: 9px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .contact-info,
    .contact-form-container {
        padding: 25px;
    }
}