:root {
  --bg: #050816;
  --bg-secondary: #0B1220;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #FFFFFF;
  --text-muted: #94A3B8;
  --accent: #7C3AED;
  --accent-secondary: #06B6D4;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

/* ====================================
   PREMIUM LOADER V2
==================================== */

#loader,
.premium-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #050816 0%, #0B1220 100%);
  transition: opacity 0.5s ease;
}

.loader-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-background .circuit-board {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.loader-title {
  margin-top: 24px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-subtitle {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 1px;
}

.loader-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  max-width: 720px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 1px;
}

.status-item i {
  color: var(--accent-secondary);
}

.progress-wrapper {
  width: min(320px, 80vw);
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7C3AED, #06B6D4);
  transition: width 0.2s ease;
}

.progress-text {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.loader-quote {
  margin-top: 24px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.loader-tagline {
  margin-top: 8px;
  color: var(--accent-secondary);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.loader-content{
    position:relative;
    z-index:10;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.loader-avatar-wrapper{
    position:relative;

    width:340px;
    height:340px;

    display:flex;
    justify-content:center;
    align-items:center;
}

.loader-avatar-wrapper::before{
    content:"";

    position:absolute;
    inset:0;

    border-radius:50%;

    background:
        radial-gradient(
            circle at center,
            rgba(124,58,237,.08) 0%,
            rgba(6,182,212,.05) 45%,
            transparent 75%
        );

    filter:blur(10px);

    animation:
        loaderAura 5s ease-in-out infinite;
}

.loader-avatar{
    width:240px;
    height:240px;

    border-radius:50%;
    object-fit:cover;

    position:relative;
    z-index:10;

    border:3px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 20px rgba(124,58,237,.15),
        0 0 40px rgba(6,182,212,.08);

    animation:
        loaderFloat 4s ease-in-out infinite;
}

.avatar-ring-1{
    position:absolute;

    width:290px;
    height:290px;

    border-radius:50%;

    border:2px solid rgba(124,58,237,.20);

    animation:
        rotateRing 10s linear infinite;
}

.avatar-ring-2{
    position:absolute;

    width:340px;
    height:340px;

    border-radius:50%;

    border:1px solid rgba(6,182,212,.15);

    animation:
        rotateRingReverse 16s linear infinite;
}

.avatar-pulse{
    position:absolute;

    width:100%;
    height:100%;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(124,58,237,.10) 0%,
            rgba(6,182,212,.05) 45%,
            transparent 70%
        );

    filter:blur(8px);

    animation:
        pulseAura 4s ease-in-out infinite;
}

@keyframes loaderFloat{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }
}

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

    to{
        transform:rotate(360deg);
    }
}

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

    to{
        transform:rotate(0deg);
    }
}

@keyframes pulseAura{
    0%,100%{
        transform:scale(1);
        opacity:.5;
    }

    50%{
        transform:scale(1.08);
        opacity:.9;
    }
}

@keyframes loaderAura{
    0%,100%{
        transform:scale(1);
        opacity:.5;
    }

    50%{
        transform:scale(1.1);
        opacity:.9;
    }
}
/* ====================================
   AURORA BACKGROUND
==================================== */

.aurora-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.aurora-1 {
  width: 600px;
  height: 600px;
  background: #7C3AED;
  top: -300px;
  left: -200px;
  animation: float 8s ease-in-out infinite;
}

.aurora-2 {
  width: 500px;
  height: 500px;
  background: #06B6D4;
  top: 20%;
  right: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.aurora-3 {
  width: 450px;
  height: 450px;
  background: #7C3AED;
  bottom: -200px;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

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

/* ====================================
   FLOATING DOCK
==================================== */

.floating-dock {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.dock-item {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-size: 20px;
}

.dock-item:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateX(-8px) scale(1.1);
}

.dock-item::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(10px);
}

.dock-item:hover::after {
  opacity: 1;
}

/* ====================================
   LANGUAGE SWITCHER
==================================== */

.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.lang-switcher-desktop {
  display: flex;
  margin-left: 8px;
}

.lang-switcher-mobile {
  display: none;
  width: 100%;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.lang-btn {
  padding: 7px 11px;
  min-width: 38px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  line-height: 1;
}

.lang-btn:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--accent);
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
}

/* ====================================
   header
==================================== */

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, 92%);
  z-index: 1000;
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(11, 18, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* ====================================
   NAVBAR
==================================== */

.navbar {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ====================================
   MOBILE MENU
==================================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

/* ====================================
   BUTTONS
==================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
}

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

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

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ====================================
   SECTIONS
==================================== */

section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-label {
  display: inline-block;
  color: var(--accent-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ====================================
   HERO SECTION
==================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  color: #C4B5FD;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 120px;
}

.stat h3 {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ====================================
   PREMIUM HERO AVATAR WITH PARALLAX
==================================== */

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
}

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

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate 20s linear infinite;
}

.ring-1 {
  width: 380px;
  height: 380px;
  border-color: rgba(124, 58, 237, 0.3);
  animation-duration: 20s;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

.ring-2 {
  width: 440px;
  height: 440px;
  border-color: rgba(6, 182, 212, 0.25);
  animation-duration: 25s;
  animation-direction: reverse;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

.ring-3 {
  width: 500px;
  height: 500px;
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 30s;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

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

.avatar-wrapper {
  position: relative;
  z-index: 10;
}

.avatar {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  box-shadow:
    0 0 25px rgba(124,58,237,.18),
    0 0 45px rgba(6,182,212,.08),
    inset 0 0 30px rgba(255,255,255,0.05);
  animation: float 3s ease-in-out infinite;
  transition: transform 0.1s ease-out;
}

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

.avatar-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: -1;
  filter: blur(20px);
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

.ai-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #7C3AED, transparent);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; right: 15%; animation-delay: 1s; }
.particle-3 { bottom: 20%; left: 20%; animation-delay: 2s; }

@keyframes float-particle {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
  50% { opacity: 1; transform: translate(20px, -20px) scale(0.8); }
}

.floating-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  animation: badge-orbit 10s linear infinite;
  box-shadow:
    0 0 20px rgba(124, 58, 237, 0.2),
    inset 0 0 10px rgba(255,255,255,0.1);
  letter-spacing: 0.5px;
  z-index: 5;
}

.badge-1 { animation-delay: 0s; }
.badge-2 { animation-delay: -3.3s; }
.badge-3 { animation-delay: -6.6s; }

@keyframes badge-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(265px) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(265px) rotate(-360deg); }
}

/* ====================================
   ABOUT SECTION
==================================== */

.about {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left {
  position: relative;
}

.large-card {
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.card-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.card-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
}

.info-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====================================
   ACHIEVEMENTS
==================================== */

.achievements {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.05) 100%);
  padding: 60px 0;
}

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

.achievement-card {
  padding: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--accent);
  transform: translateY(-8px);
}

