/* Intro Section */
.intro-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--spacing-xl) 0 var(--spacing-xl);
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

/* Floating geometric shapes — pure decorative depth */
.intro-section .floating-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.35;
  z-index: 0;
  filter: blur(2px);
  will-change: transform;
}
.intro-section .floating-shape--1 {
  width: 220px; height: 220px;
  top: 8%; left: -60px;
  background: linear-gradient(135deg, rgba(49,130,206,0.35), rgba(20,184,166,0.25));
  animation: floatA 14s ease-in-out infinite alternate;
}
.intro-section .floating-shape--2 {
  width: 160px; height: 160px;
  top: 25%; right: 5%;
  background: linear-gradient(135deg, rgba(246,133,90,0.35), rgba(229,62,62,0.25));
  animation: floatB 18s ease-in-out infinite alternate;
}
.intro-section .floating-shape--3 {
  width: 280px; height: 280px;
  bottom: 5%; right: -80px;
  background: linear-gradient(135deg, rgba(20,184,166,0.25), rgba(49,130,206,0.2));
  animation: floatC 22s ease-in-out infinite alternate;
}
.intro-section .floating-shape--4 {
  width: 120px; height: 120px;
  bottom: 18%; left: 12%;
  background: linear-gradient(135deg, rgba(229,62,62,0.25), rgba(246,133,90,0.2));
  animation: floatA 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatA {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(40px,30px) rotate(40deg); }
}
@keyframes floatB {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-30px,40px) rotate(-30deg); }
}
@keyframes floatC {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-50px,-30px) rotate(25deg); }
}

.intro-content {
  display: grid;
  gap: var(--spacing-lg);
  align-items: center;
  width: 100%;
  flex: 1;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.intro-text {
  text-align: center;
}

/* Status pill — "currently doing X" */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45,55,72,0.08);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 2px 12px var(--shadow-soft);
  letter-spacing: 0.3px;
}
.status-pill .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}

.intro-greeting {
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.wave {
  display: inline-block;
  animation: wave 2s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 20%, 40%, 60%, 80%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(20deg); }
}

.intro-name {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.intro-role {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.intro-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Tech badges row under the description */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0 auto var(--spacing-xl);
  max-width: 520px;
}
.tech-badges .tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(45,55,72,0.08);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-primary);
  transition: transform 0.25s var(--ease-out-quart),
              box-shadow 0.25s var(--ease-out-quart),
              border-color 0.25s ease,
              background 0.25s ease;
}
.tech-badges .tech-badge i { color: var(--accent-primary); }
.tech-badges .tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-soft);
  border-color: rgba(49,130,206,0.35);
  background: white;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--font-size-xl);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.social-links a i { position: relative; z-index: 1; transition: color 0.25s ease; }

.social-links a:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(49,130,206,0.25);
}
.social-links a:hover::before { opacity: 1; }
.social-links a:hover i { color: white; }

/* Featured Video Section (legacy, kept) */
.featured-video-section { margin: var(--spacing-2xl) 0; text-align: center; }
.video-container { max-width: 800px; margin: 0 auto; padding: 0 var(--spacing-md); }
.video-title { font-size: var(--font-size-lg); font-weight: 600; color: var(--text-primary); margin-bottom: var(--spacing-lg); }
.video-wrapper {
  position: relative; width: 100%; height: 0; padding-bottom: 56.25%;
  margin-bottom: var(--spacing-md); border-radius: var(--border-radius-lg);
  overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-description { color: var(--text-secondary); line-height: 1.6; max-width: 600px; margin: 0 auto; }

@media (max-width: 768px) {
  .featured-video-section { margin: var(--spacing-xl) 0; }
  /* Let the hero grow with its content instead of being trapped at 100vh,
     and leave room at the bottom for the scroll indicator so nothing overlaps. */
  .intro-section {
    min-height: 100vh;
    padding: var(--spacing-3xl) 0 calc(var(--spacing-3xl) + 1.5rem);
  }
  .intro-section .floating-shape { opacity: 0.22; }
  .intro-section .floating-shape--1 { width: 160px; height: 160px; }
  .intro-section .floating-shape--2 { width: 120px; height: 120px; }
  .intro-section .floating-shape--3 { width: 200px; height: 200px; }
  .intro-section .floating-shape--4 { display: none; }
}

/* On short or very small screens the pinned scroll indicator can crowd the
   buttons — hide it there and let natural scrolling speak for itself. */
@media (max-width: 768px) and (max-height: 740px) {
  .scroll-indicator { display: none; }
}
