/* ================================================
   CV WEBSITE - MAIN STYLESHEET
   Premium dark theme with glassmorphism & animations
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --accent: #00d4ff;
  --accent-rgb: 0, 212, 255;
  --accent-secondary: #7c3aed;
  --accent-secondary-rgb: 124, 58, 237;
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  --shadow-color: rgba(0, 212, 255, 0.1);
  --nav-bg: rgba(10, 10, 15, 0.85);
  --code-bg: rgba(0, 212, 255, 0.08);
}

[data-theme="light"] {
  --bg-primary: #f5f5fa;
  --bg-secondary: #eaeaf0;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a2e;
  --text-secondary: #555580;
  --text-muted: #8888a0;
  --accent: #0099cc;
  --accent-rgb: 0, 153, 204;
  --shadow-color: rgba(0, 153, 204, 0.15);
  --nav-bg: rgba(245, 245, 250, 0.9);
  --code-bg: rgba(0, 153, 204, 0.08);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
}

::selection {
  background: rgba(var(--accent-rgb), 0.3);
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Particle Canvas ---------- */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  display: none;
}

@media (min-width: 769px) {
  .cursor-glow { display: block; }
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  gap: 2px;
}

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

.logo-name {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.theme-toggle .fa-sun {
  position: absolute;
  transform: translateY(40px);
  transition: transform 0.3s ease;
}

.theme-toggle .fa-moon {
  transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle .fa-sun {
  transform: translateY(0);
}

[data-theme="light"] .theme-toggle .fa-moon {
  transform: translateY(-40px);
}

.nav-cta {
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.15);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Section Base ---------- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.subsection-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subsection-title i {
  color: var(--accent);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 100px 24px 40px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.greeting-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.greeting-text {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
}

.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 500;
  min-height: 2em;
}

.typewriter-prefix {
  color: var(--text-secondary);
}

.typewriter-text {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}

.typewriter-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.platform-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
}

.platform-badge i {
  color: var(--accent);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-avatar-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.15);
  animation: ringRotate 20s linear infinite;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
}

.avatar-ring-2 {
  width: 110%;
  height: 110%;
  animation-direction: reverse;
  animation-duration: 25s;
  border-color: rgba(var(--accent-secondary-rgb), 0.1);
}

.avatar-ring-2::before {
  background: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(var(--accent-secondary-rgb), 0.5);
}

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

