:root {
  --bg: #0e1016;
  --bg-muted: #161925;
  --card: #1f2333;
  --text: #f5f5f7;
  --muted: #a3a7be;
  --accent: #7c65ff;
  --accent-2: #66e0ff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  font-family: "Poppins", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #1c2141, var(--bg));
  color: var(--text);
  line-height: 1.6;
  animation: pageEnter 0.8s cubic-bezier(0.32, 0.72, 0.3, 1);
}

#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 3rem clamp(1.5rem, 4vw, 6rem) 5rem;
  max-width: 80%;
  margin: 0 auto;
}

.hero__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
}

.logo__text {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__cta {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__body {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__personal-info {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__personal-info p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(102, 224, 255, 0.3);
  box-shadow: 0 0 30px rgba(124, 101, 255, 0.4);
}

.hero__personal-info {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__personal-info p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: slideInDown 1s cubic-bezier(0.32, 0.72, 0.3, 1);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInDown 0.9s cubic-bezier(0.32, 0.72, 0.3, 1) 0.15s backwards;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: expandWidth 1s cubic-bezier(0.32, 0.72, 0.3, 1) 0.4s forwards;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
  letter-spacing: -0.005em;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.lead {
  color: var(--text);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.003em;
  font-weight: 400;
  animation: slideInUp 0.9s cubic-bezier(0.32, 0.72, 0.3, 1) 0.15s backwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0.3, 1), box-shadow 0.35s cubic-bezier(0.32, 0.72, 0.3, 1), letter-spacing 0.35s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f1119;
  box-shadow: 0 10px 30px rgba(124, 101, 255, 0.4);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  letter-spacing: 0.04em;
}

.orbital-pattern {
  position: relative;
  width: 520px;
  height: 520px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-pattern__center {
  position: absolute;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.profile-image-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-2);
  border-right-color: var(--accent);
  animation: rotate-ring 6s linear infinite;
  z-index: 1;
}

.profile-image-ring-ring {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--accent-2);
  border-left-color: var(--accent);
  animation: rotate-ring-reverse 8s linear infinite;
  z-index: 1;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-ring-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.hero__image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 4px solid rgba(102, 224, 255, 0.2);
  animation: imagePulse 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.hero__image:hover {
  transform: scale(1.05);
}

@keyframes imagePulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(124, 101, 255, 0.4),
      0 0 60px rgba(102, 224, 255, 0.2), inset 0 0 20px rgba(102, 224, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(124, 101, 255, 0.6),
      0 0 100px rgba(102, 224, 255, 0.4),
      inset 0 0 30px rgba(102, 224, 255, 0.15);
  }
}

.profile-image-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(102, 224, 255, 0.3) 0%,
    rgba(124, 101, 255, 0.2) 40%,
    transparent 70%
  );
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.orbital-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(102, 224, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-1 {
  width: 340px;
  height: 340px;
  animation: rotate 20s linear infinite;
}

.orbit-2 {
  width: 460px;
  height: 460px;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tech-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(102, 224, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-2);
  box-shadow: 0 0 20px rgba(102, 224, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: techIconPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(102, 224, 255, 0.6), 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-2);
}

@keyframes techIconPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(102, 224, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(102, 224, 255, 0.6),
      0 12px 40px rgba(0, 0, 0, 0.4);
  }
}

.orbit-1 .tech-icon:nth-child(1) {
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-1 .tech-icon:nth-child(2) {
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 0.3s;
}

.orbit-1 .tech-icon:nth-child(3) {
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.6s;
}

.orbit-2 .tech-icon:nth-child(1) {
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-2 .tech-icon:nth-child(2) {
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 0.4s;
}

.orbit-2 .tech-icon:nth-child(3) {
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.8s;
}

.orbit-2 .tech-icon:nth-child(4) {
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 1.2s;
}

.orbital-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbital-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(102, 224, 255, 0.2),
    transparent
  );
  top: 50%;
  left: 50%;
  transform-origin: top center;
}

.orbital-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg);
}

