/* --------- Base --------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020617; 
  color: #e5e7eb;
}

/* Links */

a {
  color: #22d3ee; 
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --------- Header / Nav --------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid #111827;
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #f9fafb;
}

.logo span {
  color: #22d3ee; 
}

.nav a {
  margin-left: 1.2rem;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.nav a:hover {
  color: #e5e7eb;
}

/* --------- Hero --------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem;
}


.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.35) 0, transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(129, 140, 248, 0.4) 0, transparent 55%),
    repeating-linear-gradient(
      to right,
      rgba(15, 23, 42, 0.7) 0,
      rgba(15, 23, 42, 0.7) 2px,
      rgba(15, 23, 42, 0.3) 3px,
      rgba(15, 23, 42, 0.3) 6px
    ),
    linear-gradient(to bottom, #020617 35%, #020617 100%);
  opacity: 0.9;
  z-index: -2;
}


/* .hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -120px;
  width: 70%;
  height: 220px;
  background:
    radial-gradient(circle at 0 100%, rgba(59, 130, 246, 0.7) 0, transparent 60%),
    linear-gradient(120deg, #4f46e5, #22d3ee);
  transform: skewY(-4deg);
  opacity: 0.75;
  z-index: -1;
} */

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

/* Text side */

.hero-text h1 {
  font-size: clamp(2.8rem, 4vw, 3.2rem);
  margin-bottom: 0.4rem;
}

.hero-text h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #38bdf8; /* lighter teal */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.hero-text p {
  max-width: 540px;
  color: #e5e7eb;
}

/* Buttons */

.hero-buttons {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #4f46e5); /* teal → purple */
  color: #020617;
  font-weight: 600;
}

.btn-outline {
  border-color: #22d3ee;
  color: #e5e7eb;
  background: transparent;
}

/* Social icons */

.hero-icons {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
}

.hero-icons a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
}



.hero-icons i {
  font-size: 1.1rem;
}

/* Photo */

.hero-photo {
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #020617;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

/* --------- Main content --------- */

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.section {
  margin-top: 2.7rem;
}

.section h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
}

/* Timeline / News */

.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.timeline .date {
  font-weight: 600;
  color: #22d3ee; /* teal date accent */
  margin-right: 0.4rem;
}

/* Cards */

.card {
  background: #020617;
  border-radius: 0.9rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid #111827;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.7);
}

.card h4 {
  margin: 0 0 0.2rem 0;
  font-size: 1.1rem;
}

.card-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* Footer */

.footer {
  text-align: center;
  padding: 1rem 0 1.8rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* --------- Responsive --------- */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-photo {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* --------- Publications --------- */

.publications .pub-item {
  display: grid;
  grid-template-columns: 200px auto;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: start;
}

.publications img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #1e293b;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Slightly larger for media */
.media .pub-item {
  display: grid;
  grid-template-columns: 200px auto;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: start;
}

.media img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #1e293b;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}


.publications .pub-text h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #e5e7eb;
  font-weight: 600;
}

.publications .authors {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.4;
}

.publications .venue {
  margin-top: 0.2rem;
  font-size: 1rem;
  color: #9ca3af;
}

.media .venue {
  margin-top: 0.2rem;
  font-size: 1rem;
  color: #9ca3af;
}

.publications .venue a {
  color: #38bdf8;
}

.authors .me {
  color: #38bdf8;  /* teal highlight */
  font-weight: 600;
}
