:root {
  --bg: #05070a;
  --bg-2: #090d12;
  --surface: rgba(14, 20, 29, 0.76);
  --surface-strong: rgba(18, 26, 38, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f7fbff;
  --text-soft: #c9d6e2;
  --text-muted: #8ea0b4;
  --cyan: #67e8f9;
  --mint: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --violet: #a78bfa;
  --blue: #60a5fa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --radius-lg: 18px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.06), transparent 32%),
    linear-gradient(225deg, rgba(52, 211, 153, 0.06), transparent 36%),
    linear-gradient(180deg, #05070a 0%, #070b10 48%, #040507 100%);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #021014;
  background: var(--cyan);
}

#networkCanvas,
.site-chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#networkCanvas {
  z-index: -4;
  opacity: 0.78;
}

.site-chrome {
  z-index: -5;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(103, 232, 249, 0.04), rgba(52, 211, 153, 0.02), rgba(251, 113, 133, 0.04)),
    var(--bg);
}

.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

.gradient-field {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 120deg at 50% 45%,
      rgba(103, 232, 249, 0.1),
      rgba(52, 211, 153, 0.08),
      rgba(251, 191, 36, 0.06),
      rgba(251, 113, 133, 0.08),
      rgba(96, 165, 250, 0.08),
      rgba(103, 232, 249, 0.1));
  filter: blur(60px);
  opacity: 0.5;
  animation: fieldShift 18s linear infinite;
}

@keyframes fieldShift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.04);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #05070a;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: flex;
  align-items: center;
  gap: 9px;
}

.loader-mark span {
  width: 10px;
  height: 42px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--cyan), var(--mint));
  box-shadow: 0 0 24px rgba(103, 232, 249, 0.55);
  animation: loaderPulse 780ms ease-in-out infinite;
}

.loader-mark span:nth-child(2) {
  animation-delay: 120ms;
  background: linear-gradient(180deg, var(--amber), var(--rose));
}

.loader-mark span:nth-child(3) {
  animation-delay: 240ms;
  background: linear-gradient(180deg, var(--violet), var(--blue));
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.container {
  position: relative;
  z-index: 1;
}

#mainNav {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 10, 0.58);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: padding var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#mainNav.scrolled {
  padding: 10px 0;
  background: rgba(5, 7, 10, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text) !important;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.navbar-brand strong,
.footer-brand strong {
  color: var(--cyan);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 10px;
  color: #051014;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 0 28px rgba(103, 232, 249, 0.22);
}

.navbar-toggler {
  width: 46px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.18);
}

.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.86rem;
  font-weight: 650;
  border-radius: 10px;
  padding: 8px 13px !important;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav-link:hover,
.nav-link.active-scroll {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-cta {
  color: #041114 !important;
  background: linear-gradient(135deg, var(--cyan), var(--mint)) !important;
  box-shadow: 0 12px 35px rgba(52, 211, 153, 0.22);
}

.nav-cta:hover {
  color: #041114 !important;
}

.section-shell {
  position: relative;
  padding: 108px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-intro {
  margin-bottom: 40px;
}

.section-label,
.hero-badge,
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  padding: 7px 13px;
  font-size: 0.76rem;
  font-weight: 750;
}

.section-title {
  max-width: 820px;
  margin: 12px auto 0;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro:not(.text-center) .section-title {
  margin-left: 0;
}

.section-subtitle {
  max-width: 680px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1rem;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), var(--mint), var(--amber), var(--rose), var(--cyan));
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientText 7s ease-in-out infinite;
}

@keyframes gradientText {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.glass-surface,
.automation-map,
.status-panel,
.project-card,
.automation-card,
.process-step,
.contact-info-card,
.contact-form-wrap,
.skill-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

[data-tilt]:hover::before {
  opacity: 1;
}

[data-tilt] > * {
  position: relative;
  z-index: 1;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 132px 0 84px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 770px;
}

.hero-badge {
  color: var(--mint);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  margin-bottom: 22px;
}

.live-dot,
.signal-dot,
.live-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-weight: 700;
}

.hero-title {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-desc {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-primary-custom,
.btn-outline-custom,
.btn-project,
.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 20px;
  color: #041114;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
  box-shadow: 0 18px 44px rgba(52, 211, 153, 0.22);
}

.btn-primary-custom:hover,
.btn-send:hover,
.btn-project:hover {
  color: #041114;
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(103, 232, 249, 0.26);
}

.btn-outline-custom,
.btn-project.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border);
  box-shadow: none;
}

