:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-inner: rgba(15, 23, 42, 0.6);
  --bg-input: rgba(15, 23, 42, 0.8);

  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-glow-strong: rgba(6, 182, 212, 0.45);
  --gradient-tech: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #06b6d4 100%
  );
  --gradient-border: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4),
    rgba(6, 182, 212, 0.2)
  );

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: #6366f1;

  --color-valid: #10b981;
  --color-invalid: #ef4444;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-card:
    0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 1px 1px var(--border-subtle);
  --shadow-glow: 0 0 25px var(--accent-glow);

  --header-height: 72px;
}

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

html {
  font-family: var(--font-sans);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size:
    100% 100%,
    40px 40px,
    40px 40px;
  background-position:
    center top,
    -1px -1px,
    -1px -1px;
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}

.about-section::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12) 0%,
    transparent 70%
  );
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.skills-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.portfolio-section::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.12) 0%,
    transparent 70%
  );
  filter: blur(95px);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #38bdf8;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.18),
    rgba(6, 182, 212, 0.14)
  );
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-name-accent {
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.section-bar {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #10b981);
  margin-inline: auto;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.6);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 20px rgba(99, 102, 241, 0.45),
    0 0 25px rgba(6, 182, 212, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(99, 102, 241, 0.65),
    0 0 40px rgba(6, 182, 212, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-primary);
  border: 1px solid rgba(99, 102, 241, 0.35);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent-cyan);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

#download-cv-btn:hover .btn-icon {
  transform: translateY(2px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition:
    filter var(--transition-fast),
    transform var(--transition-fast);
}

.logo-emblem-svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.25));
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast);
}

.brand-logo:hover .logo-emblem-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.5));
}

.logo-brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-dot-glow {
  color: var(--accent-cyan);
  font-size: 1.4rem;
  line-height: 0;
  margin-left: 1px;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.logo-brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
}

.nav-cta:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 3px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.lang-switcher:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.26rem 0.52rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.45);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  user-select: none;
  line-height: 1;
  padding-inline: 1px;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  display: block;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding-block: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.mobile-nav-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.mobile-cta {
  background: var(--gradient-tech);
  color: #fff;
  text-align: center;
  margin-top: 0.5rem;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  height: 600px;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(99, 102, 241, 0.32) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 75% 30%,
      rgba(6, 182, 212, 0.28) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(168, 85, 247, 0.22) 0%,
      transparent 60%
    );
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.hero-name {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 30px rgba(99, 102, 241, 0.25));
}

.hero-title {
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 700;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.hero-title .divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
  margin-inline: 0.35rem;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.highlight-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.highlight-ai::before {
  background: linear-gradient(90deg, #6366f1, #a855f7);
}
.highlight-web::before {
  background: linear-gradient(90deg, #06b6d4, #38bdf8);
}
.highlight-ops::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.highlight-ai {
  border-color: rgba(99, 102, 241, 0.25);
}
.highlight-ai:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow:
    0 14px 30px -6px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(99, 102, 241, 0.35);
}

.highlight-web {
  border-color: rgba(6, 182, 212, 0.25);
}
.highlight-web:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow:
    0 14px 30px -6px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(6, 182, 212, 0.35);
}

.highlight-ops {
  border-color: rgba(16, 185, 129, 0.25);
}
.highlight-ops:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow:
    0 14px 30px -6px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(16, 185, 129, 0.35);
}

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

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.highlight-ai .highlight-icon {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
}
.highlight-web .highlight-icon {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.12);
}
.highlight-ops .highlight-icon {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.highlight-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.highlight-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.highlight-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.card-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.about-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.about-text strong {
  color: #c7d2fe;
}

.about-text-secondary {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.pillar-ai::before {
  background: linear-gradient(180deg, #6366f1, #a855f7);
}
.pillar-web::before {
  background: linear-gradient(180deg, #06b6d4, #38bdf8);
}
.pillar-ops::before {
  background: linear-gradient(180deg, #10b981, #34d399);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-ai:hover {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(99, 102, 241, 0.25);
}

.pillar-web:hover {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(6, 182, 212, 0.25);
}

.pillar-ops:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(16, 185, 129, 0.25);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.05);
}

.pillar-ai .pillar-icon-box {
  background: rgba(99, 102, 241, 0.16);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.pillar-web .pillar-icon-box {
  background: rgba(6, 182, 212, 0.16);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.pillar-ops .pillar-icon-box {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.pillar-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pillar-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.pillar-ai .pillar-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #c7d2fe;
}

.pillar-web .pillar-badge {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.28);
  color: #a5f3fc;
}

.pillar-ops .pillar-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #a7f3d0;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(99, 102, 241, 0.15);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.it-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
}

.biz-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.ai-icon {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-badge {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.45);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
}

.tech-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(99, 102, 241, 0.22);
}

.project-preview {
  position: relative;
  background: #090d16;
  padding: 1.25rem 1.25rem 0 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.project-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.9),
    rgba(6, 182, 212, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
  z-index: 2;
}

.mockup-screen {
  background: #0e1626;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 290px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #090f1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  height: 36px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-dot.red {
  background: #ef4444;
}
.mockup-dot.yellow {
  background: #f59e0b;
}
.mockup-dot.green {
  background: #10b981;
}

.mockup-address {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-muted);
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.mockup-address:hover {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
}

.screens-showcase-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.65rem;
  background: #080d17;
  align-items: center;
  flex: 1;
  height: calc(100% - 36px);
  overflow: hidden;
}

.phone-screen-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050811;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  position: relative;
  height: 100%;
  display: flex;
}

