/* Home Hero redesign - FA only */

:root {
  --particle-color: rgba(59, 130, 246, 0.2);
}

body.home-page[data-lang="fa"] {
  --hero-gradient-start: #2563eb;
  --hero-gradient-end: #0ea5e9;
  --hero-accent: #f97316;
  --hero-text-main: #0f172a;
  --hero-text-muted: #334155;
  --hero-glass-bg: rgba(255, 255, 255, 0.7);
  --hero-glass-border: rgba(255, 255, 255, 0.75);
  --hero-shadow-soft: 0 14px 44px rgba(15, 23, 42, 0.12);
  --hero-shadow-strong: 0 24px 64px rgba(15, 23, 42, 0.22);
  --hero-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-noise-opacity: 0.24;
}

body.home-page.dark-mode[data-lang="fa"] {
  --hero-text-main: #e2e8f0;
  --hero-text-muted: #cbd5e1;
  --hero-glass-bg: rgba(15, 23, 42, 0.62);
  --hero-glass-border: rgba(148, 163, 184, 0.25);
  --hero-shadow-soft: 0 14px 44px rgba(2, 6, 23, 0.5);
  --hero-shadow-strong: 0 24px 64px rgba(2, 6, 23, 0.68);
}

body.home-page[data-lang="fa"] #hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 980px);
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2.8rem, 6vw, 5rem);
  margin-bottom: var(--space-xxl);
  background:
    radial-gradient(1200px 700px at 8% 10%, rgba(37, 99, 235, 0.26), transparent 62%),
    radial-gradient(1000px 680px at 95% 16%, rgba(14, 165, 233, 0.22), transparent 60%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95));
}

body.home-page.dark-mode[data-lang="fa"] #hero {
  background:
    radial-gradient(1100px 660px at 8% 10%, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(980px 640px at 95% 15%, rgba(14, 165, 233, 0.24), transparent 56%),
    linear-gradient(165deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.95));
}

body.home-page[data-lang="fa"] #hero::before,
body.home-page[data-lang="fa"] #hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-page[data-lang="fa"] #hero::before {
  z-index: 0;
  opacity: var(--hero-noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

body.home-page[data-lang="fa"] #hero::after {
  z-index: 0;
  inset: -18%;
  filter: blur(40px);
  opacity: 0.62;
  background:
    radial-gradient(closest-side at 14% 22%, rgba(37, 99, 235, 0.28), transparent 64%),
    radial-gradient(closest-side at 86% 20%, rgba(14, 165, 233, 0.26), transparent 60%),
    radial-gradient(closest-side at 68% 82%, rgba(249, 115, 22, 0.18), transparent 65%);
  animation: hero-aurora-shift 18s var(--hero-ease) infinite alternate;
}

@keyframes hero-aurora-shift {
  from { transform: translate3d(-1.4%, -1%, 0) scale(1.01); }
  to { transform: translate3d(1.4%, 1.2%, 0) scale(1.05); }
}

body.home-page[data-lang="fa"] #hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

body.home-page[data-lang="fa"] #hero .hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4.2rem);
}

body.home-page[data-lang="fa"] #hero .hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  width: min(100%, 730px);
  margin-top: 0;
  padding: clamp(1.3rem, 2.6vw, 3rem);
  border-radius: clamp(1rem, 2vw, 1.7rem);
  color: var(--hero-text-main);
  background: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-border);
  box-shadow: var(--hero-shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--hero-ease), box-shadow 0.35s var(--hero-ease);
}

@media (hover: hover) {
  body.home-page[data-lang="fa"] #hero .hero-content-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--hero-shadow-strong);
  }
}

body.home-page[data-lang="fa"] #hero #hero-heading {
  margin-bottom: 1rem;
}

body.home-page[data-lang="fa"] #hero #hero-heading .eyebrow-text {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.76rem, 1vw, 0.98rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.94;
  margin-bottom: 0.55rem;
  color: #1d4ed8;
}

body.home-page.dark-mode[data-lang="fa"] #hero #hero-heading .eyebrow-text {
  color: #7dd3fc;
}

body.home-page[data-lang="fa"] #hero #hero-heading .rtl-text {
  display: block;
  font-family: "Vazirmatn", sans-serif;
  font-size: clamp(2rem, 6.1vw, 4.7rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: transparent;
  background: linear-gradient(130deg, var(--hero-gradient-start), var(--hero-gradient-end), var(--hero-accent));
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 12px 34px rgba(37, 99, 235, 0.18);
  animation: hero-text-flow 8s linear infinite;
}

@keyframes hero-text-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

