:root {
  --color-bg: #0a1628;
  --color-bg-light: #0f1f35;
  --color-card: #ffffff;
  --color-text: #ffffff;
  --color-text-dark: #0f172a;
  --color-text-muted-dark: #475569;
  --color-border-dark: rgba(15, 23, 42, 0.15);
  --color-accent: #2563eb;
  --color-accent-glow: rgba(37, 99, 235, 0.1);
  --color-secondary: #00d2ff;
  --font-main: 'Inter', 'Noto Sans Jp', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', 'Noto Serif JP', serif;
  --space-sm: 0.5rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  /* New Animation Variables */
  --anim-reveal: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

.section,
.updates {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.reveal,
.updates.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  /* Reduced gap to bring menu closer to logo */
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: opacity 0.3s ease;
  margin-right: 8px;
}

.logo:hover {
  opacity: 0.8;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 700;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 2px;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
  /* Push nav links to the right */
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:not(.nav-cta):hover {
  color: #ffffff;
}

/* Hover underline effect */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--color-accent);
  color: white !important;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* Language Toggle */
.lang-toggle {
  /* margin-left removed to keep it next to nav-links */
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px;
  gap: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-btn {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    padding: 80px 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
  }

  .lang-toggle {
    position: relative;
    z-index: 1001;
  }
}

/* ---------- Hero ---------- */
.hero {
  height: 90vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #000000;
  /* Pure black background */
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-visual {
  position: absolute;
  inset: -50px;
  /* Oversize for safe panning */
  background: #000000;
  /* Pure black */
  z-index: 0;
  animation: hero-pan-zoom 30s ease-in-out infinite;
  opacity: 1;
  will-change: transform;
}

@keyframes hero-pan-zoom {
  0% {
    transform: scale(1.05) translate(0, 0) rotate(0deg);
  }

  25% {
    transform: scale(1.15) translate(-1%, 2%) rotate(1deg);
  }

  50% {
    transform: scale(1.1) translate(1%, -1%) rotate(-1deg);
  }

  75% {
    transform: scale(1.2) translate(-2%, -2%) rotate(0.5deg);
  }

  100% {
    transform: scale(1.05) translate(0, 0) rotate(0deg);
  }
}



.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Darker gradient for better blending */
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
  animation: overlay-pulse 10s ease-in-out infinite;
}

@keyframes overlay-pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}



.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 20;
  /* Ensure content sits above scroll indicator */
  width: 100%;
}

.hero-content {
  max-width: 800px;
  /* Increased to allow better flow for large titles */
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 10;
  padding: 140px 0 100px;
  /* Increased top padding to avoid navbar collision */
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-image-v2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.hero-image-v2 img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 24px;
  /* Even more gradual mask for perfect transition */
  mask-image: radial-gradient(circle at center, black 30%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 92%);
  /* helping dark parts blend into black while highlights pop */
  mix-blend-mode: lighten;
  /* Often cleaner than screen on pure black background */
  filter: contrast(1.15) brightness(1.15);
  box-shadow:
    0 0 120px rgba(37, 99, 235, 0.15);
  /* More subtle, wider glow */
}



.hero-badge-fancy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge-fancy:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-badge-fancy::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(37, 99, 235, 0.8);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.hero h1 {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 28px;
  align-items: flex-start;
}

.title-main {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.5),
    0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 4px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .title-main {
    white-space: normal;
  }
}

.title-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
}





.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  /* Increased from 650px to prevent wrapping */
  margin: 0 0 40px 0;
  /* Left aligned margin */
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: #fff;
  animation: scroll-anim 2s infinite ease-in-out;
}

@keyframes scroll-anim {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(330%);
  }
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .hero h1 {
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px auto;
    text-align: center;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-image-v2 img {
    max-width: 400px;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    justify-content: center;
    background-image:
      radial-gradient(circle at center, rgba(5, 13, 26, 0.85) 0%, rgba(5, 13, 26, 0.95) 100%),
      url('./images/hero_neural_right.jpg');
    background-position: center;
    background-size: cover;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(5, 13, 26, 0.8) 0%, #050d1a 100%);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge-fancy {
    padding-left: 0;
  }

  .hero-badge-fancy::before {
    display: none;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Hero Actions (Sophisticated/Tech) ---------- */
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 16px;
    width: 100%;
  }

  .btn-pill-premium {
    min-width: auto;
    width: calc(100% - 40px);
    max-width: 320px;
    margin: 0 auto;
    padding: 20px 40px;
  }
}

