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

/* CSS Variables for Consistent Design System */
:root {
  --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-bg: #0a0a0f;
  --dark-card: rgba(20, 20, 30, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --border-glow: rgba(79, 172, 254, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #b4b4b4;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(79, 172, 254, 0.3);
}

/* Animated Gradient Backgrounds */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(-45deg, #0a0a0f, #1a1a2e, #16213e, #0a0a0f);
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar with Blue Gradient Theme */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.95);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 10px;
  border: 2px solid rgba(10, 10, 15, 0.95);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #6bbfff 0%, #00f2fe 100%);
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.6);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #3a9eef 0%, #00d4e8 100%);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #4facfe rgba(10, 10, 15, 0.95);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 4vw;
  background: var(--dark-card);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}
.navbar:hover {
  box-shadow: var(--shadow-glow);
}
.navbar .logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.navbar .logo:hover {
  filter: brightness(1.1);
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #0a0a0f;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(79, 172, 254, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navbar .logo:hover .brand-icon,
.footer-logo:hover .brand-icon {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(79, 172, 254, 0.55);
}
.brand-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.navbar .nav-links {
  display: flex;
  gap: 0.75rem;
}
.navbar .nav-links a {
  margin: 0 0.6rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition-smooth);
  padding: 0.4rem 0;
}
.navbar .nav-links a::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}
.navbar .nav-links a:hover {
  color: var(--text-primary);
}
.navbar .nav-links a:hover::after {
  width: 100%;
}
.navbar .nav-links a.disabled {
  opacity: 0.4;
  cursor: pointer;
}
.navbar .nav-links a.disabled:hover {
  color: var(--text-secondary);
}
.navbar .nav-links a.disabled:hover::after {
  width: 0;
}
.navbar .hire-btn {
  background: var(--primary-gradient);
  color: #0a0a0f;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02rem;
}
.navbar .hire-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.navbar .hire-btn:hover::before {
  width: 300px;
  height: 300px;
}
.navbar .hire-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow  : 0 8px 30px rgba(79, 172, 254, 0.6);
}
.navbar .hire-btn:active {
  transform: translateY(-1px) scale(0.98);
}
.navbar .hire-btn .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar .hire-btn:hover .arrow {
  transform: translateX(6px);
  animation: arrowBounce 0.6s ease infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(6px); }
  50% { transform: translateX(10px); }
}

.hero {
  position: relative;
  width: 100%;
  height: 68vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  z-index: 1;
}
.hero .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1);
  transform: none;
}
.hero .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 2rem;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}
.hero .hero-overlay h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 1;
  background: linear-gradient(135deg, #ffffff 0%, #4facfe 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(79, 172, 254, 0.5);
  animation: titleFloat 4s ease-in-out infinite;
  line-height: 1.1;
  margin-bottom: 1rem;
}
@keyframes titleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    filter: brightness(1.15);
  }
}
.hero .dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.hero .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(79, 172, 254, 0.5);
  transition: all 0.3s ease;
}
.hero .dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}
.hero .dot.active {
  background: var(--primary-gradient);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.8);
}
.hero .dot.active::after {
  width: 20px;
  height: 20px;
}

