/* ============================================================
 * home-hero.css
 * Otomatik olarak home-platform.css dosyasından ayrıştırıldı.
 * ============================================================ */

.page-home {
  --platform-navy: #0a2540;
  --platform-slate: #425466;
  --platform-purple: #635bff;
  --platform-cyan: #00b8d9;
  --platform-teal: #0e9faa;
  --platform-orange: #f59b45;
  background: #fff;
  color: var(--platform-navy);
}

.page-home .nav__bar {
  border-bottom-color: rgba(10, 37, 64, .1);
}

.page-home .nav.is-scrolled .nav__bar {
  box-shadow: 0 8px 24px rgba(10, 37, 64, .06);
}

.page-home .nav-row {
  min-height: 72px;
}

.page-home {
  --nav-h: 72px;
}

.page-home .brand-logo {
  height: 46px;
}

.page-home .brand-title {
  font-size: 21px;
}

.page-home .brand-sub {
  font-size: 10px;
}

.page-home .menu-primary>a,
.page-home .menu-primary .dropdown-toggle {
  color: #203854;
  font-size: 14px;
}

.page-home .search-toggle,
.page-home .lang-switch {
  border-color: rgba(10, 37, 64, .12);
  background: rgba(255, 255, 255, .8);
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(600px, 95vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  padding: clamp(80px, 10vh, 120px) 20px clamp(40px, 6vh, 80px);
}

/* ── Animated background ────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg__orb {
  display: none !important;
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hero-bg__orb--a {
  top: -15%;
  right: -2%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 40% 40%, rgba(14, 159, 170, .22) 0%, rgba(14, 159, 170, .08) 45%, transparent 70%);
  filter: blur(80px);
  animation: orb-a 22s ease-in-out infinite alternate;
}

.hero-bg__orb--b {
  bottom: -25%;
  left: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 91, 255, .16) 0%, rgba(99, 91, 255, .06) 45%, transparent 70%);
  filter: blur(90px);
  animation: orb-b 28s ease-in-out infinite alternate;
}

.hero-bg__orb--c {
  top: 10%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 159, 170, .10) 0%, transparent 65%);
  filter: blur(60px);
  animation: orb-c 18s ease-in-out infinite alternate;
}

.hero-bg__orb--d {
  top: 0%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 91, 255, .09) 0%, transparent 65%);
  filter: blur(50px);
  animation: orb-d 24s ease-in-out infinite alternate;
}

.hero-bg__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

@keyframes orb-a {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-48px, 32px) scale(1.08);
  }

  50% {
    transform: translate(28px, -22px) scale(0.94);
  }

  75% {
    transform: translate(-18px, 44px) scale(1.04);
  }

  100% {
    transform: translate(52px, 12px) scale(0.97);
  }
}

@keyframes orb-b {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(44px, -38px) scale(1.1);
  }

  66% {
    transform: translate(-52px, 24px) scale(0.92);
  }

  100% {
    transform: translate(22px, -52px) scale(1.06);
  }
}

@keyframes orb-c {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: .7;
  }

  50% {
    transform: translate(-32px, -42px) scale(1.18);
    opacity: 1;
  }

  100% {
    transform: translate(44px, 28px) scale(0.86);
    opacity: .6;
  }
}

@keyframes orb-d {
  0% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(36px, -28px) scale(1.12);
  }

  100% {
    transform: translate(-24px, 38px) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg__orb {
  display: none !important;
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .hero-bg__orb--a {
    width: 360px;
    height: 360px;
  }

  .hero-bg__orb--b {
    width: 300px;
    height: 300px;
  }

  .hero-bg__orb--c,
  .hero-bg__orb--d {
    display: none;
  }
}


.hero-bg__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url('../../../img/world-map.svg');
  background-size: 1400px auto;
  background-position: 0 center;
  background-repeat: repeat-x;
  opacity: 0.12; /* Premium soft transparency */
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  animation: mapPan 120s linear infinite;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ffffff 0%, transparent 20%, transparent 80%, #ffffff 100%);
  pointer-events: none;
  z-index: 3;
}

