/* === ROOT & VARIABLES === */
:root {
  /* Main Colors */
  --bg-primary: #0f0c1b;
  --bg-secondary: #171326;
  --bg-card: #211b32;
  --bg-card-hover: #29213d;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a5a6c5;
  --text-muted: #777891;

  /* Brand */
  --violet: #c084fc;
  --violet-light: #d8b4fe;
  --violet-dark: #8b5cf6;

  --teal: #2dd4bf;
  --teal-light: #5eead4;
  --teal-dark: #14b8a6;

  /* Borders */
  --border: #302a46;
  --border-light: rgba(192, 132, 252, 0.2);

  /* Effects */
  --violet-glow: rgba(192, 132, 252, 0.25);
  --teal-glow: rgba(45, 212, 191, 0.2);

  /* Typography */
  --font-main: "DM Sans", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --section-spacing: 130px;

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--violet-dark);
  border-radius: 20px;
}

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

::selection {
  background: var(--violet);
  color: var(--bg-primary);
}

/* === GLOBAL ELEMENTS === */
a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

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

.section {
  position: relative;
  padding: var(--section-spacing) 24px;
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}

.section-number {
  color: var(--violet);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding-top: 6px;
}

.section-eyebrow {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.section-intro {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 55px;
}

/* === AMBIENT BACKGROUND === */
.ambient-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}

.ambient-glow-violet {
  background: var(--violet);
  top: -250px;
  right: -200px;
}

.ambient-glow-teal {
  background: var(--teal);
  bottom: 10%;
  left: -250px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.025) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 12, 27, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -1px;
}

.logo-bracket {
  color: var(--violet);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.nav-link span {
  color: var(--violet);
  font-size: 0.7rem;
  margin-right: 4px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-github {
  color: var(--text-secondary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.nav-github:hover {
  color: var(--violet);
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--violet);
  color: var(--text-primary);
  font-size: 0.8rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--violet);
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--violet-glow);
}

.hamburger {
  display: none;
  background: transparent;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* === HERO === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 24px 80px;
  position: relative;
}

.hero-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--teal);
}

.hero-eyebrow {
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -4px;
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-highlight {
  display: block;
  color: var(--violet);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  font-family: var(--font-heading);
  color: var(--teal);
  margin-bottom: 25px;
}

.role-prefix {
  color: var(--violet);
}

.typing-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.typing-cursor {
  color: var(--teal);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-description {
  max-width: 610px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 55px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--violet);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 7px;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--violet-glow);
  background: var(--violet-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  border-radius: 7px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}

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

.credential {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.credential strong {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
}

.credential span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.credential-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === HERO CODE WINDOW === */
.hero-visual {
  position: relative;
}

.code-window {
  position: relative;
  background: rgba(33, 27, 50, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(192, 132, 252, 0.08);
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
}

.window-dots span:first-child {
  background: var(--violet);
}

.window-dots span:nth-child(2) {
  background: var(--teal);
}

.window-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

.window-status {
  color: var(--teal);
  font-size: 0.65rem;
}

.code-content {
  padding: 28px 20px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 2;
}

.code-line {
  display: flex;
  gap: 15px;
  white-space: nowrap;
}

.line-number {
  width: 22px;
  color: #555166;
  text-align: right;
  user-select: none;
}

.code-text {
  color: var(--text-secondary);
}

.indent {
  padding-left: 15px;
}

.code-keyword {
  color: var(--violet);
}

.code-variable {
  color: var(--teal);
}

.code-property {
  color: var(--violet-light);
}

.code-string {
  color: var(--teal-light);
}

.teal-string {
  color: var(--teal);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  animation: float 5s ease-in-out infinite;
}

.badge-violet {
  color: var(--violet);
  top: -25px;
  right: -25px;
}

.badge-teal {
  color: var(--teal);
  bottom: 30px;
  left: -40px;
  animation-delay: 1s;
}

.badge-api {
  color: var(--text-primary);
  bottom: -25px;
  right: 20px;
  animation-delay: 2s;
}

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

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 1px;
  transition: var(--transition);
}

.hero-scroll i {
  color: var(--violet);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  50% {
    transform: translateY(7px);
  }
}

.hero-scroll:hover {
  color: var(--text-primary);
}

/* === ABOUT === */
.about-section {
  background: linear-gradient(180deg, transparent, rgba(23, 19, 38, 0.5));
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
  margin-top: 55px;
}

.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  max-width: 400px;
}

.about-image-frame {
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
  padding: 10px;
  background: var(--bg-secondary);
  min-height: 320px;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(15%);
}

.about-image-fallback-mark {
  display: none;
}

.about-image-frame.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background: linear-gradient(
    135deg,
    rgba(192, 132, 252, 0.12),
    rgba(45, 212, 191, 0.1)
  );
}

