/* =========================================================
   DERTDERMAN — ADVERTISING
   Reklam paketleri + ödeme önizleme
   ========================================================= */


/* =========================================================
   ADVERTISING HERO
   ========================================================= */

.advertising-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(82px, 10vw, 138px);
  border-bottom: 1px solid #dbe7f1;
  background:
    radial-gradient(
      circle at 86% 15%,
      rgb(54 137 206 / 19%),
      transparent 24rem
    ),
    radial-gradient(
      circle at 10% 92%,
      rgb(29 95 167 / 9%),
      transparent 25rem
    ),
    linear-gradient(
      135deg,
      #f8fbfe 0%,
      #eef6fc 45%,
      #ffffff 100%
    );
}

.advertising-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -140px;
  width: 510px;
  height: 510px;
  border: 1px solid rgb(29 95 167 / 10%);
  border-radius: 50%;
}

.advertising-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 54px;
  right: clamp(28px, 8vw, 130px);
  width: 122px;
  height: 122px;
  border: 1px solid rgb(29 95 167 / 14%);
  border-radius: 34px 34px 34px 10px;
  background:
    linear-gradient(
      145deg,
      rgb(255 255 255 / 75%),
      rgb(224 240 253 / 50%)
    );
  box-shadow:
    0 24px 70px rgb(29 95 167 / 9%),
    inset 0 1px 0 #fff;
  transform: rotate(10deg);
}

.advertising-hero-inner {
  position: relative;
  max-width: 960px;
}

.advertising-hero .section-kicker,
.advertising-payment-heading .section-kicker,
.advertising-section-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--dd-primary);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.advertising-hero .section-kicker::before,
.advertising-payment-heading .section-kicker::before,
.advertising-section-heading .section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--dd-primary);
}

.advertising-hero h1 {
  max-width: 830px;
  margin: 20px 0 26px;
  color: var(--dd-navy);
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: .96;
}

.advertising-hero p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #60778b;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.78;
}


/* =========================================================
   PACKAGES
   ========================================================= */

.advertising-plans {
  position: relative;
  padding-block: clamp(72px, 9vw, 118px);
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fbfdff 100%
    );
}

.advertising-section-heading {
  max-width: 750px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.advertising-section-heading h2 {
  margin: 14px 0 0;
  color: var(--dd-navy);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
}


/* =========================================================
   PLAN GRID
   ========================================================= */

.advertising-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}


/* =========================================================
   PLAN CARD
   ========================================================= */

.advertising-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid #dce7f0;
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fcfdff
    );
  box-shadow:
    0 2px 4px rgb(16 42 67 / 2%),
    0 18px 50px rgb(16 42 67 / 7%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.advertising-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      #b9d3e9,
      #dfeef9
    );
}

.advertising-plan-card:hover {
  transform: translateY(-6px);
  border-color: rgb(29 95 167 / 32%);
  box-shadow:
    0 3px 8px rgb(16 42 67 / 3%),
    0 28px 70px rgb(16 42 67 / 12%);
}


/* =========================================================
   PRO CARD
   ========================================================= */

.advertising-plan-card--featured {
  border-color: rgb(29 95 167 / 44%);
  background:
    radial-gradient(
      circle at 100% 0,
      rgb(67 144 207 / 14%),
      transparent 16rem
    ),
    linear-gradient(
      150deg,
      #ffffff 0%,
      #f6fbff 55%,
      #edf6fd 100%
    );
  box-shadow:
    0 3px 10px rgb(29 95 167 / 5%),
    0 28px 72px rgb(29 95 167 / 15%);
}

.advertising-plan-card--featured::before {
  background:
    linear-gradient(
      90deg,
      var(--dd-primary),
      #57a0dc
    );
}

.advertising-plan-card--featured::after {
  content: "ÖNE ÇIKAN";
  position: absolute;
  top: 27px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      var(--dd-primary),
      #377fb9
    );
  color: #fff;
  box-shadow: 0 9px 24px rgb(29 95 167 / 18%);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
}


/* =========================================================
   PLAN HEADER / PRICE
   ========================================================= */

.advertising-plan-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e0eaf2;
}

.advertising-plan-card--featured .advertising-plan-head {
  padding-right: 92px;
}

