
:root {
  --purple: #9b5cf6;
  --purple-light: #c084fc;
  --purple-dark: #6d28d9;
  --cyan: #22d3ee;
  --cyan-light: #67e8f9;
  --pink: #e879f9;
  --bg: #04020f;
  --bg2: #080418;
  --surface: rgba(155,92,246,0.07);
  --border: rgba(155,92,246,0.2);
  --text: #e2d9f3;
  --muted: #8b7aa8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid var(--purple-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .08s ease;
  opacity: .7;
}
body:hover #cursor { opacity: 1; }

/* ── CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

/* ── LAYOUT ── */
section { position: relative; z-index: 2; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(4,2,15,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
nav.scrolled {
  padding: .9rem 4rem;
  background: rgba(4,2,15,0.92);
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo span {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: .05em;
}
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  color: var(--muted); transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'Exo 2', sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
  padding: .6rem 1.6rem;
  border: 1px solid var(--purple);
  color: var(--purple-light);
  border-radius: 3px;
  transition: all .25s;
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  opacity: 0; transition: opacity .25s;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta:hover { color: #fff; box-shadow: 0 0 20px rgba(155,92,246,.4); }
.nav-cta span { position: relative; z-index: 1; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.25);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--cyan-light);
  margin-bottom: 2rem;
  opacity: 0;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 {
  display: block;
  background: linear-gradient(100deg, var(--purple-light) 0%, var(--cyan) 60%, var(--pink) 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.hero-sub {
  font-size: 1.15rem; font-weight: 300; line-height: 1.7;
  color: var(--muted); max-width: 540px;
  margin: 0 auto 2.8rem;
  opacity: 0;
}
.hero-sub strong { color: var(--purple-light); font-weight: 500; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  padding: .9rem 2.4rem;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff; border-radius: 4px;
  border: 1px solid var(--purple-light);
  transition: all .3s;
  box-shadow: 0 0 30px rgba(155,92,246,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(155,92,246,.55);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  padding: .9rem 2.4rem;
  border: 1px solid var(--border);
  color: var(--text); border-radius: 4px;
  transition: all .3s;
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34,211,238,.05);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.hero-scroll svg { opacity: .5; }

/* Dragonfly hero image */
.hero-dragonfly {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 35vw, 520px);
  opacity: .08;
  pointer-events: none;
  filter: hue-rotate(0deg) saturate(1.5);
}

/* glowing orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: -1;
}
.orb-1 { width: 500px; height: 500px; background: rgba(155,92,246,.25); top: -100px; left: -150px; }
.orb-2 { width: 400px; height: 400px; background: rgba(34,211,238,.15); bottom: -50px; right: -100px; }
.orb-3 { width: 300px; height: 300px; background: rgba(232,121,249,.12); top: 30%; left: 40%; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(155,92,246,.04);
  padding: .8rem 0;
  z-index: 2; position: relative;
}
.ticker {
  display: flex; gap: 3rem;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.ticker-item svg { color: var(--purple-light); flex-shrink: 0; }

/* ── SECTIONS SHARED ── */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 1px;
  background: var(--purple-light);
}
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title span {
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub { font-size: 1rem; font-weight: 300; color: var(--muted); max-width: 500px; line-height: 1.7; }

/* ── SERVICES ── */
#services {
  padding: 6rem 4rem;
  max-width: 1200px; margin: 0 auto;
}
.services-header { margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: linear-gradient(135deg, var(--border), transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(155,92,246,.06), rgba(34,211,238,.03));
  opacity: 0; transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: rgba(10,5,30,1); }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(155,92,246,.15), rgba(34,211,238,.1));
  border: 1px solid rgba(155,92,246,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.service-title {
  font-family: 'Orbitron', monospace;
  font-size: .95rem; font-weight: 600;
  color: var(--text); margin-bottom: .7rem;
  letter-spacing: .03em;
}
.service-desc {
  font-size: .875rem; font-weight: 300; line-height: 1.65;
  color: var(--muted);
}
.service-arrow {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  color: var(--purple-light); opacity: 0;
  transition: all .3s; transform: translate(-4px, 4px);
}
.service-card:hover .service-arrow { opacity: 1; transform: translate(0,0); }

/* ── ABOUT ── */
#about {
  padding: 6rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(155,92,246,.04), transparent);
}
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
}
.about-hex {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(155,92,246,.08), rgba(34,211,238,.06));
  border: 1px solid var(--border);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  animation: morphBlob 8s ease-in-out infinite;
  position: relative;
}
@keyframes morphBlob {
  0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%      { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  50%      { border-radius: 50% 50% 30% 70% / 30% 70% 70% 30%; }
  75%      { border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%; }
}
.about-hex::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  z-index: -1; opacity: .4;
  filter: blur(20px);
}
.about-stat-badge {
  position: absolute;
  background: rgba(4,2,15,.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: .8rem 1.2rem;
  font-family: 'Orbitron', monospace;
}
.about-stat-badge .num {
  font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-stat-badge .lbl { font-size: .65rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.badge-tl { top: -10px; left: -20px; }
.badge-br { bottom: 10px; right: -20px; }
/* .about-content { } */
.about-content p {
  font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--muted);
  margin-bottom: 1rem;
}
.about-content strong { color: var(--purple-light); font-weight: 500; }
.tech-stack { margin-top: 2rem; }
.tech-stack-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 1rem;
}
.tech-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .7rem; font-weight: 500; letter-spacing: .08em;
  padding: .3rem .8rem;
  background: rgba(155,92,246,.08);
  border: 1px solid rgba(155,92,246,.2);
  border-radius: 100px; color: var(--text);
  transition: all .2s;
}
.chip:hover { background: rgba(155,92,246,.2); border-color: var(--purple); }