@keyframes mapPan {
  0% { 
    background-position: 0 center; 
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
  100% { 
    background-position: -1400px center; 
    transform: translateY(0);
  }
}

/* ── Unified Glass Panel ────────────────────────────────────── */
.hero-stage__container {
  position: relative;
  width: 100%;
  max-width: min(var(--max, 1320px), calc(100vw - 48px));
  z-index: 2;
  margin: 0 auto;
}

/* ── Classic Split Layout ────────────────────────────────────── */

.hero-stage__track {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 70vh, 760px);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.hero-stage__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.hero-stage__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-stage__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-stage__wash {
  position: absolute;
  inset: 0;
}

.hero-stage__slide.visual-b .hero-stage__wash {
  background: radial-gradient(ellipse 50% 50% at 80% 20%, rgba(99, 91, 255, .04) 0%, transparent 60%);
}

.hero-stage__slide.visual-c .hero-stage__wash {
  background: radial-gradient(ellipse 50% 50% at 80% 20%, rgba(14, 159, 170, .04) 0%, transparent 60%);
}

.hero-stage__slide.visual-d .hero-stage__wash {
  background: radial-gradient(ellipse 50% 50% at 80% 20%, rgba(223, 75, 136, .04) 0%, transparent 60%);
}

.hero-stage__layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(500px, 1.24fr);
  align-items: center;
  gap: clamp(40px, 5.4vw, 76px);
  width: 100%;
  min-height: clamp(560px, 70vh, 760px);
  padding: clamp(88px, 13vh, 122px) clamp(28px, 4vw, 48px) clamp(92px, 9vh, 112px);
}

.hero-stage__main {
  min-width: 0;
  position: relative;
  z-index: 3;
  align-self: center;
}

.hero-stage__copy {
  display: grid;
  justify-items: start;
  gap: 30px;
  max-width: 620px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.hero-stage__slide.is-active .hero-stage__copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-stage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #087f8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-stage__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: #1098a2;
}

.hero-stage__headline {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #1098a2;
  font-size: clamp(1.26rem, 1.48vw, 1.56rem);
  font-weight: 740;
  line-height: 1.24;
  letter-spacing: -.028em;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
}

.hero-stage__statement {
  display: block;
  max-width: 54ch;
  margin: 0;
  color: #607286;
  font-size: clamp(.94rem, 1vw, 1rem);
  font-weight: 420;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}

.hero-stage__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stage__actions .platform-btn {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 620;
}

.hero-stage__actions .platform-btn--primary {
  background: #1098a2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 152, 162, .2);
}

.hero-stage__actions .platform-btn--primary:hover {
  background: #087f8a;
  box-shadow: 0 8px 24px rgba(16, 152, 162, .3);
  transform: translateY(-2px);
}

.hero-stage__actions .platform-btn--secondary {
  border-color: #d4dee8;
  background: #fff;
  color: #0a2540;
  box-shadow: 0 4px 12px rgba(10, 37, 64, .05);
}

.hero-stage__actions .platform-btn--secondary:hover {
  border-color: #b8c9d8;
  background: #f8fafc;
  transform: translateY(-2px);
}

/* ── Right Visual (Flat & Elegant) ─────────────────────────── */
.hero-stage__aside {
  position: relative;
  width: 100%;
  z-index: 3;
}

.hero-stage__visual {
  position: relative;
  width: 100%;
  display: grid;
  gap: 14px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .6s ease .1s, transform .6s cubic-bezier(0.2, 0.8, 0.2, 1) .1s;
}

.hero-stage__slide.is-active .hero-stage__visual {
  opacity: 1;
  transform: translateX(0);
}

.hero-stage__visual-media {
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(10, 37, 64, 0.15);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  min-height: clamp(360px, 34vw, 440px);
}

.hero-stage__visual-media picture,
.hero-stage__visual-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage__visual-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 4px 0;
}

.hero-stage__visual-meta .hero-stage__eyebrow {
  color: #0d8f9a;
  justify-content: center;
  text-align: center;
}