/* Base Button Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  border-radius: 8px;
  /* Tech/Clean look */
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
  /* Adds a bit of scientific rigidity */
  backdrop-filter: blur(8px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* Primary Button (View Database) - Modern Bold Style */
.btn-primary {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  font-weight: 600;
}

.btn-primary:hover {
  background: #3b82f6;
  /* Slightly darker/richer blue */
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:hover svg {
  transform: scale(1.1) rotate(15deg);
  stroke: #ffffff;
}

/* Pill Premium Button */
/* Pill Premium Button - Transparent & Elegant */
.btn-pill-premium {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  z-index: 50;
  text-decoration: none;
  min-width: 320px;
}

.btn-pill-premium:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-pill-premium::after {
  content: none;
  /* Remove arrow */
}

.btn-top-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.btn-main-label {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Outline Button (Generic) */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(74, 158, 255, 0.3);
  padding: 10px 24px;
  font-size: 0.9rem;
  text-transform: none;
  /* Keep generic buttons normal case */
  letter-spacing: normal;
  border-radius: 6px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Remove old animations or redefine if needed, currently clean interactions are preferred */


.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

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

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Compact Updates Section ---------- */
.updates {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.updates-container {
  max-width: 800px;
  margin: 0 auto;
}

.update-timeline-large {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-timeline-large li {
  position: relative;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.update-timeline-large li:last-child {
  margin-bottom: 0;
}

.update-timeline-large li::before {
  display: none;
}



.update-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
  font-weight: 500;
  min-width: 100px;
}

.update-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.update-timeline-large li:hover .update-content {
  transform: translateX(4px);
}

.category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.category-tag.data {
  background: rgba(0, 210, 255, 0.1);
  color: var(--color-secondary);
}

.category-tag.tutorial {
  background: rgba(74, 158, 255, 0.1);
  color: var(--color-accent);
}

.update-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

@media (max-width: 600px) {
  .update-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- Section Header ---------- */
.section-header {
  margin-bottom: 64px;
}

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

.section-header.center .section-label {
  justify-content: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: #1e3a8a;
}

.about .section-header h2 {
  background: none;
  -webkit-text-fill-color: #111827;
}

.section-header p {
  color: #4b5563;
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: balance;
  letter-spacing: 0;
  font-weight: 400;
}

.section-header.center p {
  margin: 0 auto;
}

/* ---------- About Section ---------- */
.about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: white;
  color: var(--color-text-dark);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.about-card h3::before {
  display: none;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted-dark);
}

/* ---------- Introduction (Simple Text Style) ---------- */
.about {
  background-color: #ffffff;
  color: #111827;
  padding: 100px 0;
  border-bottom: 1px solid #e5e7eb;
}

.about-simple-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-simple-header {
  margin-bottom: 48px;
  text-align: left;
  border-top: 1px solid #e5e7eb;
  padding-top: 48px;
}

.section-label-simple {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.about-simple-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #1e3a8a;
  line-height: 1.3;
}

.about-simple-text p {
  font-size: 1.05rem;
  line-height: 2;
  /* Increased line-height for elegance */
  color: #1f2937;
  margin-bottom: 32px;
  max-width: 100%;
}

/* Stylish First Paragraph Lead-in Removed */

.about-simple-text p:last-child {
  margin-bottom: 0;
}

.about-simple-text a {
  color: #1e3a8a;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.about-simple-text strong {
  color: #111827;
  font-weight: 600;
}

@media (min-width: 768px) {
  .about-simple-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    /* Increased gap for better breathing room */
    align-items: start;
    max-width: 1200px;
  }

  .about-simple-header {
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
    position: relative;
  }

  /* Decorative Line */
  .about-simple-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
  }

  /* Decorative Background Circle */
  .about-simple-header::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
  }

  .about-simple-text {
    position: relative;
    padding-left: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    /* Magazine-style separator */
  }
}

/* ---------- Database Section ---------- */
.database {
  background: #f8fafc;
  border-bottom: none;
  padding: 100px 0;
}

.database-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Featured Dataset Card ---- */
.featured-dataset-card {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  text-decoration: none;
  position: relative;
}

.featured-dataset-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Accent Bar */
.featured-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #93c5fd);
}

/* Content Wrapper */
.featured-content {
  padding: 36px 40px 32px;
}

/* Top Section */
.featured-top {
  margin-bottom: 28px;
}

.featured-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.featured-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  font-family: var(--font-display);
}

