/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 8rem 5vw 4rem;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(0,229,255,.25);
  background: rgba(0,229,255,.06);
  padding: .45rem 1rem;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp .7s .1s ease both;
}
.badge-blink {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 8rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 1.6rem;
  animation: fadeUp .7s .2s ease both;
}
.h1-line2 {
  -webkit-text-stroke: 1px rgba(255,255,255,.35);
  color: transparent;
  display: block;
}
.h1-accent {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(0,229,255,.4);
}

.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.8; color: var(--muted);
  max-width: 52ch;
  margin-bottom: 3rem;
  animation: fadeUp .7s .35s ease both;
}

.hero-actions {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  animation: fadeUp .7s .45s ease both;
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .7s .6s ease both;
}
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-n span { color: var(--cyan); }
.stat-l { font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── PORTFOLIO SECTION ── */
#portfolio {
  padding: 6rem 5vw;
  position: relative; z-index: 1;
}

.portfolio-intro {
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1.5rem;
}

.portfolio-intro h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--white);
}

.portfolio-intro h2 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,229,255,.3);
}

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* ── PORTFOLIO CARD ── */
.portfolio-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
}

.portfolio-card:hover {
  border-color: rgba(0,229,255,.3);
  box-shadow: 0 8px 32px rgba(0,229,255,.1);
  transform: translateY(-8px);
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg2);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .6s ease;
  font-size: .9rem;
  color: rgba(255,255,255,.3);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}

.portfolio-card:hover .placeholder-img {
  transform: scale(1.05);
}

.portfolio-card:hover .project-img {
  transform: scale(1.05);
}

.card-content {
  flex: 1;
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column;
}

.card-tag {
  display: inline-block;
  font-size: .65rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.2);
  padding: .4rem .8rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1rem;
}

.card-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: .9rem;
}

.card-content p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.5rem;
}

.card-meta {
  display: flex; gap: .8rem; flex-wrap: wrap;
}

.card-meta span {
  font-size: .75rem; font-weight: 500; letter-spacing: .05em;
  color: var(--cyan);
  background: rgba(0,229,255,.05);
  border: 1px solid rgba(0,229,255,.15);
  padding: .35rem .7rem;
  border-radius: 3px;
}

/* ── PROCESS SECTION ── */
#process {
  padding: 7rem 5vw;
  position: relative; z-index: 1;
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-header .section-sub {
  margin: 0 auto;
  font-size: 1rem;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.8;
}

.process-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 1.5rem 0 1rem;
}

.process-header h2 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,229,255,.3);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 3rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), var(--cyan), transparent);
  opacity: .3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--cyan);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,229,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  transition: background .3s, box-shadow .3s;
}

.step:hover .step-num {
  background: rgba(0,229,255,.1);
  box-shadow: 0 0 20px rgba(0,229,255,.2);
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── TECH STACK ── */
#tech {
  padding: 5rem 5vw;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  position: relative; z-index: 1;
}

.tech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-badge {
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: .6rem 1.2rem;
  transition: color .25s, border-color .25s, background .25s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tech-badge:hover {
  color: var(--cyan);
  border-color: rgba(0,229,255,.3);
  background: rgba(0,229,255,.05);
}

.tech-badge span {
  font-size: 1rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-intro h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  #portfolio {
    padding: 4rem 5vw;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}