body.home-page[data-lang="fa"] #hero .tagline {
  margin-top: 0;
  margin-bottom: clamp(1.1rem, 2vw, 2rem);
  max-width: 55ch;
  font-size: clamp(1rem, 1.34vw, 1.3rem);
  line-height: 1.88;
  font-weight: 500;
  color: var(--hero-text-muted);
  text-wrap: pretty;
}

body.home-page[data-lang="fa"] #hero .tagline span {
  color: var(--hero-text-main);
  font-weight: 800;
}

body.home-page[data-lang="fa"] #hero .hero-cta-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

body.home-page[data-lang="fa"] #hero .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.84rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s var(--hero-ease),
    box-shadow 0.25s var(--hero-ease),
    background-color 0.25s var(--hero-ease),
    color 0.25s var(--hero-ease),
    border-color 0.25s var(--hero-ease);
}

body.home-page[data-lang="fa"] #hero .hero-btn i {
  margin-inline-start: 0.5rem;
}

body.home-page[data-lang="fa"] #hero .hero-btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.33);
}

body.home-page[data-lang="fa"] #hero .hero-btn.secondary {
  color: var(--hero-text-main);
  background: rgba(255, 255, 255, 0.44);
  border-color: rgba(37, 99, 235, 0.35);
}

body.home-page.dark-mode[data-lang="fa"] #hero .hero-btn.secondary {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.52);
  border-color: rgba(148, 163, 184, 0.34);
}

@media (hover: hover) {
  body.home-page[data-lang="fa"] #hero .hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.44);
  }

  body.home-page[data-lang="fa"] #hero .hero-btn.secondary:hover {
    transform: translateY(-3px);
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.5);
  }
}

body.home-page[data-lang="fa"] #hero .social-links-hero {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: var(--hero-text-muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s var(--hero-ease), color 0.22s var(--hero-ease), background-color 0.22s var(--hero-ease);
}

body.home-page.dark-mode[data-lang="fa"] #hero .social-links-hero .hero-social-link {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.26);
}

@media (hover: hover) {
  body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link:hover {
    transform: translateY(-3px);
    color: #ffffff;
  }

  body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link:nth-child(1):hover { background: #111827; }
  body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link:nth-child(2):hover { background: #0077b5; }
  body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link:nth-child(3):hover { background: #0ea5e9; }
  body.home-page[data-lang="fa"] #hero .social-links-hero .hero-social-link:nth-child(4):hover { background: #e11d48; }
}

body.home-page[data-lang="fa"] #hero .hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero-image-float 7.5s ease-in-out infinite;
}

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

body.home-page[data-lang="fa"] #hero .hero-image-wrapper::before {
  content: "";
  position: absolute;
  width: 122%;
  height: 122%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24), rgba(14, 165, 233, 0) 72%);
  filter: blur(3px);
  z-index: -1;
}

body.home-page[data-lang="fa"] #hero .profile-image {
  width: clamp(184px, 22vw, 292px);
  height: clamp(184px, 22vw, 292px);
  border-radius: 40% 60% 58% 42% / 44% 44% 56% 56%;
  border: 3px solid rgba(255, 255, 255, 0.75);
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
  transition: transform 0.35s var(--hero-ease), box-shadow 0.35s var(--hero-ease), filter 0.35s var(--hero-ease);
  animation: hero-border-morph 9s ease-in-out infinite;
}

@keyframes hero-border-morph {
  0%, 100% { border-radius: 40% 60% 58% 42% / 44% 44% 56% 56%; }
  50% { border-radius: 57% 43% 34% 66% / 45% 63% 37% 55%; }
}

@media (hover: hover) {
  body.home-page[data-lang="fa"] #hero .profile-image:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.32);
    filter: saturate(1.08);
  }
}

body.home-page[data-lang="fa"] #hero .scroll-down-indicator {
  position: absolute;
  bottom: clamp(1rem, 2vw, 2.2rem);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.78;
  z-index: 3;
}

body.home-page[data-lang="fa"] #hero .scroll-down-indicator .scroll-indicator-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  padding: 0.45rem;
  border-radius: 999px;
}

@media (hover: hover) {
  body.home-page[data-lang="fa"] #hero .scroll-down-indicator .scroll-indicator-link:hover {
    background: rgba(255, 255, 255, 0.18);
  }
}

body.home-page[data-lang="fa"] #hero .mouse {
  width: 30px;
  height: 48px;
  border: 2px solid var(--hero-text-muted);
  border-radius: 20px;
  position: relative;
}

body.home-page[data-lang="fa"] #hero .wheel {
  width: 4px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--hero-accent);
  animation: hero-wheel 1.45s infinite;
}