.btn-outline-custom:hover,
.btn-project.ghost:hover {
  color: var(--text);
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(103, 232, 249, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin-top: 38px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.hero-proof div {
  min-width: 150px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.profile-console {
  padding: 28px;
  text-align: center;
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 7px 12px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

.profile-avatar {
  width: 172px;
  height: 172px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--mint), var(--amber), var(--rose));
  box-shadow: 0 0 52px rgba(103, 232, 249, 0.22);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid rgba(5, 7, 10, 0.9);
  border-radius: inherit;
}

.profile-console h2 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0;
}

.profile-console p {
  margin: 7px 0 0;
  color: var(--text-muted);
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.profile-metrics div {
  padding: 14px 10px;
  border-right: 1px solid var(--border);
}

.profile-metrics div:last-child {
  border-right: 0;
}

.profile-metrics strong {
  display: block;
  color: var(--cyan);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.15rem;
}

.profile-metrics span {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.tech-stack,
.project-tools,
.tech-badges,
.status-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tech-stack span,
.project-tools span,
.tech-badges span,
.status-options span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.74rem;
  font-weight: 750;
}

.workflow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.workflow-strip i {
  color: var(--cyan);
  font-size: 1.15rem;
}

.automation-map {
  padding: 28px;
}

.map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.map-header span {
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.map-header small {
  color: var(--text-muted);
}

.map-node {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.052);
  font-weight: 800;
}

.map-node i {
  color: var(--cyan);
  font-size: 1.25rem;
}

.node-main {
  min-height: 112px;
  margin-bottom: 14px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.16), rgba(52, 211, 153, 0.08));
}

.node-main i {
  color: var(--amber);
  font-size: 1.65rem;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-copy p {
  margin: 0 0 15px;
  color: var(--text-soft);
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.highlight-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.highlight-item i {
  color: var(--amber);
  font-size: 1.25rem;
}

.highlight-item strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 0.93rem;
}

.highlight-item span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  min-height: 220px;
  padding: 22px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.skill-name-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.skill-card:hover,
.automation-card:hover,
.project-card:hover,
.process-step:hover,
.contact-info-card:hover,
.contact-form-wrap:hover,
.status-panel:hover,
.automation-map:hover,
.profile-console:hover {
  border-color: rgba(103, 232, 249, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.skill-featured {
  border-color: rgba(52, 211, 153, 0.3);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.skill-icon,
.project-icon,
.automation-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #041114;
  background: linear-gradient(135deg, var(--skill-color, var(--cyan)), rgba(255, 255, 255, 0.75));
  box-shadow: 0 0 28px rgba(103, 232, 249, 0.16);
  font-size: 1.45rem;
}

.skill-meter {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, rgba(8, 13, 19, 0.95) 74%, transparent 76% 100%),
    conic-gradient(var(--skill-color, var(--cyan)) calc(var(--animated-value, 0) * 1%), rgba(255, 255, 255, 0.12) 0);
  transition: background 900ms ease;
}

.skill-meter span {
  color: var(--text);
  font-weight: 900;
  font-size: 0.88rem;
}

.skill-card h3,
.automation-card h3,
.project-card h3,
.process-step h3,
.contact-info-card h3,
.contact-form-wrap h3,
.status-panel h3 {
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0;
}

.skill-card h3 {
  margin: 0 0 9px;
  font-size: 1.3rem;
}

.skill-name-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.skill-card p {
  min-height: 84px;
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.progress-wrap {
  margin-bottom: 17px;
}

.progress-bar-custom {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.progress-bar-custom span {
  display: block;
  width: 0 !important;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--skill-color, var(--cyan)), rgba(255, 255, 255, 0.88));
  transition: width 920ms ease;
}

.skill-card.visible .progress-bar-custom span {
  width: var(--target-width, 0%) !important;
}

.status-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 38px;
}

.status-panel {
  padding: 28px;
}

.status-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.status-main h3 {
  margin: 18px 0 5px;
  font-size: 2rem;
}

.status-main p {
  margin: 0;
  color: var(--text-muted);
}

.status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--mint);
  background: rgba(52, 211, 153, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.status-item {
  min-height: 106px;
  padding: 18px;
  border-right: 1px solid var(--border);
}

.status-item:last-child {
  border-right: 0;
}

.status-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.status-item strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.status-options {
  justify-content: flex-start;
  margin-top: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.project-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 520px;
}

.project-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.project-media--placeholder {
  background:
    radial-gradient(circle at 16% 18%, rgba(103, 232, 249, 0.14), transparent 44%),
    radial-gradient(circle at 84% 72%, rgba(52, 211, 153, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.025);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.02), rgba(5, 7, 10, 0.7)),
    linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.08));
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.project-card:hover .project-img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.project-preview-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(5, 7, 10, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-weight: 800;
}

