/* ===========================
   MediCure Pharmaceuticals
   Premium Corporate Theme
   =========================== */

/* --- CSS Variables --- */
:root {
    --primary: #0052A5;
    --primary-dark: #003B75;
    --primary-light: #E8F0FE;
    --accent: #00B4D8;
    --accent-dark: #0096B4;
    --secondary: #1B365D;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F8FAFC;
    --white: #FFFFFF;
    --font-main: 'Noto Sans KR', -apple-system, sans-serif;
    --font-display: 'Playfair Display', serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
    --header-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s, visibility .6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { text-align: center; }
.dna-helix { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.strand {
    width: 8px; height: 40px; border-radius: 4px;
    background: var(--primary);
    animation: dnaWave 1.2s ease-in-out infinite;
}
.strand:nth-child(2) { animation-delay: .1s; background: var(--accent); }
.strand:nth-child(3) { animation-delay: .2s; }
.strand:nth-child(4) { animation-delay: .3s; background: var(--accent); }
.strand:nth-child(5) { animation-delay: .4s; }
@keyframes dnaWave {
    0%, 100% { transform: scaleY(1); opacity: .5; }
    50% { transform: scaleY(2); opacity: 1; }
}
.loader-text {
    font-size: 1.2rem; font-weight: 700; color: var(--primary);
    letter-spacing: 4px; text-transform: uppercase;
}

/* --- Container --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: .95rem;
    transition: var(--transition); cursor: pointer;
    border: 2px solid transparent;
    position: relative; overflow: hidden;
}
.btn i { font-size: .85rem; transition: transform .3s; }
.btn:hover i { transform: translateX(4px); }
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 4px 15px rgba(0,82,165,.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,82,165,.4);
    transform: translateY(-2px);
}
.btn-outline {
    border-color: var(--white); color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-outline-dark {
    border-color: var(--gray-400); color: var(--gray-700);
}
.btn-outline-dark:hover {
    border-color: var(--primary); color: var(--primary);
}
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-white { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* --- Header / Navbar --- */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: var(--transition);
}
#header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}
.navbar { height: var(--header-h); }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.4rem; color: var(--white);
    transition: var(--transition);
}
#header.scrolled .logo { color: var(--primary); }
.logo-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
#header:not(.scrolled) .logo-icon {
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
}
.logo-text { font-weight: 300; letter-spacing: -0.5px; }
.logo-text strong { font-weight: 900; }

.nav-menu {
    display: flex; align-items: center; gap: 4px;
}
.nav-link {
    padding: 8px 18px; font-size: .95rem; font-weight: 500;
    color: rgba(255,255,255,.85); border-radius: 8px;
    transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.nav-link i { font-size: .65rem; }
#header.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.15); }
#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active { color: var(--primary); background: var(--primary-light); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px;
    min-width: 200px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block; padding: 10px 16px; border-radius: 8px;
    color: var(--gray-700); font-size: .9rem;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-lang {
    padding: 6px 14px; border-radius: 6px;
    font-size: .8rem; font-weight: 600; letter-spacing: 1px;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.3);
}
#header.scrolled .btn-lang { color: var(--gray-600); border-color: var(--gray-300); }
.btn-lang:hover { background: rgba(255,255,255,.15); }
#header.scrolled .btn-lang:hover { background: var(--gray-100); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
    width: 24px; height: 2px; background: var(--white);
    border-radius: 2px; transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--gray-800); }

