/* ROOT VARIABLES & RESET */
:root {
  --bg-color: #050508;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --neon-purple: #8b5cf6;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  font-family: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
.logo,
.hero-badge {
  font-family: "Outfit", sans-serif;
  overflow-wrap: break-word;
}
p {
  overflow-wrap: break-word;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* UTILITIES */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-5px);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BACKGROUND BLOBS */
.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  width: 40vw;
  height: 40vw;
  background: var(--neon-purple);
  top: -10%;
  right: -10%;
}

.blob-2 {
  width: 35vw;
  height: 35vw;
  background: var(--accent);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

.blob-3 {
  width: 25vw;
  height: 25vw;
  background: #0ea5e9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* NAVIGATION */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
}

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

/* 1. HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  background-color: var(--bg-color);
  background-image: url("../assets/hero_bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 5, 8, 0.95) 0%,
    rgba(5, 5, 8, 0.6) 100%
  );
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 40%,
    transparent 70%
  );
  top: 40%;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(60px);
  border-radius: 50%;
  animation: pulseGlow 10s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

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

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #10b981;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.premium-text {
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.premium-text::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--neon-purple));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 650px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.btn-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
  background: #e2e8f0;
}

.btn-modern svg {
  transition: transform 0.3s ease;
}

.btn-modern:hover svg {
  transform: translateX(5px);
}

.btn-outline {
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--text-primary);
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* 2. ABOUT SECTION */
.about {
  padding: 8rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.highlight-text {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  font-family: "Outfit", sans-serif;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin: 2rem 0;
}

.about-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-frame {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.5),
    rgba(139, 92, 246, 0.5)
  );
  animation: floatingProfile 6s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.glow-overlay {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent), var(--neon-purple));
  filter: blur(30px);
  opacity: 0.4;
  border-radius: 20px;
  z-index: 1;
  animation: pulseOverlay 4s alternate infinite;
}

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

@keyframes pulseOverlay {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

/* 3. SKILLS SECTION */
.skills {
  padding: 8rem 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-card {
  padding: 2rem;
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.skill-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 4. CERTIFICATES SECTION */
.certificates {
  padding: 8rem 0;
}

.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.cert-card {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
  padding: 3rem;
}

.cert-visual {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 50%;
}

.cert-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-img {
  transform: scale(1.03);
}

.glow-overlay-cert {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent), var(--neon-purple));
  filter: blur(20px);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.cert-card:hover .glow-overlay-cert {
  opacity: 0.4;
}

.cert-content {
  flex: 1;
}

.cert-meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* 5. PROJECTS SECTION */
.projects {
  padding: 8rem 0;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.project-content {
  padding: 2.5rem;
  flex: 1;
}

.project-visual {
  height: 380px;
  background: radial-gradient(
    circle at center,
    rgba(56, 189, 248, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 1rem;
}

.phone-mockup {
  width: 175px;
  height: 370px;
  border-radius: 28px;
  border: 8px solid #08080c;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
  transform: translateY(15px);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #08080c;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.project-card:hover .phone-mockup {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 30px 50px rgba(56, 189, 248, 0.2),
    inset 0 0 0 2px rgba(56, 189, 248, 0.5);
}

.placeholder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.project-card:hover .placeholder-img {
  transform: scale(1.05);
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#img-ai {
  background-image: url("../assets/ai_reviewer.png");
}
#img-cnc {
  background-image: url("../assets/cnc_system.png");
}

.main-project .project-visual {
  height: 400px;
}

.project-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  color: var(--neon-purple);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-stack span {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--accent);
}

.featured-project {
  flex-direction: row;
  margin-bottom: 4rem;
}

.featured-project .project-visual {
  flex: 1;
  height: auto;
  min-height: 400px;
}

.featured-project .project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

/* 6. VISION SECTION */
.vision {
  padding: 8rem 0 12rem 0;
}

.vision-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--neon-purple));
}

.vision-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.vision blockquote {
  font-size: 1.8rem;
  font-family: "Outfit", sans-serif;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.vision p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 7. FOOTER */
.footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 500px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: white;
  flex-shrink: 0;
}

.social-icon.github {
  background: #333;
}
.social-icon.facebook {
  background: #1877f2;
}
.social-icon.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-info {
  display: flex;
  flex-direction: column;
}

.social-net {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.social-id {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 500px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ANIMATIONS & RESPONSIVE */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 {
  animation-delay: 0.2s;
  transition-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
  transition-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
  transition-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
  transition-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .cert-card {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .cert-visual {
    max-width: 100%;
  }

  .featured-project {
    flex-direction: column-reverse;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 65%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 2.5rem;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links::before {
    content: "";
    position: fixed;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  .nav-links.active::before {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple));
    transition: width 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: var(--text-primary);
    transform: translateX(10px);
  }

  .nav-links a:hover::after,
  .nav-links a:active::after {
    width: 40px;
  }

  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-modern,
  .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    border-top: none;
    padding-top: 1rem;
    width: 100%;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .profile-frame {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 3/4;
  }

  .vision blockquote {
    font-size: 1.4rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float svg {
  margin-top: 1px;
}

/* Pulsing effect */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
