:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --text-primary: #f0eff4;
  --text-secondary: #9896a6;
  --text-muted: #5c5a6a;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.25);
  --green: #00e88f;
  --green-glow: rgba(0, 232, 143, 0.2);
  --orange: #fd7e14;
  --cyan: #17c1e8;
  --gradient-1: linear-gradient(135deg, #6c5ce7, #00e88f);
  --gradient-2: linear-gradient(135deg, #fd7e14, #6c5ce7);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition:
    left 0.3s ease,
    top 0.3s ease;
}

/* ── NOISE OVERLAY ── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
  transition: all 0.4s ease;
}

nav > * {
  flex-shrink: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

nav.scrolled {
  padding: 14px 48px;
  background: rgba(10, 10, 15, 0.92);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  color: var(--bg-primary);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}

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

.hero-photo {
  position: relative;
  width: 340px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(108, 92, 231, 0.2);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--accent-glow);
  flex-shrink: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.5s;
}

.hero-photo:hover img {
  filter: grayscale(0%) contrast(1.1);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 15, 0.6) 100%
  );
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    black 20%,
    transparent 100%
  );
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 15%;
  left: 10%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: var(--orange);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  font-size: 0.82rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--green-glow);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero h1 .line {
  display: block;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  color: var(--bg-primary);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 1.5px solid rgba(108, 92, 231, 0.4);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.08);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION GLOBAL ── */
section {
  padding: 120px 48px;
  position: relative;
  z-index: 2;
}

section
  > *:not(.hero-grid-bg):not(.hero-orb):not(.hero-orb-1):not(.hero-orb-2):not(
    .hero-orb-3
  ) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 72px;
}

.section-tag {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gradient-1);
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 520px;
}

/* ── ABOUT ── */
#about {
  background: var(--bg-secondary);
}

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

.about-visual {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-primary));
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(108, 92, 231, 0.15);
}

.about-image-frame .code-art {
  position: absolute;
  inset: 0;
  padding: 32px;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--accent);
  opacity: 0.18;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-all;
}

.about-image-frame .avatar-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.about-floating-card {
  position: absolute;
  padding: 16px 20px;
  background: rgba(22, 22, 31, 0.92);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(108, 92, 231, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-floating-card.card-1 {
  bottom: -20px;
  right: -20px;
  animation: floatCard 6s ease-in-out infinite;
}

.about-floating-card.card-2 {
  top: 30px;
  right: -30px;
  animation: floatCard 6s ease-in-out infinite 2s;
}

.about-floating-card.card-3 {
  bottom: 80px;
  left: -25px;
  animation: floatCard 6s ease-in-out infinite 4s;
}

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

.about-floating-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.about-floating-card .card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-floating-card .card-value {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about-text h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-tag {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  color: var(--accent-light);
}

/* ── PARCOURS (TIMELINE) ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--green),
    var(--accent)
  );
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 52px;
}

.timeline-dot {
  position: absolute;
  left: 23px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-date {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-company {
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.timeline-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.timeline-stack span {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-light);
  font-weight: 500;
}

/* ── SKILLS ── */
#skills {
  background: var(--bg-secondary);
}

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

.skill-card {
  padding: 36px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(108, 92, 231, 0.2);
}

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

.skill-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.skill-card-icon.purple {
  background: rgba(108, 92, 231, 0.15);
}
.skill-card-icon.green {
  background: rgba(0, 232, 143, 0.12);
}
.skill-card-icon.orange {
  background: rgba(253, 126, 20, 0.12);
}
.skill-card-icon.cyan {
  background: rgba(23, 193, 232, 0.12);
}

.skill-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-item {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}

.skill-item:hover {
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent-light);
  border-color: rgba(108, 92, 231, 0.3);
}

/* ── AI SECTION ── */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-banner {
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.08),
    rgba(0, 232, 143, 0.06)
  );
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ai-text h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  overflow-wrap: break-word;
}

.ai-text h3 .ai-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-text p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.ai-tool-card {
  padding: 24px;
  background: rgba(22, 22, 31, 0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.3s;
}

.ai-tool-card:hover {
  border-color: rgba(23, 193, 232, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ai-tool-card .tool-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.ai-tool-card .tool-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.ai-tool-card .tool-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── PROJECTS ── */
#projects {
  background: var(--bg-secondary);
}

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-color: rgba(108, 92, 231, 0.25);
}

.project-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-image .project-gradient {
  position: absolute;
  inset: 0;
}

.project-image .project-mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mockup-browser {
  width: 90%;
  height: 85%;
  background: rgba(10, 10, 15, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.mockup-topbar {
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #ff5f57;
}
.mockup-dot.yellow {
  background: #ffbd2e;
}
.mockup-dot.green {
  background: #28ca41;
}

.mockup-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.mockup-line.short {
  width: 40%;
}
.mockup-line.medium {
  width: 70%;
}
.mockup-line.long {
  width: 90%;
}
.mockup-line.accent {
  background: rgba(108, 92, 231, 0.3);
  width: 55%;
}

.project-body {
  padding: 28px;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 10px;
}

.project-body h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

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

.project-tech span {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-light);
  font-weight: 500;
}

/* ── SOFT SKILLS ── */
.soft-skills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.soft-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s;
}

.soft-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.soft-card .soft-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.soft-card h4 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.soft-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ── CONTACT ── */
#contact {
  background: var(--bg-secondary);
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-container .section-header {
  text-align: center;
}

.contact-container .section-tag {
  justify-content: center;
}

.contact-big-text {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.15;
}

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

.contact-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

footer p {
  max-width: 1200px;
  margin: 0 auto;
}

footer a {
  color: var(--accent-light);
  text-decoration: none;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── MOBILE MENU ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

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

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

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

/* ── MOBILE OVERLAY MENU ── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
  display: flex;
  opacity: 1;
}

.mobile-menu-overlay a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  transition: all 0.3s;
  letter-spacing: -0.5px;
}

.mobile-menu-overlay a:hover {
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.1);
}

.mobile-menu-overlay .mobile-cta {
  margin-top: 20px;
  padding: 14px 36px;
  background: var(--gradient-1);
  color: var(--bg-primary);
  border-radius: 50px;
  font-size: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-banner {
    grid-template-columns: 1fr;
  }
  .soft-skills-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    gap: 32px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
  .nav-cta {
    padding: 8px 18px;
    font-size: 0.78rem;
  }
  nav {
    padding: 16px 32px;
  }
  .hero-photo {
    width: 280px;
    height: 350px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    display: none;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }
  section {
    padding: 80px 24px;
  }
  .hero {
    padding: 100px 24px 60px;
  }
  .hero h1 {
    letter-spacing: -1px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .soft-skills-row {
    grid-template-columns: 1fr;
  }
  .ai-banner {
    padding: 24px;
  }
  .ai-tools-grid {
    grid-template-columns: 1fr;
  }
}
