/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(189, 92%, 58%);
  --primary-dark: hsl(189, 99%, 26%);
  --bg-dark: hsl(240, 15%, 9%);
  --bg-darker: hsl(240, 15%, 6%);
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-darker);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header and Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo__img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 200, 255, 0.25));
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  color: var(--paragraph);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 200, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 150, 200, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 20%, rgba(0, 200, 255, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-darker) 0%, hsl(240, 15%, 8%) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(0, 200, 255, 0.03) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(0, 200, 255, 0.03) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5),
                 0 0 20px rgba(0, 200, 255, 0.3),
                 0 0 30px rgba(0, 200, 255, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.8),
                 0 0 30px rgba(0, 200, 255, 0.5),
                 0 0 40px rgba(0, 200, 255, 0.3);
  }
}

.hero__container {
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 50%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  opacity: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(0, 200, 255, 0.35);
  transform-origin: center;
  animation: fadeInUp 1s ease forwards,
             gradientShift 3s ease infinite 1s,
             titlePlayful 7s ease-in-out infinite 1.2s;
}

@keyframes titlePlayful {
  0%, 100% {
    transform: translateY(0) rotate(0deg) skewX(0deg);
  }
  20% {
    transform: translateY(-4px) rotate(-1deg) skewX(-1deg);
  }
  40% {
    transform: translateY(2px) rotate(1.5deg) skewX(1deg);
  }
  60% {
    transform: translateY(-3px) rotate(-0.8deg) skewX(-0.5deg);
  }
  80% {
    transform: translateY(1px) rotate(1deg) skewX(0.8deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--paragraph);
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.hero__pricing {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 9999px;
  display: inline-block;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 200, 255, 0.2);
}

.pricing__text {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing__icon {
  font-size: 1.25rem;
}

.pricing__text strong {
  color: var(--primary);
  font-size: 1.25rem;
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.6) 0%, transparent 70%);
  animation: float 15s infinite ease-in-out;
  opacity: 0.4;
  filter: blur(1px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.particle:nth-child(2) {
  width: 120px;
  height: 120px;
  left: 80%;
  top: 10%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.particle:nth-child(3) {
  width: 60px;
  height: 60px;
  left: 30%;
  top: 60%;
  animation-delay: 4s;
  animation-duration: 22s;
}

.particle:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 70%;
  top: 70%;
  animation-delay: 1s;
  animation-duration: 16s;
}

.particle:nth-child(5) {
  width: 90px;
  height: 90px;
  left: 50%;
  top: 30%;
  animation-delay: 3s;
  animation-duration: 19s;
}

.particle:nth-child(6) {
  width: 70px;
  height: 70px;
  left: 15%;
  top: 80%;
  animation-delay: 5s;
  animation-duration: 21s;
}

.particle:nth-child(7) {
  width: 110px;
  height: 110px;
  left: 90%;
  top: 50%;
  animation-delay: 1.5s;
  animation-duration: 17s;
}

.particle:nth-child(8) {
  width: 85px;
  height: 85px;
  left: 5%;
  top: 50%;
  animation-delay: 3.5s;
  animation-duration: 23s;
}

.particle:nth-child(9) {
  width: 95px;
  height: 95px;
  left: 60%;
  top: 5%;
  animation-delay: 2.5s;
  animation-duration: 20s;
}

.particle:nth-child(10) {
  width: 75px;
  height: 75px;
  left: 40%;
  top: 90%;
  animation-delay: 4.5s;
  animation-duration: 18s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.5;
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
    opacity: 0.55;
  }
}

/* Code Background Elements */
.code-bg {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: rgba(0, 200, 255, 0.2);
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
  animation: codeFloat 25s infinite ease-in-out;
  filter: blur(0.5px);
}

.code-bg-2 {
  top: 30%;
  right: 10%;
  animation-delay: 5s;
  animation-duration: 30s;
}

.code-bg-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 10s;
  animation-duration: 28s;
}

.code-line {
  margin: 0.25rem 0;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}

@keyframes codeFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(20px) translateX(-10px);
    opacity: 0.25;
  }
  75% {
    transform: translateY(-10px) translateX(15px);
    opacity: 0.3;
  }
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn--primary {
  background: linear-gradient(0deg, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 200, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 255, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--black);
}

/* Page Header */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(0, 150, 200, 0.1) 0%, transparent 50%);
}

.page-header__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header__subtitle {
  font-size: 1.25rem;
  color: var(--paragraph);
  margin-bottom: 1.5rem;
}

.page-header__pricing {
  margin-top: 1.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 9999px;
  display: inline-block;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 200, 255, 0.2);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

