/* IlGianduDev / ilgiandudev — Apple-inspired portfolio */

:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --dark: #000000;
  --radius-phone: 2.35rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, #0071e3, #5ac8fa);
  box-shadow: 0 0 12px rgba(0, 113, 227, 0.45);
  pointer-events: none;
  transform-origin: left;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.4s var(--ease-out);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 245, 247, 0.86);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s var(--ease);
}

.nav__brand:hover {
  opacity: 0.7;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
}

.nav__links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  margin-left: 0.25rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__social::after {
  display: none !important;
}

.nav__social:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border-radius: 980px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  transition:
    transform 0.25s var(--ease-out),
    background 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: scale(1.03);
}

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

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.28);
}

.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 12px 36px rgba(0, 113, 227, 0.38);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.1);
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease), filter 0.25s var(--ease);
}

.store-badge:hover {
  transform: scale(1.04) translateY(-2px);
  filter: brightness(1.08);
}

.store-badge:active {
  transform: scale(0.98);
}

.product__more {
  margin: 1rem 0 0;
}

.product__more a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.product__more a:hover {
  color: #fff;
}

.store-badge img {
  width: 245px;
  max-width: min(245px, 100%);
  height: auto;
  aspect-ratio: 245 / 82;
  vertical-align: middle;
  object-fit: contain;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #d8dde6 0%, #eef0f4 42%, var(--bg) 78%);
}

.hero__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 45% 40% at 30% 35%, rgba(0, 113, 227, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 35% at 70% 30%, rgba(90, 200, 250, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 70%, rgba(160, 170, 190, 0.2), transparent 60%);
  animation: meshShift 18s ease-in-out infinite alternate;
  filter: blur(8px);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 14s ease-in-out infinite;
}

.hero__glow--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: rgba(0, 113, 227, 0.28);
  top: 18%;
  left: 50%;
  translate: -50% 0;
}

.hero__glow--2 {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  background: rgba(100, 110, 130, 0.2);
  top: 28%;
  left: 62%;
  animation-delay: -5s;
}

.hero__glow--3 {
  width: min(35vw, 300px);
  height: min(35vw, 300px);
  background: rgba(90, 200, 250, 0.16);
  top: 40%;
  left: 28%;
  animation-delay: -9s;
}

.hero__icons {
  position: absolute;
  top: max(5.5rem, 12%);
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  pointer-events: none;
  z-index: 1;
}

.hero__icon {
  flex: 0 0 auto;
  width: clamp(88px, 12vw, 128px);
  aspect-ratio: 1 / 1;
  border-radius: 22.5%;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  filter: blur(10px);
  animation:
    iconIn 0.95s var(--ease-out) forwards,
    float 8s ease-in-out infinite;
  animation-delay:
    calc(0.18s + var(--i, 0) * 0.12s),
    calc(1.05s + var(--i, 0) * 0.15s);
  will-change: transform, opacity, filter;
}

.hero__icon--lg {
  width: clamp(104px, 14vw, 152px);
  margin-bottom: 0.75rem;
}

.hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes meshShift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-3%, 2%) scale(1.08) rotate(2deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(16px, -20px) scale(1.06);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes iconIn {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes brandIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, -46%) scale(0.94);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes copyIn {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

.hero__brand {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 2.5rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: brandIn 1.15s var(--ease-out) 0.35s forwards;
}

.hero__brand-text {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #1d1d1f 0%,
    #1d1d1f 38%,
    #4a90e2 50%,
    #1d1d1f 62%,
    #1d1d1f 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s ease-in-out 1.4s infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
}

.hero__copy {
  position: absolute;
  z-index: 2;
  top: calc(50% + clamp(2.75rem, 6vw, 5rem));
  left: 50%;
  width: min(100% - 2.5rem, 28rem);
  text-align: center;
  opacity: 0;
  animation: copyIn 0.9s var(--ease-out) 0.7s forwards;
}

.hero__lead {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 1.75rem;
  left: 50%;
  translate: -50% 0;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(29, 29, 31, 0.28);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0;
  animation: copyIn 0.8s var(--ease-out) 1.1s forwards;
}

.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--ink);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* —— Section intro —— */
.section-intro {
  text-align: center;
  padding: 5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 40rem;
  margin: 0 auto;
}

.section-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-intro p {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* —— Product showcases —— */
.product {
  position: relative;
  margin: 0 clamp(0.75rem, 2vw, 1.5rem) 1.5rem;
  border-radius: 2rem;
  overflow: hidden;
  color: #f5f5f7;
  min-height: min(92vh, 920px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 1.2s var(--ease-out);
}

.product.is-visible .product__bg {
  transform: scale(1.04);
}

.product__spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.12),
    transparent 42%
  );
}

