:root {
  --deep: #080e14;
  --ink: #0d1a26;
  --surface: #101e2c;
  --card: #132236;
  --border: rgba(80,160,220,0.12);
  --teal: #2dd4bf;
  --sky: #38bdf8;
  --gold: #e2c97e;
  --text: #e8f0f8;
  --muted: #7a9ab8;
  --faint: rgba(255,255,255,0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.nav-lang { display: flex; gap: 0.8rem; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; margin-left: 2rem; }
.nav-lang a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-lang a.active { color: var(--teal); font-weight: 500; }
.nav-lang a:hover { color: var(--text); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4vw;
  background: rgba(8,14,20,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--teal); }

.nav-left { display: flex; align-items: center; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { padding: 0.5rem 1.1rem; background: transparent; border: 1px solid var(--teal); color: var(--teal); font-family: 'DM Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--teal); color: var(--deep); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 10rem 4vw 6rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 100%); }
.hero::after { content: ''; position: absolute; width: 700px; height: 700px; top: -150px; right: -200px; background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 70%); pointer-events: none; }

.hero-content { flex: 1; z-index: 2; }
.hero-visual { flex: 1; display: flex; justify-content: flex-end; align-items: center; z-index: 2; position: relative; }
.hero-img { width: 100%; max-width: 600px; height: auto; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid var(--border); transition: transform 0.5s ease; animation: fadeUp 1s 1s forwards; opacity: 0; }
.hero-img:hover { transform: translateY(-10px) scale(1.02); }

.hero-orb2 { position: absolute; width: 500px; height: 500px; bottom: -100px; left: 10%; background: radial-gradient(circle, rgba(56,189,248,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(45,212,191,0.3); padding: 0.35rem 0.9rem; margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 300; line-height: 1.05; margin-bottom: 0.6rem; opacity: 0; animation: fadeUp 0.9s 0.4s forwards; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-desc { max-width: 52ch; font-size: 1rem; color: var(--muted); margin-bottom: 3rem; opacity: 0; animation: fadeUp 0.9s 0.7s forwards; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.85s forwards; }

@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: flex-start; text-align: left; padding-top: 8rem; }
  .hero-visual { width: 100%; justify-content: center; margin-top: 4rem; }
  .hero-img { max-width: 500px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
}

.btn-primary { padding: 0.85rem 2.2rem; background: var(--teal); color: var(--deep); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; text-decoration: none; transition: all 0.25s; position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.15); transform: translateX(-100%); transition: transform 0.3s; }
.btn-primary:hover::after { transform: translateX(0); }
.btn-secondary { padding: 0.85rem 2.2rem; background: transparent; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); cursor: pointer; text-decoration: none; transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--muted); }
.btn-outline { padding: 0.85rem 2rem; background: transparent; color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); cursor: pointer; text-decoration: none; transition: all 0.25s; }
.btn-outline:hover { color: var(--text); border-color: var(--muted); }

/* STATS */
.stats-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 4vw; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat { text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 600; color: var(--teal); line-height: 1; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* SECTIONS */
section { padding: 7rem 4vw; }
.section-tag { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.2rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { max-width: 55ch; color: var(--muted); font-size: 1rem; margin-bottom: 4rem; }

/* PARADIGM */
.paradigm { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.paradigm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.paradigm-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.3; font-style: italic; border-left: 2px solid var(--teal); padding-left: 2rem; color: var(--text); }
.paradigm-quote span { color: var(--teal); font-style: normal; font-weight: 600; }
.shift-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.shift-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 1.5rem; background: var(--faint); border: 1px solid var(--border); }
.shift-arrow { font-size: 1.2rem; color: var(--teal); margin-top: 0.1rem; flex-shrink: 0; }
.shift-text { font-size: 0.92rem; }
.shift-text strong { color: var(--text); font-weight: 500; display: block; }
.shift-text span { color: var(--muted); font-size: 0.82rem; }

/* CONTINUUM */
.continuum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cont-card { background: var(--ink); padding: 2rem 2rem 2.5rem; position: relative; overflow: hidden; transition: background 0.3s; }
.cont-card:hover { background: var(--card); }
.cont-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); opacity: 0; transition: opacity 0.3s; }
.cont-card:hover::before { opacity: 1; }
.cont-num { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--teal); margin-bottom: 0.8rem; }
.cont-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.cont-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.cont-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.cont-tag { font-size: 0.68rem; letter-spacing: 0.08em; padding: 0.25rem 0.6rem; border: 1px solid rgba(45,212,191,0.2); color: var(--teal); }

