/* index.css */

/* ── HERO ── */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-15);
  padding: var(--sp-25) var(--sp-15);
  max-width: var(--max-width);
  margin-inline: auto;
  min-height: calc(100vh - var(--header-height));
}

.hero-left {
  flex: 1;
  animation: fadeSlideUp 0.7s ease both;
}

.hero-left h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-5);
}

.desc {
  font-size: var(--fs-md);
  color: #666;
  max-width: 420px;
  margin-bottom: var(--sp-9);
}

.hero-buttons {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-right {
  flex: 0 0 340px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.glass-card h2 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  margin-bottom: var(--sp-5);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
}

.tech-grid span {
  background: var(--clr-primary-light);
  border: 1px solid var(--clr-primary-border);
  color: var(--clr-text-tag);
  padding: 8px var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.tech-grid span:hover {
  background: rgba(232, 98, 26, 0.18);
  transform: translateY(-2px);
}

/* ── SECTION TITLE ── */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.section-title .tag {
  margin-inline: auto;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: #666;
  max-width: 460px;
  margin-inline: auto;
}

/* ── INTERESTS ── */
.interests-section {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 80px var(--sp-15);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.interest-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fadeSlideUp 0.6s ease both;
}

.interest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(232, 98, 26, 0.13);
  border-color: rgba(232, 98, 26, 0.4);
}

.interest-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  background: var(--clr-primary-light);
  border: 1px solid var(--clr-primary-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.interest-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* ── STATS ── */
.stats-section {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 var(--sp-15) 100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(232, 98, 26, 0.13);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}

/* ── ANIMATION DELAYS ── */
.interest-card:nth-child(1) { animation-delay: 0.05s; }
.interest-card:nth-child(2) { animation-delay: 0.10s; }
.interest-card:nth-child(3) { animation-delay: 0.15s; }
.interest-card:nth-child(4) { animation-delay: 0.20s; }
.interest-card:nth-child(5) { animation-delay: 0.25s; }
.interest-card:nth-child(6) { animation-delay: 0.30s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .interests-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 60px 24px;
    text-align: center;
    min-height: unset;
  }

  .hero-left h1   { font-size: 2.2rem; }
  .desc           { max-width: 100%; margin-inline: auto; }
  .hero-buttons   { justify-content: center; }
  .hero-right     { flex: none; width: 100%; max-width: 400px; }

  .interests-section { padding: 60px 24px; }
  .stats-section     { padding: 0 24px 80px; }
  .interests-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-left h1  { font-size: 1.9rem; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .stat-number   { font-size: 1.8rem; }
}
