:root {
  --bg: #f6f8f4;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #0d1b2a;
  --muted: #617080;
  --line: rgba(15, 38, 56, 0.12);
  --accent: #0e87b7;
  --accent-2: #11a99a;
  --warning: #f7c66a;
  --shadow: 0 24px 70px rgba(15, 33, 48, 0.12);
  --soft-shadow: 0 16px 42px rgba(15, 33, 48, 0.1);
  --surface: #ffffff;
  --surface-soft: #eef8f7;
  --max: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(14, 135, 183, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 8%, rgba(17, 169, 154, 0.16), transparent 34rem),
    linear-gradient(180deg, #fbfcf7 0%, #f4f8f4 42%, #eef5f7 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

.noise {
  background-image: linear-gradient(rgba(15, 38, 56, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 38, 56, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(14, 135, 183, 0.13), transparent 48%);
  border-radius: 50%;
  height: 420px;
  left: var(--x, 50%);
  pointer-events: none;
  position: fixed;
  top: var(--y, 30%);
  transform: translate(-50%, -50%);
  transition: left 120ms linear, top 120ms linear;
  width: 420px;
  z-index: -1;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(15, 33, 48, 0.07);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.logo {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.logo span {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.logo strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 38px);
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 36px;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--text);
  display: block;
  height: 2px;
  margin: 8px 0;
  transition: transform 180ms ease;
  width: 100%;
}

.section-shell {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  width: 100%;
}

.hero {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  min-height: 100vh;
  padding-top: 120px;
}

.kicker {
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  margin: 30px 0 0;
  max-width: 760px;
}

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

.primary-btn,
.ghost-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  box-shadow: 0 14px 30px rgba(14, 135, 183, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-3px);
}

.ghost-btn:hover {
  background: var(--surface);
  border-color: rgba(14, 135, 183, 0.28);
  box-shadow: 0 18px 38px rgba(14, 135, 183, 0.13);
}

.hero-card {
  align-self: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  justify-items: center;
  min-height: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  text-align: center;
}

.hero-card::before {
  background:
    radial-gradient(circle, rgba(14, 135, 183, 0.13), transparent 62%),
    radial-gradient(circle at 70% 30%, rgba(17, 169, 154, 0.12), transparent 48%);
  border-radius: 50%;
  content: "";
  filter: blur(18px);
  height: 360px;
  left: 50%;
  position: absolute;
  top: 70px;
  transform: translateX(-50%);
  width: 360px;
  z-index: -1;
}

.profile-visual {
  align-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(14, 135, 183, 0.18), transparent 46%),
    radial-gradient(circle at 52% 74%, rgba(255, 255, 255, 0.82), transparent 58%);
  border-radius: 50%;
  display: flex;
  height: 460px;
  justify-content: center;
  position: relative;
  width: min(100%, 460px);
}

.profile-visual::after {
  background: linear-gradient(180deg, transparent, rgba(246, 248, 244, 0.96) 74%);
  bottom: -6px;
  content: "";
  height: 88px;
  left: 2%;
  pointer-events: none;
  position: absolute;
  right: 2%;
  z-index: 2;
}

.profile-avatar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(14, 135, 183, 0.18), rgba(17, 169, 154, 0.12)),
    #e8f5f4;
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 42px;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.32);
  display: flex;
  font-size: 70px;
  font-weight: 900;
  height: 210px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 210px;
}

.image-avatar {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 455px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 430px;
}

.image-avatar::after {
  display: none;
}