.advertising-plan-head span {
  color: var(--dd-primary);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.advertising-plan-head strong {
  color: var(--dd-navy);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
  white-space: nowrap;
}


/* =========================================================
   FEATURES
   ========================================================= */

.advertising-plan-card ul,
.advertising-payment-card ul {
  display: grid;
  gap: 17px;
  margin: 32px 0 38px;
  padding: 0;
  list-style: none;
}

.advertising-plan-card li,
.advertising-payment-card li {
  position: relative;
  min-height: 24px;
  padding-left: 36px;
  color: #334c60;
  font-size: .96rem;
  line-height: 1.55;
}

.advertising-plan-card li::before,
.advertising-payment-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgb(29 95 167 / 14%);
  border-radius: 50%;
  background: #edf6fd;
  color: var(--dd-primary);
  font-size: .7rem;
  font-weight: 900;
}

.advertising-plan-card--featured li::before {
  border-color: transparent;
  background: var(--dd-primary);
  color: #fff;
}


/* =========================================================
   PLAN CTA
   ========================================================= */

.advertising-plan-card .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  align-self: stretch;
  margin-top: auto;
  border-radius: 13px;
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
}

.advertising-plan-card:not(.advertising-plan-card--featured)
  .primary-action {
  border: 1px solid rgb(29 95 167 / 38%);
  background: #f6fafe;
  color: var(--dd-primary);
  box-shadow: none;
}

.advertising-plan-card:not(.advertising-plan-card--featured)
  .primary-action:hover {
  border-color: var(--dd-primary);
  background: var(--dd-primary);
  color: #fff;
}

.advertising-plan-card--featured .primary-action {
  border: 1px solid var(--dd-primary);
  background:
    linear-gradient(
      135deg,
      var(--dd-primary),
      #347fbf
    );
  color: #fff;
  box-shadow: 0 14px 30px rgb(29 95 167 / 20%);
}


/* =========================================================
   HOMEPAGE AD CTA
   ========================================================= */

.advertising-home-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(70px, 8vw, 104px);
  border-block: 1px solid rgb(255 255 255 / 9%);
  background:
    radial-gradient(
      circle at 83% 18%,
      rgb(114 185 240 / 22%),
      transparent 19rem
    ),
    radial-gradient(
      circle at 7% 110%,
      rgb(255 255 255 / 7%),
      transparent 22rem
    ),
    linear-gradient(
      120deg,
      #102f4d 0%,
      #144d7d 52%,
      #1d5fa7 100%
    );
}

.advertising-home-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -110px;
  width: 410px;
  height: 410px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
}

.advertising-home-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 11%;
  bottom: -38px;
  width: 115px;
  height: 115px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 34px 34px 34px 10px;
  transform: rotate(13deg);
}

.advertising-home-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(38px, 8vw, 110px);
}

.advertising-home-cta .section-kicker {
  color: #b7ddfb;
}

.advertising-home-cta h2 {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.advertising-home-cta p:last-child {
  max-width: 54ch;
  margin: 0;
  color: rgb(255 255 255 / 73%);
  font-size: .98rem;
  line-height: 1.72;
}

.advertising-home-cta .primary-action {
  flex: 0 0 auto;
  min-height: 56px;
  padding-inline: 28px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 13px;
  background: #fff;
  color: #163e61;
  box-shadow:
    0 16px 38px rgb(5 25 43 / 24%);
  font-weight: 780;
}

.advertising-home-cta .primary-action:hover {
  border-color: #fff;
  background: #edf7ff;
  color: var(--dd-primary);
  transform: translateY(-2px);
}


/* =========================================================
   PAYMENT PAGE
   ========================================================= */

.advertising-payment-shell {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  padding-block: clamp(50px, 7vw, 96px);
  background:
    radial-gradient(
      circle at 88% 9%,
      rgb(29 95 167 / 8%),
      transparent 25rem
    ),
    linear-gradient(
      180deg,
      #f5f9fd 0,
      #fbfdff 360px,
      #fff 100%
    );
}

.advertising-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 35px;
  color: #587087;
  font-size: .83rem;
  font-weight: 720;
  text-decoration: none;
  transition: color 150ms ease;
}

.advertising-back-link:hover {
  color: var(--dd-primary);
}


/* =========================================================
   PAYMENT HEADER
   ========================================================= */