.intro {
  padding: var(--spacing-sm) 5vw;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
  position: relative;
  overflow: hidden;
}
.intro::before {
  display: none;
}
@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.intro .intro-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}
.intro .intro-header .last-update {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  margin-bottom: var(--spacing-xs);
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(79, 172, 254, 0.1);
}
.intro .intro-header hr {
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.3), transparent);
}
.intro .intro-content {
  display: flex;
  justify-content: space-between;
  gap: clamp(4rem, 8vw, 40rem);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  max-width: 100%;
}
.intro .intro-content .left,
.intro .intro-content .right {
  flex: 1 1 clamp(280px, 28vw, 420px);
  max-width: clamp(320px, 32vw, 320px);
}
.intro .intro-content .left {
  font-size: 1.4rem;
}
.intro .intro-content .left .highlight {
  color: #ffffff;
  font-weight: bold;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro .intro-content .left .highlight-alt {
  background: #444;
  padding: 0 0.3rem;
  border-radius: 4px;
}
.intro .intro-content .right {
  color: #ccc;
  text-align: justify;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero {
    height: 60vh;
  }
  .intro .intro-header {
    align-items: flex-start;
  }
  .intro .intro-content {
    gap: 0;
    flex-direction: column;
  }
  .intro .intro-content .left,
  .intro .intro-content .right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .profile-section .profile-right .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .profile-section .profile-right .top-bar .socials {
    justify-content: center;
    width: 100%;
  }
  .profile-section .profile-right .top-bar .right-status {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .profile-section .profile-right .top-bar .right-status .message-btn {
    width: min(280px, 100%);
    text-align: center;
    align-self: center;
    margin-top: 0.5rem;
  }
}
.profile-section {
  padding: var(--spacing-lg) 2rem;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.profile-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
  animation: rotateGradient 40s linear infinite;
}
.profile-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -30%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.12) 0%, transparent 60%);
  animation: rotateGradient 35s linear reverse infinite;
}
.profile-section .profile-card {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 40, 0.9), rgba(30, 30, 50, 0.9));
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(79, 172, 254, 0.15);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}
.profile-section .profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(118, 75, 162, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.profile-section .profile-card:hover::before {
  opacity: 1;
}
.profile-section .profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 40px rgba(79, 172, 254, 0.3);
}
.profile-section .profile-left {
  flex: 1 1 300px;
  background: linear-gradient(180deg, rgba(30, 30, 45, 0.95) 0%, rgba(25, 25, 40, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(79, 172, 254, 0.1);
}
.profile-section .profile-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(circle at top center, rgba(79, 172, 254, 0.15), transparent);
  pointer-events: none;
}
.profile-section .profile-left .profile-image {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(135deg, #4facfe, #00f2fe) border-box;
  box-shadow: 0 10px 40px rgba(79, 172, 254, 0.4), 0 0 0 8px rgba(79, 172, 254, 0.1);
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
  animation: profileFloat 6s ease-in-out infinite;
}
@keyframes profileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.profile-section .profile-left .profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 60px rgba(79, 172, 254, 0.6), 0 0 0 8px rgba(79, 172, 254, 0.2);
}
.profile-section .profile-left .profile-name {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}
.profile-section .profile-left .skill-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}
.profile-section .profile-left .skill-tags span {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(118, 75, 162, 0.15));
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid rgba(79, 172, 254, 0.2);
  transition: var(--transition-smooth);
  font-weight: 500;
}
.profile-section .profile-left .skill-tags span:hover {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(118, 75, 162, 0.3));
  color: var(--text-primary);
  border-color: rgba(79, 172, 254, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}
.profile-section .profile-right {
  flex: 2 1 600px;
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
}
.profile-section .profile-right .top-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}
.profile-section .profile-right .top-bar .socials {
  display: flex;
  gap: 1rem;
}
.profile-section .profile-right .top-bar .socials a {
  color: var(--text-secondary);
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(79, 172, 254, 0.1);
  border: none;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.profile-section .profile-right .top-bar .socials a:hover {
  color: var(--text-primary);
  background: rgba(79, 172, 254, 0.2);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}
.profile-section .profile-right .top-bar .right-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-section .profile-right .top-bar .right-status .status {
  font-size: 1rem;
}
.profile-section .profile-right .top-bar .right-status .status .offline {
  color: #f56565;
}
.profile-section .profile-right .top-bar .right-status .status .employed {
  color: #48bb78;
  font-weight: 600;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  display: inline-block;
  animation: none;
}
@keyframes employedPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(72, 187, 120, 0.3); }
  50% { box-shadow: 0 0 20px rgba(72, 187, 120, 0.5); }
}
.profile-section .profile-right .top-bar .right-status .message-btn {
  background: var(--primary-gradient);
  border: none;
  color: #0a0a0f;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-section .profile-right .top-bar .right-status .message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.5);
}
.profile-section .profile-right .top-bar .right-status .message-btn i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}
.profile-section .profile-right .top-bar .right-status .message-btn:hover i {
  transform: translateX(3px) translateY(-2px);
}
.profile-section .profile-right .bio {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.profile-section .profile-right .bio .see-more {
  color: #aaa;
  cursor: pointer;
  font-style: italic;
}
.profile-section .profile-right .tech-stacks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.profile-section .profile-right .tech-stacks .stack-card {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(118, 75, 162, 0.08));
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(79, 172, 254, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.profile-section .profile-right .tech-stacks .stack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.1), transparent);
  transition: left 0.6s;
}
.profile-section .profile-right .tech-stacks .stack-card:hover::before {
  left: 100%;
}
.profile-section .profile-right .tech-stacks .stack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.2);
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.12), rgba(118, 75, 162, 0.12));
}
.profile-section .profile-right .tech-stacks .stack-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #e0e0e0;
}
.profile-section .profile-right .tech-stacks .stack-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #bbb;
}
.profile-section .profile-right .tech-stacks .stack-card .description {
  color: #999;
  font-size: 0.85rem;
}