/* ── PROJECTS ── */
#projects {
  padding: 6rem 4rem;
  max-width: 1300px; margin: 0 auto;
}
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}
.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(155,92,246,.2);
}
.proj-card:nth-child(1) { grid-column: span 7; }
.proj-card:nth-child(2) { grid-column: span 5; }
.proj-card:nth-child(3) { grid-column: span 4; }
.proj-card:nth-child(4) { grid-column: span 4; }
.proj-card:nth-child(5) { grid-column: span 4; }
.proj-img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(155,92,246,.2), rgba(34,211,238,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; overflow: hidden;
  position: relative;
}
.proj-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg2) 100%);
}
.proj-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-info { padding: 1.5rem; }
.proj-tag {
  font-size: .65rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--cyan-light);
  margin-bottom: .5rem;
}
.proj-name {
  font-family: 'Orbitron', monospace;
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-bottom: .4rem;
}
.proj-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.proj-link {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(4,2,15,.8);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); text-decoration: none;
  opacity: 0; transform: scale(.8);
  transition: all .25s; z-index: 2;
}
.proj-card:hover .proj-link { opacity: 1; transform: scale(1); }
.proj-link:hover { background: var(--purple); border-color: var(--purple); }

/* ── PROCESS ── */
#process {
  padding: 6rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.02), transparent);
}
.process-inner { max-width: 900px; margin: 0 auto; }
.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .section-label { justify-content: center; }
.process-header .section-sub { margin: 0 auto; text-align: center; }
.steps {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.steps::before {
  content: ''; position: absolute;
  left: 23px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--purple), var(--cyan), transparent);
}
.step {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 2rem 0;
  opacity: 0; transform: translateX(-20px);
}
.step-num {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border: 2px solid var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace; font-size: .8rem; font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px rgba(155,92,246,.4);
  position: relative; z-index: 1;
}
.step-content { padding-top: .6rem; }
.step-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text); margin-bottom: .4rem;
}
.step-desc { font-size: .9rem; font-weight: 300; color: var(--muted); line-height: 1.65; }

/* ── CONTACT ── */
#contact {
  padding: 6rem 4rem;
  max-width: 1200px; margin: 0 auto;
}
.contact-inner {
  background: linear-gradient(135deg, rgba(155,92,246,.06), rgba(34,211,238,.04));
  border: 1px solid var(--border);
  border-radius: 20px; padding: 4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  position: relative; overflow: hidden;
  align-items: stretch;
}
.contact-inner::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155,92,246,.15), transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.contact-inner > div:last-child {
  display: flex;
}
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(155,92,246,.1); border: 1px solid rgba(155,92,246,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--purple-light); margin-bottom: .25rem; font-weight: 600; }
.contact-val { font-size: .95rem; color: var(--text);}
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-light); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(4,2,15,.6);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem; color: var(--text);
  transition: border-color .25s, box-shadow .25s;
  outline: none; resize: none;
}

