.hero-copy {
  width: min(100%, 560px);
  padding: clamp(22px, 3.1vw, 34px);
  justify-self: end;
}

.hero-lead,
.section-heading p:not(.eyebrow),
.about-section p,
.contact-copy p {
  max-width: 620px;
  margin-bottom: 22px;
  color: #d6e2ef;
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: grid;
  min-height: min(50vh, 430px);
  place-items: center;
  transform-style: preserve-3d;
  justify-self: start;
  width: min(42vw, 560px);
  min-width: 360px;
  transform: translateY(-10px);
}

.interface-stack {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1.05;
  transform: rotateX(11deg) rotateY(-13deg);
  transform-style: preserve-3d;
}

.ui-panel {
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(15, 26, 12, 0.64);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 0 44px rgba(145, 255, 130, 0.05);
  backdrop-filter: blur(14px);
}

.panel-main {
  inset: 8% 7% 18% 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px;
  transform: translateZ(72px);
}

.panel-main span {
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(143, 255, 130, 0.18), rgba(237, 255, 120, 0.14));
}

.panel-main span:first-child {
  grid-column: 1 / -1;
}

.panel-side {
  inset: 20% auto 8% 3%;
  width: 32%;
  transform: translateZ(132px);
}

.panel-code {
  inset: auto 0 5% 32%;
  height: 34%;
  padding: 22px;
  transform: translateZ(190px);
}

.panel-code i {
  display: block;
  height: 8px;
  margin-bottom: 15px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 0.64;
}

.panel-code i:nth-child(2) {
  width: 68%;
  background: var(--violet);
}

.panel-code i:nth-child(3) {
  width: 84%;
}

.panel-code i:nth-child(4) {
  width: 46%;
  background: var(--green);
}

.ui-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 26px var(--cyan);
}

.node-a {
  top: 15%;
  right: 18%;
  transform: translateZ(240px);
}

.node-b {
  bottom: 22%;
  left: 18%;
  transform: translateZ(210px);
  background: var(--violet);
  box-shadow: 0 0 26px var(--violet);
}

.scanline {
  position: absolute;
  inset: 4% 2%;
  z-index: 4;
  border-radius: 24px;
  background: linear-gradient(180deg, transparent, rgba(130, 255, 130, 0.16), transparent);
  animation: scan 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-8%);
    opacity: 0.2;
  }
  50% {
    transform: translateY(18%);
    opacity: 0.55;
  }
}