.product:hover .product__spot {
  opacity: 1;
}

.product--hooky .product__bg {
  background:
    radial-gradient(ellipse 60% 50% at 72% 28%, rgba(91, 100, 255, 0.32), transparent 55%),
    radial-gradient(ellipse 40% 40% at 18% 78%, rgba(236, 72, 153, 0.18), transparent 50%),
    linear-gradient(165deg, #0a0a12 0%, #12121c 50%, #0d0d14 100%);
}

.product--lire {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.06);
}

.product--lire .product__bg {
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(242, 107, 79, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(89, 143, 115, 0.12), transparent 50%),
    linear-gradient(165deg, #faf7f5 0%, #f3ebe6 55%, #efe6df 100%);
}

.product--lire .product__spot {
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(242, 107, 79, 0.14),
    transparent 42%
  );
}

.product--lire .product__label {
  color: #f26b4f;
}

.product--lire .product__tagline {
  color: rgba(29, 29, 31, 0.88);
}

.product--lire .product__desc,
.product--lire .product__features li {
  color: rgba(29, 29, 31, 0.62);
}

.product--lire .product__features li::before {
  background: #f26b4f;
}

.product--lire .product__more a {
  color: rgba(29, 29, 31, 0.55);
}

.product--lire .product__more a:hover {
  color: #1d1d1f;
}

.product--fairytale .product__bg {
  background:
    radial-gradient(ellipse 55% 50% at 70% 35%, rgba(242, 71, 107, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 20% 75%, rgba(56, 31, 71, 0.45), transparent 50%),
    linear-gradient(165deg, #1a1528 0%, #1f1a38 45%, #12182e 100%);
}

.product__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  min-height: inherit;
}

.product__content--reverse {
  grid-template-columns: 1.1fr minmax(280px, 0.9fr);
}

.product__content--reverse .product__meta {
  order: 2;
}

.product__content--reverse .product__visual {
  order: 1;
}

.product__meta {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-out) 0.1s,
    transform 0.8s var(--ease-out) 0.1s;
}

.product.is-visible .product__meta {
  opacity: 1;
  transform: translateY(0);
}

.product__icon {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22.5%;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--ease-spring);
}

.product.is-visible .product__icon {
  transform: scale(1);
  animation: iconPop 0.7s var(--ease-spring) 0.2s both;
}

@keyframes iconPop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.product__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.product__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.product__tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}

.product__desc {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 28rem;
  line-height: 1.55;
}

.product__features {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product__features li {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 1.1rem;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.product.is-visible .product__features li {
  opacity: 1;
  transform: translateX(0);
}

.product.is-visible .product__features li:nth-child(1) {
  transition-delay: 0.25s;
}
.product.is-visible .product__features li:nth-child(2) {
  transition-delay: 0.35s;
}
.product.is-visible .product__features li:nth-child(3) {
  transition-delay: 0.45s;
}

.product__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.product__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  min-height: 420px;
  perspective: 1200px;
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 1s var(--ease-out) 0.15s,
    transform 1s var(--ease-out) 0.15s;
}

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

.product__visual--duo {
  gap: 1.25rem;
}

.product__visual--framed {
  align-items: center;
}

.device-shot {
  margin: 0;
  width: clamp(150px, 18vw, 230px);
  transition: transform 0.45s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.4));
}

.device-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.device-shot--hero {
  width: clamp(180px, 22vw, 270px);
  z-index: 2;
  transform: var(--tilt, none);
}

.device-shot--stack {
  width: clamp(150px, 18vw, 230px);
  transform: translateY(18px) rotate(3deg) var(--tilt, none);
  z-index: 1;
}

.product:hover .device-shot--stack {
  transform: translateY(10px) rotate(2deg) var(--tilt, none);
}

.product__visual--posters {
  align-items: center;
  gap: 1rem;
  min-height: 480px;
}

.phone,
.poster {
  margin: 0;
  transition: transform 0.45s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone {
  width: clamp(140px, 18vw, 220px);
  border-radius: var(--radius-phone);
  overflow: hidden;
  background: #111;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.product--lire .phone {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
}

.product--lire .phone img {
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.28));
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.phone--center {
  width: clamp(160px, 20vw, 250px);
  z-index: 2;
  transform: translateY(-12px) var(--tilt, none);
}

