/* ============================================
   DevCraft Studio — Portfolio CSS
   Dark Futuristic Theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ── Palette (derived from hero video — deep dark blues, electric cyan, vivid purple) ── */
  --bg-primary:      #05080f;
  --bg-secondary:    #0a0f1e;
  --bg-card:         rgba(12, 18, 38, .55);
  --bg-glass:        rgba(15, 22, 45, .45);

  --accent-cyan:     #00e5ff;
  --accent-purple:   #9d4edd;
  --accent-blue:     #3a86ff;
  --accent-pink:     #e040fb;

  --gradient-brand:  linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-hero:   linear-gradient(160deg, rgba(0,229,255,.12) 0%, rgba(157,78,221,.10) 50%, rgba(5,8,15,.95) 100%);
  --gradient-card:   linear-gradient(145deg, rgba(0,229,255,.06), rgba(157,78,221,.06));
  --gradient-btn:    linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  --gradient-btn-alt:linear-gradient(135deg, var(--accent-purple), var(--accent-pink));

  --text-primary:    #eaf0ff;
  --text-secondary:  #8892b0;
  --text-muted:      #4a5278;

  --border-glass:    rgba(0, 229, 255, .12);
  --shadow-glow-cyan:0 0 30px rgba(0, 229, 255, .18);
  --shadow-glow-purple:0 0 30px rgba(157, 78, 221, .18);

  /* ── Typography ── */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* ── Spacing ── */
  --section-pad:  120px 0;
  --container-w:  1200px;

  /* ── Transitions ── */
  --ease-smooth:  cubic-bezier(.25, .46, .45, .94);
  --ease-bounce:  cubic-bezier(.68, -.55, .27, 1.55);
  --dur-normal:   .35s;
  --dur-slow:     .6s;

  /* ── Z-Index ── */
  --z-header: 1000;
  --z-overlay: 5;
  --z-content: 10;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

.container {
  width: 90%;
  max-width: var(--container-w);
  margin: 0 auto;
}

/* ---------- Utility: Section Title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title .label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
  font-size: .95rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: 18px 0;
  transition: background var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              padding var(--dur-normal) var(--ease-smooth);
}

.header.scrolled {
  background: rgba(5, 8, 15, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0, 0, 0, .35);
  padding: 12px 0;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bg-primary);
}

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

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--dur-normal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
  transition: width var(--dur-normal) var(--ease-smooth);
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-normal), opacity var(--dur-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,8,15,.45) 0%, rgba(5,8,15,.70) 50%, var(--bg-primary) 100%),
    linear-gradient(90deg, rgba(5,8,15,.80) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 0 80px;
}

/* Hero Content */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .18);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,229,255,.5); }
  50% { opacity: .7; box-shadow: 0 0 0 8px rgba(0,229,255,0); }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
}

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

.hero-content .hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--dur-normal);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-btn);
  color: var(--bg-primary);
  box-shadow: 0 4px 25px rgba(0, 229, 255, .25);
}

.btn-primary:hover {
  box-shadow: 0 8px 35px rgba(0, 229, 255, .4);
}

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

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

/* Hero Image */
.hero-image {
  flex-shrink: 0;
  position: relative;
}

.profile-frame {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-brand);
  z-index: -1;
  animation: glow-spin 4s linear infinite;
}

.profile-frame::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: var(--gradient-brand);
  z-index: -2;
  opacity: .25;
  filter: blur(18px);
  animation: glow-spin 4s linear infinite reverse;
}

@keyframes glow-spin {
  0%   { filter: hue-rotate(0deg)   blur(0px); }
  50%  { filter: hue-rotate(30deg)  blur(2px); }
  100% { filter: hue-rotate(0deg)   blur(0px); }
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
}

/* Floating decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 3;
}

.hero-orb--cyan {
  width: 320px;
  height: 320px;
  background: rgba(0, 229, 255, .08);
  top: 15%;
  left: -5%;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb--purple {
  width: 280px;
  height: 280px;
  background: rgba(157, 78, 221, .08);
  bottom: 10%;
  right: -3%;
  animation: float-orb 10s ease-in-out infinite reverse;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-pad);
  position: relative;
}

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

.about-visual {
  position: relative;
}

.about-code-block {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px 32px;
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 2;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.about-code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
}

.code-dots {
  display: flex;
  gap: 6px;
  padding: 0 0 16px;
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-line { opacity: .85; }
.code-keyword { color: var(--accent-purple); }
.code-string  { color: var(--accent-cyan); }
.code-prop    { color: var(--accent-blue); }
.code-comment { color: var(--text-muted); }
.code-bracket { color: var(--text-secondary); }

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text h3 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   SKILLS / TECHNICAL EXPERIENCE
   ============================================ */