/* --- Hero Section --- */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg-video {
    position: absolute; inset: 0;
    background: #0a1628;
    overflow: hidden;
}
.hero-bg-video video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,180,216,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,82,165,.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0,150,180,.1) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    padding: 0 24px;
}
.hero-badge {
    display: inline-block; padding: 8px 24px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px; font-size: .85rem;
    font-weight: 500; letter-spacing: 3px;
    color: rgba(255,255,255,.8); margin-bottom: 28px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.05);
}
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; line-height: 1.2;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-line.highlight {
    background: linear-gradient(135deg, var(--accent), #6dd5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem; line-height: 1.8;
    color: rgba(255,255,255,.75);
    margin-bottom: 40px; font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero Scroll */
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span {
    font-size: .7rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.scroll-line {
    width: 1px; height: 60px; background: rgba(255,255,255,.2);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { top: -50%; } 100% { top: 100%; }
}

/* Hero Stats */
.hero-stats {
    position: absolute; right: 40px; bottom: 40px;
    z-index: 2; display: flex; flex-direction: column; gap: 20px;
}
.stat-item {
    text-align: right; color: var(--white);
    padding: 12px 0;
    border-right: 2px solid rgba(255,255,255,.2);
    padding-right: 20px;
}
.stat-num {
    font-size: 2.2rem; font-weight: 900;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-suffix {
    font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.7);
}
.stat-label {
    display: block; font-size: .78rem;
    color: rgba(255,255,255,.5); margin-top: 2px;
}

/* --- Section Basics --- */
.section { padding: 120px 0; position: relative; }
.section-tag {
    display: inline-block; font-size: .8rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 16px;
    position: relative; padding-left: 36px;
}
.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 24px; height: 2px; background: var(--primary);
    transform: translateY(-50%);
}
.section-tag.light { color: var(--accent); }
.section-tag.light::before { background: var(--accent); }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300; line-height: 1.3;
    color: var(--dark); margin-bottom: 16px;
}
.section-title strong { font-weight: 900; }
.section-title.light { color: var(--white); }
.section-title.light strong { color: var(--white); }
.section-subtitle {
    font-size: 1.05rem; color: var(--gray-600); max-width: 600px;
}
.section-desc { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.section-desc.light { color: rgba(255,255,255,.7); }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-header:not(.center) {
    display: flex; justify-content: space-between; align-items: flex-end;
}

/* --- About Preview --- */
.about-preview { background: var(--gray-100); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-image { position: relative; }
.img-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-placeholder {
    aspect-ratio: 4/3; background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--white); gap: 12px;
}
.about-img-placeholder i { font-size: 4rem; opacity: .6; }
.about-img-placeholder span { font-size: 1.1rem; font-weight: 500; opacity: .8; }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px;
    width: 140px; height: 140px;
    background: var(--primary); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--white); box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}
.exp-number {
    font-size: 2.8rem; font-weight: 900;
    font-family: var(--font-display); line-height: 1;
}
.exp-text { font-size: .65rem; text-align: center; opacity: .8; line-height: 1.3; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius-sm);
    background: var(--white); box-shadow: var(--shadow-sm);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.feature-item h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.feature-item p { font-size: .82rem; color: var(--gray-600); }

/* --- Products Section --- */
.products-section { background: var(--white); }
.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
    padding: 40px 32px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--gray-300);
    transition: var(--transition); position: relative;
    overflow: hidden;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
    border-color: transparent; box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}
.card-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 24px;
    transition: var(--transition);
}
.product-card:hover .card-icon {
    background: var(--primary); color: var(--white);
}
.card-number {
    position: absolute; top: 24px; right: 24px;
    font-size: 3rem; font-weight: 900;
    font-family: var(--font-display);
    color: var(--gray-200); line-height: 1;
}
.product-card h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
}
.product-card p {
    font-size: .9rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 20px;
}
.card-link {
    font-size: .88rem; font-weight: 600;
    color: var(--primary); display: inline-flex;
    align-items: center; gap: 6px;
}
.card-link i { font-size: .75rem; transition: transform .3s; }
.card-link:hover i { transform: translateX(4px); }

/* --- R&D Section --- */
.rnd-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #0a3b6e 100%);
    overflow: hidden;
}
.rnd-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,.03) 1px, transparent 0);
    background-size: 40px 40px;
}
.rnd-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    position: relative; z-index: 1;
}
.rnd-stats { display: flex; gap: 40px; margin-top: 40px; }
.rnd-stat { text-align: left; }
.rnd-stat-num {
    font-size: 2.5rem; font-weight: 900;
    font-family: var(--font-display); color: var(--accent);
}
.rnd-stat-suffix { font-size: 1rem; color: var(--accent); font-weight: 500; }
.rnd-stat-label {
    display: block; font-size: .82rem;
    color: rgba(255,255,255,.5); margin-top: 4px;
}
.rnd-card-stack {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.rnd-visual-card {
    padding: 32px 24px; border-radius: var(--radius);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    text-align: center; color: var(--white);
    transition: var(--transition);
}
.rnd-visual-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-6px);
    border-color: var(--accent);
}
.rnd-visual-card i {
    font-size: 2rem; margin-bottom: 16px;
    color: var(--accent);
}
.rnd-visual-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.rnd-visual-card p { font-size: .82rem; color: rgba(255,255,255,.6); }