/* ALLIANCE BADGES */
.cont-alliance { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.cont-alliance-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.alliance-logos { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.alliance-link { text-decoration: none; display: inline-flex; }
.alliance-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; transition: all 0.2s; cursor: pointer; }
.alliance-badge:hover { border-color: rgba(45,212,191,0.4); color: var(--teal); background: rgba(45,212,191,0.05); }
.alliance-badge img { height: 14px; width: auto; background: #ffffff; padding: 1px 4px; border-radius: 2px; filter: none; transition: all 0.2s; }
.alliance-badge img[src*="_b."] { background: #000000; }
.alliance-badge img.img-error {
  background: #000000 !important;
  color: #ffffff !important;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  min-width: fit-content;
  height: auto;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.alliance-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; flex-shrink: 0; }

/* NEWS TICKER */
.news-ticker { background: rgba(13,26,38,0.9); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0.75rem 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 3rem; animation: tickerScroll 40s linear infinite; }
.ticker-item { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted); text-decoration: none; transition: color 0.2s; flex-shrink: 0; }
.ticker-item:hover { color: var(--teal); }
.ticker-sep { color: rgba(45,212,191,0.35); font-size: 0.6rem; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* NEWS SECTION */
.news-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.news-view-all { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(45,212,191,0.3); padding-bottom: 2px; white-space: nowrap; transition: border-color 0.2s; }
.news-view-all:hover { border-color: var(--teal); }

/* Featured */
.news-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 1px; }
.news-featured-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.news-featured:hover .news-featured-img img { transform: scale(1.03); }
.news-featured-body { background: var(--ink); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.3s; }
.news-featured:hover .news-featured-body { background: var(--card); }
.news-cat { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.news-featured-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; line-height: 1.25; color: var(--text); margin-bottom: 1rem; text-decoration: none; display: block; transition: color 0.2s; }
.news-featured-title:hover { color: var(--teal); }
.news-featured-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 2rem; flex: 1; }
.news-meta { display: flex; gap: 1.2rem; align-items: center; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--muted); }
.news-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* Grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-top: none; }
.news-card { background: var(--ink); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: background 0.3s; }
.news-card:hover { background: var(--card); }
.news-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card-cat { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.news-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; line-height: 1.35; color: var(--text); margin-bottom: 0.8rem; flex: 1; }
.news-card-date { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted); margin-top: auto; }

/* ECOSYSTEM */
.ecosystem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 4rem; }
.eco-item { background: var(--ink); padding: 1.5rem 1rem; text-align: center; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; transition: all 0.25s; }
.eco-item:hover { background: var(--card); color: var(--text); }
.eco-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }

/* GLOBAL */
.global-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.global-visual { position: relative; aspect-ratio: 1; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.globe-rings { position: relative; width: 260px; height: 260px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(45,212,191,0.15); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ring-1 { width: 100%; height: 100%; animation: pulse 3s ease-in-out infinite; }
.ring-2 { width: 75%; height: 75%; animation: pulse 3s ease-in-out 0.5s infinite; border-color: rgba(45,212,191,0.22); }
.ring-3 { width: 50%; height: 50%; animation: pulse 3s ease-in-out 1s infinite; border-color: rgba(45,212,191,0.35); }
.globe-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 20px var(--teal); }
.globe-node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); border: 1px solid var(--deep); }
.global-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(45,212,191,0.05) 0%, transparent 70%); }

/* VISION */
.vision { background: var(--ink); border-top: 1px solid var(--border); }
.vision-pillars { display: flex; gap: 1px; flex-wrap: wrap; background: var(--border); border: 1px solid var(--border); margin-top: 3rem; }
.pillar { flex: 1; min-width: 140px; background: var(--deep); padding: 2.5rem 1.5rem; text-align: center; transition: background 0.3s; }
.pillar:hover { background: var(--card); }
.pillar-word { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; font-style: italic; color: var(--teal); display: block; margin-bottom: 0.4rem; }

/* CTA */
.cta-section { background: var(--surface); border-top: 1px solid var(--border); position: relative; overflow: hidden; padding: 7rem 4vw; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(45,212,191,0.06) 0%, transparent 70%); }

.cta { font-family: 'DM Sans', sans-serif; position: relative; z-index: 1; }
.cta-header { text-align: center; margin-bottom: 3.5rem; }
.cta-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; margin-bottom: 1.2rem; }
.cta-header p { color: var(--muted); font-size: 1rem; max-width: 55ch; margin: 0 auto; line-height: 1.7; }

.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.cta-card { background: var(--ink); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; transition: all 0.3s ease; }
.cta-card:hover { border-color: var(--teal); background: var(--card); transform: translateY(-4px); }
.cta-card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.cta-card-icon svg { width: 24px; height: 24px; }
.cta-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; margin: 0; color: var(--text); }
.cta-card p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; flex: 1; }
.cta-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cta-tag { font-family: 'DM Mono', monospace; font-size: 0.65rem; padding: 0.2rem 0.7rem; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); }

.mailto-btn { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.85rem 1.4rem; border-radius: 8px; font-size: 0.82rem; font-weight: 500; text-decoration: none; border: 1px solid; transition: all 0.25s; margin-top: 0.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.mailto-btn:hover { opacity: 0.9; transform: scale(1.02); }
.mailto-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-blue  { background: rgba(56, 189, 248, 0.1); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.3); }
.btn-green { background: rgba(45, 212, 191, 0.1); color: #2dd4bf; border-color: rgba(45, 212, 191, 0.3); }
.btn-amber { background: rgba(226, 201, 126, 0.1); color: #e2c97e; border-color: rgba(226, 201, 126, 0.3); }

@media (max-width: 1024px) {
  .cta-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cta-cards { grid-template-columns: 1fr; }
}

/* FOOTER */
footer { padding: 3rem 4vw; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--muted); }
.footer-logo span { color: var(--teal); }
.footer-note { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 0.6; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .paradigm-grid, .global-inner, .news-featured { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  nav { padding: 1rem 4vw; }
  .nav-lang { margin-left: 1rem; gap: 0.5rem; }
  .nav-cta { padding: 0.4rem 0.8rem; font-size: 0.65rem; }
  .nav-logo { font-size: 1.1rem; }
  .news-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
}

/* Language specific overrides */
[lang="ko"] .pillar-word { font-style: normal; font-weight: 600; font-size: 1.4rem; }
[lang="ko"] .hero h1 { line-height: 1.15; }
