/* 
 * Asperitas Inc. - Premium Light Design System (Updated)
 * Inspired by Palantir & Ginkgo Bioworks (Light Theme)
 * Core Fonts: Pretendard & Alliance 2 (substituted by Outfit)
 */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f5f7;
  --bg-card: #ffffff;
  --accent-green: #0a7e54; /* Premium botanical dark green for contrast */
  --accent-green-light: #e6f6f0;
  --accent-blue: #0052cc;
  --accent-blue-light: #ebf2ff;
  --text-primary: #111827; /* Dark slate black */
  --text-secondary: #4b5563; /* Medium slate gray */
  --text-muted: #9ca3af; /* Light gray for mute */
  --border-color: #e5e7eb; /* Subtle light gray border */
  
  --glass-bg: rgba(255, 255, 255, 0.35); /* Translucent, no solid base color */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px; /* High blur */
  
  /* Fonts */
  --font-title: 'Alliance2', 'Alliance 2', 'Outfit', 'Pretendard', -apple-system, sans-serif;
  --font-body: 'Pretendard', -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;
  
  /* Animation */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-padding {
  padding: 120px 0;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 50%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 20px;
  display: inline-block;
}

/* Header Component (Translucent Sheet) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.08); /* Transparent glass base */
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* Scrolled/Light states only alter text Legibility and slightly opacity - NO solid color base */
.header.scrolled,
.header.light-nav {
  background: rgba(255, 255, 255, 0.35); /* Translucent slightly frosted */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px; /* Fixed, constant height on all pages & scroll actions */
  width: auto;
  object-fit: contain;
  transition: filter var(--transition-fast);
}

.header.scrolled .logo-img,
.header.light-nav .logo-img {
  filter: brightness(0); /* Converts white logo to pure black logo on scroll */
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

/* Navigation Dropdowns (Slide-down hover menus) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 16px 20px;
  width: 220px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}

.dropdown-link {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  padding: 6px 0;
  transition: var(--transition-fast);
  text-align: left;
}

.dropdown-link:hover {
  color: var(--accent-green);
  transform: translateX(4px);
}

/* Nav links styling */
.nav-link {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 24px 0; /* Padding expanded for hover trigger area */
  display: block;
}

.header.scrolled .nav-link,
.header.light-nav .nav-link {
  color: var(--text-secondary);
}

.nav-link:hover {
  color: #ffffff;
}

.header.scrolled .nav-link:hover,
.header.light-nav .nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: var(--transition-fast);
}

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

.header .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.header.scrolled .btn-secondary,
.header.light-nav .btn-secondary {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.header.scrolled .btn-secondary:hover,
.header.light-nav .btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .header.scrolled .nav-menu,
  .header.light-nav .nav-menu {
    top: 75px;
    height: calc(100vh - 75px);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-menu.open .nav-link {
    color: var(--text-secondary);
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    align-items: center;
    padding: 0;
    gap: 10px;
    display: none; /* Handled in responsive JS or hidden for simplicity */
  }
}

/* Hero Section (Video/Photo full screen) */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #07090e;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  animation: zoom-pulse 60s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.2) 0%, #07090e 90%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'Alliance2', 'Alliance 2', 'Outfit', sans-serif !important; /* Force Alliance 2 */
  font-size: 72px;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #ffffff;
  animation: fade-in-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-down svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Slider Section (Edge-to-Edge) */
.slider-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-card);
  border: none;
  box-shadow: none;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  height: 75vh;
  background-color: #000000;
}