.image-avatar img {
  height: 100%;
  mask-image: radial-gradient(ellipse at 50% 44%, #000 0 58%, rgba(0, 0, 0, 0.9) 66%, transparent 82%);
  object-fit: contain;
  object-position: 50% 50%;
  transform: scale(1.05);
  width: 100%;
}

.portrait-base {
  background:
    radial-gradient(ellipse at center, rgba(15, 33, 48, 0.2), rgba(15, 33, 48, 0.08) 42%, transparent 72%),
    linear-gradient(90deg, transparent, rgba(14, 135, 183, 0.12), transparent);
  border-radius: 50%;
  bottom: 14px;
  box-shadow: 0 18px 42px rgba(15, 33, 48, 0.14);
  height: 34px;
  left: 50%;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 70%;
  z-index: 3;
}

.portrait-base::after {
  background: rgba(14, 135, 183, 0.18);
  border-radius: 999px;
  content: "";
  height: 1px;
  left: 22%;
  position: absolute;
  right: 22%;
  top: 15px;
}

.hero-card h2 {
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.hero-card p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-card .mini-tags {
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  max-width: 620px;
}

.mini-tags,
.stack,
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-tags span,
.stack span {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
}

.hero-card .mini-tags span {
  animation: tagDrift 4.8s ease-in-out infinite;
  animation-delay: calc(var(--tag-index, 0) * -180ms);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 247, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 33, 48, 0.08);
  font-size: 14px;
  padding: 11px 15px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.hero-card .mini-tags span:nth-child(1) { --tag-index: 1; }
.hero-card .mini-tags span:nth-child(2) { --tag-index: 2; }
.hero-card .mini-tags span:nth-child(3) { --tag-index: 3; }
.hero-card .mini-tags span:nth-child(4) { --tag-index: 4; }
.hero-card .mini-tags span:nth-child(5) { --tag-index: 5; }
.hero-card .mini-tags span:nth-child(6) { --tag-index: 6; }

.hero-card .mini-tags span:hover {
  animation-play-state: paused;
  background: rgba(14, 135, 183, 0.08);
  border-color: rgba(17, 169, 154, 0.34);
  box-shadow: 0 18px 40px rgba(14, 135, 183, 0.14);
  transform: translateY(-7px) scale(1.04);
}

.stats {
  display: grid;
  gap: clamp(20px, 2.4vw, 34px);
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 124px;
  padding-top: 22px;
}

.stats article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  min-height: 150px;
  padding: 30px;
}

.stats strong {
  color: var(--text);
  display: block;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.stats strong::after {
  color: var(--accent);
  content: "+";
  font-size: 28px;
  margin-left: 3px;
}

.stats span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.about,
.services,
.projects,
.experience,
.skills,
.integrations,
.site-footer {
  padding-bottom: 118px;
  scroll-margin-top: 100px;
}

.section-title {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.34fr 1fr;
  margin-bottom: 38px;
}

.section-title p {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0;
}

.about .section-title {
  display: block;
  margin-bottom: 28px;
  max-width: 1180px;
}

.about .section-title p {
  margin: 0 0 14px;
}

.about .section-title h2 {
  font-size: clamp(38px, 5.4vw, 74px);
  letter-spacing: 0;
  line-height: 0.98;
}

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

.about-grid p {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  padding: 30px;
}

.about-copy {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 249, 0.82)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  display: grid;
  font-size: clamp(17px, 1.25vw, 20px);
  gap: 22px 40px;
  grid-template-columns: 0.9fr 1.1fr;
  line-height: 1.75;
  margin-left: 0;
  max-width: none;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 56px);
  position: relative;
  width: 100%;
}

.about-copy::before {
  background: linear-gradient(90deg, var(--accent-2), rgba(14, 135, 183, 0.25), transparent);
  content: "";
  height: 4px;
  left: clamp(30px, 4.6vw, 56px);
  position: absolute;
  right: clamp(30px, 4.6vw, 56px);
  top: 0;
}

.about-copy p:first-child {
  color: var(--text);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  grid-row: 1 / span 3;
  letter-spacing: 0;
  line-height: 1.34;
  max-width: 520px;
  padding-top: 2px;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 0;
}

.service-grid,
.project-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.project-card,
.integration-card,
.timeline-item,
.contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.service-card,
.project-card {
  min-height: 265px;
  overflow: hidden;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.project-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 440px;
}

