/* =========================================================
   HERO & GÖRSEL KART
   ========================================================= */

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(0, 168, 181, 0.08) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #F8FAFC 0%,
      #FFFFFF 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -240px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(0, 168, 181, 0.03);
  border-radius: 50%;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-one {
  top: -100px;
  left: 35%;
  width: 350px;
  height: 350px;
  background: rgba(0, 168, 181, 0.06);
}

.hero-orb-two {
  bottom: 40px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: rgba(0, 196, 159, 0.06);
}


/* =========================================================
   HERO GRID
   ========================================================= */

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;

  gap: 70px;

  min-height: 690px;
  padding-block: 72px 82px;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 700px;
  margin: 18px 0 22px;

  color: var(--ink);

  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;

  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-dark) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;

  color: var(--text);

  font-size: 18px;
  line-height: 1.7;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}


/* =========================================================
   HERO TRUST
   ========================================================= */

.hero-trust {
  display: flex;
  flex-wrap: wrap;

  gap: 34px;

  margin-top: 38px;
}

.hero-trust div {
  display: grid;
  gap: 2px;
}

.hero-trust strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.hero-trust span {
  color: var(--muted);
  font-size: 12px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
  position: relative;

  min-width: 0;
  min-height: 500px;

  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;

  width: 430px;
  max-width: 100%;
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 168, 181, 0.15) 0%,
      rgba(0, 168, 181, 0) 70%
    );
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-picture {
  position: relative;
  z-index: 2;

  display: block;

  width: min(520px, 100%);

  border-radius: 28px;
}

.hero-main-image {
  display: block;

  width: 100%;
  max-height: 540px;

  object-fit: cover;

  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 28px;

  box-shadow: var(--shadow);
}


/* =========================================================
   INSURANCE CARD
   ========================================================= */

.insurance-card {
  position: relative;
  z-index: 2;

  width: min(440px, 90%);

  padding: 28px;

  overflow: hidden;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #0E2A38 0%,
      #004D56 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;

  box-shadow:
    0 30px 60px -12px rgba(14, 42, 56, 0.35);

  transform: rotate(-2deg);

  backdrop-filter: blur(10px);
}

.insurance-card::after {
  content: "";

  position: absolute;

  right: -30px;
  bottom: -40px;

  width: 150px;
  height: 150px;

  border: 34px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.card-head {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
}

.mini-logo {
  display: grid;

  width: 44px;
  height: 44px;

  place-items: center;

  padding: 6px;

  overflow: hidden;

  background: #ffffff;

  border-radius: 12px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.mini-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  color: rgba(255, 255, 255, 0.85);

  font-size: 11px;
  font-weight: 600;
}

.status i {
  width: 7px;
  height: 7px;

  background: #00C49F;

  border-radius: 50%;

  box-shadow:
    0 0 0 4px rgba(0, 196, 159, 0.2);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.insurance-card > p {
  position: relative;
  z-index: 1;

  margin: 34px 0 7px;

  color: #80E5ED;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.insurance-card h2 {
  position: relative;
  z-index: 1;

  margin: 0;

  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}


/* =========================================================
   CHOICES
   ========================================================= */

.choice-row {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 8px;

  margin-top: 32px;
}

.choice {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  gap: 6px;

  padding: 9px;

  color: rgba(255, 255, 255, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  font-size: 12px;
  font-weight: 600;

  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.choice.active {
  color: var(--ink);

  background: #ffffff;

  border-color: #ffffff;

  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.1);
}

.choice svg {
  width: 18px;
  height: 18px;

  fill: currentColor;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-line {
  position: relative;
  z-index: 1;

  height: 4px;

  margin-top: 28px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.12);

  border-radius: 20px;
}

.progress-line span {
  display: block;

  width: 36%;
  height: 100%;

  background: var(--brand);

  border-radius: inherit;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.card-footer {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 14px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 11px;
}

.card-footer b {
  display: grid;

  width: 32px;
  height: 32px;

  place-items: center;

  color: var(--ink);

  background: #ffffff;

  border-radius: 50%;

  font-size: 16px;
}


/* =========================================================
   FLOATING NOTES
   ========================================================= */

.floating-note {
  position: absolute;
  z-index: 3;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 14px 18px;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;

  box-shadow: var(--shadow);

  backdrop-filter: blur(12px);
}

.floating-note > span {
  display: grid;

  width: 36px;
  height: 36px;

  place-items: center;

  color: var(--brand-dark);

  background: var(--brand-soft);

  border-radius: 10px;

  font-weight: 800;
}

.floating-note div {
  display: grid;

  line-height: 1.35;
}

.floating-note strong {
  color: var(--ink);

  font-size: 13px;
  font-weight: 800;
}

.floating-note small {
  color: var(--muted);

  font-size: 11px;
}

.note-one {
  top: 65px;
  right: -5px;
}

.note-two {
  bottom: 45px;
  left: -15px;
}


/* =========================================================
   ANLAŞMALI SİGORTA ŞİRKETLERİ
   ========================================================= */

.partners-section {
  position: relative;

  overflow: hidden;

  padding: 76px 0 82px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  border-block: 1px solid var(--line);
}


/* =========================================================
   PARTNER BAŞLIK
   ========================================================= */

.partners-heading {
  max-width: 760px;

  margin: 0 auto 42px;

  text-align: center;
}

.partners-eyebrow {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--brand-dark);

  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.partners-heading h2 {
  margin: 0;

  color: var(--ink);

  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.partners-heading p {
  max-width: 650px;

  margin: 16px auto 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   PARTNER SLIDER
   ========================================================= */

.partners-slider {
  position: relative;

  width: 100%;

  overflow: hidden;

  padding: 8px 0 16px;
}


/* =========================================================
   KENAR FADE
   ========================================================= */

.partners-slider::before,
.partners-slider::after {
  content: "";

  position: absolute;
  z-index: 5;

  top: 0;
  bottom: 0;

  width: min(10vw, 150px);

  pointer-events: none;
}

.partners-slider::before {
  left: 0;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0) 100%
    );
}

.partners-slider::after {
  right: 0;

  background:
    linear-gradient(
      270deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0) 100%
    );
}


/* =========================================================
   TRACK
   ========================================================= */

.partners-track {
  display: flex;
  align-items: center;

  width: max-content;

  animation:
    partners-marquee 40s linear infinite;

  will-change: transform;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}


/* =========================================================
   PARTNER GROUP
   ========================================================= */

.partners-group {
  display: flex;
  align-items: center;

  flex-shrink: 0;

  gap: 18px;

  padding-right: 18px;
}


/* =========================================================
   PARTNER CARD
   ========================================================= */

.partner-card {
  flex: 0 0 190px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 190px;
  height: 90px;

  padding: 17px 22px;

  background: #ffffff;

  border: 1px solid #e5ebf0;
  border-radius: 17px;

  text-decoration: none;

  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.02),
    0 8px 22px rgba(15, 23, 42, 0.035);

  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

a.partner-card:hover,
a.partner-card:focus-visible {
  transform: translateY(-4px);

  border-color: rgba(0, 168, 181, 0.35);

  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.07),
    0 18px 38px rgba(15, 23, 42, 0.05);
}


/* =========================================================
   PARTNER LOGO
   ========================================================= */

.partner-card img {
  display: block;

  width: auto;
  height: auto;

  max-width: 140px;
  max-height: 48px;

  object-fit: contain;

  transition:
    transform 220ms ease,
    filter 220ms ease;
}

a.partner-card:hover img,
a.partner-card:focus-visible img {
  transform: scale(1.04);
}

.partner-card span {
  color: var(--ink);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;

  text-align: center;
}


/* =========================================================
   PARTNER ANIMATION
   ========================================================= */

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .hero-grid {
    grid-template-columns: 1fr 1fr;

    gap: 38px;
  }

  .note-one {
    right: 0;
  }

  .note-two {
    left: 0;
  }

}


@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;

    padding-top: 65px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-picture {
    width: min(580px, 100%);
  }


  /* PARTNERS */

  .partners-section {
    padding: 62px 0 68px;
  }

  .partners-heading {
    margin-bottom: 34px;
  }

  .partners-heading h2 {
    font-size: clamp(29px, 5vw, 38px);
  }

  .partners-track {
    animation-duration: 34s;
  }

  .partners-group {
    gap: 14px;
    padding-right: 14px;
  }

  .partner-card {
    flex-basis: 174px;

    width: 174px;
    height: 82px;

    padding: 15px 19px;

    border-radius: 15px;
  }

  .partner-card img {
    max-width: 128px;
    max-height: 44px;
  }

}