/* Cards Grid */
.cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Card Styles */
.card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(189, 92%, 58%);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 19rem;
  margin: 0 auto;
  background: linear-gradient(
    180deg,
    hsl(240, 15%, 12%) 0%,
    hsl(240, 15%, 9%) 100%
  );
  border-radius: 1rem;
  box-shadow: 
    0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset,
    0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(0, 200, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset,
    0 8px 30px rgba(0, 200, 255, 0.2);
}

.card .card__border {
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    hsl(0, 0%, 100%) -50%,
    hsl(0, 0%, 40%) 100%
  );
  border-radius: 1rem;
  opacity: 0.1;
}

.card .card__border::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
  width: 200%;
  height: 10rem;
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0) 0%,
    hsl(189, 100%, 50%) 40%,
    hsl(189, 100%, 50%) 60%,
    hsla(0, 0%, 40%, 0) 100%
  );
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.card > * {
  position: relative;
  z-index: 2;
}

.card .card_title__container .card_title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 100%;
  font-size: 0.5rem;
  color: var(--paragraph);
  line-height: 1.4;
}

.card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);
  border: none;
}

.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.card .card__list .card__list_item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.3);
}

.card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: var(--black);
}

.card .card__list .card__list_item .list_text {
  font-size: 0.75rem;
  color: var(--white);
  line-height: 1.4;
}

.card .button {
  cursor: pointer;
  padding: 0.5rem 1rem;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
    90deg,
    hsl(189, 92%, 58%) 0%,
    hsl(189, 99%, 26%) 100%
  );
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  border: 0;
  border-radius: 9999px;
  box-shadow: 
    inset 0 -2px 25px -4px var(--white),
    0 2px 10px rgba(0, 200, 255, 0.2);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  position: relative;
  z-index: 3;
  text-decoration: none;
}

.card .button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 15px rgba(0, 200, 255, 0.4),
    inset 0 -2px 25px -4px var(--white);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--bg-darker) 0%, hsl(240, 15%, 7%) 100%);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, hsl(240, 15%, 10%) 0%, hsl(240, 15%, 8%) 100%);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 200, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-card:nth-child(4) {
  animation-delay: 0.4s;
}

.testimonial-card:nth-child(5) {
  animation-delay: 0.5s;
}

.testimonial-card:nth-child(6) {
  animation-delay: 0.6s;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 200, 255, 0.1);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.25rem 0;
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--paragraph);
  margin: 0;
}

.testimonial__rating {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-size: 0.9375rem;
  color: var(--paragraph);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-container {
  --uib-size: 100px;
  --uib-color: rgb(51, 172, 241);
  --uib-speed: 1.4s;
  --uib-bg-opacity: 0.1;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  overflow: visible;
}

.loader-car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 15, 85;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: travel var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.loader-track {
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}

@keyframes travel {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -100;
  }
}

/* Technologies Section */
.technologies {
  padding: 4rem 0;
  background: linear-gradient(180deg, hsl(240, 15%, 7%) 0%, var(--bg-darker) 100%);
}

.technologies__subtitle {
  text-align: center;
  color: var(--paragraph);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.skills-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #ececec;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-box {
  width: 100%;
  margin: 1.5rem 0;
}

.skill-box:first-child {
  margin-top: 0;
}

.skill-box:last-child {
  margin-bottom: 0;
}