/* --- Pipeline Section --- */
.pipeline-section { background: var(--gray-100); }
.pipeline-table-wrapper {
    overflow-x: auto; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); background: var(--white);
}
.pipeline-table {
    width: 100%; border-collapse: collapse; min-width: 700px;
}
.pipeline-table thead { background: var(--secondary); }
.pipeline-table th {
    padding: 16px 20px; text-align: left;
    font-size: .82rem; font-weight: 600;
    color: var(--white); letter-spacing: .5px;
    text-transform: uppercase; white-space: nowrap;
}
.phase-header { text-align: center !important; }
.phase-row th {
    font-size: .75rem; text-align: center !important;
    padding: 10px; background: var(--primary-dark);
    border-left: 1px solid rgba(255,255,255,.1);
}
.pipeline-table td {
    padding: 18px 20px; border-bottom: 1px solid var(--gray-200);
    font-size: .9rem; vertical-align: middle;
}
.pipeline-table tbody tr:hover { background: var(--gray-100); }
.pipeline-name { font-weight: 700; color: var(--primary); }
.badge {
    display: inline-block; padding: 4px 12px;
    border-radius: 50px; font-size: .75rem; font-weight: 600;
}
.badge-bio { background: #DBEAFE; color: #1D4ED8; }
.badge-immuno { background: #D1FAE5; color: #059669; }
.badge-neuro { background: #FEF3C7; color: #B45309; }
.phase-bar {
    width: 100%; height: 10px; border-radius: 5px;
    background: var(--gray-200); position: relative;
    min-width: 60px;
}
.phase-bar.full { background: var(--primary); }
.phase-bar.active {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    animation: phaseGlow 2s infinite;
}
@keyframes phaseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,180,216,.4); }
    50% { box-shadow: 0 0 10px 2px rgba(0,180,216,.3); }
}

/* --- News Section --- */
.news-section { background: var(--white); }
.news-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.news-card {
    border-radius: var(--radius); overflow: hidden;
    background: var(--white); border: 1px solid var(--gray-200);
    transition: var(--transition); cursor: pointer;
}
.news-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: transparent;
}
.news-card.featured { grid-column: 1; grid-row: 1 / span 3; }
.news-thumb {
    position: relative; overflow: hidden;
}
.news-thumb-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 3rem; opacity: .6;
}
.news-category {
    position: absolute; top: 16px; left: 16px;
    padding: 6px 14px; border-radius: 50px;
    background: var(--primary); color: var(--white);
    font-size: .75rem; font-weight: 600;
}
.news-body { padding: 24px; }
.news-date { font-size: .82rem; color: var(--gray-500); }
.news-category-inline {
    display: inline-block; margin-left: 8px;
    padding: 2px 10px; border-radius: 4px;
    background: var(--gray-200); color: var(--gray-700);
    font-size: .75rem; font-weight: 600;
}
.news-body h3 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--dark); margin: 10px 0 8px;
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.news-card.featured .news-body h3 {
    font-size: 1.3rem; -webkit-line-clamp: 3;
}
.news-body p {
    font-size: .88rem; color: var(--gray-600);
    line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    text-align: center; padding: 100px 0;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0,180,216,.2) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white); font-weight: 300;
    margin-bottom: 16px; line-height: 1.3;
}
.cta-content h2 strong { font-weight: 900; }
.cta-content p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contact Section --- */
.contact-section { background: var(--gray-100); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card {
    padding: 28px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 16px;
}
.contact-card h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.7; }

/* Contact Form */
.contact-form-wrapper {
    padding: 40px; border-radius: var(--radius-lg);
    background: var(--white); box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: .85rem; font-weight: 600; color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); background: var(--gray-100);
    transition: var(--transition); outline: none;
    color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0,82,165,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.form-check label { font-size: .85rem; color: var(--gray-600); }
.form-check a { color: var(--primary); font-weight: 600; }

/* --- Footer --- */
.footer {
    background: var(--dark); color: rgba(255,255,255,.6);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; color: var(--white);
    margin-bottom: 16px;
}
.footer-logo .logo-icon { background: var(--primary); }
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: .95rem;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-links h4 {
    font-size: .9rem; font-weight: 700;
    color: var(--white); margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 0; flex-wrap: wrap; gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--white); }
.footer-legal .privacy { color: rgba(255,255,255,.7); }
.copyright { font-size: .82rem; color: rgba(255,255,255,.3); }

/* --- Back to Top --- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* --- AOS-like Animations --- */
[data-aos] { opacity: 0; transition: all .7s cubic-bezier(.4,0,.2,1); }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* --- Sub Page Hero --- */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #0a3b6e 100%);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,.03) 1px, transparent 0);
    background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.breadcrumb a, .breadcrumb span {
    font-size: .85rem; color: rgba(255,255,255,.5);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { font-size: .7rem; }
.breadcrumb .current { color: var(--white); font-weight: 500; }
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900; color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.1rem; color: rgba(255,255,255,.6);
}

/* --- About Page --- */
.about-ceo { background: var(--white); }
.ceo-grid {
    display: grid; grid-template-columns: 380px 1fr;
    gap: 60px; align-items: start;
}
.ceo-photo-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.ceo-photo-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-600); gap: 12px;
}
.ceo-photo-placeholder i { font-size: 4rem; opacity: .4; }
.ceo-message { font-size: .95rem; color: var(--gray-700); line-height: 2; }
.ceo-message .quote {
    font-size: 1.4rem; font-weight: 700; color: var(--primary);
    line-height: 1.6; margin-bottom: 24px; padding-left: 24px;
    border-left: 4px solid var(--accent);
    font-style: italic;
}
.ceo-name {
    margin-top: 32px; text-align: right;
    font-size: .95rem; color: var(--gray-600);
}
.ceo-name strong {
    display: block; font-size: 1.3rem;
    color: var(--dark); font-weight: 700;
}

