/*=============== PREMIUM REDESIGN — Design System ===============*/
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --body-font: "Plus Jakarta Sans", "Poppins", sans-serif;
  --background: #08090d;
  --background-soft: #0e1117;
  --bg-deep: #08090d;
  --bg-surface: #0e1117;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --glass-bg: var(--surface);
  --glass-border: rgba(220, 230, 245, 0.12);
  --border: rgba(220, 230, 245, 0.12);
  --accent: #1f6feb;
  --accent-soft: #3b82f6;
  --accent-alt: #2563eb;
  --accent-cyan: #3b82f6;
  --accent-glow: rgba(31, 111, 235, 0.35);
  --text-primary: #f5f7fa;
  --text-secondary: #aab2c0;
  --text-muted: #aab2c0;
  --muted: #737b8c;
  --metal: #c7ccd4;
  --metal-dark: #737985;
  --whatsapp: #25d366;
  --section-padding: 6rem;
  --card-radius: 16px;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.75rem;

  /* Legacy aliases — map styles.css vars to premium palette */
  --first-hue: 214;
  --sat: 84%;
  --lig: 53%;
  --second-hue: 220;
  --first-color: var(--accent);
  --first-color-alt: var(--accent-soft);
  --title-color: var(--text-primary);
  --text-color: var(--text-secondary);
  --text-color-light: var(--muted);
  --body-color: var(--background);
  --container-color: var(--background-soft);
}

@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 2.75rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2.25rem;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 3.25rem;
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
  }
}

body {
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(31, 111, 235, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(199, 204, 212, 0.03), transparent);
  color: var(--text-muted);
  font-family: var(--body-font);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--text-primary);
}

.section {
  padding: var(--section-padding) 0 2rem;
}

.section__title {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.section__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.container {
  max-width: 1140px;
}

/* Glass card utility */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-glow);
}

/* Header — fully transparent, logo only on desktop */
.header--premium {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  z-index: 100001;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header--premium.scrolled,
.header--premium.scroll-header {
  background: rgba(8, 9, 13, 0.7) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32) !important;
  border-bottom: 1px solid rgba(220, 230, 245, 0.12) !important;
}

.header--premium .nav {
  justify-content: flex-start;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 24px rgba(31, 111, 235, 0.15));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 32px rgba(31, 111, 235, 0.35));
}

@media screen and (min-width: 769px) {
  .nav__logo-img {
    height: 44px;
    max-width: 155px;
  }
}

.nav__link {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.35s ease, background 0.35s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--metal), transparent);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), left 0.35s ease;
}

.nav__link:hover::after,
.nav__link.active::after,
.active-link::after {
  width: 60%;
  left: 20%;
}

.nav__link:hover,
.nav__link.active,
.active-link {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.nav__menu {
  background: transparent;
  backdrop-filter: none;
  width: auto;
  padding: 0;
  position: static;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__list {
  gap: 0.25rem;
}

.nav__cta {
  display: none;
}

.change-theme,
#theme-button {
  display: none !important;
}

/* Side dot navigation — desktop only */
.sidedots {
  display: none;
  position: fixed;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99990;
  pointer-events: none;
}

.sidedots__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: flex-end;
}

.sidedots__item {
  pointer-events: auto;
}

.sidedots__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.sidedots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(199, 204, 212, 0.35);
  border: 1px solid rgba(220, 230, 245, 0.2);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 0 0 rgba(31, 111, 235, 0);
}

.sidedots__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--metal);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  pointer-events: none;
}

.sidedots__link.active .sidedots__label,
.sidedots__link.active-link .sidedots__label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-primary);
}

.sidedots__link:hover .sidedots__label {
  opacity: 1;
  transform: translateX(0);
}

.sidedots__link:hover .sidedots__dot,
.sidedots__link.active .sidedots__dot,
.sidedots__link.active-link .sidedots__dot {
  background: var(--accent-soft);
  border-color: rgba(96, 165, 250, 0.5);
  transform: scale(1.35);
  box-shadow: 0 0 16px var(--accent-glow);
}