.form-group textarea {
  flex: 1;
  min-height: 300px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(155,92,246,.15);
}
.form-group select option { background: #0d0726; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border: 1px solid var(--purple-light);
  border-radius: 6px;
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(155,92,246,.3);
  margin-top: auto;
}
.btn-submit:hover {
  box-shadow: 0 4px 40px rgba(155,92,246,.55);
  transform: translateY(-1px);
}

/* ── FOOTER ──
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  background: rgba(4,2,15,.8);
  position: relative; z-index: 2;
}
.footer-brand {
  font-family: 'Orbitron', monospace;
  font-size: .9rem; font-weight: 700;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-copy { font-size: .75rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color .2s;
}
.footer-links a:hover { color: var(--purple-light); } */

/* ── FOOTER ── */
footer {
  position: relative;
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;

  background: radial-gradient(circle at 50% -20%, rgba(155,92,246,.15), transparent 60%),
              rgba(4,2,15,.95);

  border-top: 1px solid rgba(155,92,246,.15);
}

/* container aligned with your hero width */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── TOP ── */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

/* ── BRAND ── */
.footer-logo {
  height: 76px;
  object-fit: contain;
  margin-bottom: .5rem;
}

.footer-brand h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 700;

  background: linear-gradient(90deg, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: .4rem;
}

/* ── NAV (centered like hero buttons) ── */
.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: 'Exo 2', sans-serif;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  transition: all .25s;
}

.footer-nav a:hover {
  color: #c084fc;
}

/* ── CONTACT ── */
.footer-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .25s;
}

.footer-contact a:hover {
  color: #22d3ee;
}

/* ── BOTTOM ── */
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 4rem 0;

  border-top: 1px solid rgba(255,255,255,.08);


  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  gap: 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.footer-bottom p {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

.footer-legal {
  opacity: .7;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── ANIMATED DRAGONFLY ── */
#dragonfly-canvas {
  filter: drop-shadow(0 0 18px rgba(155,92,246,.5)) drop-shadow(0 0 40px rgba(34,211,238,.25));
}

/* ── SOCIAL LINKS ── */
.social-links {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .25s;
}
.social-btn svg { flex-shrink: 0; }
.social-btn.whatsapp:hover { border-color: #25D366; color: #25D366; background: rgba(37,211,102,.08); box-shadow: 0 0 16px rgba(37,211,102,.2); }
.social-btn.github:hover   { border-color: #c084fc; color: #c084fc;  background: rgba(192,132,252,.08); box-shadow: 0 0 16px rgba(192,132,252,.2); }
.social-btn.linkedin:hover { border-color: #0A66C2; color: #0A66C2;  background: rgba(10,102,194,.08);  box-shadow: 0 0 16px rgba(10,102,194,.2); }
.social-btn.instagram:hover{ border-color: #e879f9; color: #e879f9;  background: rgba(232,121,249,.08); box-shadow: 0 0 16px rgba(232,121,249,.2); }
.social-divider {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.5rem; margin-bottom: .75rem;
  font-weight: 600;
}

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  display: flex; align-items: center; gap: .6rem;
  background: #25D366;
  color: white; text-decoration: none;
  padding: .75rem 1.2rem .75rem .9rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  font-family: 'Exo 2', sans-serif;
  font-size: .85rem; font-weight: 600;
  transition: all .3s;
  animation: waFloat 3s ease-in-out infinite;
}
#wa-float:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 36px rgba(37,211,102,.65);
  transform: translateY(-3px) scale(1.03);
  animation: none;
}
.wa-label { white-space: nowrap; }
@keyframes waFloat {
  0%,100% { transform: translateY(0); box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50%      { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(37,211,102,.6); }
}

/* ── SERVICES GRID 7 cards — last card full width on last row ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-card:last-child:nth-child(3n+1) { grid-column: span 3; }
.service-card:last-child:nth-child(3n+2) { grid-column: span 2; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: .8rem 2rem; }
  .nav-links { display: none; }
  #services, #projects, #contact, #about, #process { padding: 4rem 1.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .proj-card:nth-child(n) { grid-column: span 12; }
  .projects-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}