/* Vision */
.vision-section { background: var(--gray-100); }
.vision-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision-card {
    text-align: center; padding: 48px 32px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.vision-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transition: transform .4s;
}
.vision-card:hover::after { transform: scaleX(1); }
.vision-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.vision-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px;
}
.vision-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.vision-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* History */
.history-section { background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%;
    top: 0; bottom: 0; width: 2px;
    background: var(--gray-300); transform: translateX(-50%);
}
.timeline-item {
    display: flex; align-items: flex-start;
    margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-year {
    width: 50%; padding: 0 40px;
    font-size: 1.8rem; font-weight: 900;
    font-family: var(--font-display);
    color: var(--primary);
}
.timeline-content {
    width: 50%; padding: 0 40px;
}
.timeline-content h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.timeline-content p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }
.timeline-dot {
    position: absolute; left: 50%; top: 8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary); border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
    transform: translateX(-50%); z-index: 1;
}

/* --- Board Page --- */
.board-section { background: var(--white); }
.board-tabs {
    display: flex; gap: 4px; margin-bottom: 32px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}
.board-tab {
    padding: 12px 24px; font-size: .95rem; font-weight: 600;
    color: var(--gray-500); cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: var(--transition);
}
.board-tab.active, .board-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.board-search {
    display: flex; gap: 12px; margin-bottom: 24px;
    max-width: 400px; margin-left: auto;
}
.board-search input {
    flex: 1; padding: 10px 16px;
    border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    outline: none; font-size: .9rem;
}
.board-search input:focus { border-color: var(--primary); }
.board-search button {
    padding: 10px 20px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-sm);
    font-weight: 600; font-size: .88rem;
    transition: var(--transition);
}
.board-search button:hover { background: var(--primary-dark); }
.board-table {
    width: 100%; border-collapse: collapse;
}
.board-table thead { background: var(--gray-100); }
.board-table th {
    padding: 14px 16px; font-size: .82rem;
    font-weight: 600; color: var(--gray-700);
    text-align: left; border-bottom: 2px solid var(--gray-200);
}
.board-table td {
    padding: 16px; border-bottom: 1px solid var(--gray-200);
    font-size: .9rem; color: var(--gray-700);
}
.board-table tbody tr { transition: var(--transition); cursor: pointer; }
.board-table tbody tr:hover { background: var(--gray-100); }
.board-table .num { width: 60px; text-align: center; color: var(--gray-500); font-size: .85rem; }
.board-table .title-cell { font-weight: 500; }
.board-table .title-cell a:hover { color: var(--primary); }
.board-table .title-cell .new-badge {
    display: inline-block; padding: 2px 6px;
    background: var(--danger); color: var(--white);
    font-size: .65rem; font-weight: 700;
    border-radius: 3px; margin-left: 6px;
    vertical-align: middle;
}
.board-table .date { color: var(--gray-500); font-size: .85rem; }
.board-table .views { color: var(--gray-500); font-size: .85rem; text-align: center; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; gap: 4px;
    margin-top: 40px;
}
.page-btn {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 500;
    color: var(--gray-600); background: var(--white);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .rnd-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ceo-grid { grid-template-columns: 1fr; }
    .hero-stats { display: none; }
    .vision-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    .section { padding: 80px 0; }

    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 80%; max-width: 360px; height: 100vh;
        background: var(--white); flex-direction: column;
        padding: 100px 32px 32px; gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right .4s cubic-bezier(.4,0,.2,1);
        z-index: 998;
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--gray-700); padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%; border-radius: 0;
    }
    .nav-menu .nav-link:hover { color: var(--primary); background: none; }
    .dropdown-menu {
        position: static; box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none; padding-left: 16px;
    }
    .hamburger { display: flex; z-index: 999; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .products-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: 1; grid-row: auto; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .section-header:not(.center) { flex-direction: column; align-items: flex-start; gap: 16px; }

    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) {
        flex-direction: column; text-align: left; padding-left: 50px;
    }
    .timeline-year, .timeline-content { width: 100%; padding: 0; }
    .timeline-dot { left: 20px; }
    .timeline-year { font-size: 1.3rem; margin-bottom: 8px; }

    .rnd-stats { flex-direction: column; gap: 20px; }
    .rnd-card-stack { grid-template-columns: 1fr; }

    .board-table .hide-mobile { display: none; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .experience-badge { width: 100px; height: 100px; bottom: -20px; right: -10px; }
    .exp-number { font-size: 2rem; }
    .about-features { grid-template-columns: 1fr; }
}
