:root {
  --bg-main: #010101;
  --bg-alt: #010101;
  --surface-rgb: 13, 16, 23;
  --accent-blue-rgb: 95, 75, 223;
  --surface: rgba(var(--surface-rgb), 0.72);
  --surface-strong: rgba(var(--surface-rgb), 0.92);
  --surface-soft: rgba(var(--surface-rgb), 0.58);
  --surface-border: rgba(var(--accent-blue-rgb), 0.26);
  --text-main: #f6f7ff;
  --text-soft: #b8b7cc;
  --text-muted: #8c90ad;
  --accent: #500bb6;
  --accent-bright: #7552ff;
  --accent-blue: #5f4bdf;
  --accent-pink: #7f4cff;
  --success: #69f0ae;
  --danger: #ff8aa0;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.48);
  --shadow-glow: 0 0 0 1px rgba(var(--accent-blue-rgb), 0.22), 0 22px 50px rgba(37, 20, 94, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1140px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-blue-rgb), 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(80, 11, 182, 0.14), transparent 30%),
    linear-gradient(160deg, var(--bg-main) 0%, #050507 48%, var(--bg-alt) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(var(--accent-blue-rgb), 0.35);
}

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.6;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-one {
  width: 22rem;
  height: 22rem;
  top: 5%;
  left: -6%;
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.55), rgba(var(--accent-blue-rgb), 0));
}

.orb-two {
  width: 28rem;
  height: 28rem;
  right: -8%;
  top: 14%;
  background: radial-gradient(circle, rgba(80, 11, 182, 0.5), rgba(80, 11, 182, 0));
  animation-delay: -5s;
}

.orb-three {
  width: 20rem;
  height: 20rem;
  bottom: 10%;
  left: 45%;
  background: radial-gradient(circle, rgba(117, 82, 255, 0.32), rgba(117, 82, 255, 0));
  animation-delay: -8s;
}

.grid-glow {
  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: 70px 70px;
  mask-image: radial-gradient(circle at center, black 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, black 22%, transparent 78%);
  opacity: 0.28;
}

.noise-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
  opacity: 0.04;
}

.particle-field {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(var(--accent-blue-rgb), 0.18));
  opacity: 0;
  animation: riseParticle linear infinite;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.9), rgba(var(--surface-rgb), 0.68));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 1rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.topbar.is-scrolled .topbar__inner {
  background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.96), rgba(8, 9, 12, 0.94));
  border-color: var(--surface-border);
  transform: translateY(0.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.55), rgba(80, 11, 182, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 30px rgba(var(--accent-blue-rgb), 0.22);
}

.brand__text {
  font-size: 0.98rem;
}

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

.nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text-main);
  text-shadow: 0 0 16px rgba(var(--accent-blue-rgb), 0.34);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.btn--small {
  min-height: 2.6rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.93rem;
}

.btn--primary {
  color: var(--text-main);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 18px 40px rgba(53, 34, 149, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 24px 50px rgba(53, 34, 149, 0.48), 0 0 30px rgba(var(--accent-blue-rgb), 0.22);
}

.btn--secondary,
.btn--ghost {
  color: var(--text-main);
  background: var(--surface-soft);
  border-color: rgba(var(--accent-blue-rgb), 0.2);
}

.btn--secondary:hover,
.btn--ghost:hover,
.btn--secondary:focus-visible,
.btn--ghost:focus-visible {
  border-color: rgba(var(--accent-blue-rgb), 0.42);
  box-shadow: 0 16px 30px rgba(10, 11, 20, 0.4), 0 0 24px rgba(var(--accent-blue-rgb), 0.18);
}

.btn--block {
  width: 100%;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  align-items: center;
  padding-top: 3rem;
}

.hero__grid,
.about__grid,
.contact__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero__copy h1,
.section-heading h2,
.contact__content h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading h2,
.contact__content h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--accent-blue);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  box-shadow: 0 0 18px rgba(var(--accent-blue-rgb), 0.7);
}