.project-image-placeholder {
  position: absolute;
  inset: 24px;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  text-align: center;
  color: var(--text-soft);
  background: rgba(5, 7, 10, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-image-placeholder__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  font-size: 1.2rem;
}

.project-image-placeholder__text {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.project-content {
  padding: 34px;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.project-num {
  order: 2;
  color: rgba(255, 255, 255, 0.12);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.project-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.project-card p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.project-tools {
  justify-content: flex-start;
  margin: 22px 0 0;
}

.project-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 14px;
  color: var(--mint);
  background: rgba(52, 211, 153, 0.08);
  font-weight: 800;
}

.project-result--placeholder {
  border-color: rgba(103, 232, 249, 0.28);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
}

.project-highlights {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.project-highlights i {
  color: var(--amber);
  margin-right: 6px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn-project {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.architecture-flow div {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 850;
}

.architecture-flow i {
  color: var(--cyan);
  font-size: 1.45rem;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "n8n assistant lead"
    ". featured ."
    "email api process";
  gap: 18px;
}

.automation-card {
  min-height: 260px;
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.automation-icon {
  margin-bottom: 18px;
}

.automation-card--n8n {
  grid-area: n8n;
}

.automation-card--assistant {
  grid-area: assistant;
}

.automation-card--lead {
  grid-area: lead;
}

.automation-card--email {
  grid-area: email;
}

.automation-card--api {
  grid-area: api;
}

.automation-card--process {
  grid-area: process;
}

.automation-card-featured {
  grid-area: featured;
  min-height: 285px;
  border-color: rgba(251, 191, 36, 0.45);
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.24), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 85% 15%, rgba(244, 114, 182, 0.18), transparent 38%),
    var(--surface);
  box-shadow: 0 26px 90px rgba(251, 191, 36, 0.2);
}

.automation-card-featured .automation-icon {
  background: linear-gradient(135deg, #fbbf24, #fb7185 64%, rgba(255, 255, 255, 0.82));
  box-shadow: 0 0 36px rgba(251, 191, 36, 0.35);
}

.automation-card-featured:hover {
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 34px 120px rgba(251, 191, 36, 0.32);
  transform: translateY(-8px) scale(1.01);
}

.automation-card--assistant .automation-icon {
  background: linear-gradient(135deg, var(--violet), rgba(255, 255, 255, 0.75));
}

.automation-card--lead .automation-icon {
  background: linear-gradient(135deg, var(--amber), rgba(255, 255, 255, 0.75));
}

.automation-card--email .automation-icon {
  background: linear-gradient(135deg, var(--rose), rgba(255, 255, 255, 0.75));
}

.automation-card--api .automation-icon {
  background: linear-gradient(135deg, var(--blue), rgba(255, 255, 255, 0.75));
}

.automation-card--process .automation-icon {
  background: linear-gradient(135deg, var(--mint), rgba(255, 255, 255, 0.75));
}

.automation-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.automation-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  min-height: 270px;
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.process-step span {
  color: rgba(255, 255, 255, 0.18);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.process-step i {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: 18px 0;
  border-radius: 14px;
  color: #041114;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-size: 1.25rem;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-section {
  padding-bottom: 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.contact-info-card,
.contact-form-wrap {
  padding: 30px;
}

.contact-info-card h3,
.contact-form-wrap h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.contact-info-card > p,
.form-heading p {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.c-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), color var(--transition);
}

.c-clickable {
  cursor: pointer;
}

.c-clickable:hover,
.c-clickable:focus-visible {
  transform: translateX(5px);
}

.c-info-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
}

.c-info-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 800;
}

.c-info-item strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.c-info-item small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--cyan);
  font-weight: 750;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}

.c-clickable:hover small,
.c-clickable:focus-visible small {
  opacity: 1;
  transform: translateY(0);
}

.social-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.social-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.social-btn:hover {
  color: #fff;
  transform: translateY(-4px);
}

.social-btn--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 14px 34px rgba(10, 102, 194, 0.36);
}

.social-btn--github:hover {
  background: #24292f;
  border-color: #444c56;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
}

.social-btn--fiverr:hover {
  background: #1dbf73;
  border-color: #1dbf73;
  box-shadow: 0 14px 34px rgba(29, 191, 115, 0.34);
}

.social-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.34);
}

.social-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32);
}

.social-icon-img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.form-label {
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control::placeholder {
  color: rgba(201, 214, 226, 0.44);
}

.form-control:focus,
.form-select:focus {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(103, 232, 249, 0.62);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12), 0 0 24px rgba(103, 232, 249, 0.14);
}

.form-select {
  color: var(--text-soft);
}