.featured-projects {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: var(--spacing-lg) 5vw;
  background: none;
  overflow-x: hidden;
  position: relative;
}
.featured-projects .intro {
  max-width: 700px;
  text-align: left;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
}
.featured-projects .intro .featured-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.featured-projects .intro .featured-title::after {
  content: "";
  display: none;
}
.featured-projects .intro .featured-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.featured-projects .projects-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.featured-projects .project-card {
  background: transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(79, 172, 254, 0.15);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.featured-projects .project-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(79, 172, 254, 0.4);
}
.featured-projects .project-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.featured-projects .project-card .project-text {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.featured-projects .project-card .project-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.featured-projects .project-card .project-text p {
  font-size: 0.95rem;
  color: #cccccc;
  margin-bottom: 0.5rem;
}
.featured-projects .project-card .project-text .price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4facfe;
  margin-top: auto;
  align-self: flex-start;
}
.featured-projects .project-card .project-text .badge {
  display: inline-block;
  background: #2a2a2d;
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.featured-projects .project-card.dark {
  background: linear-gradient(135deg, #ff6a00, #ffcc70, #ff6a00);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
}
.featured-projects .project-card.dark .project-text h3,
.featured-projects .project-card.dark .project-text p,
.featured-projects .project-card.dark .project-text .price {
  color: #131313;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.featured-projects .project-card.light {
  background: #252528;
}
@media (max-width: 480px) {
  .featured-projects .featured-projects {
    padding: 2rem 1rem;
  }
}

.testimonial-section {
  padding: 4rem 1rem;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.testimonial-section .testimonial-heading {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding: 1rem 5vw;
}
.testimonial-section .testimonial-heading span {
  display: block;
  font-size: 1.2rem;
  color: #bbb;
}
.testimonial-section .testimonial-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.testimonial-section .testimonial-carousel .testimonial-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.testimonial-section .testimonial-carousel .testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: #1c1c1c;
  border-radius: 1rem;
  min-width: 300px;
  max-width: 350px;
  margin: 0 1rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.testimonial-section .testimonial-carousel .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.testimonial-section .testimonial-carousel .testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.testimonial-section .testimonial-carousel .testimonial-user .user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #3a3a3a;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
  /* Center vertically relative to user-info if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Slight projection effect */
  transform: translateY(-4px);
}
.testimonial-section .testimonial-carousel .testimonial-user .user-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.2;
}
.testimonial-section .testimonial-carousel .testimonial-user .user-info strong {
  font-size: 0.95rem;
  color: #fff;
}
.testimonial-section .testimonial-carousel .testimonial-user .user-info span {
  font-size: 0.8rem;
  color: #aaa;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.connection-section {
  padding: 3rem 2rem;
  background: linear-gradient(to right, #0e0e10, #1b1b1d);
  font-family: "Inter", sans-serif;
  color: #fff;
}
.connection-section .table-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.connection-section .table-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
}
.connection-section .table-header p {
  background: rgba(164, 130, 255, 0.15);
  color: #a482ff;
  padding: 0.3rem 0.5rem;
}
.connection-section .table-header .stats-overview {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 960px;
  padding: 0;
}
.connection-section .table-header .stats-overview .stat-box {
  position: relative;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 220px;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: none;
  overflow: hidden;
  z-index: 1;
}
.connection-section .table-header .stats-overview .stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--glow-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: glow 10s linear infinite;
  opacity: 0.5;
}
.connection-section .table-header .stats-overview .stat-box h3 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}
.connection-section .table-header .stats-overview .stat-box p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  background: none;
  opacity: 0.5;
  text-shadow: none;
}
.connection-section .table-header .stats-overview .stat-box:nth-child(1) {
  --glow-border: linear-gradient(135deg, #4facfe, #00f2fe);
}
.connection-section .table-header .stats-overview .stat-box:nth-child(2) {
  --glow-border: linear-gradient(135deg, #f0932b, #ff6f00);
}
.connection-section .table-header .stats-overview .stat-box:nth-child(3) {
  --glow-border: linear-gradient(135deg, #38f9d7, #43e97b);
}
@keyframes glow {
  0% {
    background-position: 0% 50%;
    transform: rotate(0deg);
  }
  100% {
    background-position: 100% 50%;
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .connection-section .table-header .stats-overview {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }
}
.connection-section .table-header .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.connection-section .table-header .controls input.search-input {
  flex: 1;
  padding: 0.7rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: 0.3s ease;
}
.connection-section .table-header .controls input.search-input:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.4);
}
.connection-section .table-header .controls select.filter-dropdown {
  appearance: none;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23ffffff' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.connection-section .table-header .controls select.filter-dropdown:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.3);
}
.connection-section .table-header .controls .export-btn {
  padding: 0.7rem 1.2rem;
  background: #4facfe;
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}
.connection-section .table-header .controls .export-btn:hover {
  background: #3c9de2;
}
.connection-section .table-scroll {
  overflow-x: auto;
}
.connection-section .table-scroll .connection-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.connection-section .table-scroll .connection-table th, .connection-section .table-scroll .connection-table td {
  padding: 1.2rem 1rem;
  text-align: left;
}
.connection-section .table-scroll .connection-table thead {
  background: rgba(255, 255, 255, 0.05);
}
.connection-section .table-scroll .connection-table thead th {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ccc;
  letter-spacing: 0.05rem;
}
.connection-section .table-scroll .connection-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}
.connection-section .table-scroll .connection-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}
.connection-section .table-scroll .connection-table tbody tr .user-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.connection-section .table-scroll .connection-table tbody tr .user-cell img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}
.connection-section .table-scroll .connection-table tbody tr .user-cell .user-info {
  display: flex;
  flex-direction: column;
}
.connection-section .table-scroll .connection-table tbody tr .user-cell .user-info strong {
  font-weight: 600;
  color: #ffffff;
}
.connection-section .table-scroll .connection-table tbody tr .user-cell .user-info span {
  font-size: 0.8rem;
  color: #aaa;
}
.connection-section .table-scroll .connection-table tbody tr a {
  color: #4facfe;
  text-decoration: none;
  font-weight: 500;
}
.connection-section .table-scroll .connection-table tbody tr a:hover {
  text-decoration: underline;
}
.connection-section .table-scroll .connection-table tbody tr .badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
}
.connection-section .table-scroll .connection-table tbody tr .badge.type-collab {
  background: rgba(79, 172, 254, 0.15);
  color: #4facfe;
}
.connection-section .table-scroll .connection-table tbody tr .badge.type-mentor {
  background: rgba(255, 194, 0, 0.15);
  color: #ffc200;
}
.connection-section .table-scroll .connection-table tbody tr .badge.type-client {
  background: rgba(255, 0, 85, 0.15);
  color: #ff0055;
}
.connection-section .table-scroll .connection-table tbody tr .badge.type-friend {
  background: rgba(0, 255, 150, 0.12);
  color: #00ff96;
}
@media (max-width: 768px) {
  .connection-section .table-header {
    align-items: stretch;
  }
  .connection-section .table-header .controls {
    flex-direction: column;
  }
  .connection-section .connection-table {
    font-size: 0.9rem;
  }
}