.skills {
  padding: var(--section-pad);
  background: var(--bg-secondary);
  position: relative;
}

.skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

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

.skill-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              border-color var(--dur-normal);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--dur-normal);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, .3);
  box-shadow: var(--shadow-glow-cyan);
}

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

.skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-normal) var(--ease-bounce);
}

.skill-card:hover .skill-icon {
  transform: scale(1.12);
}

.skill-icon--html    { background: rgba(227, 76, 38, .15); color: #e34c26; }
.skill-icon--css     { background: rgba(38, 77, 228, .15); color: #264de4; }
.skill-icon--js      { background: rgba(240, 219, 79, .15); color: #f0db4f; }
.skill-icon--react   { background: rgba(97, 218, 251, .15); color: #61dafb; }
.skill-icon--node    { background: rgba(104, 159, 56, .15); color: #689f38; }
.skill-icon--mongo   { background: rgba(77, 175, 80, .15); color: #4daf50; }

.skill-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.skill-card p {
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--section-pad);
  position: relative;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              border-color var(--dur-normal);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(157, 78, 221, .3);
  box-shadow: var(--shadow-glow-purple);
}

.project-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-thumb .project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,8,15,.85) 100%);
}

.project-body {
  padding: 28px;
}

.project-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-body .project-desc {
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.tech-tag {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-family: var(--font-mono);
  background: rgba(0, 229, 255, .08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, .12);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: .88rem;
  transition: gap var(--dur-normal) var(--ease-smooth),
              color var(--dur-normal);
}

.project-link:hover {
  gap: 14px;
  color: var(--text-primary);
}

.project-link svg {
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.project-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-pad);
  background: var(--bg-secondary);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info h3 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: .95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 229, 255, .08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-detail-text .detail-label {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-text .detail-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: .95rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  transition: transform var(--dur-normal) var(--ease-smooth),
              color var(--dur-normal),
              border-color var(--dur-normal),
              box-shadow var(--dur-normal);
}

.social-link:hover {
  transform: translateY(-4px);
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, .3);
  box-shadow: var(--shadow-glow-cyan);
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(5, 8, 15, .6);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: .92rem;
  transition: border-color var(--dur-normal),
              box-shadow var(--dur-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

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

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: var(--gradient-btn);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 229, 255, .35);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-in-out;
}

.form-status--success {
  background: rgba(40, 200, 64, 0.12);
  color: #28c840;
  border: 1px solid rgba(40, 200, 64, 0.35);
  box-shadow: 0 4px 20px rgba(40, 200, 64, 0.15);
}

.form-status--error {
  background: rgba(255, 95, 87, 0.12);
  color: #ff5f57;
  border: 1px solid rgba(255, 95, 87, 0.35);
  box-shadow: 0 4px 20px rgba(255, 95, 87, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-glass);
}

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

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-smooth);
}

.reveal.fade-up    { transform: translateY(50px); }
.reveal.fade-down  { transform: translateY(-50px); }
.reveal.fade-left  { transform: translateX(50px); }
.reveal.fade-right { transform: translateX(-50px); }
.reveal.scale-in   { transform: scale(.9); }

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: .05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: .12s; }
.stagger-children .reveal:nth-child(3) { transition-delay: .19s; }
.stagger-children .reveal:nth-child(4) { transition-delay: .26s; }
.stagger-children .reveal:nth-child(5) { transition-delay: .33s; }
.stagger-children .reveal:nth-child(6) { transition-delay: .40s; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

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

/* Tablet */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content .hero-desc {
    max-width: 100%;
  }

  .cta-group {
    justify-content: center;
  }

  .profile-frame {
    width: 240px;
    height: 240px;
  }

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

  .about-visual { order: 2; }
  .about-text   { order: 1; text-align: center; }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 15, 30, .96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--dur-normal) var(--ease-smooth);
    border-left: 1px solid var(--border-glass);
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero .container {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .profile-frame {
    width: 200px;
    height: 200px;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-form {
    padding: 28px 22px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .section-title {
    margin-bottom: 44px;
  }
}

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

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .profile-frame {
    width: 170px;
    height: 170px;
  }
}
