/* Omid Fard | Clean Hero — English and German
   Scoped to the home hero so other sections and the language switch stay unchanged. */

main > section.hero.omid-hero-clean {
  box-sizing: border-box;
  width: min(1220px, calc(100% - 32px)) !important;
  max-width: 1220px !important;
  min-height: 620px;
  margin-inline: auto !important;
  padding: clamp(52px, 5.4vw, 80px) clamp(22px, 4vw, 60px) !important;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr) !important;
  align-items: center;
  gap: clamp(24px, 3.8vw, 52px) !important;
  isolation: isolate;
  position: relative;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 10%, rgba(57,91,207,.28), transparent 48%),
              linear-gradient(112deg,#07152e 0%,#102858 50%,#1c246e 100%);
}

.omid-hero-clean .hero-copy {
  box-sizing: border-box;
  min-width: 0;
  max-width: 700px;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}
.omid-hero-clean .eyebrow,
.omid-hero-clean .hero-metrics,
.omid-hero-clean .float-card,
.omid-hero-clean .hero-visual .glow { display: none !important; }

.omid-hero-clean .status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 10px 17px;
  font-size: clamp(11px, .92vw, 12px);
  line-height: 1.45;
  font-weight: 660;
  letter-spacing: 0;
  text-transform: none;
  color: #ecf5ff;
  background: rgba(28,60,114,.27);
  border: 1px solid rgba(114,167,242,.34);
  border-radius: 999px;
  white-space: normal;
}
.omid-hero-clean .status > span {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: #17df9a;
  box-shadow: 0 0 0 5px rgba(23,223,154,.12), 0 0 18px rgba(23,223,154,.45);
}

.omid-hero-clean h1 {
  margin: 0 0 27px !important;
  font-size: clamp(53px, 5.5vw, 88px) !important;
  line-height: 1.03 !important;
  font-weight: 850;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-wrap: nowrap;
}
.omid-hero-clean h1 em {
  font-style: normal;
  background-image: linear-gradient(100deg,#5eb7ff 3%, #777cff 55%, #aa54ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.omid-hero-clean .hero-roles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 13px;
  margin: 0 0 26px !important;
  padding: 0;
  font-weight: 650;
  font-size: clamp(13px, 1.15vw, 16px) !important;
  line-height: 1.4;
  letter-spacing: -.012em;
  color: #f1f6ff;
}
.omid-hero-clean .hero-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  padding: 0 14px;
  border-right: 1px solid rgba(130,171,233,.48);
}
.omid-hero-clean .hero-role:first-child {padding-left: 0;}
.omid-hero-clean .hero-role:last-child {border-right: 0;padding-right: 0;}
.omid-hero-clean .hero-role svg,
.omid-hero-clean .identity-line svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: #78bbff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.omid-hero-clean .identity-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 23px !important;
  font-size: clamp(14px, 1.12vw, 16px) !important;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 450;
  color: #c8d9f3;
}
.omid-hero-clean .identity-line svg {width: 20px;height: 20px;}
.omid-hero-clean .hero-rule {
  width: 132px;
  height: 4px;
  border-radius: 999px;
  margin: 0 0 24px;
  background: linear-gradient(90deg, #39aaff, #9555ee);
}
.omid-hero-clean .hero-lead {
  max-width: 610px;
  margin: 0 0 31px !important;
  font-size: clamp(15px, 1.2vw, 17px) !important;
  line-height: 1.83 !important;
  font-weight: 400;
  color: #deebfb;
  letter-spacing: 0;
  text-wrap: pretty;
}
.omid-hero-clean .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}
.omid-hero-clean .hero-actions .btn {
  min-height: 48px;
  padding: 12px 21px !important;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 650;
  white-space: normal;
  text-align: center;
}
.omid-hero-clean .hero-actions .btn-gradient {
  background: linear-gradient(115deg,#297bd7,#5140bd) !important;
  border: 1px solid rgba(133,168,255,.35) !important;
  box-shadow: 0 8px 20px rgba(15,33,100,.24) !important;
  color: #fff !important;
}
.omid-hero-clean .hero-actions .btn-outline {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(167,196,242,.44) !important;
  box-shadow: none !important;
  color: #eef6ff !important;
}
.omid-hero-clean .hero-actions .btn:focus-visible {
  outline: 3px solid #b2d9ff;
  outline-offset: 3px;
}
.omid-hero-clean .hero-actions .btn:hover {transform: translateY(-2px);}

.omid-hero-clean .hero-visual {
  min-width: 0;
  min-height: 460px;
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.omid-hero-clean .hero-visual::before {
  content: '';
  position: absolute;
  width: min(100%, 450px);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle,rgba(100,93,226,.28),transparent 65%);
  filter: blur(4px);
}
.omid-hero-clean .portrait-frame {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: min(100%, 355px);
  max-width: 355px;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(153,186,253,.48);
  background: linear-gradient(165deg,#edf6ff,#fff 55%,#e9eefb);
  box-shadow: 0 25px 64px rgba(0,0,0,.22);
}
.omid-hero-clean .portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 38%;
  transform: none !important;
}

/* Narrow desktops / larger tablets */
@media (max-width: 1100px) {
  main > section.hero.omid-hero-clean {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: auto;
  }
  .omid-hero-clean .hero-copy {max-width: 100%;}
  .omid-hero-clean .hero-visual {min-height: 380px;}
  .omid-hero-clean .portrait-frame {width: min(68%, 305px);}
}
@media (max-width: 680px) {
  main > section.hero.omid-hero-clean {
    width: calc(100% - 20px) !important;
    padding: 35px 20px 42px !important;
    gap: 16px !important;
    border-radius: 0 0 22px 22px;
  }
  .omid-hero-clean .status {margin-bottom: 24px;padding: 8px 12px;font-size: 11px;}
  .omid-hero-clean h1 {font-size: clamp(46px, 11.8vw, 70px) !important;white-space: normal;text-wrap: balance;margin-bottom: 22px !important;}
  .omid-hero-clean .hero-roles {font-size: 13px !important;row-gap: 12px;margin-bottom: 20px !important;}
  .omid-hero-clean .hero-role {padding-inline: 10px;gap: 6px;}
  .omid-hero-clean .hero-role svg {width: 19px;height: 19px;}
  .omid-hero-clean .hero-rule {margin-bottom: 17px;}
  .omid-hero-clean .hero-lead {font-size: 15px !important;line-height: 1.78 !important;margin-bottom: 26px !important;}
  .omid-hero-clean .hero-actions .btn {min-height: 45px;padding: 11px 16px !important;}
  .omid-hero-clean .hero-visual {min-height: 300px;}
  .omid-hero-clean .portrait-frame {width: min(75%, 260px);}
}
@media (max-width: 390px) {
  .omid-hero-clean .hero-role {padding-inline: 7px;}
  .omid-hero-clean .hero-role:nth-child(2) {border-right: 0;}
  .omid-hero-clean .hero-roles {font-size: 12px !important;}
  .omid-hero-clean .hero-actions {display: grid;grid-template-columns: minmax(0,1fr);}
  .omid-hero-clean .hero-actions .btn {width: 100%;}
}
@media (prefers-reduced-motion: reduce) {
  .omid-hero-clean .hero-actions .btn {transition: none !important;transform: none !important;}
}