.hero__text,
.about__content p,
.section-heading p,
.contact__content p,
.service-card p,
.portfolio-copy p,
.why-card p,
.contact-note,
.form-note,
.form-status {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero__text {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.hero__stats article {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.14);
}

.hero__stats strong,
.highlight-card strong,
.portfolio-copy h3,
.why-card h3,
.service-card h3 {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.hero__stats strong {
  font-size: 1.2rem;
}

.hero__stats span,
.highlight-card span,
.portfolio-copy .portfolio-type,
.why-card__index,
.service-card__meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
}

.hero-card {
  position: relative;
  min-height: 34rem;
  padding: 1.4rem;
  border-radius: 2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-blue-rgb), 0.18), transparent 30%),
    linear-gradient(180deg, rgba(var(--accent-blue-rgb), 0.08), rgba(255, 255, 255, 0.01));
  z-index: -1;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: #ece9ff;
  background: rgba(var(--surface-rgb), 0.82);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.3);
  box-shadow: inset 0 0 20px rgba(var(--accent-blue-rgb), 0.08);
}

.hero-card__screen {
  position: relative;
  margin-top: 1rem;
  padding: 1.5rem;
  min-height: 27rem;
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(var(--surface-rgb), 0.95), rgba(9, 11, 15, 0.94)),
    linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.18), rgba(80, 11, 182, 0.18));
  border: 1px solid rgba(var(--accent-blue-rgb), 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.screen-chip {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(var(--accent-blue-rgb), 0.18);
  color: #f0ecff;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.28);
}

.hero-card__screen h2 {
  margin: 1.2rem 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.screen-metrics,
.about__highlights,
.why-grid {
  display: grid;
  gap: 1rem;
}

.screen-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.metric-chip {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--surface-soft);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.14);
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

.metric-chip__number {
  display: block;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.hero-card__halo {
  position: absolute;
  inset: auto 10% 2%;
  height: 5rem;
  background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.42), rgba(var(--accent-blue-rgb), 0));
  filter: blur(26px);
  z-index: -1;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section-heading--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--center .section-label {
  justify-content: center;
}

.about__grid,
.contact__grid {
  grid-template-columns: 0.88fr 1.12fr;
}

.profile-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 35rem;
  padding: 1.2rem 1.2rem 0;
  border-radius: 2rem;
  overflow: hidden;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(var(--accent-blue-rgb), 0.24), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(80, 11, 182, 0.18), transparent 35%);
  pointer-events: none;
}

.profile-frame img {
  position: relative;
  z-index: 1;
  width: min(100%, 30rem);
  max-height: 33rem;
  object-fit: contain;
  object-position: center bottom;
}

.profile-frame__badge {
  position: absolute;
  left: 1.7rem;
  bottom: 1.7rem;
  z-index: 1;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.86);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.2);
  color: #eef2ff;
}

.accent-text {
  color: #8b77ff;
  font-weight: 600;
}

.about__content {
  display: grid;
  gap: 1rem;
}

.about__highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.5rem;
}

.highlight-card,
.skill-card,
.service-card,
.portfolio-card,
.why-card,
.contact-note,
.contact-form {
  border-radius: var(--radius-lg);
}

.highlight-card,
.contact-note {
  padding: 1rem 1.1rem;
}

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

.skill-card {
  position: relative;
  padding: 1.3rem;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.12), rgba(80, 11, 182, 0.06));
  opacity: 0;
  transition: opacity 220ms ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-blue-rgb), 0.3);
  box-shadow: var(--shadow-glow);
}

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

.skill-card__top {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.skill-logo {
  display: inline-grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(var(--surface-rgb), 0.92), var(--skill-brand));
  color: #f6f7ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.skill-card__copy h3,
.skill-card__copy span,
.skill-card__percent {
  position: relative;
}

.skill-card__copy h3 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
}

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

.skill-card__percent {
  font-size: 1.06rem;
}

.skill-bar {
  position: relative;
  height: 0.82rem;
  margin-top: 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.14);
}

.skill-bar__fill {
  display: block;
  width: var(--skill-level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-blue), var(--skill-brand));
  box-shadow: 0 0 22px rgba(var(--accent-blue-rgb), 0.24);
}

.services-grid,
.portfolio-grid,
.why-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  grid-column: span 3;
  position: relative;
  padding: 1.3rem;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before,