.avatar-placeholder {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Badges */
.hero-floating-badges {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 { top: 10%; left: 0; animation-delay: 0s; }
.badge-2 { top: 5%; right: 5%; animation-delay: 1.5s; }
.badge-3 { bottom: 15%; left: -5%; animation-delay: 3s; }
.badge-4 { bottom: 5%; right: 0; animation-delay: 4.5s; }

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

/* Scroll Indicator */
.hero-scroll {
  text-align: center;
  margin-top: auto;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- About Section ---------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-img-container {
  position: relative;
  width: 280px;
  height: 340px;
  margin: 0 auto;
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--accent);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-border {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  opacity: 0.3;
  z-index: 1;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -30px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

.exp-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.3;
}

.about-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-bio {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.detail-item i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.about-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  transform: translateY(-3px);
}

/* ---------- Skills Section ---------- */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.skill-category {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.skill-category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-category-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.skill-item {
  margin-bottom: 18px;
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-percent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.skill-bar {
  height: 6px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Experience Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateX(4px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
}

.timeline-period {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--accent-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tag {
  padding: 4px 12px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Education & Certifications ---------- */
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.edu-item {
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.edu-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-3px);
}

.edu-period {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.edu-degree {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.edu-institution {
  color: var(--accent-secondary);
  font-weight: 500;
  margin-bottom: 8px;
}

.edu-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cert-item {
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cert-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.cert-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cert-issuer {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.cert-year {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.1);
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Achievements ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.1);
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hall of Fame */
.hall-of-fame {
  text-align: center;
  margin-bottom: 60px;
}

.hof-subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hof-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hof-badge {
  padding: 10px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.hof-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
}

/* Tools */
.tools-section {
  text-align: center;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tool-badge {
  padding: 8px 18px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  transition: all 0.3s ease;
}

.tool-badge:hover {
  background: rgba(var(--accent-rgb), 0.15);
  transform: scale(1.05);
}

/* ---------- Blog Section ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.blog-card-header {
  padding: 24px 24px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-tag {
  padding: 3px 10px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-body {
  padding: 16px 24px 24px;
}

.blog-date {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-link i {
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(4px);
}

/* ---------- Contact Section ---------- */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

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

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--bg-secondary);
  padding: 0 6px;
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
}

/* ---------- Admin Link ---------- */
.admin-link {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0.3;
}

.admin-link:hover {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Security Tools (MultiScan) ---------- */
.tool-showcase {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.tool-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.tool-showcase-header {
  padding: 40px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.tool-showcase-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tool-showcase-info h3 .highlight {
  font-size: inherit;
}

.tool-showcase-subtitle {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.tool-showcase-desc {
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.tool-showcase-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-glow {
  background: var(--gradient-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
  color: #fff;
}

.btn-glow:hover::after {
  opacity: 1;
}

.tool-showcase-body {
  padding: 32px 40px 40px;
}

.tool-features-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-features-title i {
  color: var(--accent);
}

.tool-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.tool-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.tool-feature-item:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.05);
  transform: translateX(4px);
}

.tool-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.tool-feature-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Architecture Flow ---------- */
.architecture-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0;
}

.arch-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  min-width: 130px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.arch-step:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.15);
}

.arch-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.arch-step:hover .arch-step-icon {
  background: var(--gradient-accent);
  color: #fff;
}

.arch-step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.arch-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  padding: 0 8px;
  animation: arrowPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ---------- Technology Stack ---------- */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tech-stack-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-stack-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tech-stack-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.tech-stack-card:hover::before {
  transform: scaleX(1);
}

.tech-stack-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.tech-stack-card:hover .tech-stack-icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.1);
}

.tech-stack-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Achievement List ---------- */
.achievement-list-section {
  margin-bottom: 60px;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateX(4px);
}

.achievement-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.achievement-item-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ---------- Projects Grid ---------- */
.projects-section {
  margin-bottom: 60px;
}

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

.project-card {
  padding: 28px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.project-card:hover .project-card-icon {
  background: var(--gradient-accent);
  color: #fff;
}

.project-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  padding: 3px 10px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Bug Bounty Challenge ---------- */
.challenge-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.challenge-stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.challenge-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.challenge-stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.challenge-stat-card:hover::before {
  transform: scaleX(1);
}

.challenge-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.challenge-stat-card:hover .challenge-stat-icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.1);
}

.challenge-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

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

.vuln-breakdown-section {
  margin-bottom: 50px;
}

.vuln-breakdown-chart {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vuln-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vuln-bar-label {
  width: 240px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  flex-shrink: 0;
}

.vuln-bar-track {
  flex: 1;
  height: 28px;
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.vuln-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 8px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.vuln-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.vuln-bar-count {
  width: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  flex-shrink: 0;
}

.challenge-platforms-section {
  margin-bottom: 30px;
}

.challenge-platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.challenge-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.challenge-platform-badge:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.15);
}

.challenge-platform-badge i {
  color: var(--accent);
}

@media (max-width: 768px) {
  .challenge-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vuln-bar-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .vuln-bar-label {
    width: auto;
    text-align: left;
    font-size: 0.8rem;
  }
  .vuln-bar-track {
    width: 100%;
    height: 22px;
  }
  .vuln-bar-count {
    display: none;
  }
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }
  .about-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
  }

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

  .nav-actions {
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-greeting {
    justify-content: center;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-platforms {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-avatar-container {
    width: 240px;
    height: 240px;
  }

  .avatar-placeholder {
    width: 180px;
    height: 180px;
    font-size: 3.5rem;
  }

  .floating-badge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .section {
    padding: 70px 0;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-details {
    align-items: center;
  }

  .about-socials {
    justify-content: center;
  }

  .about-text .btn {
    margin: 0 auto;
  }

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

  .edu-cert-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .tool-showcase-header {
    padding: 24px 20px 0;
  }
  .tool-showcase-body {
    padding: 20px;
  }
  .tool-features-grid {
    grid-template-columns: 1fr;
  }
  .architecture-flow {
    gap: 8px;
  }
  .arch-step {
    min-width: 100px;
    padding: 16px 12px;
  }
  .arch-arrow {
    font-size: 1.2rem;
  }
  .achievement-list {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .hero-typewriter {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

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

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

  .stat-value {
    font-size: 2rem;
  }
}