.about-image-frame.img-fallback .about-image-fallback-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--violet-light);
  letter-spacing: 2px;
}

.image-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--violet);
  top: 20px;
  left: 20px;
  z-index: 1;
}

.about-code-label {
  position: absolute;
  bottom: -30px;
  right: -50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.75rem;
  z-index: 3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.label-symbol {
  color: var(--violet);
  margin-right: 5px;
}

.about-content {
  max-width: 680px;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.5;
  margin-bottom: 25px;
}

.about-lead strong {
  color: var(--violet);
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  gap: 15px;
  margin: 35px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--bg-card);
}

.highlight-icon.violet {
  color: var(--violet);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.highlight-icon.teal {
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.highlight-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.highlight-item strong {
  font-size: 0.9rem;
}

.highlight-item span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* === SKILLS === */
.skills-section {
  position: relative;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.skill-card {
  position: relative;
  padding: 28px;
  background: rgba(33, 27, 50, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--violet);
  opacity: 0.6;
  transition: var(--transition);
}

.skill-card--be::before {
  background: var(--teal);
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.4);
  background: var(--bg-card-hover);
}

.skill-card--be:hover {
  border-color: rgba(45, 212, 191, 0.4);
}

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

.skill-icon {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--violet);
}

.skill-card--be .skill-icon {
  color: var(--teal);
}

.skill-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.skill-category {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.tools-row {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.tools-row-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tool-tag {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 0.375rem;
  transition: var(--transition);
}

.tool-tag:hover {
  border-color: var(--violet);
  color: var(--violet-light);
}

/* === EXPERIENCE === */
.experience-section {
  background: rgba(23, 19, 38, 0.35);
}

.experience-timeline {
  margin-top: 65px;
  position: relative;
}

.experience-card {
  display: grid;
  grid-template-columns: 150px 40px 1fr;
  gap: 25px;
  position: relative;
  padding-bottom: 65px;
}

.experience-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 8px;
}

.date-arrow {
  color: var(--violet);
}

.experience-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.experience-marker::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background: var(--border);
  top: 15px;
}

.experience-marker span {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  background: var(--violet);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--violet);
}

.experience-content {
  background: rgba(33, 27, 50, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
}

.experience-content:hover {
  border-color: rgba(192, 132, 252, 0.4);
  transform: translateX(5px);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.experience-company {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.experience-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.experience-type {
  height: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  font-size: 0.7rem;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-tags span {
  padding: 6px 10px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.15);
  color: var(--violet-light);
  border-radius: 4px;
  font-size: 0.7rem;
}

/* === ACHIEVEMENTS === */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.achievement-card {
  position: relative;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.achievement-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--violet);
  filter: blur(100px);
  opacity: 0;
  top: -100px;
  right: -100px;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 132, 252, 0.5);
}

.achievement-card:hover::after {
  opacity: 0.08;
}

.achievement-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.achievement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background: rgba(192, 132, 252, 0.12);
  color: var(--violet);
  font-size: 1.4rem;
}

.teal-icon {
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
}