.section-heading {
  margin-bottom: clamp(18px, 3.2vw, 34px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 900px;
}

.service-card {
  min-height: clamp(168px, 24vh, 230px);
  padding: clamp(18px, 2vw, 24px);
}

.service-card p {
  margin-bottom: 0;
  font-size: clamp(0.86rem, 1.05vw, 0.98rem);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: clamp(18px, 3vh, 30px);
  object-fit: contain;
  opacity: 0.95;
  filter:
    brightness(0)
    saturate(100%)
    invert(83%)
    sepia(34%)
    saturate(936%)
    hue-rotate(42deg)
    brightness(108%)
    contrast(101%)
    drop-shadow(0 0 14px rgba(170, 255, 130, 0.42));
}

.service-card:hover .card-icon {
  transform: translateY(-2px) scale(1.06);
  filter:
    brightness(0)
    saturate(100%)
    invert(83%)
    sepia(34%)
    saturate(936%)
    hue-rotate(42deg)
    brightness(116%)
    contrast(108%)
    drop-shadow(0 0 22px rgba(170, 255, 130, 0.65));
}

.card-icon {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-list li {
  min-height: clamp(58px, 8vh, 76px);
  display: flex;
  align-items: center;
  padding: 14px 18px 14px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 26, 0.62);
  color: #dfeaf4;
  position: relative;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-step {
  min-height: clamp(132px, 20vh, 174px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 26, 0.64);
}

.process-step span {
  display: block;
  margin-bottom: clamp(18px, 4vh, 34px);
  color: var(--violet);
  font-family: var(--font-display);
  font-weight: 700;
}

.process-step strong {
  display: block;
  font-weight: 500;
  line-height: 1.22;
}

.project-carousel {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 3;
}

.carousel-stage {
  min-height: min(40vh, 360px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(280px, 0.82fr);
  gap: clamp(20px, 3.2vw, 42px);
  align-items: center;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.project-feature {
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  transform-style: preserve-3d;
  z-index: 5;
  justify-self: end;
}

.project-feature img {
  width: 100%;
  height: clamp(190px, 27vh, 260px);
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-feature div {
  padding: 14px 16px 16px;
}

.project-feature span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.project-feature p {
  margin-bottom: 0;
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.project-orbit {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  pointer-events: none;
  justify-self: start;
}

.project-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(92px, 8.4vw, 132px);
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 23, 0.64);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;
  transform: translate(-50%, -50%) translate(var(--orbit-x), var(--orbit-y)) scale(var(--orbit-scale));
  transition: transform 0.7s ease, opacity 0.7s ease, border-color 0.2s ease;
  z-index: var(--orbit-z);
  opacity: 0.76;
}

.project-thumb.is-active {
  border-color: var(--cyan);
  opacity: 1;
  box-shadow: 0 0 28px rgba(130, 244, 255, 0.22), 0 18px 50px rgba(0, 0, 0, 0.34);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: relative;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  margin-bottom: 34px;
  pointer-events: auto;
  transform: translateY(-26px);
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(6, 13, 8, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(170, 255, 130, 0.12);
  cursor: pointer;
}

.carousel-progress {
  position: relative;
  z-index: 96;
  min-width: min(52vw, 320px);
  color: var(--muted);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.projects-section .section-heading {
  margin-bottom: 12px;
}

.testimonial-slider {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
}

.testimonial-stage {
  position: relative;
  min-height: clamp(250px, 34vh, 330px);
  perspective: 1100px;
  transform-style: preserve-3d;
}

.testimonial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 54vw);
  min-height: clamp(210px, 30vh, 285px);
  margin: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 255, 130, 0.1), transparent 45%),
    linear-gradient(145deg, rgba(16, 35, 14, 0.78), rgba(6, 10, 7, 0.72));
  box-shadow: var(--shadow), inset 0 0 42px rgba(170, 255, 130, 0.045);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(0) translateZ(-120px) scale(0.76) rotateY(0);
  transform-style: preserve-3d;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease, border-color 0.45s ease;
  backdrop-filter: blur(18px);
  filter: blur(10px);
}

.testimonial-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(170, 255, 130, 0.42);
  transform: translate(-50%, -50%) translateX(0) translateZ(80px) scale(1) rotateY(0);
  filter: blur(0);
}

.testimonial-card.is-prev {
  z-index: 2;
  opacity: 0.42;
  transform: translate(-50%, -50%) translateX(-58%) translateZ(-130px) scale(0.82) rotateY(12deg);
  filter: blur(3px);
}

.testimonial-card.is-next {
  z-index: 2;
  opacity: 0.42;
  transform: translate(-50%, -50%) translateX(58%) translateZ(-130px) scale(0.82) rotateY(-12deg);
  filter: blur(3px);
}

.testimonial-card.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(-240px) scale(0.68);
}

.testimonial-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 255, 130, 0.22), rgba(170, 255, 130, 0.06));
  box-shadow: 0 0 28px rgba(170, 255, 130, 0.2);
}

.testimonial-avatar img,
.testimonial-avatar span {
  grid-area: 1 / 1;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.testimonial-avatar span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonial-meta h3 {
  margin-bottom: 0;
}

.testimonial-source {
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-card p {
  margin: 0;
  color: #e7f1fb;
  display: -webkit-box;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.testimonial-controls {
  position: relative;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  pointer-events: auto;
  transform: translateY(-26px);
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 13, 8, 0.78);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(170, 255, 130, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(170, 255, 130, 0.12);
}

.testimonial-dots {
  position: relative;
  z-index: 96;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(6, 13, 8, 0.48);
  backdrop-filter: blur(10px);
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-dots button.is-active {
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(170, 255, 130, 0.55);
  transform: scale(1.28);
}

.about-grid {
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.1fr);
}

.about-orb {
  min-height: min(48vh, 420px);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(130, 244, 255, 0.1), transparent 45%),
    linear-gradient(315deg, rgba(169, 120, 255, 0.12), transparent 50%),
    rgba(12, 17, 26, 0.5);
  box-shadow: inset 0 0 80px rgba(130, 244, 255, 0.05), var(--shadow);
}

.about-orb span {
  width: min(230px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.6vw, 1.85rem);
  font-weight: 800;
  background: radial-gradient(circle, rgba(130, 255, 147, 0.13), rgba(181, 255, 120, 0.08) 58%, transparent);
  box-shadow: 0 0 70px rgba(130, 255, 159, 0.16);
}

.about-section .layer-panel {
  padding: clamp(22px, 4vw, 42px);
}

.contact-grid {
  grid-template-columns: 0.82fr 1fr;
}

.contact-facts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-facts span {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 26, 14, 0.62);
  color: #e7f1fb;
}

.contact-panel {
  padding: clamp(24px, 4vw, 44px);
}

.contact-panel p {
  max-width: 560px;
}

.contact-email {
  display: inline-flex;
  margin: 10px 0 24px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
}
.hero-orbit {
  position: relative;
  width: 100%;
  min-height: 370px;
  aspect-ratio: 1.34 / 1;
  transform-style: preserve-3d;
}

.hero-asset {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(145, 255, 116, 0.22));
  will-change: transform;
  pointer-events: none;
}