.service-card::after,
.project-card::after {
  background: linear-gradient(135deg, rgba(14, 135, 183, 0.12), rgba(17, 169, 154, 0.04));
  content: "";
  inset: auto -30% -50% 34%;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.service-card:hover,
.project-card:hover {
  background: var(--panel-strong);
  border-color: rgba(14, 135, 183, 0.24);
  box-shadow: 0 24px 58px rgba(15, 33, 48, 0.14);
  transform: translateY(-6px);
}

.service-card:hover::after,
.project-card:hover::after {
  opacity: 1;
}

.service-card span,
.project-type {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3,
.project-card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 46px 0 14px;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.project-card h3 {
  margin-top: 10px;
}

.project-mockup {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 247, 0.84)),
    #f7fbfb;
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 36px rgba(15, 33, 48, 0.1);
  height: 190px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.project-mockup::before {
  background: radial-gradient(circle at 24% 16%, rgba(14, 135, 183, 0.13), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(17, 169, 154, 0.1), transparent 38%);
  content: "";
  inset: 0;
  position: absolute;
}

.mockup-top {
  align-items: center;
  display: flex;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

.mockup-top span {
  background: rgba(14, 135, 183, 0.28);
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

.mockup-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 64px 1fr;
  height: calc(100% - 28px);
  padding: 10px 14px 16px;
  position: relative;
  z-index: 1;
}

.mockup-sidebar,
.mockup-row,
.mockup-card,
.mockup-cards i,
.mockup-chart,
.mockup-filter span,
.mockup-metric,
.mockup-device,
.mockup-bars i,
.meal-list span,
.meal-calendar i,
.store-hero,
.store-grid span,
.cart-line,
.node {
  background: rgba(14, 135, 183, 0.08);
  border: 1px solid rgba(14, 135, 183, 0.1);
}

.mockup-sidebar {
  border-radius: 14px;
}

.mockup-content {
  display: grid;
  gap: 10px;
  grid-template-rows: 22px 1fr 54px;
}

.mockup-row {
  border-radius: 999px;
}

.mockup-cards {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, 1fr);
}

.mockup-cards i {
  border-radius: 12px;
}

.mockup-chart {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.mockup-chart::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  content: "";
  height: 45%;
  inset: auto 0 0;
  opacity: 0.42;
  position: absolute;
}

.mockup-map-canvas {
  background:
    linear-gradient(135deg, rgba(14, 135, 183, 0.12), transparent 48%),
    repeating-linear-gradient(45deg, rgba(14, 135, 183, 0.08) 0 1px, transparent 1px 18px);
  border-radius: 18px;
  inset: 18px 120px 18px 18px;
  position: absolute;
}

.pin {
  background: var(--accent-2);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 22px rgba(17, 169, 154, 0.28);
  height: 16px;
  position: absolute;
  transform: rotate(-45deg);
  width: 16px;
}

.pin-a { left: 24%; top: 36%; }
.pin-b { left: 58%; top: 52%; }
.pin-c { left: 70%; top: 22%; }

.mockup-filter {
  display: grid;
  gap: 12px;
  position: absolute;
  right: 18px;
  top: 30px;
  width: 78px;
}

.mockup-filter span {
  border-radius: 999px;
  height: 20px;
}

.mockup-analytics {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1.2fr;
  padding: 18px;
}

.mockup-metric,
.mockup-device {
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.mockup-metric {
  display: grid;
  grid-row: span 2;
  padding: 18px;
}

.mockup-metric strong,
.mockup-metric span,
.mockup-device span {
  background: rgba(14, 135, 183, 0.17);
  border-radius: 999px;
  display: block;
}

.mockup-metric strong {
  height: 34px;
  margin-top: auto;
  width: 72%;
}

.mockup-metric span {
  height: 12px;
  width: 46%;
}

.mockup-bars {
  align-items: end;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.mockup-bars i {
  border-radius: 999px 999px 10px 10px;
  min-height: 42px;
}

.mockup-bars i:nth-child(2) { min-height: 82px; }
.mockup-bars i:nth-child(3) { min-height: 58px; }
.mockup-bars i:nth-child(4) { min-height: 108px; }

.mockup-device {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.mockup-device span {
  height: 14px;
}

.mockup-meal,
.mockup-store,
.mockup-headless {
  padding: 18px;
}

.meal-ring {
  border: 18px solid rgba(14, 135, 183, 0.14);
  border-right-color: var(--accent-2);
  border-radius: 50%;
  height: 92px;
  left: 22px;
  position: absolute;
  top: 34px;
  width: 92px;
  z-index: 1;
}

.meal-list {
  display: grid;
  gap: 10px;
  left: 134px;
  position: absolute;
  right: 22px;
  top: 38px;
  z-index: 1;
}

.meal-list span {
  border-radius: 999px;
  height: 16px;
}

.meal-calendar {
  bottom: 22px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  left: 22px;
  position: absolute;
  right: 22px;
  z-index: 1;
}

.meal-calendar i {
  border-radius: 10px;
  height: 34px;
}

.store-hero {
  border-radius: 16px;
  height: 72px;
  position: relative;
  z-index: 1;
}

.store-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.store-grid span {
  border-radius: 14px;
  height: 52px;
}

.cart-line {
  align-items: center;
  border-radius: 999px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  height: 28px;
  left: 18px;
  padding: 7px;
  position: absolute;
  right: 18px;
  z-index: 1;
}

.cart-line i,
.cart-line b {
  background: rgba(14, 135, 183, 0.18);
  border-radius: 999px;
  display: block;
  height: 100%;
}

.cart-line i { width: 38%; }
.cart-line b { flex: 1; }

.node,
.flow-line {
  position: absolute;
  z-index: 1;
}

.node {
  border-radius: 18px;
  height: 58px;
  width: 118px;
}

.node-a {
  left: 24px;
  top: 34px;
}

.node-b {
  right: 28px;
  top: 58px;
}

.node-c {
  bottom: 30px;
  left: 34%;
}

.flow-line {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  height: 3px;
  opacity: 0.55;
  transform-origin: left center;
}

.line-a {
  left: 126px;
  top: 68px;
  transform: rotate(8deg);
  width: 118px;
}

.line-b {
  left: 43%;
  top: 120px;
  transform: rotate(-22deg);
  width: 120px;
}

.service-card p,
.project-card p,
.timeline-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

.service-tags span {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 8px 11px;
}

.stack {
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  gap: 26px;
  grid-template-columns: 190px 1fr;
  padding: 28px;
}

.timeline-item > span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.skill-cloud {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  overflow: hidden;
  padding: 14px 0 22px;
  perspective: 900px;
}

.skill-groups {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.skill-group {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.skill-group::after {
  background: linear-gradient(135deg, rgba(14, 135, 183, 0.09), rgba(17, 169, 154, 0.035));
  content: "";
  inset: auto -30% -48% 24%;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.skill-group:hover::after {
  opacity: 1;
}

.skill-group h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.skill-group .skill-cloud {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 1;
}

.skill-group .skill-pill {
  font-size: 14px;
  min-height: 60px;
  padding: 12px 14px;
}

.skill-group .skill-pill img {
  height: 27px;
  width: 27px;
}

.skill-pill {
  align-items: center;
  animation: skillFloat 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -220ms);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 247, 0.74)),
    rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 33, 48, 0.08);
  color: var(--text);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 12px;
  justify-content: flex-start;
  min-height: 68px;
  padding: 14px 16px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.skill-pill::before {
  background: linear-gradient(135deg, rgba(14, 135, 183, 0.1), rgba(17, 169, 154, 0.06));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.skill-pill img {
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 30px;
  z-index: 1;
}

.skill-pill:not(.no-logo) {
  padding-left: 18px;
}

.skill-pill.no-logo {
  justify-content: center;
}

.skill-pill:hover {
  animation-play-state: paused;
  background: var(--panel-strong);
  border-color: rgba(14, 135, 183, 0.28);
  transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
}

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

.skill-pill {
  z-index: 1;
}

.skill-pill:nth-child(1) { --i: 1; }
.skill-pill:nth-child(2) { --i: 2; }
.skill-pill:nth-child(3) { --i: 3; }
.skill-pill:nth-child(4) { --i: 4; }
.skill-pill:nth-child(5) { --i: 5; }
.skill-pill:nth-child(6) { --i: 6; }
.skill-pill:nth-child(7) { --i: 7; }
.skill-pill:nth-child(8) { --i: 8; }
.skill-pill:nth-child(9) { --i: 9; }
.skill-pill:nth-child(10) { --i: 10; }
.skill-pill:nth-child(11) { --i: 11; }
.skill-pill:nth-child(12) { --i: 12; }
.skill-pill:nth-child(13) { --i: 13; }
.skill-pill:nth-child(14) { --i: 14; }
.skill-pill:nth-child(15) { --i: 15; }
.skill-pill:nth-child(16) { --i: 16; }
.skill-pill:nth-child(17) { --i: 17; }
.skill-pill:nth-child(18) { --i: 18; }
.skill-pill:nth-child(19) { --i: 19; }
.skill-pill:nth-child(20) { --i: 20; }
.skill-pill:nth-child(21) { --i: 21; }
.skill-pill:nth-child(22) { --i: 22; }
.skill-pill:nth-child(23) { --i: 23; }
.skill-pill:nth-child(24) { --i: 24; }
.skill-pill:nth-child(25) { --i: 25; }
.skill-pill:nth-child(26) { --i: 26; }
.skill-pill:nth-child(27) { --i: 27; }
.skill-pill:nth-child(28) { --i: 28; }
.skill-pill:nth-child(29) { --i: 29; }
.skill-pill:nth-child(30) { --i: 30; }
.skill-pill:nth-child(31) { --i: 31; }
.skill-pill:nth-child(32) { --i: 32; }
.skill-pill:nth-child(33) { --i: 33; }

.skill-pill img,
.skill-pill span {
  position: relative;
  z-index: 1;
}

.integration-intro {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  margin: -12px 0 28px 34%;
  max-width: 760px;
}

.integration-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.integration-card {
  min-height: 285px;
  overflow: hidden;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.integration-card::after {
  background: linear-gradient(135deg, rgba(14, 135, 183, 0.1), rgba(17, 169, 154, 0.035));
  content: "";
  inset: auto -38% -46% 28%;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.integration-card:hover {
  background: var(--panel-strong);
  border-color: rgba(14, 135, 183, 0.24);
  box-shadow: 0 24px 58px rgba(15, 33, 48, 0.13);
  transform: translateY(-6px);
}

.integration-card:hover::after {
  opacity: 1;
}

.integration-card > span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.integration-card h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}

.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.integration-tags span {
  animation: tagDrift 5.4s ease-in-out infinite;
  animation-delay: calc(var(--tag-index, 0) * -140ms);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  max-width: 100%;
  padding: 9px 12px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  white-space: normal;
}

.integration-tags span:nth-child(1) { --tag-index: 1; }
.integration-tags span:nth-child(2) { --tag-index: 2; }
.integration-tags span:nth-child(3) { --tag-index: 3; }
.integration-tags span:nth-child(4) { --tag-index: 4; }
.integration-tags span:nth-child(5) { --tag-index: 5; }
.integration-tags span:nth-child(6) { --tag-index: 6; }

.integration-tags span:hover {
  animation-play-state: paused;
  background: rgba(14, 135, 183, 0.08);
  border-color: rgba(17, 169, 154, 0.28);
  transform: translateY(-5px);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 80px;
  position: relative;
}

.footer-container {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 60px;
}

.footer-info h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 20px;
}

.footer-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}

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

.social-btn {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--soft-shadow);
}

.social-btn svg {
  color: var(--accent);
  transition: transform 180ms ease;
}

.social-btn:hover {
  background: var(--surface-soft);
  border-color: rgba(14, 135, 183, 0.28);
  box-shadow: 0 16px 34px rgba(14, 135, 183, 0.12);
  transform: translateY(-3px);
}

.social-btn:hover svg {
  transform: scale(1.1);
}

.footer-form-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 135, 183, 0.1);
  outline: none;
}

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

.submit-btn {
  border: none;
  cursor: pointer;
  gap: 10px;
  justify-content: center;
  width: 100%;
  font-family: inherit;
}

.submit-btn svg {
  transition: transform 180ms ease;
}

.submit-btn:hover svg {
  transform: translateX(3px) translateY(-3px);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 30px clamp(20px, 5vw, 72px) 46px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.back-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 12px;
  min-height: 46px;
  padding: 6px 7px 6px 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.back-top span:first-child {
  font-size: 14px;
}

.back-top span:last-child {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.back-top:hover {
  background: var(--surface);
  border-color: rgba(14, 135, 183, 0.28);
  box-shadow: 0 16px 34px rgba(14, 135, 183, 0.12);
  transform: translateY(-3px);
}

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

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

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes skillFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  35% {
    transform: translate3d(8px, -10px, 20px) rotate(0.4deg);
  }
  70% {
    transform: translate3d(-7px, 6px, 8px) rotate(-0.35deg);
  }
}

@keyframes tagDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-6px);
  }
  72% {
    transform: translateY(3px);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .main-nav {
    align-content: center;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(15, 33, 48, 0.12);
    flex-direction: column;
    inset: 79px 0 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    font-size: 26px;
  }

  .hero,
  .section-title,
  .about-grid,
  .service-grid,
  .project-list,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .about-copy {
    grid-template-columns: 1fr;
    margin-left: 0;
    max-width: none;
  }

  .about-copy p:first-child {
    grid-row: auto;
    max-width: none;
  }

  .hero {
    padding-bottom: 80px;
  }

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

  .integration-intro {
    margin-left: 0;
  }

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


}