.achievement-place {
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.achievement-year {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.achievement-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.achievement-location {
  color: var(--teal);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.achievement-description {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.9rem;
}

.achievement-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.achievement-extra i {
  color: var(--violet);
}

/* === PROJECTS === */
.projects-section {
  position: relative;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px;
}

.projects-header .section-intro {
  margin-bottom: 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-tab {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 5px;
  font-size: 0.75rem;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.filter-tab.active {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--bg-primary);
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--violet);
  z-index: 3;
}

.project-card--be::before {
  background: var(--teal);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(192, 132, 252, 0.08);
}

.project-card--be:hover {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(45, 212, 191, 0.08);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: var(--bg-secondary);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 12, 27, 0.9),
    rgba(15, 12, 27, 0.15) 55%,
    transparent
  );
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(15, 12, 27, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: var(--violet-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.project-badge--be {
  border-color: rgba(45, 212, 191, 0.35);
  color: var(--teal-light);
}

.project-view-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--violet);
  color: var(--bg-primary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 7px;
  opacity: 0;
  white-space: nowrap;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.project-card--be .project-view-btn {
  background: var(--teal);
}

.project-card:hover .project-view-btn {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.project-content {
  padding: 26px 28px 28px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

.project-tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  flex: 1;
}

.project-tech span {
  display: inline-flex;
  align-items: center;
  color: var(--violet-light) !important;
  font-size: 0.7rem;
  padding: 5px 8px;
  background: rgba(192, 132, 252, 0.08);
  border-radius: 4px;
  white-space: nowrap;
}

.project-card--be .project-tech span {
  color: var(--teal-light) !important;
  background: rgba(45, 212, 191, 0.08);
}

.project-preview-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--violet);
  color: var(--bg-primary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.project-preview-btn:hover {
  transform: translateY(-2px);
  background: var(--violet-light);
  color: var(--bg-primary);
}

.project-card--be .project-preview-btn {
  background: var(--teal);
  color: var(--bg-primary);
}

.project-card--be .project-preview-btn:hover {
  background: var(--teal-light);
  color: var(--bg-primary);
}

.projects-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 55px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.text-link {
  color: var(--violet);
  font-weight: 600;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--violet-light);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

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

@media (max-width: 600px) {
  .project-image {
    height: 220px;
  }

  .project-content {
    padding: 22px;
  }

  .project-tech-row {
    align-items: flex-start;
    gap: 12px;
  }

  .project-preview-btn {
    margin-top: 3px;
  }

  .projects-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .project-tech-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-preview-btn {
    margin-top: 5px;
  }
}

/* ================================================
   CLIENT REVIEWS
================================================ */

.reviews-section {
  position: relative;
}

.reviews-intro {
  max-width: 620px;
  margin: -20px 0 45px 72px;
}

.reviews-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.featured-review {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  border: 1px solid rgba(165, 166, 197, 0.15);
  background: rgba(15, 12, 27, 0.55);
  backdrop-filter: blur(12px);
}

.review-main {
  position: relative;
  padding: 48px;
  border-right: 1px solid rgba(165, 166, 197, 0.15);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--violet);
  font-size: 0.85rem;
}

.review-score {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.review-rating-label {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.verified-review {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.verified-review i {
  font-size: 0.9rem;
}

.review-quote-mark {
  color: var(--violet);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.5;
  opacity: 0.75;
  margin-bottom: 18px;
}

.review-quote {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
}

.review-quote-secondary {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
}

.review-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--violet);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.review-toggle i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.review-toggle.active i {
  transform: rotate(180deg);
}

.full-review {
  display: none;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(165, 166, 197, 0.12);
}

.full-review.active {
  display: block;
}

.full-review p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.review-client-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.08);
  color: var(--violet);
}

.review-client-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-client-info strong {
  color: var(--text-primary);
  font-size: 0.85rem;
}

.review-client-info span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* REVIEW SIDEBAR */

.review-sidebar {
  display: flex;
  flex-direction: column;
  padding: 42px 32px;
}

.review-sidebar-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(165, 166, 197, 0.12);
}

.sidebar-code {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-family: monospace;
  font-size: 0.7rem;
}

.review-sidebar-header h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 1rem;
}

.review-sidebar-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.endorsement-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 28px 0;
}

.endorsement-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
}