.hero-asset-a {
  width: 76%;
  left: 12%;
  top: 2%;
  z-index: 2;
  animation: heroFloatA 8s ease-in-out infinite;
}

.hero-asset-b {
  width: 23%;
  right: 10%;
  top: 30%;
  z-index: 4;
  animation: heroFloatB 7s ease-in-out infinite;
}

.hero-asset-c {
  width: 43%;
  left: 3%;
  top: 34%;
  z-index: 3;
  animation: heroFloatC 9s ease-in-out infinite;
}

.hero-asset-d {
  width: 38%;
  right: 19%;
  bottom: 8%;
  z-index: 5;
  animation: heroFloatD 10s ease-in-out infinite;
}
.process-step p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
}
.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 18px;
  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(180,255,120,.12);
  border: 1px solid rgba(180,255,120,.35);

  color: #dfffcc;
  font-family: var(--font-display);
  font-size: 0.86rem;
  text-decoration: none;
  font-weight: 600;

  backdrop-filter: blur(12px);

  transition: all .25s ease;
}

.project-btn:hover {
  transform: translateY(-2px);

  background: rgba(180,255,120,.22);

  box-shadow:
    0 0 20px rgba(180,255,120,.25),
    0 0 40px rgba(180,255,120,.12);
}

.about-profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: min(100%, 420px);
  min-height: 520px;
  padding: 44px 34px;

  border: 1px solid rgba(150, 255, 120, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(150, 255, 120, 0.16), transparent 42%),
    rgba(6, 18, 12, 0.48);

  backdrop-filter: blur(18px);
  box-shadow:
    0 0 42px rgba(130, 255, 100, 0.12),
    inset 0 0 40px rgba(130, 255, 100, 0.05);

  overflow: hidden;
}

.about-profile-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(150, 255, 120, 0.22);
  opacity: 0.8;
  animation: aboutRing 18s linear infinite;
}

.about-profile-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 255, 120, 0.22), transparent 65%);
  filter: blur(18px);
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 2;

  width: 230px;
  height: 230px;
  border-radius: 50%;
  padding: 6px;

  background: linear-gradient(135deg, rgba(170,255,120,.9), rgba(80,255,170,.2));
  box-shadow:
    0 0 28px rgba(150, 255, 120, 0.28),
    0 0 80px rgba(150, 255, 120, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
}

.about-profile-text {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  text-align: center;
}

.about-profile-text strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
}

.about-profile-text span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-socials {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.about-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(150,255,120,.28);
  background: rgba(150,255,120,.08);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.about-socials a:hover {
  transform: translateY(-3px);
  background: rgba(150,255,120,.16);
  box-shadow: 0 0 22px rgba(150,255,120,.24);
}

.about-socials img {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.about-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.about-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(150,255,120,.2);
  background: rgba(0,0,0,.22);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1;
}
.copy-email {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.copy-status {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.copy-email.is-copied {
  text-shadow: 0 0 18px rgba(160, 255, 120, 0.65);
}

@keyframes aboutRing {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.03); }
}

@keyframes heroFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg) scale(1); }
  50% { transform: translate3d(10px, -14px, 0) rotate(1.4deg) scale(1.025); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg) scale(1); }
  50% { transform: translate3d(-12px, 10px, 0) rotate(-1deg) scale(1.04); }
}

@keyframes heroFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg) scale(1); }
  50% { transform: translate3d(14px, 8px, 0) rotate(-1.6deg) scale(1.03); }
}

@keyframes heroFloatD {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg) scale(1); }
  50% { transform: translate3d(-10px, -10px, 0) rotate(1deg) scale(1.035); }
}