.featured-date svg {
  opacity: 0.6;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.featured-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Stats Row */
.featured-stats-row {
  display: flex;
  align-items: stretch;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  padding: 20px 8px;
  margin-bottom: 24px;
}

.fstat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  padding: 0 8px;
}

.fstat-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.fstat-unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: -2px;
}

.fstat-name {
  font-size: 0.6rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 2px;
}

.fstat-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: stretch;
  margin: 4px 0;
}

/* Description */
.featured-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 20px;
}

/* Bottom Section */
.featured-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ftag {
  font-size: 0.72rem;
  padding: 5px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #e2e8f0;
}

.ftag-green {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.featured-authors {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.featured-authors svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: #1e3a8a;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-dataset-card:hover .featured-cta {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.featured-cta svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-dataset-card:hover .featured-cta svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 700px) {
  .featured-content {
    padding: 24px 20px 24px;
  }

  .featured-stats-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .fstat-item {
    min-width: calc(33% - 12px);
  }

  .fstat-divider {
    display: none;
  }

  .featured-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .featured-title {
    font-size: 1.4rem;
  }
}

.data-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.data-card-header {
  padding: 24px 24px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.sample-badge,
.complete-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

/* More refined badge colors */
.sample-badge {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.complete-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

.data-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.data-card-header p {
  font-size: 0.85rem;
  color: #64748b;
  font-family: var(--font-display);
  font-weight: 500;
}

.data-card-body {
  padding: 24px;
  flex-grow: 1;
}

.data-card-body>p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

.data-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.data-card:hover .meta-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
}

.meta-value {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  font-family: var(--font-display);
  line-height: 1.2;
}

/* Credits Section */
.data-credits {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.credit-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credit-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 700;
}

.credit-value {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
}

.credit-value.authors {
  color: #1e40af;
  /* Highlight authors lightly */
}

.data-card-footer {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.data-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.data-tags .tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--color-accent);
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.data-card-action {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.data-card:hover .data-card-action {
  transform: rotate(-15deg) scale(1.1);
}

/* ---------- Tutorials Section ---------- */
.tutorials {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.tutorial-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tutorial-visual {
  background: #1a2a40;
  border-radius: 12px;
  overflow: hidden;
}

.code-window {
  background: #0d1117;
  border-radius: 8px;
  margin: 20px;
}

.code-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #161b22;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red {
  background: #ff5f56;
}

.code-dot.yellow {
  background: #ffbd2e;
}

.code-dot.green {
  background: #27ca3f;
}

.code-body {
  padding: 16px;
  font-family: 'Consolas', monospace;
  font-size: 0.8rem;
  color: #c9d1d9;
  line-height: 1.8;
}

.code-body .keyword {
  color: #ff7b72;
}

.code-body .string {
  color: #a5d6ff;
}

.code-body .function {
  color: #d2a8ff;
}

.code-body .comment {
  color: #8b949e;
}

.tutorial-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tutorial-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  color: var(--color-text-dark);
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tutorial-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
}

.tutorial-item:hover .tutorial-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--color-accent);
  color: #ffffff;
}

.tutorial-item:hover .tutorial-icon svg {
  stroke: #ffffff;
}

.tutorial-icon {
  width: 40px;
  height: 40px;
  background: #e8f4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tutorial-item:hover .tutorial-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--color-accent);
  color: #ffffff;
}

.tutorial-item:hover .tutorial-icon svg {
  stroke: #ffffff;
}

.tutorial-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
}

.tutorial-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tutorial-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
}

/* ---------- Contact Section ---------- */
.contact {
  background: #ffffff;
  text-align: center;
}