body.home-page[data-lang="fa"] #hero .arrow-scroll span {
  display: block;
  width: 9px;
  height: 9px;
  margin: -5px auto;
  border-bottom: 2px solid var(--hero-text-muted);
  border-right: 2px solid var(--hero-text-muted);
  transform: rotate(45deg);
  animation: hero-arrow 1.75s infinite;
}

body.home-page[data-lang="fa"] #hero .arrow-scroll span:nth-child(2) { animation-delay: -0.18s; }
body.home-page[data-lang="fa"] #hero .arrow-scroll span:nth-child(3) { animation-delay: -0.36s; }

@keyframes hero-wheel {
  from { top: 9px; opacity: 1; }
  to { top: 28px; opacity: 0; }
}

@keyframes hero-arrow {
  0% { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
  55% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(4px, 4px); }
}

body.home-page[data-lang="fa"] #hero .visually-hidden-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home-page[data-lang="fa"] #hero .tagline .typing-wrapper {
  display: inline;
}

body.home-page[data-lang="fa"] #hero .tagline .typing-text {
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
}

body.home-page[data-lang="fa"] #hero .tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-inline-start: 2px;
  background: var(--hero-gradient-start);
  vertical-align: text-bottom;
  animation: hero-cursor 1s step-end infinite;
}

@keyframes hero-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

body.home-page[data-lang="fa"] #hero :where(.hero-btn, .hero-social-link, .scroll-indicator-link):focus-visible {
  outline: 3px solid var(--hero-accent);
  outline-offset: 3px;
}

body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] .profile-image,
body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] .hero-image-wrapper,
body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] #hero-heading .rtl-text,
body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] .wheel,
body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] .arrow-scroll span,
body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] .cursor {
  animation: none !important;
}

body.home-page[data-lang="fa"] #hero[data-hero-motion="lite"] #hero-particles {
  opacity: 0.24;
}

body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] #hero-particles {
  opacity: 0;
}

body.home-page[data-lang="fa"] #hero[data-hero-motion="off"]::after,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .hero-image-wrapper,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .profile-image,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] #hero-heading .rtl-text,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .wheel,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .arrow-scroll span,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .cursor,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .hero-btn,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .hero-content-wrapper,
body.home-page[data-lang="fa"] #hero[data-hero-motion="off"] .hero-social-link {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.home-page[data-lang="fa"] #hero::after,
  body.home-page[data-lang="fa"] #hero .hero-image-wrapper,
  body.home-page[data-lang="fa"] #hero .profile-image,
  body.home-page[data-lang="fa"] #hero #hero-heading .rtl-text,
  body.home-page[data-lang="fa"] #hero .wheel,
  body.home-page[data-lang="fa"] #hero .arrow-scroll span,
  body.home-page[data-lang="fa"] #hero .cursor,
  body.home-page[data-lang="fa"] #hero .hero-btn,
  body.home-page[data-lang="fa"] #hero .hero-content-wrapper,
  body.home-page[data-lang="fa"] #hero .hero-social-link {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 991px) {
  body.home-page[data-lang="fa"] #hero {
    min-height: auto;
    padding-top: clamp(4.5rem, 8vw, 6rem);
    padding-bottom: 1.6rem;
  }

  body.home-page[data-lang="fa"] #hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  body.home-page[data-lang="fa"] #hero .hero-image-wrapper {
    order: -1;
  }

  body.home-page[data-lang="fa"] #hero .hero-content-wrapper {
    margin-inline: auto;
    align-items: center;
    text-align: center;
    width: min(100%, 27rem);
    padding: 1.2rem 1rem;
  }

  body.home-page[data-lang="fa"] #hero #hero-heading .rtl-text {
    font-size: clamp(1.65rem, 7.5vw, 2.7rem);
  }

  body.home-page[data-lang="fa"] #hero .tagline {
    font-size: 0.97rem;
    line-height: 1.78;
    margin-bottom: 1.25rem;
  }

  body.home-page[data-lang="fa"] #hero .hero-cta-group {
    width: min(100%, 280px);
    margin-inline: auto;
    flex-direction: column;
  }

  body.home-page[data-lang="fa"] #hero .hero-btn {
    width: 100%;
  }

  body.home-page[data-lang="fa"] #hero .social-links-hero {
    justify-content: center;
  }

  body.home-page[data-lang="fa"] #hero .scroll-down-indicator {
    position: static;
    transform: none;
    margin-top: 0.9rem;
  }
}

