/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* === Layout === */
.container { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* === Hero === */
.hero {
  background: #0a0a0a;
  color: #ffffff;
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  margin-bottom: 72px;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #5b9bd5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero-tagline {
  font-size: 1.15rem;
  color: #a8b2d1;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: #1a5276;
  color: #fff;
}

.btn--primary:hover {
  background: #1a6491;
  text-decoration: none;
}

.btn--secondary {
  background: rgba(255,255,255,0.08);
  color: #c8d0e0;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.14);
  text-decoration: none;
}

/* === Hero Stats === */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
}

.stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child { border-right: none; }

.stat__value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.78rem;
  color: #8892b0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* === Sections === */
.section { padding: 80px 0; }
.section--alt { background: #f7f8fb; }
.section--dark {
  background: #0f0c29;
  background: #0a0a0a;
  color: #ffffff;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 1.05rem;
  color: #8892b0;
  max-width: 500px;
}

.section-header p.wide {
  max-width: none;
}

.section--dark .section-header p {
  color: #8892b0;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e2e6ee;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #1a5276;
  z-index: 1;
}

/* === Conference Cards === */
.conference-card {
  background: #ffffff;
  border: 1px solid #e2e6ee;
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.conference-card:hover {
  box-shadow: 0 8px 32px rgba(26,82,118,0.08);
  transform: translateY(-2px);
}

.conference-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.conference-card h3 a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.conference-card h3 a:hover { color: #1d4ed8; text-decoration-color: #1d4ed8; }
.conference-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.conference-meta {
  font-size: 0.85rem;
  color: #8892b0;
}

.conference-backed {
  font-size: 0.82rem;
  color: #2563eb;
  font-weight: 500;
  margin-bottom: 16px;
}

.conference-tags {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--solo {
  background: #eff6ff;
  color: #2563eb;
}

.tag--panel {
  background: #f0f2f5;
  color: #666;
}

/* === Session Items === */
.conference-sessions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 14px;
  background: #f7f8fb;
  border-radius: 8px;
}

.session-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  white-space: nowrap;
  min-width: 48px;
}

.session-item p {
  font-size: 0.92rem;
  color: #444;
  margin: 0;
}

.session-item a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.session-item a:hover { color: #1d4ed8; }

/* === Research Cards === */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.research-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

.research-card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}

.research-card__icon {
  color: #5b9bd5;
  margin-bottom: 16px;
}

.research-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.research-card p {
  font-size: 0.9rem;
  color: #a8b2d1;
  line-height: 1.6;
  margin-bottom: 12px;
}

.research-card a {
  color: #5b9bd5;
  font-size: 0.85rem;
  font-weight: 500;
}

.research-card a:hover { text-decoration: underline; }

.research-link {
  display: inline-block;
  margin-top: 8px;
}

/* === About Grid === */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

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

.highlight {
  padding: 20px;
  background: #f7f8fb;
  border-radius: 10px;
  border-left: 3px solid #1a5276;
}

.highlight__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.highlight__desc {
  font-size: 0.85rem;
  color: #8892b0;
}

/* === Blog === */
.blog-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e6ee;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(26,82,118,0.06);
  text-decoration: none;
}

.blog-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 10px 0;
  color: #1a1a2e;
}

.blog-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 16px;
}

.blog-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
}

/* === Contact Grid === */
.contact-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #f7f8fb;
  border: 1px solid #e2e6ee;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1a1a2e;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: #2563eb;
  background: #eff6ff;
  text-decoration: none;
}

.contact-card svg {
  color: #2563eb;
}

/* === Footer === */
.footer {
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #8892b0;
  border-top: 1px solid #e2e6ee;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 64px 0 0; }
  .hero h1 { font-size: 2rem; }
  .hero-content { margin-bottom: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
  .research-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .conference-card__top { flex-direction: column; }
  .section { padding: 56px 0; }
  .timeline { padding-left: 24px; }
  .timeline-marker { left: -24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .contact-grid { flex-direction: column; }
}

/* === Article Page === */
.article { padding: 48px 0 80px; }
.article-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #e2e6ee; }
.article-header h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 12px; }
.article-header .subtitle { font-size: 1.1rem; color: #8892b0; font-style: italic; }
.article-header .meta { margin-top: 16px; font-size: 0.88rem; color: #8892b0; }

.article h2 { font-size: 1.4rem; font-weight: 600; margin: 48px 0 20px; color: #1a1a2e; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 12px; color: #1a1a2e; }
.article p { margin-bottom: 18px; max-width: 680px; }
.article ul, .article ol { margin: 0 0 18px 24px; max-width: 680px; }
.article li { margin-bottom: 6px; }
.article strong { color: #1a1a2e; }
.article code { font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace; background: #f0f2f5; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.article pre { background: #1a1a2e; color: #e6e6e6; padding: 20px 24px; border-radius: 8px; overflow-x: auto; margin: 0 0 24px; }
.article pre code { background: none; padding: 0; color: inherit; font-size: 0.88rem; line-height: 1.6; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; max-width: 680px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e6ee; font-size: 0.92rem; }
.article th { font-weight: 600; color: #1a1a2e; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.article blockquote { border-left: 3px solid #1a5276; padding-left: 20px; margin: 0 0 24px; color: #555; font-style: italic; }
.article a { color: #2563eb; }
.article a:hover { text-decoration: underline; }
.article .back-link { display: inline-block; margin-bottom: 32px; font-size: 0.9rem; color: #2563eb; }
.article .disclaimer { background: #f7f8fb; border: 1px solid #e2e6ee; border-radius: 8px; padding: 16px 20px; margin-top: 48px; font-size: 0.88rem; color: #555; }

@media (max-width: 600px) {
  .article-header h1 { font-size: 1.5rem; }
  .article { padding: 32px 0 60px; }
}