.portfolio-card::before,
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.1), rgba(80, 11, 182, 0.04));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-blue-rgb), 0.28);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before,
.portfolio-card:hover::before,
.why-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  color: var(--text-main);
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.2), rgba(80, 11, 182, 0.24));
  border: 1px solid rgba(var(--accent-blue-rgb), 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 30px rgba(24, 16, 68, 0.32);
}

.service-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0 0 0.45rem;
}

.service-card p {
  margin: 0 0 0.85rem;
}

.service-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-blue);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.16);
  color: var(--text-soft);
  background: var(--surface-soft);
  font-size: 0.92rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  color: var(--text-main);
  border-color: rgba(var(--accent-blue-rgb), 0.42);
  box-shadow: 0 12px 30px rgba(35, 22, 79, 0.38);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.26), rgba(80, 11, 182, 0.26));
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, opacity 180ms ease;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--thumb-start), var(--thumb-end));
}

.portfolio-thumb__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0.85rem;
  object-fit: contain;
  object-position: center;
  transform: scale(1.001);
  transition: transform 260ms ease;
}

.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.04), rgba(8, 10, 15, 0.3));
  z-index: 1;
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, 0), rgba(8, 10, 15, 0.1) 52%, rgba(8, 10, 15, 0.42));
  z-index: 1;
}

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

.portfolio-thumb__label,
.portfolio-thumb__capsule {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f3f6ff;
  font-size: 0.82rem;
  white-space: nowrap;
}

.portfolio-thumb__label {
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.8rem;
  background: rgba(var(--surface-rgb), 0.78);
}

.portfolio-thumb__capsule {
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  background: rgba(var(--accent-blue-rgb), 0.28);
}

.portfolio-copy {
  padding: 1.2rem;
}

.portfolio-type {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.portfolio-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.portfolio-copy p {
  margin: 0;
}

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  grid-column: span 3;
  position: relative;
  padding: 1.4rem;
}

.why-card__index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact__grid {
  align-items: start;
}

.contact__content {
  display: grid;
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--text-main);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.contact-link__badge {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #1dbf73;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(29, 191, 115, 0.24);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: #d3c9ff;
  text-shadow: 0 0 24px rgba(var(--accent-blue-rgb), 0.35);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text-main);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text-main);
  background: var(--surface-soft);
  border: 1px solid rgba(var(--accent-blue-rgb), 0.14);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(184, 183, 204, 0.75);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(var(--accent-blue-rgb), 0.48);
  box-shadow: 0 0 0 4px rgba(var(--accent-blue-rgb), 0.13);
  background: rgba(var(--surface-rgb), 0.82);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-status[data-state="info"] {
  color: var(--accent-blue);
}

.footer {
  padding: 0 0 2.5rem;
}

.footer__inner {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
}

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

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

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -24px, 0) scale(1.04);
  }
}

@keyframes riseParticle {
  0% {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-120px) scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .service-card {
    grid-column: span 4;
  }

  .portfolio-card,
  .why-card {
    grid-column: span 6;
  }

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

@media (max-width: 920px) {
  .hero__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .profile-frame {
    min-height: 31rem;
  }

  .profile-frame img {
    width: min(100%, 24rem);
    max-height: 29rem;
  }

  .topbar__inner {
    flex-wrap: wrap;
    border-radius: 1.5rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero__copy h1,
  .section-heading h2,
  .contact__content h2 {
    letter-spacing: -0.03em;
  }

  .hero__stats,
  .screen-metrics,
  .about__highlights,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .profile-frame {
    min-height: 26rem;
  }

  .profile-frame img {
    width: min(100%, 19rem);
    max-height: 24rem;
  }

  .service-card,
  .portfolio-card,
  .why-card {
    grid-column: span 12;
  }

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

  .hero-card__screen {
    min-height: auto;
  }

  .filter-bar {
    gap: 0.6rem;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-top: 0.7rem;
  }

  .topbar__inner {
    padding: 0.85rem;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    display: grid;
  }

  .hero__stats {
    padding: 0.8rem;
  }

  .contact-form {
    padding: 1rem;
  }

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

  .skill-card__percent {
    grid-column: 2;
    justify-self: end;
  }
}