@media (max-width: 640px) {
  body.home-page[data-lang="fa"] #hero .profile-image {
    width: 130px;
    height: 130px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.home-page[data-lang="fa"] #hero .hero-content-wrapper,
  body.home-page[data-lang="fa"] #hero .hero-btn.secondary,
  body.home-page[data-lang="fa"] #hero .hero-social-link {
    background: rgba(255, 255, 255, 0.9);
  }

  body.home-page.dark-mode[data-lang="fa"] #hero .hero-content-wrapper,
  body.home-page.dark-mode[data-lang="fa"] #hero .hero-btn.secondary,
  body.home-page.dark-mode[data-lang="fa"] #hero .hero-social-link {
    background: rgba(15, 23, 42, 0.86);
  }
}

/* Home Hero parity - EN */
body.home-page[data-lang="en"] #hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 980px);
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2.8rem, 6vw, 5rem);
  margin-bottom: var(--space-xxl);
  background:
    radial-gradient(1200px 700px at 8% 10%, rgba(37, 99, 235, 0.26), transparent 62%),
    radial-gradient(1000px 680px at 95% 16%, rgba(14, 165, 233, 0.22), transparent 60%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95));
}

body.home-page.dark-mode[data-lang="en"] #hero {
  background:
    radial-gradient(1100px 660px at 8% 10%, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(980px 640px at 95% 15%, rgba(14, 165, 233, 0.24), transparent 56%),
    linear-gradient(165deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.95));
}

body.home-page[data-lang="en"] #hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

body.home-page[data-lang="en"] #hero .hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4.2rem);
}

body.home-page[data-lang="en"] #hero .hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: min(100%, 730px);
  padding: clamp(1.2rem, 2.4vw, 2.8rem);
  border-radius: clamp(1rem, 2vw, 1.7rem);
  color: var(--hero-text-main, #0f172a);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.home-page.dark-mode[data-lang="en"] #hero .hero-content-wrapper {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.68);
}

body.home-page[data-lang="en"] #hero #hero-heading .eyebrow-text {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.76rem, 1vw, 0.98rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: #1d4ed8;
}

body.home-page[data-lang="en"] #hero #hero-heading .en-brand-text {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(130deg, #2563eb, #0ea5e9, #f97316);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
}

body.home-page[data-lang="en"] #hero .tagline {
  margin-top: 0;
  margin-bottom: 1.6rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.8;
  color: #334155;
}

body.home-page.dark-mode[data-lang="en"] #hero .tagline {
  color: #cbd5e1;
}

body.home-page[data-lang="en"] #hero .hero-cta-group {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

body.home-page[data-lang="en"] #hero .social-links-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

body.home-page[data-lang="en"] #hero .hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.home-page[data-lang="en"] #hero .profile-image {
  width: clamp(184px, 22vw, 292px);
  height: clamp(184px, 22vw, 292px);
  border-radius: 40% 60% 58% 42% / 44% 44% 56% 56%;
  border: 3px solid rgba(255, 255, 255, 0.75);
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
}

body.home-page[data-lang="en"] #hero .scroll-down-indicator {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
}

body.home-page[data-lang="en"] #hero .scroll-down-indicator .scroll-indicator-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

body.home-page[data-lang="en"] #hero .mouse {
  width: 30px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: 20px;
  position: relative;
}

body.home-page[data-lang="en"] #hero .wheel {
  width: 4px;
  height: 8px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #f97316;
}

body.home-page[data-lang="en"] #hero .arrow-scroll span {
  display: block;
  width: 9px;
  height: 9px;
  margin: -5px auto;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 991px) {
  body.home-page[data-lang="en"] #hero {
    min-height: auto;
    padding-top: clamp(4.5rem, 8vw, 6rem);
    padding-bottom: 1.6rem;
  }

  body.home-page[data-lang="en"] #hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  body.home-page[data-lang="en"] #hero .hero-image-wrapper {
    order: -1;
  }

  body.home-page[data-lang="en"] #hero .hero-content-wrapper {
    margin-inline: auto;
    align-items: center;
    text-align: center;
    width: min(100%, 29rem);
    padding: 1.2rem 1rem;
  }

  body.home-page[data-lang="en"] #hero .hero-cta-group {
    width: min(100%, 300px);
    margin-inline: auto;
    flex-direction: column;
  }

  body.home-page[data-lang="en"] #hero .hero-btn {
    width: 100%;
  }

  body.home-page[data-lang="en"] #hero .social-links-hero {
    justify-content: center;
  }

  body.home-page[data-lang="en"] #hero .scroll-down-indicator {
    position: static;
    transform: none;
    margin-top: 0.9rem;
  }
}