.form-select option {
  color: #0d141d;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn-send {
  width: 100%;
  margin-top: 4px;
}

.btn-send[disabled] {
  cursor: wait;
  opacity: 0.76;
}

.form-feedback {
  display: grid;
  place-items: center;
  min-height: 330px;
  text-align: center;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 16px;
  background: rgba(52, 211, 153, 0.08);
  padding: 32px;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback i {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
  color: #041114;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-size: 1.8rem;
}

.form-feedback h4 {
  margin: 18px 0 8px;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.form-feedback p {
  max-width: 360px;
  margin: 0;
  color: var(--text-muted);
}

.form-feedback.error {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.08);
}

.form-feedback.error i {
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 42px 0 26px;
  background: rgba(5, 7, 10, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-grid p,
.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 750;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-social {
  justify-content: flex-end;
  margin-top: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#scrollTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.36);
  border-radius: 14px;
  color: #041114;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 18px 44px rgba(103, 232, 249, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: rgba(10, 15, 23, 0.94);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  transition: transform var(--transition);
}

.project-modal.open .project-modal-dialog {
  transform: translateY(0) scale(1);
}

.img-modal-content {
  width: 100%;
  height: 100%;
  max-height: 74vh;
  object-fit: cover;
}

.modal-copy {
  padding: 32px;
}

.modal-copy span {
  color: var(--cyan);
  font-weight: 850;
  font-size: 0.8rem;
}

.modal-copy h3 {
  margin: 12px 0 14px;
  color: var(--text);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.75rem;
}

.modal-copy p {
  color: var(--text-soft);
}

.modal-copy strong {
  display: block;
  margin-top: 22px;
  color: var(--mint);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--text);
  background: rgba(5, 7, 10, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  html,
  body {
    --site-cursor: url("cursors/cursor-svgrepo-com.svg") 4 4;
    cursor: var(--site-cursor), auto;
  }

  a,
  button,
  input,
  textarea,
  select,
  summary,
  label[for],
  [role="button"],
  [role="link"],
  [role="tab"],
  [role="menuitem"],
  [tabindex]:not([tabindex="-1"]),
  [draggable="true"],
  .project-card,
  .skill-card,
  .automation-card,
  .nav-link,
  .navbar-brand,
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-project,
  .social-btn,
  .modal-close,
  .c-clickable,
  .project-preview-btn,
  .btn-send[disabled] {
    cursor: var(--site-cursor), pointer;
  }
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.2rem;
  }

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

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

  .status-item:nth-child(2) {
    border-right: 0;
  }

  .status-item:nth-child(1),
  .status-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 991.98px) {
  .section-shell {
    padding: 86px 0;
  }

  #mainNav .navbar-collapse {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(5, 7, 10, 0.94);
  }

  .hero-section {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-layout,
  .status-layout,
  .project-card,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .profile-console {
    max-width: 560px;
    margin: 0 auto;
  }

  .about-highlights,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .automation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }

  .automation-card--n8n,
  .automation-card--assistant,
  .automation-card--lead,
  .automation-card-featured,
  .automation-card--email,
  .automation-card--api,
  .automation-card--process {
    grid-area: auto;
  }

  .architecture-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-media {
    min-height: 360px;
  }

  .footer-social,
  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.45rem;
    line-height: 1.04;
  }

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

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

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-project {
    width: 100%;
  }

  .hero-proof {
    width: 100%;
  }

  .hero-proof div {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .skills-grid,
  .automation-grid,
  .process-grid,
  .about-highlights,
  .map-grid,
  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: auto;
  }

  .skill-card p {
    min-height: auto;
  }

  .status-main {
    flex-direction: column;
  }

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

  .status-item,
  .status-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .status-item:last-child {
    border-bottom: 0;
  }

  .project-content,
  .contact-info-card,
  .contact-form-wrap,
  .automation-map,
  .status-panel {
    padding: 22px;
  }

  .project-media {
    min-height: 290px;
  }

  .project-image-placeholder {
    inset: 16px;
    padding: 18px;
  }

  .project-card h3,
  .status-main h3 {
    font-size: 1.55rem;
  }

  .project-modal-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .img-modal-content {
    max-height: 46vh;
  }

  .modal-copy {
    padding: 22px;
  }
}

@media (max-width: 575.98px) {
  .section-shell {
    padding: 72px 0;
  }

  .hero-section {
    padding-top: 112px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.15rem;
  }

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

  .profile-metrics {
    grid-template-columns: 1fr;
  }

  .profile-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .profile-metrics div:last-child {
    border-bottom: 0;
  }

  .project-num {
    font-size: 3rem;
  }

  .social-btn {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  #networkCanvas {
    display: none;
  }
}