.skill-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.skill-bar {
  height: 8px;
  width: 100%;
  border-radius: 6px;
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.skill-per {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 6px;
  background: #4070f4;
  animation: progress 0.4s ease-in-out forwards;
  opacity: 0;
}

.skill-per.python {
  width: 85%;
  animation-delay: 0.1s;
}

.skill-per.javascript {
  width: 90%;
  animation-delay: 0.2s;
}

.skill-per.react {
  width: 85%;
  animation-delay: 0.3s;
}

.skill-per.nodejs {
  width: 80%;
  animation-delay: 0.4s;
}

.skill-per.html {
  width: 95%;
  animation-delay: 0.5s;
}

.skill-per.css {
  width: 90%;
  animation-delay: 0.6s;
}

.skill-per.typescript {
  width: 75%;
  animation-delay: 0.7s;
}

.skill-per.vuejs {
  width: 70%;
  animation-delay: 0.8s;
}

@keyframes progress {
  0% {
    width: 0;
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.skill-per .tooltip {
  position: absolute;
  right: -14px;
  top: -28px;
  font-size: 9px;
  font-weight: 500;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  background: #4070f4;
  z-index: 1;
  white-space: nowrap;
}

.tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 10px;
  width: 10px;
  z-index: -1;
  background-color: #4070f4;
  transform: translateX(-50%) rotate(45deg);
}

.skill-per.python .tooltip,
.skill-per.javascript .tooltip,
.skill-per.react .tooltip,
.skill-per.nodejs .tooltip,
.skill-per.html .tooltip,
.skill-per.css .tooltip,
.skill-per.typescript .tooltip,
.skill-per.vuejs .tooltip {
  background: #4070f4;
  color: #fff;
}

.skill-per.python .tooltip::before,
.skill-per.javascript .tooltip::before,
.skill-per.react .tooltip::before,
.skill-per.nodejs .tooltip::before,
.skill-per.html .tooltip::before,
.skill-per.css .tooltip::before,
.skill-per.typescript .tooltip::before,
.skill-per.vuejs .tooltip::before {
  background-color: #4070f4;
}

/* About Section */
.about-intro {
  padding: 2rem 0;
}

.about-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro__text {
  font-size: 1.125rem;
  color: var(--paragraph);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Services Section */
.services {
  padding: 2rem 0;
}

/* Portfolio Section */
.portfolio {
  padding: 2rem 0;
}

/* Contact Section */
.contact {
  padding: 2rem 0 4rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.form__input,
.form__textarea {
  padding: 0.875rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.button--form {
  align-self: flex-start;
  margin-top: 0.5rem;
  border: none;
  border-radius: 9999px;
  padding: 0.95rem 2.75rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #4bf4ff 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 12px 35px rgba(0, 200, 255, 0.25),
    inset 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.button--form .button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-25deg);
  transition: transform 0.3s ease;
}

.button--form .button__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.button--form .button__text {
  color: var(--white);
  transition: transform 0.3s ease;
}

.button--form:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 45px rgba(0, 200, 255, 0.35),
    inset 0 -4px 12px rgba(0, 0, 0, 0.25);
}

.button--form:hover .button__icon {
  transform: rotate(0deg) translateX(6px);
}

.button--form:hover .button__text {
  transform: translateX(-6px);
}

.button--form:focus-visible {
  outline: 2px solid rgba(0, 200, 255, 0.85);
  outline-offset: 4px;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer__subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__text {
  color: var(--paragraph);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--paragraph);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer__bottom p {
  color: var(--paragraph);
  font-size: 0.875rem;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-child {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
  border-radius: 5px;
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.1),
    0 0 5px rgba(0, 0, 0, 0.2);
}

.social-child:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.social-child-1:hover {
  box-shadow: 0px 10px 10px rgba(30, 144, 255, 0.5);
}

.social-child-2:hover {
  box-shadow: 0px 10px 10px rgba(255, 0, 255, 0.5);
}

.social-child-3:hover {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
}

.social-child-4:hover {
  box-shadow: 0px 10px 10px rgba(66, 103, 178, 0.5);
}

.social-button {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  font-size: 20px;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.68, -0.85, 0.265, 1.55);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.social-button svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.3));
  animation: iconGlow 2s ease-in-out infinite;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow:
    0 10px 30px rgba(0, 200, 255, 0.25),
    inset 0 -4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 20;
  color: var(--white);
}

.back-to-top__icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.back-to-top__text {
  position: absolute;
  bottom: -24px;
  font-size: 0.75rem;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 16px 40px rgba(0, 200, 255, 0.35),
    inset 0 -4px 18px rgba(0, 0, 0, 0.25);
}

.back-to-top:hover .back-to-top__text {
  opacity: 1;
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(0, 200, 255, 0.8);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 1.25rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
  }

  .back-to-top__text {
    display: none;
  }
}

@keyframes iconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.3))
            drop-shadow(0 0 10px rgba(0, 200, 255, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.6))
            drop-shadow(0 0 20px rgba(0, 200, 255, 0.4))
            drop-shadow(0 0 30px rgba(0, 200, 255, 0.2));
  }
}

.social-child:hover .social-button svg {
  filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.8))
          drop-shadow(0 0 25px rgba(0, 200, 255, 0.5))
          drop-shadow(0 0 35px rgba(0, 200, 255, 0.3));
}

.social-child:hover > .social-button {
  transform: translate3d(0px, 20px, 30px) perspective(80px) rotateX(-60deg)
    translateY(2px) translateZ(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--bg-dark);
    width: 100%;
    padding: 2rem;
    transition: left 0.3s ease;
    border-top: 1px solid var(--line);
  }

  .nav__menu.active {
    left: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  .page-header__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .cards__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .card {
    padding: 1.25rem;
  }
}