/* =========================================================
   RESPONSIVE - MOBİL
   ========================================================= */

@media (max-width: 640px) {

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;

    padding: 52px 0 60px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    gap: 15px;
  }

  .hero-trust div {
    flex: 1;

    min-width: 90px;
  }

  .hero-visual {
    min-height: 400px;

    margin-inline: -8px;
  }

  .hero-main-image {
    max-height: 430px;

    border-radius: 22px;
  }

  .insurance-card {
    width: min(420px, 94%);

    padding: 22px;
  }

  .insurance-card h2 {
    font-size: 24px;
  }

  .choice-row {
    gap: 6px;
  }

  .choice {
    padding: 7px 4px;

    font-size: 10px;
  }

  .floating-note {
    transform: scale(0.88);
  }

  .note-one {
    top: 12px;
    right: -12px;
  }

  .note-two {
    bottom: 5px;
    left: -12px;
  }


  /* PARTNERS */

  .partners-section {
    padding: 50px 0 56px;
  }

  .partners-heading {
    margin-bottom: 28px;
  }

  .partners-eyebrow {
    font-size: 12px;
  }

  .partners-heading h2 {
    font-size: 28px;
  }

  .partners-heading p {
    margin-top: 13px;

    font-size: 14px;
    line-height: 1.65;
  }

  .partners-slider {
    padding-bottom: 12px;
  }

  .partners-slider::before,
  .partners-slider::after {
    width: 38px;
  }

  .partners-track {
    animation-duration: 29s;
  }

  .partners-group {
    gap: 11px;
    padding-right: 11px;
  }

  .partner-card {
    flex-basis: 150px;

    width: 150px;
    height: 74px;

    padding: 12px 15px;

    border-radius: 14px;
  }

  .partner-card img {
    max-width: 110px;
    max-height: 38px;
  }

}


/* =========================================================
   ÇOK KÜÇÜK EKRAN
   ========================================================= */

@media (max-width: 390px) {

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-trust div {
    min-width: 0;
  }

  .hero-trust strong {
    font-size: 14px;
  }

  .hero-trust span {
    font-size: 10px;
  }

  .insurance-card {
    transform: none;
  }

  .floating-note {
    display: none;
  }

}


/* =========================================================
   ERİŞİLEBİLİRLİK
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .partners-slider {
    overflow-x: auto;
  }

  .partners-track {
    animation: none !important;
  }

}