.sidedots__link.active .sidedots__dot,
.sidedots__link.active-link .sidedots__dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.sidedots__link:hover,
.sidedots__link.active,
.sidedots__link.active-link {
  color: var(--text-primary);
}

/* Buttons */
.button {
  background: linear-gradient(135deg, #1a4d9e 0%, var(--accent) 50%, var(--accent-soft) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.button--ghost {
  background: transparent;
  color: var(--metal);
  border: 1px solid rgba(199, 204, 212, 0.35);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(199, 204, 212, 0.55);
  color: var(--text-primary);
  box-shadow: none;
}

.button--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.main {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Hero — luxury studio */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  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");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.hero__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero__ambient--blue {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  top: 10%;
  right: -8%;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.14) 0%, transparent 70%);
  animation: ambientPulse 8s ease-in-out infinite;
}

.hero__ambient--silver {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(199, 204, 212, 0.06) 0%, transparent 70%);
}

.hero__bg-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero .home__container,
.hero__grid {
  position: relative;
  z-index: 2;
  padding-top: 0;
  max-width: 1240px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media screen and (min-width: 992px) {
  .hero .home__container,
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero__content {
  text-align: center;
  z-index: 2;
}

@media screen and (min-width: 992px) {
  .hero__content {
    text-align: left;
  }
}

/* Staggered entrance */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate--1 { animation-delay: 0.08s; }
.hero-animate--2 { animation-delay: 0.18s; }
.hero-animate--3 { animation-delay: 0.32s; }
.hero-animate--4 { animation-delay: 0.46s; }
.hero-animate--5 { animation-delay: 0.62s; }
.hero-animate--6 { animation-delay: 0.76s; }
.hero-animate--7 { animation-delay: 0.5s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.06);
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: nodePulse 3s ease-in-out infinite;
}

.hero__bg-arcs {
  display: none;
}

.hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}