.hero-stage__visual-meta .hero-stage__eyebrow::before,
.hero-stage__visual-meta .hero-stage__eyebrow::after {
  content: '';
  display: block;
  width: 78px;
  height: 1px;
  border-radius: 999px;
}

.hero-stage__visual-meta .hero-stage__eyebrow::before {
  background: linear-gradient(90deg, transparent 0%, rgba(14, 159, 170, 0.18) 18%, rgba(14, 159, 170, 0.95) 100%);
}

.hero-stage__visual-meta .hero-stage__eyebrow::after {
  background: linear-gradient(90deg, rgba(14, 159, 170, 0.95) 0%, rgba(14, 159, 170, 0.18) 82%, transparent 100%);
}

/* ── Footer / Navigation (Aligned Left) ────────────────────── */
.hero-stage__footer {
  position: absolute;
  bottom: clamp(24px, 5vh, 60px);
  left: clamp(32px, 5vw, 64px);
  z-index: 10;
  display: flex;
  justify-content: flex-start;
}

.hero-stage__toolbar {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stage__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stage__counter {
  min-width: 52px;
  color: #6b7f92;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.hero-stage__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stage__dot {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(10, 37, 64, 0.15);
  cursor: pointer;
  transition: background-color .3s ease, width .3s ease;
}

.hero-stage__dot.is-active {
  width: 48px;
  background: #1098a2;
}

.hero-stage__nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stage__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #425466;
  cursor: pointer;
  transition: all .2s ease;
}

.hero-stage__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-stage__nav:hover {
  border-color: rgba(10, 37, 64, 0.2);
  color: #0a2540;
  background: #fff;
  transform: translateY(-1px);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-stage__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 430px);
    gap: 28px;
  }
}

@media (max-width: 820px) {

  /* Allow the track to grow with content */
  .hero-stage__track {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Make active slide relative so it pushes container height */
  .hero-stage__slide.is-active {
    position: relative;
    z-index: 2;
  }

  .hero-stage__layout {
    grid-template-columns: 1fr;
    padding: 40px 24px 40px;
    /* Reduced from 100px */
    gap: 40px;
    min-height: auto;
  }

  /* Force Image to Top */
  .hero-stage__aside {
    grid-row: 1;
    width: 100%;
  }

  .hero-stage__main {
    grid-row: 2;
    width: 100%;
  }

  .hero-stage__visual-media {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    /* Prevent collapse on Safari */
  }

  /* Elegant Mobile Footer Pill */
  .hero-stage__footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0 24px 40px;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-stage__layout {
    padding-top: 24px;
    gap: 32px;
  }

  .hero-stage__eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .hero-stage__copy {
    text-align: center;
    margin: 0 auto;
    justify-items: center;
    max-width: none;
  }

  .hero-stage__headline {
    width: 100%;
    max-width: 100%;
    text-align: justify;
    text-align-last: left;
  }

  .hero-stage__statement {
    text-align: justify;
  }

  /* Clean Buttons */
  .hero-stage__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-stage__actions .platform-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    font-size: .95rem;
    padding: 0 24px;
    justify-content: center;
  }

  .hero-stage__visual-meta {
    justify-content: center;
    padding-top: 2px;
  }

  .hero-stage__visual-meta .hero-stage__eyebrow::before,
  .hero-stage__visual-meta .hero-stage__eyebrow::after {
    width: 52px;
  }

  .hero-stage__footer {
    padding: 0 24px 32px;
  }

  .hero-stage__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 8px 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 300px;
    gap: 12px;
  }

  .hero-stage__meta {
    justify-content: flex-start;
    width: auto;
    gap: 12px;
  }

  .hero-stage__counter {
    font-size: 11px;
    font-weight: 700;
    color: #8898aa;
  }

  .hero-stage__nav-group {
    justify-content: flex-end;
    width: auto;
    gap: 4px;
  }

  .hero-stage__nav {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
  }

  .hero-stage__nav:hover {
    background: rgba(10, 37, 64, 0.04);
    transform: none;
  }
}

