.cl-pricing-container { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 15px; align-items: stretch; }

.cl-card.highlight { 
    background: linear-gradient(145deg, rgba(220, 53, 69, 0.12) 0%, rgba(20, 20, 22, 0.9) 100%);
    border: 1px solid rgba(220, 53, 69, 0.4); 
    transform: scale(1.04); 
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); 
    z-index: 10;
    padding-top: 62px;
}

.cl-card.highlight::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--main-red), transparent);
    opacity: 0.8;
}

.cl-card.highlight:hover {
    transform: scale(1.04); /* Sadece sabit büyüklüğünü korur, translateY kaldırıldı */
    border-color: rgba(220, 53, 69, 0.8);
    box-shadow: 0 15px 50px rgba(220, 53, 69, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cl-plan { font-size: var(--cl-font-caption); color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1.5px; }

.cl-price { 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    margin-bottom: 25px; 
}

.cl-currency {
    font-size: 1.4rem; 
    font-weight: 500; 
    color: #a1a1aa;
    margin-top: 8px; 
    margin-right: 4px;
    line-height: 1;
}

.price-value {
    font-size: 4rem; 
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px; 
    line-height: 1; 
}

.price-period { 
    font-size: max(1rem, var(--cl-font-card-description)); 
    font-weight: 500;
    color: #71717a; 
    align-self: flex-end; 
    margin-bottom: 8px;
    margin-left: 4px;
    line-height: 1;
}

.cl-price.custom-text {
    align-items: center;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.cl-list { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; flex-grow: 1; }

.cl-list li { margin-bottom: 12px; color: #d4d4d8; font-size: var(--cl-font-card-description); display: flex; align-items: flex-start; }

.cl-list li::before { 
    content: "✓"; 
    color: var(--main-red); 
    margin-right: 12px; 
    font-weight: 900; 
    margin-top: 1px;
    text-shadow: 0 0 8px rgba(220, 53, 69, 0.4); 
}

.cl-pricing-tabs {
    display: inline-flex;
    background: #121214 !important; /* Çok koyu, net bir zemin. Butonları ayırır. */
    border-radius: 999px !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8) !important; /* İçeri gömük hissini vurgular */
    align-items: center;
}

.cl-tab-btn {
    background: transparent !important; /* ÖNEMLİ: Aktif olmayan butonun kırmızı olmasını engeller */
    border: none !important;
    color: #a1a1aa !important; /* Soluk gri metin */
    padding: 12px 32px !important; 
    border-radius: 999px !important;
    font-size: var(--cl-font-button);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    outline: none;
}

.cl-tab-btn.active {
    background: var(--main-red) !important; 
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4) !important; 
}

.cl-tab-btn:not(.active):hover {
    color: #fff !important;
}

.cl-discount-badge {
    background-color: rgba(74, 222, 128, 0.1) !important; 
    color: #4ade80 !important; /* Neon Yeşil */
    font-size: var(--cl-font-status);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid rgba(74, 222, 128, 0.2) !important;
    transition: all 0.3s ease;
}

.cl-tab-btn.active .cl-discount-badge {
    background-color: #fff !important;
    color: var(--main-red) !important;
    border-color: #fff !important;
}

.cl-plan-title { font-size: 1.5rem; font-weight: 700; margin-top: 0; margin-bottom: 10px; }

@media (max-width: 1024px) {
    .cl-pricing-container { justify-content: center; }
}

@media (max-width: 768px) {
    .cl-card.highlight { transform: none !important; z-index: 1;}
}

.cl-price.custom-text {
    color: #ffffff !important;
    opacity: 0.92;
}

.cl-popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.16);
    border: 1px solid rgba(220, 53, 69, 0.38);
    color: var(--main-red);
    font-size: var(--cl-font-micro);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.free-badge {
    background: rgba(40, 167, 69, 0.15);
    color: #4ade80 !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: var(--cl-font-status) !important;
    border: 1px solid rgba(40, 167, 69, 0.25);
}

/* Pricing credit explanation styles restored from old active CSS coverage for public home and billing. */

.cl-pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

/* Shared Pricing heading — Home + Billing */
.cl-pricing-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 42px;
    text-align: center;
}