.endorsement-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: rgba(45, 212, 191, 0.06);
  color: var(--teal);
  font-size: 0.6rem;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(165, 166, 197, 0.12);
}

.review-source > i {
  color: var(--violet);
  font-size: 1.2rem;
}

.review-source div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-source span {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-source strong {
  color: var(--text-primary);
  font-size: 0.8rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .featured-review {
    grid-template-columns: 1fr;
  }

  .review-main {
    border-right: none;
    border-bottom: 1px solid rgba(165, 166, 197, 0.15);
  }

  .review-sidebar {
    min-height: 420px;
  }
}

@media (max-width: 650px) {
  .reviews-intro {
    margin: -10px 0 35px;
  }

  .review-main {
    padding: 32px 22px;
  }

  .review-sidebar {
    padding: 32px 22px;
  }

  .review-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-rating {
    flex-wrap: wrap;
  }

  .review-quote {
    font-size: 1.05rem;
  }
}

/* === CONTACT === */
.contact-section {
  padding-bottom: 120px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  padding: 70px;
  background: linear-gradient(
    135deg,
    rgba(33, 27, 50, 0.95),
    rgba(23, 19, 38, 0.95)
  );
  border: 1px solid var(--border);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--violet);
  filter: blur(150px);
  opacity: 0.07;
  top: -250px;
  left: -150px;
}

.contact-content,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.contact-title span {
  display: block;
  color: var(--violet);
}

.contact-description {
  max-width: 560px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 35px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--text-primary);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--violet);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--violet);
  border-color: var(--violet);
  transform: translateY(-3px);
}

/* === CONTACT FORM === */
.contact-form {
  padding: 35px;
  background: rgba(15, 12, 27, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.form-header {
  margin-bottom: 30px;
}

.form-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.75rem;
}

.form-status span {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.form-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.08);
}

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

.btn-full {
  width: 100%;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-logo span {
  color: var(--violet);
}

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

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--violet);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 25px;
  text-align: center;
}

.footer-bottom {
  color: var(--text-muted);
  font-size: 1rem;
  text-align: center;
}