.home__title {
  font-size: var(--h1-font-size);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 620px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__title-static {
  display: block;
  color: var(--text-primary);
}

.hero__rotator-wrap {
  display: block;
  min-height: 1.2em;
}

.hero__rotator {
  background: linear-gradient(
    120deg,
    #c7ccd4 0%,
    #3b82f6 25%,
    #60a5fa 50%,
    #c7ccd4 75%,
    #3b82f6 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGradientShift 4s linear infinite;
}

.hero__cursor {
  display: inline-block;
  color: var(--accent-soft);
  font-weight: 300;
  margin-left: 2px;
  animation: heroCursorBlink 1s step-end infinite;
}

@keyframes heroGradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media screen and (min-width: 992px) {
  .home__title {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__subtitle {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

@media screen and (min-width: 992px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

@media screen and (min-width: 992px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

.button--hero-primary {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 1.75rem;
  background: linear-gradient(165deg, #163d7a 0%, #1f6feb 45%, #2563eb 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow:
    0 4px 24px rgba(31, 111, 235, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.button--hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.button--hero-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 36px rgba(31, 111, 235, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.button--hero-primary:hover::before {
  transform: translateX(100%);
}

.button--hero-ghost {
  padding: 0.95rem 1.75rem;
  border: 1px solid rgba(199, 204, 212, 0.28);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.button--hero-ghost:hover {
  border-color: rgba(199, 204, 212, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.hero__credibility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(199, 204, 212, 0.1);
  border-bottom: 1px solid rgba(199, 204, 212, 0.1);
}

@media screen and (min-width: 992px) {
  .hero__credibility {
    justify-content: flex-start;
  }
}

.hero__cred-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__cred-item:nth-child(1) { animation-delay: 0.72s; }
.hero__cred-item:nth-child(3) { animation-delay: 0.82s; }
.hero__cred-item:nth-child(5) { animation-delay: 0.92s; }

.hero__cred-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--metal);
  letter-spacing: -0.01em;
}

.hero__cred-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero__cred-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(199, 204, 212, 0.25), transparent);
  display: none;
}

@media screen and (min-width: 480px) {
  .hero__cred-divider {
    display: block;
  }
}

.hero__social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

@media screen and (min-width: 992px) {
  .hero__social {
    justify-content: flex-start;
  }
}

.hero__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(199, 204, 212, 0.12);
  color: var(--metal-dark);
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__social-link:hover {
  color: var(--accent-soft);
  border-color: rgba(31, 111, 235, 0.4);
  background: rgba(31, 111, 235, 0.1);
  box-shadow: 0 0 28px rgba(31, 111, 235, 0.25);
  transform: translateY(-3px);
}

/* Hero emblem visual */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  perspective: 1000px;
}

@media screen and (min-width: 992px) {
  .hero__visual {
    min-height: 420px;
  }
}

.hero__code-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(31, 111, 235, 0.22) 0%, transparent 65%);
  pointer-events: none;
  animation: radialBreath 5s ease-in-out infinite;
}

.hero__code-window {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 12, 18, 0.75);
  border: 1px solid rgba(220, 230, 245, 0.12);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(31, 111, 235, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__code-window:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.hero__code-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(220, 230, 245, 0.08);
}

.hero__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__code-dot--red { background: #ff5f57; }
.hero__code-dot--yellow { background: #febc2e; }
.hero__code-dot--green { background: #28c840; }

.hero__code-filename {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--metal);
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.hero__code-icon {
  font-size: 1rem;
  color: var(--accent-soft);
  opacity: 0.7;
}

.hero__code-body {
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 111, 235, 0.3) transparent;
}

.hero__code-body code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero__code-line {
  display: block;
  min-height: 1.7em;
}

.hero__code-body .tok-comment { color: #6b7280; font-style: italic; }
.hero__code-body .tok-kw { color: #c792ea; }
.hero__code-body .tok-fn { color: #82aaff; }
.hero__code-body .tok-str { color: #c3e88d; }
.hero__code-body .tok-num { color: #f78c6c; }
.hero__code-body .tok-prop { color: #ffcb6b; }
.hero__code-body .tok-type { color: #89ddff; }
.hero__code-body .tok-plain { color: #aab2c0; }
.hero__code-body .tok-op { color: #89ddff; }

@media screen and (max-width: 768px) {
  .hero__code-window {
    max-width: 100%;
    transform: none;
  }

  .hero__code-window:hover {
    transform: none;
  }

  .hero__code-body {
    font-size: 0.72rem;
    max-height: 220px;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  animation: heroFadeUp 1s 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__scroll--animated .home__scroll-icon {
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(199, 204, 212, 0.35), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px)); }
  50% { transform: translate(var(--parallax-x), calc(var(--parallax-y) - 14px)); }
}

@keyframes radialBreath {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 4px rgba(31, 111, 235, 0.5)); }
  50% { opacity: 1; filter: drop-shadow(0 0 14px rgba(31, 111, 235, 0.9)); }
}

@keyframes arcRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

.hero .home__handle,
.hero .parallax-shape {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero__cred-item,
  .hero__rotator,
  .hero__cursor,
  .hero__code-glow,
  .hero__visual-radial,
  .hero__ambient--blue,
  .hero__scroll--animated .home__scroll-icon,
  .hero__scroll-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__code-window {
    transform: none !important;
  }

  .hero__network {
    display: none;
  }
}

/* What I Build — sticky scroll story */
/* What I Build — premium card grid */
.build {
  position: relative;
}

.build__header {
  text-align: center;
  margin-bottom: 3rem;
}

.build__heading {
  margin-bottom: 0;
}

.build__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.build__card {
  position: relative;
  border-radius: 20px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.build__card:hover {
  transform: translateY(-6px);
}

.build__card-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(31, 111, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.build__card:hover .build__card-glow {
  opacity: 1;
}

.build__card-inner {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(220, 230, 245, 0.14);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(31, 111, 235, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.build__card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 204, 212, 0.35), transparent);
}

.build__card:hover .build__card-inner {
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(31, 111, 235, 0.12),
    0 0 0 1px rgba(31, 111, 235, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.build__card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  color: var(--accent-soft);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.22), rgba(31, 111, 235, 0.06));
  border: 1px solid rgba(31, 111, 235, 0.25);
  box-shadow: 0 8px 32px rgba(31, 111, 235, 0.15);
  margin-bottom: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.build__card:hover .build__card-icon {
  transform: scale(1.06);
  box-shadow: 0 10px 36px rgba(31, 111, 235, 0.28);
}

.build__card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.build__card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.build__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.build__card-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(31, 111, 235, 0.1);
  border: 1px solid rgba(31, 111, 235, 0.2);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.build__card:hover .build__card-tags li {
  background: rgba(31, 111, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.35);
}

@media screen and (max-width: 1024px) {
  .build__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media screen and (max-width: 600px) {
  .build__header {
    margin-bottom: 2.25rem;
  }

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

  .build__card-inner {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .build__card-title {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .build__card,
  .build__card-inner,
  .build__card-icon,
  .build__card-glow,
  .build__card-tags li {
    transition: none;
  }

  .build__card:hover {
    transform: none;
  }
}

/* Engineering Background */
.engineering__container {
  gap: 2.5rem;
}

@media screen and (min-width: 968px) {
  .engineering__container {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.engineering__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.engineering__text strong {
  color: var(--text-primary);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tech-badge {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.1);
  border: 1px solid rgba(31, 111, 235, 0.2);
  color: var(--text-primary);
}

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

@media screen and (min-width: 576px) {
  .engineering__highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

.engineering__card {
  padding: 1.5rem;
}

.engineering__card-icon {
  font-size: 1.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
  display: block;
}

.engineering__card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.engineering__card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Audience sections */
.audience {
  position: relative;
}

.audience__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.audience__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.audience__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.audience__tag {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.audience__list {
  text-align: left;
  max-width: 520px;
  margin: 0 auto 2rem;
  list-style: none;
}

.audience__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.audience__list li i {
  color: var(--accent-soft);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.audience__cta i {
  vertical-align: middle;
  margin-left: 0.25rem;
}

.audience--engineering {
  background: linear-gradient(180deg, transparent, rgba(31, 111, 235, 0.04), transparent);
}

.audience--engineering .section__subtitle {
  color: var(--accent-soft);
}

/* Selected Work — Case Study Cards */
.work__container {
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media screen and (min-width: 768px) {
  .work__container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
  }
}

.work__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.work__loading i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.work__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.work__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(31, 111, 235, 0.15);
}

.work__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.work__img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.work__card:hover .work__img {
  transform: scale(1.04);
}

.work__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.work__badge--concept {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.work__badge--demo {
  background: rgba(96, 165, 250, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #60a5fa;
}

.work__badge--client {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.work__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.work__description {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.work__tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.work__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.work__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: rgba(31, 111, 235, 0.15);
  color: var(--accent);
  border: 1px solid rgba(31, 111, 235, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.work__button::before,
.work__button::after {
  pointer-events: none;
}

.work__button--case {
  position: relative;
  z-index: 3;
}

.work__button:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.work__button--live {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--glass-border);
}

.work__button--live:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  box-shadow: none;
}

.work__disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  max-width: 640px;
  font-style: italic;
}

/* About */
.about__box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 1rem;
  border-radius: var(--card-radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.about__box:hover {
  border-color: rgba(31, 111, 235, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.about__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
  color: var(--accent-soft);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0.06));
  border: 1px solid rgba(31, 111, 235, 0.22);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(31, 111, 235, 0.12);
}

.about__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.about__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.about__description {
  text-align: left;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about__button-contact {
  background: linear-gradient(135deg, #1a4d9e 0%, var(--accent) 50%, var(--accent-soft) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.about__button-contact:hover {
  box-shadow: 0 8px 28px var(--accent-glow);
  transform: translateY(-2px);
}

.about__data {
  text-align: left;
}

.about__info {
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .about__container {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }

  .about__img {
    width: 100%;
    max-width: 280px;
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
  }
}

/* Contact — premium */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(14, 17, 23, 0.5) 30%, rgba(31, 111, 235, 0.03) 100%);
}

.contact__wrapper {
  max-width: 1100px;
}

.contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__header .section__subtitle,
.contact__header .section__title {
  margin-bottom: 0.75rem;
}

.contact__intro {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0.5rem auto 0;
}

.contact__panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(199, 204, 212, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact__panel-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

@media screen and (min-width: 900px) {
  .contact__panel {
    padding: 2.75rem 3rem;
  }

  .contact__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 235, 0.25);
  background: rgba(31, 111, 235, 0.08);
  margin-bottom: 1.25rem;
}

.contact__aside-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact__aside-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.contact__perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact__perks li i {
  color: var(--accent-soft);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact__cta-main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
  border: 1px solid rgba(37, 211, 102, 0.4) !important;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  padding: 1rem 1.5rem !important;
}

.contact__cta-main i {
  font-size: 1.35rem;
}

.contact__cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

@media screen and (min-width: 900px) {
  .contact__cta-main {
    width: auto;
  }
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(199, 204, 212, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__method:hover {
  border-color: rgba(31, 111, 235, 0.3);
  background: rgba(31, 111, 235, 0.06);
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.contact__method--whatsapp {
  border-color: rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.05);
}

.contact__method--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.15);
}

.contact__method-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--metal);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(199, 204, 212, 0.12);
  transition: all 0.35s ease;
}

.contact__method--whatsapp .contact__method-icon {
  color: var(--whatsapp);
  border-color: rgba(37, 211, 102, 0.25);
  background: rgba(37, 211, 102, 0.1);
}

.contact__method:hover .contact__method-icon {
  border-color: rgba(31, 111, 235, 0.35);
  color: var(--accent-soft);
}

.contact__method--whatsapp:hover .contact__method-icon {
  border-color: rgba(37, 211, 102, 0.45);
  color: var(--whatsapp);
}

.contact__method-body {
  flex: 1;
  min-width: 0;
}

.contact__method-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact__method--whatsapp .contact__method-label {
  color: rgba(37, 211, 102, 0.85);
}

.contact__method-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.contact__method-data {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact__method-arrow {
  font-size: 1.35rem;
  color: var(--metal-dark);
  flex-shrink: 0;
  transition: transform 0.35s ease, color 0.35s ease;
}

.contact__method:hover .contact__method-arrow {
  transform: translateX(4px);
  color: var(--accent-soft);
}

.contact__method--whatsapp:hover .contact__method-arrow {
  color: var(--whatsapp);
}

/* Project Modal */
.project__modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  pointer-events: none;
  z-index: 100050;
  opacity: 0;
  visibility: hidden;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

.project__modal.active-project-modal,
.project__modal[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible !important;
}

.project__modal.active-project-modal .project__modal-content {
  transform: translateY(0) scale(1);
}

.project__modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 20px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  direction: ltr;
  text-align: left;
}

.project__modal-header {
  direction: ltr;
  text-align: left;
}

.project__modal-description {
  white-space: pre-line;
  overflow: visible;
  display: block;
  max-height: none;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  word-break: break-word;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.project__modal-tags,
.project__modal-links {
  direction: ltr;
  text-align: left;
}

.project__modal-close {
  cursor: pointer;
  font-size: 1.75rem;
  color: var(--metal);
  transition: color 0.2s ease;
}

.project__modal-close:hover {
  color: var(--text-primary);
}

.work__card,
.work__actions,
.work__button--case {
  pointer-events: auto !important;
  visibility: visible !important;
}

.project__modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.project__modal-badge--concept {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.project__modal-badge--demo {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
}

.project__modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.footer--premium {
  background: var(--background-soft);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer__brand {
  display: inline-flex;
  margin-bottom: 0.75rem;
  line-height: 0;
}

.footer__logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: opacity 0.25s ease;
}

.footer__brand:hover .footer__logo {
  opacity: 0.88;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.footer__link:hover {
  color: var(--accent-soft);
}

/* Desktop nav */
@media screen and (min-width: 769px) {
  .nav__menu {
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav__menu-meta {
    display: none;
  }

  .nav__cta {
    display: inline-flex;
    align-items: center;
  }

  .hamburger {
    display: none !important;
  }

  .sidedots {
    display: block;
  }
}

@media (hover: none), (pointer: coarse) {
  .sidedots {
    display: none !important;
  }
}

/* Mobile nav overrides */
@media screen and (max-width: 900px), (max-width: 1024px) and (orientation: portrait) {
  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .header--premium {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    min-height: var(--header-height);
    background: rgba(8, 9, 13, 0.92);
    border-bottom: 1px solid rgba(220, 230, 245, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100010 !important;
  }

  .header--premium .nav {
    justify-content: space-between !important;
    align-items: center !important;
    min-height: var(--header-height);
    width: auto !important;
    max-width: none !important;
    padding-inline: 0 !important;
  }

  .hamburger {
    display: flex !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-left: 0;
    flex-shrink: 0;
    z-index: 100003 !important;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(31, 111, 235, 0.14) !important;
    border: 1px solid rgba(31, 111, 235, 0.28);
    box-shadow: 0 4px 16px rgba(31, 111, 235, 0.16) !important;
  }

  .hamburger span {
    background: var(--text-primary) !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .hamburger.active {
    background: rgba(31, 111, 235, 0.25) !important;
    box-shadow: 0 6px 20px rgba(31, 111, 235, 0.28) !important;
  }

  .header--premium .nav__menu,
  .nav__menu {
    display: none !important;
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - var(--header-height)) !important;
    max-height: calc(100dvh - var(--header-height)) !important;
    margin: 0 !important;
    padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(8, 9, 13, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    border: 0 !important;
    border-top: 1px solid rgba(220, 230, 245, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 100020 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
  }

  .nav__menu::before {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    margin: 0.2rem auto 0.1rem;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.9), transparent);
  }

  .header--premium .nav__menu.active,
  .nav__menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .nav__list {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.55rem !important;
    align-items: stretch !important;
  }

  .nav__link {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0.9rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(220, 230, 245, 0.08) !important;
    border-radius: 12px !important;
    transition: all 0.28s ease !important;
  }

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

  .nav__link:hover,
  .nav__link.active,
  .nav__link.active-link {
    background: rgba(31, 111, 235, 0.18) !important;
    color: #dbeafe !important;
    border-color: rgba(96, 165, 250, 0.38) !important;
    box-shadow: 0 8px 20px rgba(31, 111, 235, 0.14) !important;
    transform: translateY(-1px) !important;
  }

  .nav__cta {
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-top: 0.45rem;
  }

  .nav__menu-meta {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(220, 230, 245, 0.08);
    margin-top: 0.3rem;
  }

  .nav__menu-social {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 230, 245, 0.09);
    transition: all 0.25s ease;
  }

  .nav__menu-social:hover {
    color: #dbeafe;
    background: rgba(31, 111, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.38);
    transform: translateY(-1px);
  }

  .nav__logo-img {
    height: 34px;
    max-width: 120px;
  }

  .sidedots {
    display: none !important;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: 4rem 0 1.5rem;
  }
}

/* Hide custom cursor on redesign — cleaner feel */
#custom-cursor {
  display: none !important;
}

/* About & Contact — always in document flow (never clipped by main overflow) */
#about,
#contact {
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
}

#about .about__img,
#about .about__data,
#about .about__description,
#about .about__button-contact,
#contact .contact__header,
#contact .contact__panel,
#contact .contact__wrapper {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Section depth */
.build,
.work {
  background: linear-gradient(180deg, transparent, rgba(14, 17, 23, 0.6), transparent);
}

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

/* Premium section atmosphere */
.section {
  position: relative;
  isolation: isolate;
}

#engineering::before,
#work::before,
#about::before,
#contact::before,
#for-businesses::before,
#for-engineering::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: ambientPulse 12s ease-in-out infinite;
}

#engineering::before {
  background: radial-gradient(ellipse 60% 45% at 15% 30%, rgba(31, 111, 235, 0.09), transparent 70%);
}

#work::before {
  background: radial-gradient(ellipse 55% 40% at 85% 40%, rgba(96, 165, 250, 0.08), transparent 70%);
  animation-delay: -3s;
}

#about::before {
  background: radial-gradient(ellipse 50% 45% at 20% 60%, rgba(199, 204, 212, 0.05), transparent 70%);
  animation-delay: -6s;
}

#contact::before {
  background: radial-gradient(ellipse 60% 50% at 80% 70%, rgba(31, 111, 235, 0.1), transparent 70%);
  animation-delay: -9s;
}

#for-businesses::before {
  background: radial-gradient(ellipse 45% 35% at 70% 20%, rgba(31, 111, 235, 0.06), transparent 70%);
}

#for-engineering::before {
  background: radial-gradient(ellipse 45% 35% at 30% 80%, rgba(96, 165, 250, 0.06), transparent 70%);
  animation-delay: -4s;
}

.section > .container,
.section > .engineering__container,
.section > .audience__inner,
.section > .work__container,
.section > .work__disclaimer,
.section > .about__container,
.section > .contact__wrapper,
.section.build > .container {
  position: relative;
  z-index: 1;
}

/* Unified premium card surface */
.glass-card,
.work__card,
.engineering__card,
.about__box,
.contact__panel {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(31, 111, 235, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.glass-card::before,
.work__card::before,
.engineering__card::before,
.about__box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 204, 212, 0.25), transparent);
  pointer-events: none;
}

.glass-card:not(.project__modal-content),
.work__card,
.engineering__card,
.about__box {
  position: relative;
  overflow: hidden;
}

.project__modal-content.glass-card {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.work__card:hover,
.engineering__card:hover,
.about__box:hover,
.contact__method:hover {
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(31, 111, 235, 0.12),
    0 0 0 1px rgba(31, 111, 235, 0.1) inset;
}

.button--ghost:hover,
.button--hero-ghost:hover,
.audience__cta:hover {
  border-color: rgba(31, 111, 235, 0.35);
  box-shadow: 0 0 24px rgba(31, 111, 235, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  #engineering::before,
  #work::before,
  #about::before,
  #contact::before,
  #for-businesses::before,
  #for-engineering::before {
    animation: none;
  }

  .sidedots__label {
    opacity: 0;
  }

  .sidedots__link.active .sidedots__label,
  .sidedots__link.active-link .sidedots__label {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Legacy purple purge — styles.css hooks mapped to premium blue */
.active-link {
  background: rgba(31, 111, 235, 0.12) !important;
  box-shadow: 0 0 16px rgba(31, 111, 235, 0.18) !important;
  color: var(--text-primary) !important;
}

.home__greeting,
.home__education {
  color: var(--accent-soft) !important;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.project__modal-link {
  color: var(--accent-soft) !important;
  border-color: rgba(31, 111, 235, 0.35) !important;
}

.project__modal-link--live,
.project__modal-link--github,
.project__modal-link--play,
.project__modal-link--download {
  background: rgba(31, 111, 235, 0.12) !important;
  color: var(--accent-soft) !important;
  border: 1px solid rgba(31, 111, 235, 0.3) !important;
}

.project__modal-link--live:hover,
.project__modal-link--github:hover,
.project__modal-link--play:hover,
.project__modal-link--download:hover {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(31, 111, 235, 0.35) !important;
}

.hamburger.active {
  background: rgba(31, 111, 235, 0.2) !important;
  box-shadow: 0 4px 16px rgba(31, 111, 235, 0.25) !important;
}

.header {
  background-color: transparent !important;
  box-shadow: none !important;
}

.header.scrolled {
  background: rgba(8, 9, 13, 0.7) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  border-bottom: 1px solid rgba(220, 230, 245, 0.12) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32) !important;
}

.services-ar {
  direction: rtl;
  text-align: right;
}

.services-ar .section__subtitle,
.services-ar .section__title {
  text-align: right;
}

.services-ar__intro {
  max-width: 900px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  line-height: 1.95;
  font-size: 1.05rem;
}

.services-ar__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.services-ar__card {
  padding: 1.2rem;
}

.services-ar__title {
  color: var(--text-primary);
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.services-ar__text {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.98rem;
}

.services-ar__faq {
  margin-top: 1.5rem;
  padding: 1.2rem;
}

.services-ar__faq-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.services-ar__faq-list {
  display: grid;
  gap: 0.9rem;
}

.services-ar__faq-list h4 {
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.services-ar__faq-list p {
  color: var(--text-secondary);
  line-height: 1.9;
}

@media screen and (max-width: 768px) {
  .services-ar__intro {
    font-size: 1rem;
    line-height: 1.85;
  }
}

.inner-page .page-hero {
  padding-top: 9rem;
  padding-bottom: 2rem;
  position: relative;
}

.inner-page .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 85% 15%, rgba(31, 111, 235, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 65%, rgba(199, 204, 212, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.inner-page .page-hero .container {
  position: relative;
  z-index: 1;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(220, 230, 245, 0.13);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(31, 111, 235, 0.06) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-intro {
  color: var(--text-secondary);
  max-width: 900px;
  line-height: 1.9;
  font-size: 1.02rem;
}

.inner-content {
  max-width: 920px;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(220, 230, 245, 0.12);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(31, 111, 235, 0.05) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.inner-content h2 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.inner-content p,
.inner-content li {
  color: var(--text-secondary);
  line-height: 1.85;
}

.inner-content ul {
  margin: 0.9rem 0 1.6rem;
  padding-left: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.service-card {
  padding: 1.3rem;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.32);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(31, 111, 235, 0.14),
    0 0 0 1px rgba(31, 111, 235, 0.1) inset;
}

.service-card h2 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-card a {
  color: var(--text-primary);
}

.lang-switch-link {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 0.5rem;
}

.rtl-page {
  direction: rtl;
}

.rtl-page .inner-content ul {
  padding-left: 0;
  padding-right: 1.2rem;
}

.nav__lang {
  white-space: nowrap;
  border-color: rgba(96, 165, 250, 0.35);
  color: var(--text-primary);
}

@media screen and (min-width: 769px) {
  .nav__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
  }
}

@media screen and (max-width: 900px) {
  .nav__lang {
    width: 100%;
    margin-top: 0.25rem;
    justify-content: center;
  }
}

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

.service-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.2), transparent 70%);
  pointer-events: none;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-soft);
  border: 1px solid rgba(31, 111, 235, 0.3);
  background: rgba(31, 111, 235, 0.12);
  margin-bottom: 0.9rem;
}

.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.service-card__chips span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(31, 111, 235, 0.12);
  border: 1px solid rgba(31, 111, 235, 0.22);
}

.about-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: start;
}

.about-profile__image-wrap {
  border-radius: 18px;
  border: 1px solid rgba(220, 230, 245, 0.14);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-profile__image {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

@media screen and (min-width: 900px) {
  .about-profile {
    grid-template-columns: 320px 1fr;
  }
}

.about-profile__content {
  min-height: 100%;
}

.contact__methods--social {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.contact__methods--social .contact__method {
  min-height: 96px;
}

.inner-page .page-hero .container {
  border-radius: 24px;
  border-color: rgba(220, 230, 245, 0.16);
}
