/* =============================================
   index.css — Homepage specific styles
   ============================================= */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

#brain-canvas {
  position: absolute;
  top: 0; right: 0;
  width: 52%;
  height: 100%;
  opacity: 0.65;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-h);
  width: 100%;
}

/* Company name — both equally prominent */
.hero-name-block {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease 0.2s forwards;
}

.hero-company-en {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-company-zh {
  font-family: var(--font-body);
  font-size: clamp(2.0rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--accent);
  max-width: 580px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease 0.38s forwards;
}

.hero-sub {
  font-size: 0.975rem;
  color: var(--text-body);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease 0.52s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease 0.65s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.5s ease 1.1s forwards;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg) translateY(-3px);
  animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(-3px); }
  50% { transform: rotate(45deg) translateY(3px); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* OVERVIEW STRIP */
.overview-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.overview-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.overview-item {
  text-align: center;
  padding: 0 0.5rem;
}
.overview-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.overview-label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.overview-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ABOUT */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--text-body); margin-bottom: 1rem; }

.mission-card { display: none; } /* removed */
.stats-grid { display: none; } /* removed */

.about-name-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  gap: 0.5rem;
}

.name-card-zh {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

.name-card-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* MISSION — full width, modern elegant */
.mission-section {
  background: linear-gradient(135deg, #0f2a6e 0%, #1d4ed8 45%, #0d9488 100%);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle grain texture overlay for depth */
.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.mission-full {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mission-full-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  display: block;
}

.mission-full-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

/* Decorative quote mark */
.mission-full::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: -3rem;
  left: -2rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* PLATFORM TEASER */
.platform-teaser {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  #brain-canvas { width: 100%; opacity: 0.1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