.footer-built {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-code {
  color: var(--violet);
  font-family: monospace;
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* === TABLET === */
@media (max-width: 1050px) {
  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero-content {
    max-width: 750px;
  }

  .hero-visual {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    gap: 60px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 55px;
  }
}

/* === MOBILE === */
@media (max-width: 768px) {
  :root {
    --section-spacing: 90px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar {
    padding: 18px 20px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px;
    gap: 25px;
    transition: right 0.35s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

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

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

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

  .hero-section {
    padding: 130px 20px 100px;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-credentials {
    gap: 12px;
    justify-content: space-between;
  }

  .credential strong {
    font-size: 1.15rem;
  }

  .credential span {
    font-size: 0.65rem;
  }

  .credential-divider {
    height: 35px;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .code-content {
    padding: 20px 12px;
    font-size: 0.62rem;
    overflow-x: auto;
  }

  .code-window-header {
    padding: 12px;
  }

  .window-status {
    display: none;
  }

  .floating-badge {
    font-size: 0.65rem;
    padding: 8px 10px;
  }

  .badge-violet {
    top: -20px;
    right: 5px;
  }

  .badge-teal {
    left: 5px;
    bottom: 20px;
  }

  .badge-api {
    bottom: -20px;
    right: 10px;
  }

  .hero-scroll {
    display: none;
  }

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

  .about-image-container {
    margin: 0 auto;
    width: 85%;
  }

  .about-code-label {
    right: -10px;
  }

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

  .experience-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 45px;
  }

  .experience-marker {
    display: none;
  }

  .experience-date {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .experience-content {
    padding: 22px;
  }

  .experience-header {
    flex-direction: column;
    gap: 10px;
  }

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

  .achievement-card {
    padding: 30px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

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

  .projects-footer {
    flex-direction: column;
    text-align: center;
  }

  .project-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
    bottom: 16px;
    top: auto;
  }

  .contact-wrapper {
    padding: 35px 22px;
    margin-left: -5px;
    margin-right: -5px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-item {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* === SMALL MOBILE === */
@media (max-width: 450px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-heading {
    gap: 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-credentials {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .credential-divider {
    display: none;
  }

  .credential {
    width: 45%;
  }

  .filter-tab {
    font-size: 0.68rem;
    padding: 8px 10px;
  }

  .contact-title {
    font-size: 2.6rem;
  }
}

/* === PROJECT DETAIL PAGE === */
.project-detail-page {
  padding-top: 110px;
}

.project-detail-container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.project-back-container {
  margin-bottom: 30px;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.project-back-link i {
  transition: transform 0.25s ease;
}

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

/* -------- Loading state -------- */
.project-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 100px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-loading-spinner {
  width: 34px;
  height: 34px;
  border: 2px solid var(--border);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* -------- Not found -------- */
.project-not-found {
  text-align: center;
  padding: 80px 24px;
}

.not-found-code {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 10px;
}

.project-not-found h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 12px 0;
}

.project-not-found p {
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto 28px;
}

/* -------- Hero -------- */
.project-detail-hero {
  padding-bottom: 45px;
}

.project-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.project-detail-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: var(--violet-light);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-detail-type {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.project-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.project-detail-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 65ch;
  margin-bottom: 28px;
}

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

.project-tech-tag {
  padding: 6px 12px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: var(--teal-light);
  border-radius: 5px;
  font-size: 0.75rem;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* -------- Featured image -------- */
.project-featured-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 70px;
  background: var(--bg-secondary);
}

.project-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

/* -------- Generic detail sections -------- */
.project-detail-section {
  padding-bottom: 70px;
}

.project-section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.project-section-number {
  font-family: var(--font-heading);
  color: var(--violet);
  font-size: 0.85rem;
  font-weight: 700;
  padding-top: 5px;
}

.project-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.project-large-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 70ch;
}

/* -------- Process (challenge / solution) -------- */
.project-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.project-process-card.challenge {
  border-left: 2px solid var(--violet);
}

.project-process-card.solution {
  border-left: 2px solid var(--teal);
}

.process-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(192, 132, 252, 0.12);
  color: var(--violet);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.project-process-card.solution .process-icon {
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
}

.process-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--violet);
  margin-bottom: 8px;
}

.project-process-card.solution .process-label {
  color: var(--teal);
}

.project-process-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.project-process-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* -------- Features -------- */
.project-features-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px;
}

.project-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

.project-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
  font-size: 0.65rem;
  margin-top: 2px;
}

/* -------- Gallery -------- */
.project-gallery-section {
  padding-bottom: 90px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.project-screenshot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.project-screenshot-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-screenshot:hover .project-screenshot-image img {
  transform: scale(1.05);
}

.project-screenshot figcaption {
  padding: 12px 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  border-top: 1px solid var(--border);
}

/* -------- Final CTA -------- */
.project-final-cta {
  padding: 70px 24px 110px;
}

.project-final-cta-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(
    135deg,
    rgba(33, 27, 50, 0.95),
    rgba(23, 19, 38, 0.95)
  );
  border: 1px solid var(--border);
  border-radius: 15px;
}

.project-final-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 10px 0 16px;
}

.project-final-cta-content > p:not(.section-eyebrow) {
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto 30px;
}

.project-final-cta .project-detail-actions {
  justify-content: center;
}

/* -------- More projects CTA (on project-detail.html) -------- */
.more-projects-section {
  padding: 20px 24px 100px;
}

.more-projects-card {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  flex-wrap: wrap;
}

.more-projects-card h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin: 6px 0 10px;
}

.more-projects-card p {
  color: var(--text-secondary);
  max-width: 46ch;
}

@media (max-width: 768px) {
  .project-detail-page {
    padding-top: 90px;
  }

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

  .project-features-list {
    grid-template-columns: 1fr;
  }

  .more-projects-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .project-final-cta-content {
    padding: 40px 24px;
  }
}