.site-footer {
  background: linear-gradient(180deg, #0d0d0f 0%, #111 100%);
  color: #a8a8b3;
  padding: 3.5rem 2rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.925rem;
  border-top: 1px solid rgba(79, 172, 254, 0.08);
}
.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 2.5rem 0 1.75rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  align-items: start;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateX(3px);
}

.footer-logo .brand-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-column h4 {
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0;
  padding: 0.35rem 0;
  color: #a8a8b3;
  text-decoration: none;
  line-height: 1.5;
  transition: all 0.25s ease;
  position: relative;
  width: fit-content;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-column a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 6px;
  height: 2px;
  background: var(--primary-gradient);
  transition: transform 0.25s ease;
  transform-origin: right;
}

.footer-column a:hover::before {
  transform: translateY(-50%) scaleX(1);
  transform-origin: left;
} 

#send_message_footer {
  color: #4facfe;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
#send_message_footer:hover {
  color: #6bbfff;
}
#send_message_footer i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}
#send_message_footer:hover i {
  transform: translateX(3px) translateY(-2px);
}

.donate-column {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(118, 75, 162, 0.08));
  border: 1px solid rgba(79, 172, 254, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.donate-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donate-column:hover {
  border-color: rgba(79, 172, 254, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(79, 172, 254, 0.2);
}

.donate-column:hover::before {
  opacity: 1;
}

.donate-text {
  font-size: 0.925rem;
  color: #d0d4e8;
  margin-bottom: 0;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.donate-button {
  padding: 0.85rem 2rem;
  background: var(--primary-gradient);
  border: none;
  color: #0a0a0f;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.donate-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.donate-button:hover::before {
  width: 300px;
  height: 300px;
}

.donate-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(79, 172, 254, 0.45);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #6a6a75;
  letter-spacing: 0.02em;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1.25rem 1.75rem;
  }
  .site-footer hr {
    margin: 1.5rem 0 1.25rem;
  }
  .footer-inner {
    gap: 2rem;
    max-width: 100%;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    order: 2;
  }
  .footer-column {
    gap: 0.6rem;
  }
  .footer-column h4 {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .footer-column a,
  .footer-column p {
    padding: 0.25rem 0;
    font-size: 0.875rem;
  }
  .footer-column a::before {
    display: none;
  }
  .footer-column a:hover {
    transform: translateX(2px);
  }
  .footer-logo {
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
  }
  .donate-column {
    order: 1;
    padding: 1.75rem 1.5rem;
    gap: 1.15rem;
    width: 100%;
  }
  .donate-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .donate-button {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.875rem;
  }
  .footer-bottom {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.75rem 1rem 1.5rem;
  }
  .footer-inner {
    gap: 1.75rem;
  }
  .footer-content {
    gap: 1.75rem;
  }
  .footer-columns {
    gap: 1.75rem;
  }
  .footer-column {
    gap: 0.5rem;
  }
  .footer-column h4 {
    font-size: 0.7rem;
    margin-bottom: 0.65rem;
  }
  .footer-column a,
  .footer-column p {
    font-size: 0.825rem;
    padding: 0.2rem 0;
  }
  .footer-logo {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .donate-column {
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }
  .donate-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .donate-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.825rem;
  }
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tech-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: #ccc;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.tech-tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tech-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: #ccc;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.tech-tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.announcement-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 430px);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  background: rgba(14, 18, 32, 0.92);
  border: 1px solid rgba(79, 172, 254, 0.35);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(79, 172, 254, 0.15);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 9999;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.announcement-banner::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.12), rgba(118, 75, 162, 0.12));
  z-index: -1;
  opacity: 0.8;
}
.announcement-banner.hidden {
  opacity: 0;
  transform: translate(-50%, -55%);
  pointer-events: none;
}
.announcement-banner.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.announcement-banner .announcement-content {
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.announcement-banner .announcement-content strong {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.announcement-banner .announcement-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.announcement-banner .announcement-content button#close-banner {
  align-self: flex-start;
  padding: 0.55rem 1.6rem;
  background: var(--primary-gradient);
  border: none;
  border-radius: 999px;
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.announcement-banner .announcement-content button#close-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(79, 172, 254, 0.45);
}
.announcement-banner .announcement-content button#close-banner:active {
  transform: translateY(0);
}