@media (max-width: 620px) {
  .cursor-glow {
    display: none;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-card {
    min-height: auto;
    padding: 0;
  }

  .profile-visual {
    height: 330px;
    width: min(100%, 330px);
  }

  .profile-avatar {
    border-radius: 32px;
    font-size: 54px;
    height: 170px;
    width: 170px;
  }

  .image-avatar {
    height: 320px;
    width: 300px;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

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

  .skill-cloud {
    grid-template-columns: 1fr;
  }

  .skill-groups {
    grid-template-columns: 1fr;
  }

  .skill-group {
    padding: 22px;
  }

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

  .integration-card {
    min-height: auto;
    padding: 22px;
  }

  .integration-card h3 {
    font-size: 21px;
  }

  .project-card {
    min-height: auto;
    padding: 22px;
  }

  .project-mockup {
    height: 165px;
  }

  .mockup-map-canvas {
    inset: 18px 92px 18px 18px;
  }

  .mockup-filter {
    right: 16px;
    width: 60px;
  }

  .mockup-layout {
    grid-template-columns: 48px 1fr;
  }

  .node {
    width: 92px;
  }

  .footer-form-wrapper {
    padding: 24px;
  }

  .social-links {
    flex-direction: column;
  }

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

  .back-top {
    justify-content: space-between;
    width: 100%;
  }
}

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