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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-muted);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-description {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  gap: 1.25rem;
}

.hero-socials a {
  color: var(--text-muted);
  font-size: 1.4rem;
  transition: color var(--transition-fast);
}

.hero-socials a:hover {
  color: var(--accent-primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-fast);
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.about-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

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

/* Timeline (Education) */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  border-left: 2px solid var(--border-color);
  padding-left: 1.5rem;
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: calc(-1.5rem - 7px);
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

.timeline-title {
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.timeline-institution {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Box */
.contact-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  max-width: 750px;
  margin: 0 auto;
}

.contact-text {
  color: var(--text-muted);
  max-width: 500px;
  margin: 1rem auto 2rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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