.slide-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-img {
  max-width: 800px;
  max-height: 55vh;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

/* Glassmorphic Slide Caption on Top-Left (Pretendard Font style) */
.slide-content {
  position: absolute;
  top: 60px;
  left: 80px;
  width: 480px;
  height: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
  background: rgba(10, 10, 10, 0.7); /* Transparent black base */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  font-family: 'Pretendard', sans-serif !important; /* Force Pretendard */
}

@media (max-width: 768px) {
  .slide-content {
    width: calc(100% - 40px);
    left: 20px;
    top: 20px;
    padding: 24px;
  }
}

.slide-meta {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.slide-title {
  font-family: 'Alliance2', 'Alliance 2', 'Outfit', sans-serif !important; /* Large, Thin Font Stack for Slider Titles */
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 0;
  line-height: 1.25;
  color: #ffffff;
}

.slide-desc {
  display: none; /* Removed secondary descriptions in favor of main bold titles */
}

/* Slider Pill Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-arrow-left {
  left: 24px;
}

.slider-arrow-right {
  right: 24px;
}

/* Typewriter Animation Section */
.typing-section {
  background-color: var(--bg-primary);
  padding: 160px 0;
  border-bottom: 1px solid var(--border-color);
}

.typing-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-text {
  font-family: 'Pretendard', sans-serif !important; /* Force Pretendard */
  font-size: 42px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: inline;
}

@media (max-width: 768px) {
  .typing-text {
    font-size: 26px;
  }
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 42px;
  background-color: var(--accent-green);
  margin-left: 6px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}

@media (max-width: 768px) {
  .typing-cursor {
    height: 26px;
  }
}

@keyframes blink {
  from, to { background-color: transparent }
  50% { background-color: var(--accent-green); }
}

/* Our Platform Section */
.platform-section {
  background-color: var(--bg-primary);
}

.platform-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
}

.platform-row {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .platform-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 50px 0;
  }
}

.platform-info {
  padding-right: 40px;
}

.platform-num {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.platform-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.platform-title-wrapper {
  padding-left: 0;
  text-align: right;
}

@media (max-width: 768px) {
  .platform-title-wrapper {
    text-align: left;
  }
}

.platform-title {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  transition: var(--transition-smooth);
}

.platform-row:hover .platform-title {
  transform: translateX(-10px);
  color: var(--accent-green);
}

@media (max-width: 1024px) {
  .platform-title {
    font-size: 56px;
  }
}
@media (max-width: 768px) {
  .platform-title {
    font-size: 40px;
  }
}

/* Split Card Section (Pretendard Font Style) */
.card-split-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.card-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .card-split-grid {
    grid-template-columns: 1fr;
  }
}

.card-split-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
}

.card-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-split-text {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Pretendard', sans-serif !important; /* Force Pretendard */
}