.achievement-card h3 {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.achievement-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ====================================
   EXPERIENCE TIMELINE
==================================== */

.experience {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary), transparent);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 20px var(--accent);
  grid-column: 2;
  animation: pulse-marker 2s ease-in-out infinite;
}

@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 30px var(--accent), 0 0 60px rgba(124, 58, 237, 0.5); }
}

.timeline-content {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
}

.timeline-label {
  display: block;
  font-size: 12px;
  color: var(--accent-secondary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====================================
   PROJECTS SECTION
==================================== */

.projects {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 100%);
}

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

.project-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  color: var(--accent);
  font-size: 18px;
}

.project-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #C4B5FD;
}

.project-footer {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.project-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.project-link:hover {
  color: var(--accent);
}

.project-link.live {
  color: #10B981;
}

.project-link.live:hover {
  color: #34D399;
}

/* ====================================
   SERVICES SECTION
==================================== */

.services {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.05) 50%, transparent 100%);
}

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

.service-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-8px);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 14px;
  color: var(--accent);
  font-size: 28px;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-secondary);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====================================
   TECH ARSENAL
==================================== */

.skills {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
  overflow: hidden;
}

.title-accent {
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tech-marquee-row {
  overflow: hidden;
  width: 100%;
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.marquee-left .tech-marquee-track {
  animation-name: marquee-left;
  animation-duration: 35s;
}

.marquee-right .tech-marquee-track {
  animation-name: marquee-right;
  animation-duration: 38s;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  white-space: nowrap;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tech-pill:hover {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.15);
}

.tech-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.tech-pill i {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 16px;
}

.tech-pill span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ====================================
   DIGITAL ECOSYSTEM
==================================== */

.digital-ecosystem {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.05) 100%);
}

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

.social-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.social-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.social-card:hover::before {
  opacity: 1;
}

.social-icon {
  font-size: 36px;
  color: var(--accent);
  transition: var(--transition);
}

.social-card:hover .social-icon {
  transform: scale(1.2);
}

.social-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.social-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.social-arrow {
  font-size: 18px;
  color: var(--accent-secondary);
  transition: var(--transition);
  margin-top: auto;
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
}

/* ====================================
   CONTACT SECTION
==================================== */

.contact {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.08));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.18);
}

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 14px;
  color: var(--accent);
  font-size: 28px;
  margin: 0 auto 16px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-secondary);
  transform: scale(1.15) rotate(-4deg);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ====================================
   FOOTER
==================================== */

.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05));
  border-top: 1px solid var(--border);
  padding: 60px 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-text p:first-child {
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 14px;
  color: var(--accent-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ====================================
   RESPONSIVE
==================================== */

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    min-height: 340px;
  }

  .avatar-container {
    width: 320px;
    height: 320px;
  }

  .avatar {
    width: 240px;
    height: 240px;
  }

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

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-item .timeline-content {
    grid-column: 1 !important;
    text-align: left !important;
  }

  .timeline-marker {
    grid-column: 1;
    margin-left: 0;
  }

  .navbar {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .floating-dock {
    display: none;
  }
}