.phone--tilt-l {
  transform: rotate(-6deg) translateY(24px) var(--tilt, none);
  z-index: 1;
}

.phone--tilt-r {
  transform: rotate(6deg) translateY(24px) var(--tilt, none);
  z-index: 1;
}

.phone--hero {
  width: clamp(180px, 22vw, 260px);
  z-index: 2;
  transform: var(--tilt, none);
}

.phone--stack {
  width: clamp(150px, 18vw, 220px);
  transform: rotate(4deg) translateY(20px) var(--tilt, none);
  z-index: 1;
}

.poster {
  width: clamp(160px, 20vw, 240px);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
}

.poster--offset {
  transform: translateY(28px) rotate(3deg) var(--tilt, none);
}

.poster:not(.poster--offset) {
  transform: var(--tilt, none);
}

/* —— Craft —— */
.craft {
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 113, 227, 0.07), transparent 55%),
    var(--bg);
}

.craft__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.craft h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.craft__lead {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: left;
}

.craft__item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    border-color 0.3s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.12s);
}

.craft.is-visible .craft__item {
  opacity: 1;
  transform: translateY(0);
}

.craft__item:hover {
  border-top-color: rgba(0, 113, 227, 0.45);
}

.craft__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.craft__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.craft__item p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* —— Contact —— */
.contact {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--dark);
  color: #f5f5f7;
  overflow: hidden;
}

.contact__aura {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 113, 227, 0.28), transparent 42%),
    radial-gradient(circle at 30% 70%, rgba(90, 200, 250, 0.12), transparent 40%);
  animation: meshShift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contact > p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
}

.contact__mail {
  display: inline-block;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(90deg, #fff 30%, #7ec8ff 50%, #fff 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.3s var(--ease);
  animation: shimmer 4s ease-in-out infinite;
}

.contact__mail:hover {
  filter: brightness(1.15);
}

.socials {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    color 0.2s var(--ease);
}

.social svg {
  flex-shrink: 0;
}

.social:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.contact h2,
.contact > p,
.contact__mail,
.socials {
  position: relative;
  z-index: 1;
}

/* —— Footer —— */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__socials a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__socials a:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* —— Reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

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

/* —— Responsive —— */
@media (max-width: 960px) {
  .product__content,
  .product__content--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product__content--reverse .product__meta,
  .product__content--reverse .product__visual {
    order: unset;
  }

  .product__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .product__features {
    align-items: center;
  }

  .product__features li {
    text-align: left;
  }

  .product__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .product__visual {
    min-height: 360px;
    order: -1;
  }

  .craft__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .nav__links {
    gap: 1rem;
  }

  .nav__links a {
    font-size: 0.82rem;
  }

  .hero__icons {
    gap: 0.85rem;
  }

  .hero__icon {
    width: 72px;
  }

  .hero__icon--lg {
    width: 88px;
    margin-bottom: 0.4rem;
  }

  .hero__brand {
    white-space: nowrap;
    font-size: clamp(2.5rem, 10.5vw, 5rem);
    max-width: calc(100% - 1.5rem);
  }

  .phone--tilt-l,
  .phone--tilt-r {
    display: none;
  }

  .phone--center,
  .phone--hero {
    width: min(220px, 58vw);
  }

  .phone--stack {
    display: none;
  }

  .device-shot--hero {
    width: min(240px, 62vw);
  }

  .device-shot--stack {
    display: none;
  }

  .poster--offset {
    display: none;
  }

  .poster {
    width: min(240px, 62vw);
  }

  .product__visual,
  .product__visual--posters {
    min-height: 320px;
  }

  .footer {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}

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

  .hero__mesh,
  .hero__glow,
  .hero__icon,
  .hero__brand,
  .hero__brand-text,
  .hero__copy,
  .hero__scroll,
  .contact__aura,
  .contact__mail,
  .scroll-progress,
  [data-reveal],
  .product__features li,
  .product__meta,
  .product__visual,
  .craft__item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .hero__brand {
    translate: -50% -50%;
    color: var(--ink);
  }

  .hero__brand-text {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    background: none;
  }

  .hero__copy {
    translate: -50% 0;
  }

  .hero__icon {
    transform: none;
  }
}
