:root {
  --background: #070b16;
  --background-soft: #0d1324;
  --surface: #11182b;
  --surface-light: #172039;
  --text: #f5f7ff;
  --text-soft: #9ba8c7;
  --primary: #8b5cf6;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --green: #4ade80;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #4f7cff 48%, #22d3ee 100%);
  --gradient-soft: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.14),
    rgba(79, 124, 255, 0.12),
    rgba(34, 211, 238, 0.08)
  );
  --border: rgba(139, 92, 246, 0.22);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.24);
  --radius-large: 32px;
  --radius-medium: 22px;
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

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

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-soft {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--gradient-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 22, 0.84);
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--border-light);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}

.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.3);
}

.brand-name span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links > a:not(.button) {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links > a:not(.button):hover {
  color: var(--cyan);
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
}

.language-button {
  min-width: 37px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.active {
  background: var(--gradient);
  color: white;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--gradient);
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(79, 124, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(79, 124, 255, 0.32);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-secondary {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-full {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 80px);
  padding-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-one {
  width: 420px;
  height: 420px;
  top: -100px;
  right: 7%;
  background: rgba(139, 92, 246, 0.23);
}

.orb-two {
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: -80px;
  background: rgba(34, 211, 238, 0.13);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-content h2,
.contact-content h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.hero-description {
  max-width: 670px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

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

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: var(--text-soft);
}

.hero-features span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.code-window {
  width: min(100%, 580px);
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: rgba(17, 24, 43, 0.95);
  box-shadow: var(--shadow);
  transform: rotate(1.7deg);
}

.code-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
}

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

.code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff6b6b; }
.code-dots span:nth-child(2) { background: #ffd166; }
.code-dots span:nth-child(3) { background: #4ade80; }

.code-title {
  flex: 1;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #7f8baa;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.code-content {
  min-height: 390px;
  display: grid;
  grid-template-columns: 118px 1fr;
}

.code-sidebar {
  padding: 28px 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid var(--border-light);
  color: #65708c;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.code-editor {
  padding: 45px 36px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
}

.code-editor p {
  margin: 0 0 13px;
  color: #dbe4ff;
}

.code-purple { color: #c084fc; }
.code-blue { color: #60a5fa; }
.code-cyan { color: #22d3ee; }
.code-comment { color: #66738f !important; }

.terminal {
  margin-top: 40px;
  padding: 18px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: #080c18;
  color: #7f8baa;
}

.terminal-success {
  color: var(--green);
}

.floating-chip {
  position: absolute;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: rgba(17, 24, 43, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.floating-chip strong,
.floating-chip small {
  display: block;
}

.floating-chip small {
  color: var(--text-soft);
}

.chip-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
}

.chip-one {
  left: -18px;
  bottom: 86px;
}

.chip-two {
  top: 92px;
  right: -20px;
}

.trust-bar {
  padding: 25px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--text-soft);
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.section-heading > p:last-child,
.about-content > p,
.contact-content > p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.services-grid,
.process-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
}

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

.service-card,
.process-card {
  padding: 29px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);
  background: rgba(17, 24, 43, 0.72);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover,
.process-card:hover {
  transform: translateY(-7px);
  border-color: var(--border);
  background: rgba(23, 32, 57, 0.94);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.service-card h3,
.process-card h3,
.project-content h3,
.price-card h3 {
  margin: 22px 0 8px;
  font-family: "Manrope", sans-serif;
}

.service-card p,
.process-card p,
.project-content p {
  margin: 0;
  color: var(--text-soft);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);
  background: rgba(17, 24, 43, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--border);
}

.project-image {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.project-content {
  padding: 32px;
}

.project-category,
.price-name {
  margin: 0;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-top: 7px;
  font-size: 2rem;
}

.text-button {
  width: fit-content;
  padding: 0;
  margin-top: 25px;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-weight: 800;
  cursor: pointer;
}

.text-button::after {
  content: " →";
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-card span {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.pricing-section {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.14), transparent 35%),
    #090d19;
}

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

.price-card {
  position: relative;
  padding: 35px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);
  background: rgba(17, 24, 43, 0.72);
}

.price-card.featured {
  transform: translateY(-15px);
  border-color: rgba(139, 92, 246, 0.34);
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.16),
    rgba(17, 24, 43, 0.94)
  );
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-top: 12px;
  font-size: 2.05rem;
}

.price-card ul {
  padding: 0;
  margin: 27px 0 31px;
  list-style: none;
}

.price-card li {
  padding: 9px 0;
  color: var(--text-soft);
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: #d8c8ff;
  font-size: 0.74rem;
  font-weight: 800;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 72px;
}

/* About / avatar */
.about-visual {
  min-height: 540px;
}

.avatar-card {
  position: relative;
  min-height: 540px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 75% 20%, rgba(34, 211, 238, 0.16), transparent 25%),
    radial-gradient(circle at 20% 70%, rgba(139, 92, 246, 0.22), transparent 32%),
    linear-gradient(145deg, #121a30, #0c1120);
  box-shadow: var(--shadow);
}

.avatar-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 80px;
  left: 50%;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(70px);
  opacity: 0.25;
  transform: translateX(-50%);
}

.avatar {
  position: relative;
  z-index: 1;
  width: 240px;
  height: 340px;
  margin: 20px auto 0;
}

.avatar-hair {
  position: absolute;
  z-index: 1;
  width: 190px;
  height: 235px;
  top: 8px;
  left: 50%;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(145deg, #1b151f, #070609);
  transform: translateX(-50%);
}

.avatar-hair::before,
.avatar-hair::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 205px;
  top: 34px;
  border-radius: 50%;
  background: #0b090d;
}

.avatar-hair::before {
  left: -5px;
  transform: rotate(7deg);
}

.avatar-hair::after {
  right: -5px;
  transform: rotate(-7deg);
}

.avatar-face {
  position: absolute;
  z-index: 3;
  width: 150px;
  height: 180px;
  top: 55px;
  left: 50%;
  border-radius: 46% 46% 44% 44%;
  background: linear-gradient(145deg, #c98968, #a76448);
  transform: translateX(-50%);
  box-shadow:
    inset -12px -10px 25px rgba(0, 0, 0, 0.12),
    0 18px 30px rgba(0, 0, 0, 0.2);
}

.avatar-face::before,
.avatar-face::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 78px;
  height: 42px;
  top: -10px;
  background: #0b090d;
}

.avatar-face::before {
  left: -4px;
  border-radius: 80% 20% 70% 20%;
  transform: rotate(9deg);
}

.avatar-face::after {
  right: -4px;
  border-radius: 20% 80% 20% 70%;
  transform: rotate(-9deg);
}

.avatar-eyes {
  position: absolute;
  z-index: 5;
  width: 84px;
  height: 15px;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
}

.avatar-eyes::before,
.avatar-eyes::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 8px;
  border-radius: 50%;
  background: #17111a;
}

.avatar-eyes::before {
  left: 8px;
}

.avatar-eyes::after {
  right: 8px;
}

.avatar-smile {
  position: absolute;
  z-index: 5;
  width: 45px;
  height: 22px;
  bottom: 38px;
  left: 50%;
  border-bottom: 5px solid #7d263e;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.avatar-body {
  position: absolute;
  z-index: 2;
  width: 210px;
  height: 145px;
  bottom: 0;
  left: 50%;
  overflow: hidden;
  border-radius: 50px 50px 20px 20px;
  background: #f3f3f7;
  transform: translateX(-50%);
}

.avatar-blazer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 35%, #ffffff 36% 52%, transparent 53%),
    linear-gradient(240deg, transparent 0 35%, #e2e3ea 36% 52%, transparent 53%);
}

.avatar-code-badge {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: var(--gradient);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(79, 124, 255, 0.32);
}

.location-label {
  position: relative;
  z-index: 4;
  width: fit-content;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.about-features span {
  padding: 15px 16px;
  border: 1px solid var(--border-light);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-features span:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  background: rgba(139, 92, 246, 0.08);
}

.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-weight: 700;
}

.contact-details a {
  color: var(--cyan);
}

.contact-form {
  padding: 35px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);
  background: rgba(17, 24, 43, 0.92);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border-light);
  border-radius: 15px;
  outline: none;
  background: #0b1020;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.contact-form select option {
  background: #0b1020;
  color: var(--text);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.86);
  backdrop-filter: blur(10px);
}

.project-modal-box {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-project-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.modal-project-content {
  padding: 36px;
}

.modal-project-content h2 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 2.4rem;
}

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

.modal-project-content h3 {
  margin-top: 28px;
  font-family: "Manrope", sans-serif;
}

.modal-project-content ul {
  padding: 0;
  margin: 18px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.modal-project-content li {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.modal-project-content li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(7, 11, 22, 0.84);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    background: #0d1324;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 10px;
  }

  .language-switcher {
    width: fit-content;
  }

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

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .floating-chip {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
  }

  .services-grid,
  .process-grid,
  .projects-grid,
  .about-features,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .modal-project-content ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(calc(100% - 24px), var(--container-width));
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .code-sidebar {
    display: none;
  }

  .code-content {
    grid-template-columns: 1fr;
  }

  .code-window {
    transform: none;
  }

  .project-image {
    height: 230px;
  }

  .modal-project-image {
    height: 240px;
  }

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


@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: auto;
  }

  .avatar-card {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .avatar-card {
    min-height: 470px;
    padding: 24px;
  }

  .avatar {
    transform: scale(0.9);
    transform-origin: center top;
  }

  .avatar-code-badge {
    left: 20px;
    bottom: 58px;
    width: 62px;
    height: 62px;
  }
}


/* Improved founder avatar section */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 72px;
}

.about-visual {
  min-height: 560px;
}

.avatar-card {
  position: relative;
  min-height: 560px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.18), transparent 26%),
    radial-gradient(circle at 18% 72%, rgba(139, 92, 246, 0.24), transparent 34%),
    linear-gradient(145deg, #121a30, #0c1120);
  box-shadow: var(--shadow);
}

.avatar-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  pointer-events: none;
}

.avatar-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 70px;
  left: 50%;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.3;
  transform: translateX(-50%);
}

.founder-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  filter: saturate(1.05) contrast(1.03);
}

.avatar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(7, 11, 22, 0.88), transparent 38%);
  pointer-events: none;
}

.avatar-code-badge {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 76px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: var(--gradient);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(79, 124, 255, 0.32);
}

.location-label {
  position: absolute;
  z-index: 3;
  left: 118px;
  bottom: 34px;
  width: fit-content;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.76);
  color: var(--text-soft);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.about-features span {
  padding: 15px 16px;
  border: 1px solid var(--border-light);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.about-features span:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  background: rgba(139, 92, 246, 0.08);
}

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: auto;
  }

  .avatar-card {
    min-height: 520px;
  }
}

@media (max-width: 600px) {
  .avatar-card {
    min-height: 430px;
    padding: 16px;
  }

  .founder-avatar {
    min-height: 395px;
  }

  .avatar-code-badge {
    width: 58px;
    height: 58px;
    left: 18px;
    bottom: 68px;
  }

  .location-label {
    left: 86px;
    bottom: 24px;
    font-size: 0.82rem;
  }

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