.contact-card {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--color-text-dark);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(10, 22, 40, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.contact-email svg {
  stroke: var(--color-accent);
}

/* ---------- Information Section ---------- */
.info {
  background: #f1f5f9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.info-card {
  background: #ffffff;
  color: var(--color-text-dark);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(10, 22, 40, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-card:hover {
  background: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-icon {
  width: 42px;
  height: 42px;
  background: rgba(74, 158, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
  font-family: var(--font-display);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted-dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
}

.update-list li:last-child {
  border-bottom: none;
}

.update-date {
  display: inline-block;
  font-weight: 600;
  color: var(--color-accent);
  min-width: 90px;
  margin-right: 12px;
}

/* ---------- Compact Contact Banner ---------- */
.contact-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #eef2f6;
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-compact-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-compact-text strong {
  color: var(--color-text-dark);
  font-size: 1rem;
  font-weight: 700;
}

.contact-compact-text span {
  color: var(--color-text-muted-dark);
  font-size: 0.9rem;
}

.contact-compact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-compact-btn:hover {
  background: #3d8be6;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-compact {
    flex-direction: column;
    text-align: center;
  }

  .contact-compact-text {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---------- Featured Publication (inside Resources) ---------- */
.featured-publication {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(74, 158, 255, 0.05) 100%);
  border: 1px solid rgba(10, 22, 40, 0.15);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.featured-publication::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.featured-pub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.featured-pub-badge svg {
  width: 14px;
  height: 14px;
}

.featured-pub-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.featured-pub-info {
  flex: 1;
  min-width: 300px;
}

.featured-pub-journal {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.featured-pub-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.featured-pub-info p {
  font-size: 0.95rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0;
}

.featured-pub-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.15);
  border-radius: 8px;
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.featured-pub-btn svg {
  width: 16px;
  height: 16px;
}

.featured-pub-btn:hover {
  background: #f8fafc;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.featured-pub-btn.primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: transparent;
  color: #1a1a2e;
}

.featured-pub-btn.primary:hover {
  box-shadow: 0 5px 20px rgba(251, 191, 36, 0.3);
}

@media (max-width: 768px) {
  .featured-pub-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-pub-actions {
    width: 100%;
  }

  .featured-pub-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------- Announcement Banner ---------- */
.announcement-banner {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(0, 210, 255, 0.05) 100%);
  border-bottom: 1px solid rgba(74, 158, 255, 0.2);
  padding: 20px 0;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.announcement-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
}

.announcement-badge svg {
  width: 16px;
  height: 16px;
}

.announcement-text {
  flex: 1;
  min-width: 200px;
}

.announcement-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.announcement-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted-dark);
  line-height: 1.6;
}

.announcement-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.announcement-link.primary {
  background: var(--color-accent);
  color: white;
}

.announcement-link.primary:hover {
  background: #3d8be6;
  transform: translateY(-2px);
}

.announcement-link.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement-link.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .announcement-content {
    flex-direction: column;
    text-align: center;
  }

  .announcement-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Resources Section ---------- */
.resources {
  background: #ffffff;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.resource-item:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.resource-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.resource-item:hover .resource-icon {
  transform: scale(1.1);
}

.resource-icon svg {
  width: 28px;
  height: 28px;
}

.resource-icon.paper {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.resource-icon.code {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
}

.resource-icon.data {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.resource-icon.audio {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.resource-icon.event {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.resource-details {
  flex: 1;
}

.resource-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.resource-details h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.resource-details p {
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg);
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Language toggle - visible on mobile */
  .lang-toggle {
    margin-left: auto;
    margin-right: 16px;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  /* Hero adjustments for tablet/mobile */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
  }

  .hero-content {
    padding: 40px 0;
    text-align: center;
    align-items: center;
  }

  .hero h1 {
    align-items: center;
  }

  .title-main {
    font-size: 2.5rem;
    white-space: normal;
    line-height: 1.2;
  }

  .title-sub {
    font-size: 1rem;
    letter-spacing: 0.3em;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 32px auto;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  /* Pill button - smaller on mobile */
  .btn-pill-premium {
    padding: 16px 40px;
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }

  .btn-top-label {
    font-size: 0.75rem;
  }

  .btn-main-label {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero image */
  .hero-image-v2 {
    order: -1;
  }

  .hero-image-v2 img {
    max-width: 300px;
  }
}

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

  .section {
    padding: 60px 0;
  }

  /* Hero - extra small screens */
  .hero {
    padding: 100px 0 40px;
  }

  .hero-content {
    padding: 20px 0;
  }

  .title-main {
    font-size: 2rem;
  }

  .title-sub {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .btn-pill-premium {
    padding: 14px 32px;
    max-width: 260px;
  }

  .btn-top-label {
    font-size: 0.7rem;
  }

  .btn-main-label {
    font-size: 1.3rem;
  }

  .hero-badge-fancy {
    font-size: 0.6rem;
    padding: 8px 16px;
    margin-bottom: 20px;
  }

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

  .hero-image-v2 img {
    max-width: 240px;
  }

  /* Navbar logo smaller */
  .logo-main {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.6rem;
  }
}