.orbital-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.orbital-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.orbital-line:nth-child(4) {
  transform: translate(-50%, -50%) rotate(135deg);
}

.orbital-line:nth-child(5) {
  transform: translate(-50%, -50%) rotate(60deg);
}

.orbital-line:nth-child(6) {
  transform: translate(-50%, -50%) rotate(120deg);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2), transparent);
  opacity: 0.6;
  animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
  width: 20px;
  height: 20px;
  top: 10%;
  left: 20%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.shape-2 {
  width: 15px;
  height: 15px;
  top: 70%;
  right: 15%;
  animation-delay: 2s;
  animation-duration: 8s;
}

.shape-3 {
  width: 12px;
  height: 12px;
  bottom: 15%;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 7s;
}

@keyframes float-shape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  33% {
    transform: translate(30px, -40px) scale(1.2);
    opacity: 0.8;
  }
  66% {
    transform: translate(-20px, 30px) scale(0.8);
    opacity: 0.6;
  }
}

.hero__badge {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

main {
  max-width: 80%;
  margin: 0 auto;
}

.section {
  padding: 4rem clamp(1.5rem, 4vw, 6rem);
  animation: pageEnter 0.8s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section__header p {
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  animation: slideInRight 0.8s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  animation: slideInUp 0.8s cubic-bezier(0.32, 0.72, 0.3, 1);
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.card p {
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.003em;
}

.grid--cards .card:nth-child(1) { animation-delay: 0.1s; }
.grid--cards .card:nth-child(2) { animation-delay: 0.2s; }
.grid--cards .card:nth-child(3) { animation-delay: 0.3s; }
.grid--cards .card:nth-child(4) { animation-delay: 0.4s; }

.split__columns .card:nth-child(1) { animation-delay: 0.1s; }
.split__columns .card:nth-child(2) { animation-delay: 0.2s; }
.split__columns .card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 40px rgba(102, 224, 255, 0.3), 0 30px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 224, 255, 0.4);
  background: linear-gradient(135deg, var(--card), rgba(102, 224, 255, 0.05));
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.6s ease-out;
}

.card__icon {
  font-size: 2rem;
  line-height: 1;
  min-width: 40px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.card:hover .card__icon {
  transform: scale(1.2) rotate(5deg);
}

.card__header h3 {
  margin: 0;
  font-size: 1.1rem;
  transition: color 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.card:hover .card__header h3 {
  color: var(--accent-2);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.text-link {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--accent-2);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.split {
  background: rgba(255, 255, 255, 0.01);
}

.split__columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list li {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
  animation: scaleIn 0.7s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.card:nth-child(1) .pill-list li:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(1) .pill-list li:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(1) .pill-list li:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(1) .pill-list li:nth-child(4) { animation-delay: 0.35s; }
.card:nth-child(1) .pill-list li:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(1) .pill-list li:nth-child(6) { animation-delay: 0.45s; }

.card:nth-child(2) .pill-list li:nth-child(1) { animation-delay: 0.3s; }
.card:nth-child(2) .pill-list li:nth-child(2) { animation-delay: 0.35s; }
.card:nth-child(2) .pill-list li:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(2) .pill-list li:nth-child(4) { animation-delay: 0.45s; }
.card:nth-child(2) .pill-list li:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(2) .pill-list li:nth-child(6) { animation-delay: 0.55s; }

.pill-list li:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 20px rgba(102, 224, 255, 0.4);
  border: 1px solid rgba(102, 224, 255, 0.3);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pill-icon {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  min-width: 18px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: slideInUp 0.8s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.technologies-grid .tech-card:nth-child(1) { animation-delay: 0.1s; }
.technologies-grid .tech-card:nth-child(2) { animation-delay: 0.2s; }
.technologies-grid .tech-card:nth-child(3) { animation-delay: 0.3s; }
.technologies-grid .tech-card:nth-child(4) { animation-delay: 0.4s; }
.technologies-grid .tech-card:nth-child(5) { animation-delay: 0.5s; }
.technologies-grid .tech-card:nth-child(6) { animation-delay: 0.6s; }

.tech-card:hover {
  border-color: rgba(102, 224, 255, 0.3);
  box-shadow: 0 0 40px rgba(102, 224, 255, 0.4), 0 30px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(-12px);
  background: linear-gradient(135deg, var(--card), rgba(102, 224, 255, 0.08));
}

.tech-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.tech-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.tech-card__category {
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent-2);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.tech-card__login {
  margin-top: auto;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f1119;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.tech-card__login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 101, 255, 0.3);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.modal.active {
  display: flex;
}

.modal.closing {
  animation: pageExit 0.4s cubic-bezier(0.32, 0.72, 0.3, 1) forwards;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  z-index: 1001;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.5s cubic-bezier(0.32, 0.72, 0.3, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal__close:hover {
  color: var(--accent-2);
}

.login-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.01em;
  text-transform: capitalize;
}

.form-group input {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(102, 224, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
}

.form-group input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(102, 224, 255, 0.3);
}

.modal__content h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.review-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.carousel__viewport {
  display: flex;
  overflow: hidden;
  position: relative;
}

.review {
  min-width: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.review.active {
  opacity: 1;
  transform: scale(1);
}

.carousel__control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.footer {
  padding: 2.5rem clamp(1.5rem, 4vw, 6rem);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0d13;
  max-width: 80%;
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.socials a {
  color: var(--accent-2);
}

/* Interactive View Section */
.interactive-view {
  padding: 4rem clamp(1.5rem, 4vw, 6rem);
  background: linear-gradient(
    135deg,
    rgba(124, 101, 255, 0.08),
    rgba(102, 224, 255, 0.04)
  );
  border: 1px solid rgba(102, 224, 255, 0.2);
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  max-width: 80%;
  position: relative;
  overflow: hidden;
}

.interactive-view::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(102, 224, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.interactive-view__container {
  position: relative;
  z-index: 1;
}

.interactive-view__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 0 3rem 0;
  color: var(--text);
  font-weight: 700;
}

.interactive-view__content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.interactive-view__icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.interactive-icon-wrapper {
  position: absolute;
  pointer-events: auto;
  animation: floating 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.interactive-icon-wrapper:nth-child(1) { animation-delay: 0s; }
.interactive-icon-wrapper:nth-child(2) { animation-delay: 0.15s; }
.interactive-icon-wrapper:nth-child(3) { animation-delay: 0.3s; }
.interactive-icon-wrapper:nth-child(4) { animation-delay: 0.45s; }
.interactive-icon-wrapper:nth-child(5) { animation-delay: 0.6s; }
.interactive-icon-wrapper:nth-child(6) { animation-delay: 0.75s; }
.interactive-icon-wrapper:nth-child(7) { animation-delay: 0.9s; }
.interactive-icon-wrapper:nth-child(8) { animation-delay: 1.05s; }
.interactive-icon-wrapper:nth-child(9) { animation-delay: 1.2s; }
.interactive-icon-wrapper:nth-child(10) { animation-delay: 1.35s; }
.interactive-icon-wrapper:nth-child(11) { animation-delay: 1.5s; }
.interactive-icon-wrapper:nth-child(12) { animation-delay: 1.65s; }
.interactive-icon-wrapper:nth-child(13) { animation-delay: 1.8s; }
.interactive-icon-wrapper:nth-child(14) { animation-delay: 1.95s; }
.interactive-icon-wrapper:nth-child(15) { animation-delay: 2.1s; }
.interactive-icon-wrapper:nth-child(16) { animation-delay: 2.25s; }
.interactive-icon-wrapper:nth-child(17) { animation-delay: 2.4s; }

@keyframes floating {
  0%, 100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 0 10px rgba(102, 224, 255, 0.3));
  }
  50% {
    transform: translateY(-15px) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(102, 224, 255, 0.6));
  }
}

.interactive-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0.3, 1);
  cursor: pointer;
  background: radial-gradient(circle at 30% 30%, rgba(102, 224, 255, 0.2), rgba(124, 101, 255, 0.1));
  border-radius: 50%;
  padding: 15px;
  border: 2px solid rgba(102, 224, 255, 0.3);
  box-shadow: inset 0 0 20px rgba(102, 224, 255, 0.1), 0 0 20px rgba(102, 224, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-icon-wrapper:hover .interactive-icon {
  transform: scale(1.4);
  filter: drop-shadow(0 0 40px rgba(102, 224, 255, 0.9)) drop-shadow(0 0 20px rgba(124, 101, 255, 0.6));
  border-color: rgba(102, 224, 255, 0.8);
  box-shadow: inset 0 0 30px rgba(102, 224, 255, 0.3), 0 0 40px rgba(102, 224, 255, 0.5), 0 0 20px rgba(124, 101, 255, 0.3);
  background: radial-gradient(circle at 30% 30%, rgba(102, 224, 255, 0.4), rgba(124, 101, 255, 0.2));
}
  animation-delay: 0.3s;
}
.interactive-icon:nth-child(5) {
  animation-delay: 0.4s;
}
.interactive-icon:nth-child(6) {
  animation-delay: 0.5s;
}
.interactive-icon:nth-child(7) {
  animation-delay: 0.6s;
}
.interactive-icon:nth-child(8) {
  animation-delay: 0.7s;
}
.interactive-icon:nth-child(9) {
  animation-delay: 0.8s;
}
.interactive-icon:nth-child(10) {
  animation-delay: 0.9s;
}
.interactive-icon:nth-child(11) {
  animation-delay: 1s;
}
.interactive-icon:nth-child(12) {
  animation-delay: 1.1s;
}
.interactive-icon:nth-child(13) {
  animation-delay: 1.2s;
}
.interactive-icon:nth-child(14) {
  animation-delay: 1.3s;
}
.interactive-icon:nth-child(15) {
  animation-delay: 1.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.interactive-icon:hover {
  transform: scale(1.3) translateY(-10px);
  filter: drop-shadow(0 0 40px rgba(102, 224, 255, 0.8))
    drop-shadow(0 0 20px rgba(124, 101, 255, 0.5));
  border-color: rgba(102, 224, 255, 0.8);
  box-shadow: inset 0 0 30px rgba(102, 224, 255, 0.3),
    0 0 40px rgba(102, 224, 255, 0.5), 0 0 20px rgba(124, 101, 255, 0.3);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(102, 224, 255, 0.4),
    rgba(124, 101, 255, 0.2)
  );
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Entrance & Exit Animations */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutScale {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media (max-width: 640px) {
  .interactive-view {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .interactive-view__content {
    min-height: 350px;
  }

  .interactive-icon-wrapper {
    transform: scale(0.7) !important;
  }

  .interactive-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .orbital-pattern {
    width: 400px;
    height: 400px;
  }

  .orbital-pattern__center {
    width: 240px;
    height: 240px;
  }

  .profile-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero__image {
    width: 200px;
    height: 200px;
  }

  .profile-image-glow {
    width: 220px;
    height: 220px;
  }

  .orbit-1 {
    width: 280px;
    height: 280px;
  }

  .orbit-2 {
    width: 360px;
    height: 360px;
  }

  .tech-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .orbit-1 .tech-icon {
    top: -20px;
  }

  .orbit-2 .tech-icon {
    top: -20px;
    bottom: -20px;
  }

  .hero__body {
    gap: 2rem;
  }

  .orbital-pattern {
    width: 300px;
    height: 300px;
  }

  .orbit-2 {
    width: 280px;
    height: 280px;
  }

  .orbit-1 {
    width: 200px;
    height: 200px;
  }

  .orbital-pattern__center {
    width: 140px;
    height: 140px;
  }
}