.advertising-payment-heading {
  max-width: 860px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.advertising-payment-heading h1 {
  max-width: 790px;
  margin: 18px 0 21px;
  color: var(--dd-navy);
  font-size: clamp(2.55rem, 5.4vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: .98;
}

.advertising-payment-heading > p:last-child {
  max-width: 57ch;
  margin: 0;
  color: #60778b;
  font-size: 1.02rem;
  line-height: 1.72;
}


/* =========================================================
   PAYMENT LAYOUT
   ========================================================= */

.advertising-payment-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.22fr)
    minmax(330px, .78fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}


/* =========================================================
   PAYMENT CARDS
   ========================================================= */

.advertising-payment-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid #dce7f0;
  border-radius: 24px;
  background: rgb(255 255 255 / 94%);
  box-shadow:
    0 2px 4px rgb(16 42 67 / 2%),
    0 20px 54px rgb(16 42 67 / 8%);
}

.advertising-payment-card > .section-kicker {
  color: var(--dd-primary);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.advertising-payment-card h2 {
  margin: 10px 0 0;
  color: var(--dd-navy);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -.04em;
}

.advertising-payment-card:first-child::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      #9bc9ec,
      #e0f0fb
    );
}


/* =========================================================
   PAYMENT SELECTED PLAN FEATURES
   ========================================================= */

.advertising-payment-card:first-child ul {
  margin-top: 34px;
}

.advertising-payment-card:first-child li {
  padding-block: 5px;
}


/* =========================================================
   ORDER SUMMARY
   ========================================================= */

.advertising-order-summary {
  position: sticky;
  top: 94px;
  border-color: rgb(29 95 167 / 27%);
  background:
    radial-gradient(
      circle at 100% 0,
      rgb(65 147 211 / 10%),
      transparent 14rem
    ),
    #fff;
}

.advertising-order-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      var(--dd-primary),
      #64abe0
    );
}

.advertising-order-summary dl {
  margin: 28px 0 30px;
}

.advertising-order-summary dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid #e4ebf1;
}

.advertising-order-summary dt {
  margin: 0;
  color: #73879a;
  font-size: .78rem;
  font-weight: 600;
}

.advertising-order-summary dd {
  margin: 0;
  color: var(--dd-navy);
  font-size: .9rem;
  font-weight: 750;
  text-align: right;
}


/* =========================================================
   PAYMENT TOTAL
   ========================================================= */

.advertising-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 28px;
  padding: 23px 0 4px;
}

.advertising-total span {
  color: #63798d;
  font-size: .85rem;
  font-weight: 650;
}

.advertising-total strong {
  color: var(--dd-primary);
  font-size: clamp(2.15rem, 3.3vw, 2.85rem);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: 1;
}


/* =========================================================
   PAYMENT BUTTON
   ========================================================= */

.advertising-order-summary button {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding-inline: 20px;
  border: 1px solid #cad7e2;
  border-radius: 13px;
  background:
    linear-gradient(
      180deg,
      #e8eef3,
      #dde7ee
    );
  color: #617486;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%);
  font-size: .86rem;
  font-weight: 800;
  cursor: not-allowed;
}

.advertising-payment-notice {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #e3ebf2;
  border-radius: 11px;
  background: #f7fafc;
  color: #718598;
  font-size: .79rem;
  line-height: 1.55;
  text-align: center;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

  .advertising-plan-grid,
  .advertising-payment-layout {
    grid-template-columns: 1fr;
  }

  .advertising-plan-card {
    min-height: auto;
  }

  .advertising-order-summary {
    position: static;
  }

  .advertising-home-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .advertising-home-cta .primary-action {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .advertising-hero {
    padding-block: 62px 70px;
  }

  .advertising-hero::after {
    display: none;
  }

  .advertising-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  .advertising-section-heading h2 {
    font-size: 2rem;
  }

  .advertising-plan-card {
    min-height: auto;
    padding: 28px 23px;
    border-radius: 20px;
  }

  .advertising-plan-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .advertising-plan-card--featured
    .advertising-plan-head {
    padding-right: 0;
    padding-top: 38px;
  }

  .advertising-plan-card--featured::after {
    top: 22px;
    right: 22px;
  }

  .advertising-plan-head strong {
    font-size: 2.25rem;
  }

  .advertising-home-cta {
    padding-block: 62px;
  }

  .advertising-home-cta h2 {
    font-size: 2.25rem;
  }

  .advertising-payment-shell {
    padding-block: 38px 70px;
  }

  .advertising-payment-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .advertising-payment-card {
    padding: 27px 22px;
    border-radius: 20px;
  }

  .advertising-order-summary dl > div {
    align-items: flex-start;
  }

  .advertising-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

  .advertising-plan-card,
  .advertising-home-cta .primary-action,
  .advertising-back-link {
    transition: none;
  }

  .advertising-plan-card:hover,
  .advertising-home-cta .primary-action:hover {
    transform: none;
  }
}