.card-split-title {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.card-split-desc {
  font-family: 'Pretendard', sans-serif !important;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 30px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: 'Pretendard', sans-serif !important; /* Force Pretendard */
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Bottom Dual Call to Action */
.cta-dual-section {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border-color);
}

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

.cta-box {
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

@media (max-width: 480px) {
  .cta-box {
    padding: 60px 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

.cta-box.light {
  background-color: #e5e7eb;
  color: #111827;
  border-right: 1px solid var(--border-color);
}

.cta-box.dark {
  background-color: #111827;
  color: #ffffff;
}

.cta-box:hover {
  filter: brightness(0.96);
}

.cta-box.dark:hover {
  filter: brightness(1.1);
}

.cta-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cta-arrow {
  font-size: 32px;
  transition: var(--transition-fast);
}

.cta-box:hover .cta-arrow {
  transform: translateX(10px);
}

/* Partners Marquee Section */
.partners-section {
  padding: 60px 0;
  background: var(--bg-primary);
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-section::before,
.partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
  gap: 60px;
  padding-right: 60px;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

.partner-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer Section */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  height: 32px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  width: fit-content;
}

.social-btn:hover {
  color: var(--accent-green);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

/* Animations */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-8px) translateX(-50%);
  }
  60% {
    transform: translateY(-4px) translateX(-50%);
  }
}

@keyframes zoom-pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Sub-page Specific Styles */

/* Header / Hero for Sub-pages */
.sub-hero {
  padding: 160px 0 80px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  background: radial-gradient(circle at 80% 20%, var(--accent-green-light) 0%, transparent 50%);
}

.sub-hero-title {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.sub-hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .sub-hero-title {
    font-size: 38px;
  }
  .sub-hero-subtitle {
    font-size: 16px;
  }
}

/* Overview Section Grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.overview-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.overview-desc p {
  margin-bottom: 24px;
}

.overview-sidebar {
  border-left: 2px solid var(--accent-green);
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-quote {
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 400;
  color: var(--text-primary);
}

.overview-author {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Team Grid Component (Updated to Black & White square layouts) */
.team-section-divider {
  border-top: 1px solid var(--border-color);
  margin: 60px 0 40px 0;
  position: relative;
}

.team-section-divider span {
  position: absolute;
  top: -10px;
  left: 0;
  background: var(--bg-primary);
  padding-right: 16px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  transition: none;
  cursor: pointer;
}

.team-card:hover {
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.team-avatar-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Force square */
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 0; /* Square borders */
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Default Black & White */
  transition: filter var(--transition-smooth), transform var(--transition-smooth);
}

.team-card:hover .team-avatar-img {
  filter: grayscale(0%); /* Color version on hover */
  transform: scale(1.02);
}

.team-info {
  padding: 16px 0 0 0;
}

.team-name {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.team-role {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.team-bio-link {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.team-card:hover .team-bio-link {
  text-decoration: underline;
}

/* Faculty & Advisory layouts styling */
.faculty-section, .advisory-section {
  width: 100%;
}

.advisory-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .advisory-list {
    grid-template-columns: 1fr;
  }
}

.advisory-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 6px;
}

.advisory-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.advisory-affiliation {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Detailed Person Profile Pages */
.profile-section {
  padding: 160px 0 80px 0;
  background-color: var(--bg-primary);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.profile-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.profile-title-role {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 18px;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 30px;
}

.profile-bio-content {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.profile-bio-content p {
  margin-bottom: 20px;
}

.profile-sub-section {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.profile-sub-title {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.profile-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-list-items li {
  font-family: 'Pretendard', sans-serif !important;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.profile-list-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
}

/* Technology Overview & Our Platform layouts */
.tech-overview-banner {
  background-color: #07090e;
  color: #ffffff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-overview-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}

.tech-overview-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.tech-overview-label {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  border-bottom: 2px solid #ffffff;
  padding-bottom: 4px;
  display: inline-block;
  margin-bottom: 24px;
}

.tech-overview-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tech-overview-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.tech-platform-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.tech-platform-row {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .tech-platform-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.tech-platform-row:last-child {
  border-bottom: none;
}

.tech-platform-info {
  display: flex;
  flex-direction: column;
}

.tech-platform-title {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.tech-platform-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tech-platform-visual {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
}

.tech-platform-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Company Page Blueprint Grid Hero */
.company-hero {
  position: relative;
  height: 65vh;
  background-color: #f4f5f7;
  background-image: 
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.overview-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background: var(--bg-primary);
  border: 2px solid var(--text-primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.overview-tag {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.overview-card-title {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.overview-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team Dividers */
.team-section-header {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  margin-top: 60px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  letter-spacing: -0.02em;
}

/* Team Click Details Modal Popup */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-modal.open {
  display: flex;
  opacity: 1;
}

.team-modal-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 95%;
  max-width: 1000px;
  position: relative;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}

.team-modal.open .team-modal-content {
  transform: scale(1);
}

.team-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.team-modal-close:hover {
  color: var(--text-primary);
}

.team-modal-left {
  width: 100%;
}

.team-modal-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-modal-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border-color);
  margin-bottom: 0;
}

.team-modal-name {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.team-modal-role {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 15px;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 20px;
}

.team-modal-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.team-modal-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-modal-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0077b5;
  transition: var(--transition-fast);
}

.team-modal-linkedin:hover {
  color: #005582;
  transform: translateY(-2px);
}

.team-modal-linkedin svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .team-modal-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }
  .team-modal-left {
    max-width: 250px;
    margin: 0 auto;
  }
  .team-modal-right {
    align-items: center;
    text-align: center;
  }
}

/* Updated Careers Section Layout */
.careers-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.careers-text-left {
  max-width: 550px;
}

.careers-heading-left {
  font-family: var(--font-body) !important;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.careers-desc-left {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.careers-right-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.careers-heading-right {
  font-family: var(--font-body) !important;
  font-size: 64px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.btn-careers-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111827; /* solid black button */
  color: #ffffff; /* white text */
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-fast);
  font-family: var(--font-body) !important;
}

.btn-careers-apply:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

/* Footer Force Pretendard Font */
.footer {
  font-family: var(--font-body) !important;
}

.footer-col-title {
  font-family: var(--font-body) !important;
}

.footer-links-col ul li a {
  font-family: var(--font-body) !important;
}

/* Technology Page "Our Platform" Layout */
.tech-platform-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
}

@media (max-width: 992px) {
  .tech-platform-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.tech-platform-heading {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
  border-bottom: 2px solid var(--text-primary);
  padding-bottom: 8px;
}

.tech-platform-right {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tech-card-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.tech-card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .tech-card-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tech-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-card-title {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.tech-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tech-card-link {
  font-family: var(--font-body) !important; /* Force Pretendard */
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  transition: var(--transition-fast);
}

.tech-card-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

.tech-card-media {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
}

.tech-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.tech-card-item:hover .tech-card-media img {
  transform: scale(1.02);
}

/* Sourcing Globe Section */
.globe-section {
  background-color: var(--bg-primary); /* White background */
  color: var(--text-primary); /* Dark text */
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.globe-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 85px;
  align-items: center;
}

@media (max-width: 992px) {
  .globe-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.globe-text-left {
  max-width: 600px;
}

.globe-heading {
  font-family: var(--font-body) !important;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.globe-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.globe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 450px;
  margin: 0 auto;
}

#globe-svg {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe-svg:active {
  cursor: grabbing;
}

/* Species Catalog Section */
.species-section {
  background-color: var(--bg-primary);
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.species-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.species-title {
  font-family: var(--font-body) !important;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.species-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Controls: Search & Filters */
.species-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.species-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.species-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
}

.species-search-input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(0, 255, 128, 0.1);
}

.species-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.species-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.species-tab {
  padding: 8px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.species-tab:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.species-tab.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Show More button – same look as species-tab but separate selector */
.species-more-btn-style {
  padding: 8px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.species-more-btn-style:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Species Grid */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.species-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.species-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
}

.species-card-top {
  margin-bottom: 16px;
}

.species-card-name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.species-card-group {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.species-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* IUCN Badges */
.iucn-badge {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
}

.iucn-badge.cr {
  background: rgba(235, 87, 87, 0.15);
  color: #eb5757;
  border: 1px solid rgba(235, 87, 87, 0.3);
}

.iucn-badge.en {
  background: rgba(242, 153, 74, 0.15);
  color: #f2994a;
  border: 1px solid rgba(242, 153, 74, 0.3);
}

.iucn-badge.vu {
  background: rgba(242, 201, 76, 0.15);
  color: #f2c94c;
  border: 1px solid rgba(242, 201, 76, 0.3);
}

.iucn-badge.nt {
  background: rgba(43, 158, 89, 0.15);
  color: #2b9e59;
  border: 1px solid rgba(43, 158, 89, 0.3);
}

.iucn-badge.lc {
  background: rgba(112, 128, 144, 0.15);
  color: #708090;
  border: 1px solid rgba(112, 128, 144, 0.3);
}

.iucn-badge.dd {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* Species Catalog — JS-paginated, no CSS height clip needed */
.species-grid-wrapper {
  width: 100%;
}

.species-more-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Species Sourcing/Specimen Request CTA Box */
.species-request-box {
  margin-top: 60px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Row of action buttons inside request box */
.species-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.species-request-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}