.phone-screen-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(99, 102, 241, 0.3);
  z-index: 2;
}

.phone-screen-card.active-center {
  border-color: rgba(99, 102, 241, 0.35);
  transform: scale(1.02);
  z-index: 1;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.screen-showcase-desktop {
  background: #080d17;
  overflow: hidden;
  position: relative;
  flex: 1;
  height: calc(100% - 36px);
}

.desktop-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform var(--transition-slow);
}

.desktop-video {
  object-fit: cover;
  object-position: center;
  background-color: #0b0f19;
}

.project-card:hover .desktop-screenshot:not(.desktop-video) {
  transform: scale(1.03);
}

.project-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  margin-bottom: 0.5rem;
}

.project-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.project-business-logic {
  background: var(--bg-card-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.logic-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.project-business-logic p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.stack-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.stack-badge:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.pulse-dot.live {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.contact-hub-wrapper {
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

.contact-hub-card {
  position: relative;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow:
    var(--shadow-card),
    0 0 70px rgba(99, 102, 241, 0.12),
    0 0 35px rgba(6, 182, 212, 0.08);
  overflow: hidden;
}

.contact-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #6366f1,
    #06b6d4,
    transparent
  );
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
}

.contact-hub-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.contact-avatar-badge {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.22),
    rgba(6, 182, 212, 0.16)
  );
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
}

.avatar-monogram {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-profile-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: 0.2rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-channel-item {
  background: rgba(11, 17, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.contact-channel-item:hover {
  border-color: rgba(99, 102, 241, 0.55);
  transform: translateY(-3px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(99, 102, 241, 0.2);
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.contact-channel-item:hover .channel-icon {
  transform: scale(1.08);
}

.channel-icon.mail-icon {
  background: rgba(6, 182, 212, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

.channel-icon.phone-icon {
  background: rgba(99, 102, 241, 0.16);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.channel-title-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-caption {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.channel-value {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.channel-value:hover {
  color: var(--accent-cyan);
}

.channel-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.btn-channel {
  flex: 1;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

.btn-copy {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  gap: 0.45rem;
  flex-shrink: 0;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-copy.copied {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
}

.contact-hub-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.14),
    rgba(6, 182, 212, 0.12)
  );
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.guarantee-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 8px #f59e0b);
}

.contact-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.location-dot {
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.5rem;
  background: #070a10;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.copyright strong {
  color: var(--text-primary);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }

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

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

  .skills-grid .skill-category-card:last-child {
    grid-column: span 2;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

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

  .contact-guarantee-pill {
    width: auto;
  }

  .contact-hub-bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 6.5rem;
  }

  .header-right-actions {
    gap: 1.5rem;
  }

  .nav-desktop {
    display: block;
  }

  .hamburger-btn,
  .mobile-nav-panel {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

  .skills-grid .skill-category-card:last-child {
    grid-column: span 1;
  }

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

@media (min-width: 1024px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .about-card {
    padding: 2.5rem;
  }

  .project-preview {
    padding: 1.75rem 1.75rem 0 1.75rem;
  }

  .project-details {
    padding: 2.5rem;
  }

  .contact-hub-card {
    padding: 3rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}