.article-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background: #111;
  color: #eee;
  font-family: "Inter", sans-serif;
}
.article-page .hero-image {
  width: 100%;
  max-width: 1080px;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.article-page .hero-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.article-page .article-content {
  max-width: 900px;
  width: 100%;
  padding: 0 1rem;
}
.article-page .article-content .meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.article-page .article-content .meta .info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.article-page .article-content .meta .info .date,
.article-page .article-content .meta .info .tags {
  font-size: 0.9rem;
  color: #bbb;
}
.article-page .article-content .meta .info .date span,
.article-page .article-content .meta .info .tags span {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  margin: 0 0.2rem;
  border-radius: 6px;
}
.article-page .article-content .meta .meta-side {
  font-size: 0.9rem;
}
.article-page .article-content .meta .meta-side p {
  margin: 0.2rem 0;
}
.article-page .article-content .meta .meta-side strong {
  color: #4facfe;
}
.article-page .article-content .article-body {
  line-height: 1.7;
  font-size: 1rem;
}
.article-page .article-content .article-body p {
  margin-bottom: 1.5rem;
}
.article-page .article-content .article-body figcaption {
  padding: 1rem 0;
}
.article-page .article-content .article-body .image-pair {
  padding: 1rem 0;
}
.article-page .article-content .article-body .image-pair img,
.article-page .article-content .article-body .image-grid img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.article-page .article-content .download-bar {
  margin-top: 3rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.article-page .article-content .download-bar span {
  font-weight: bold;
  font-size: 1.1rem;
}
.article-page .article-content .download-bar button {
  background: #4facfe;
  color: white;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}
.article-page .article-content .download-bar button:hover {
  background: #3194ff;
}

/* Blog Page Styles */
.blog-hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, rgba(79, 172, 254, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(79, 172, 254, 0.1);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(102, 126, 234, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(102, 126, 234, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(102, 126, 234, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(102, 126, 234, 0.1) 75%),
    linear-gradient(35deg, rgba(118, 75, 162, 0.1) 20%, transparent 20%),
    linear-gradient(-35deg, rgba(118, 75, 162, 0.1) 20%, transparent 20%),
    linear-gradient(55deg, transparent 80%, rgba(102, 126, 234, 0.1) 80%),
    linear-gradient(-55deg, transparent 80%, rgba(118, 75, 162, 0.1) 80%);
  background-size: 80px 80px, 80px 80px, 80px 80px, 80px 80px, 120px 120px, 120px 120px, 100px 100px, 100px 100px;
  background-position: 0 0, 0 40px, 40px -40px, -40px 0px, 20px 20px, 60px 60px, 30px 10px, 70px 50px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.blog-hero > * {
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.blog-hero p {
  font-size: 1.2rem;
  color: #a8a8b3;
  margin-bottom: 2.5rem;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1rem;
}

.search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: rgba(79, 172, 254, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

.search-bar input::placeholder {
  color: #666;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #a8a8b3;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn .count {
  background: rgba(79, 172, 254, 0.15);
  color: #4facfe;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(79, 172, 254, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #0a0a0f;
}

.filter-btn.active .count {
  background: rgba(0, 0, 0, 0.2);
  color: #0a0a0f;
}

.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.3);
  box-shadow: 0 20px 60px rgba(79, 172, 254, 0.15);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.blog-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #888;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-card-content p {
  color: #a8a8b3;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(79, 172, 254, 0.3);
}

.author span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ccc;
}

.blog-footer i {
  color: #4facfe;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-footer i {
  transform: translateX(5px);
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-hero p {
    font-size: 1rem;
  }
  
  .blog-filters {
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
    gap: 1.5rem;
  }
  
  .blog-card-image {
    height: 200px;
  }
  
  .blog-card-content {
    padding: 1.5rem;
  }
  
  .blog-card-content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 4rem 1rem 3rem;
  }
  
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .search-bar input {
    padding: 0.85rem 1rem 0.85rem 3rem;
    font-size: 0.9rem;
  }
  
  .filter-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
}

/* Article Modal */
.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.article-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.article-modal-content {
  position: relative;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.article-modal-content::-webkit-scrollbar {
  width: 10px;
}

.article-modal-content::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}

.article-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10001;
  backdrop-filter: blur(5px);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

#article-detail {
  padding: 0;
  position: relative;
}

.article-hero {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.article-header {
  padding: 2rem 3rem 1rem;
}

.article-header .article-meta {
  display: flex;
  gap: 1.5rem;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-header .article-meta i {
  margin-right: 0.5rem;
  color: #667eea;
}

.article-header h1 {
  font-size: 2.5rem;
  color: white;
  margin: 1rem 0;
  line-height: 1.2;
  font-weight: 700;
}

.article-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.keyword-tag {
  padding: 0.4rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  color: #667eea;
  font-size: 0.85rem;
  font-weight: 500;
}

.article-body {
  padding: 1rem 3rem 3rem;
  color: #ccc;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.article-body h2 {
  color: white;
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  font-weight: 600;
}

.article-body ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body ul li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.article-body .article-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: top center;
  max-height: 500px;
}

@media (max-width: 768px) {
  .article-modal {
    padding: 1rem;
  }

  .article-hero {
    height: 250px;
  }

  .article-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-body {
    padding: 1rem 1.5rem 2rem;
  }

  .article-body p,
  .article-body ul li {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }
}

/*# sourceMappingURL=style.css.map */