.cl-pricing-heading .cl-section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(220, 53, 69, 0.24);
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.08);
    color: var(--main-red);
    font-size: var(--cl-font-micro);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.cl-pricing-heading h2 {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 16px !important;
    color: #ffffff;
    font-size: clamp(2rem, 2.55vw, 3rem) !important;
    font-weight: 800;
    line-height: 1.12 !important;
    letter-spacing: -0.045em !important;
    text-align: center;
    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.cl-pricing-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    text-align: center;
}

@media (min-width: 1200px) {
    .cl-pricing-heading h2 {
        white-space: nowrap;
    }
}

@media (max-width: 1199px) {
    .cl-pricing-heading h2 {
        white-space: normal;
    }
}

/* ==========================================================================
   HOW CREDITS WORK (MICRO-GRID)
   ========================================================================== */
.cl-credit-explanation-wrapper {
    width: min(100%, var(--cl-action-credits-max));
    max-width: none;
    margin: 40px auto 5px auto; /* 40px'i 15px yaptık */
    padding: 0;
    box-sizing: border-box;
}

.cl-credit-explanation-inner {
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.4), rgba(15, 15, 18, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px 32px;
}

.cl-credit-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ffffff;
}

.cl-credit-icon {
    color: var(--main-red);
}

.cl-credit-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cl-credit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.cl-credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.cl-credit-item:nth-last-child(-n+2) {
    border-bottom: none; /* Son iki elemanın alt çizgisini kaldırır */
}

.cl-credit-tool {
    color: var(--text-muted);
    font-size: var(--cl-font-card-description);
    font-weight: 500;
}

.cl-credit-cost {
    color: #ffffff;
    font-size: var(--cl-font-card-description);
    font-weight: 700;
}

.cl-credit-cost small {
    color: #64748b;
    font-size: var(--cl-font-helper);
    font-weight: 400;
}

/* Billing Action Credits uses the same 1120px row geometry as the public component. */
.cl-credit-explanation-wrapper .cl-credit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.cl-credit-explanation-wrapper .cl-credit-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    min-width: 0;
    padding: 12px 14px;
}

.cl-credit-explanation-wrapper .cl-credit-tool {
    min-width: 0;
    white-space: nowrap;
}

.cl-credit-explanation-wrapper .cl-credit-cost {
    justify-self: end;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

/* CRM için özel vurgu */
.cl-credit-item.highlight-free .cl-credit-tool {
    color: #ffffff;
    font-weight: 600;
}


/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .cl-credit-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .cl-credit-item {
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    }
    .cl-credit-item:nth-last-child(2) {
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08); /* Mobilde tek kolon olunca sondan bir öncekinin çizgisi kalsın */
    }
}

.cl-credit-grid > .cl-credit-item.cl-credit-item-full {
  grid-column: 1 / -1 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  gap: 14px;

  padding-top: 16px;
  margin-top: 4px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none !important;

  text-align: center;
}

.cl-credit-grid > .cl-credit-item.cl-credit-item-full .cl-credit-tool {
  color: #ffffff;
  font-weight: 800;
}

.cl-credit-grid > .cl-credit-item.cl-credit-item-full .cl-credit-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  padding: 4px 10px;

  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.35);

  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;

  font-size: var(--cl-font-status);
  font-weight: 800;
  line-height: 1;
}

.cl-credit-grid > .cl-credit-item.cl-credit-item-full .cl-credit-free small {
  color: rgba(134, 239, 172, 0.85);
  font-size: var(--cl-font-micro);
  font-weight: 600;
}


@media (max-width: 768px) {
  .cl-credit-grid > .cl-credit-item.cl-credit-item-full {
    grid-column: 1 / -1 !important;
    justify-content: space-between !important;
    text-align: left;

    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none !important;
  }
}

@media (max-width: 768px) {
  .cl-credit-explanation-wrapper .cl-credit-item:not(.cl-credit-item-full) {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .cl-credit-explanation-wrapper .cl-credit-tool {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .cl-credit-explanation-wrapper .cl-credit-item:not(.cl-credit-item-full) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 5px;
  }

  .cl-credit-explanation-wrapper .cl-credit-item:not(.cl-credit-item-full) .cl-credit-cost {
    justify-self: start;
    text-align: left;
  }
}



/* Shared Pricing description size — desktop */
@media (min-width: 1200px) {
    .cl-pricing-heading p {
        font-size: 23px !important;
        line-height: 1.65;
    }
}