
  html, body {
    font-family: 'Noto Sans Hebrew', sans-serif;
    overflow-x: hidden;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  body {
    font-family: 'Rubik', Arial, sans-serif;
    background-color: #ffffff; /* Fallback color */
    /* Soft gradient background */
    background-image: radial-gradient(circle at 10% 20%, rgba(120, 87, 255, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 85% 90%, rgba(5, 178, 255, 0.1) 0%, transparent 40%);
    direction: rtl;
    padding: 20px;
    margin: 0;
    position: relative;
    min-height: 100vh;
  }
  

  /* Subtle noise layer */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/noise.svg');
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}


  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
  }

.container {
  max-width: 1080px; /* ✨ שורה זו שונתה */
  background: #fff;
  margin: auto;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}
  h1 {
    text-align: center;
    margin-bottom: 30px;
  }

  input,
  select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
  }

  button {
    background: #008cba;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
  }

  button:hover {
    background: #006f9a;
  }

  .result {
    background: #e8f4fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
  }

  .section {
    margin-bottom: 40px;
  }

  ul {
    padding: 0;
    list-style: none;
  }

  /* ✨ START: Premium Keyword List Styling */
  #keyword-list li {
    background: #ffffff;
    margin-bottom: 12px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-direction: column;
    align-items: stretch;
  }

  #keyword-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .keyword-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  
  .keyword-text-display {
    font-weight: 600;
    font-size: 1.1em;
    color: #334155;
    flex-grow: 1;
  }
  
  .keyword-stats-container {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
    color: #475569;
  }

  .keyword-status, .search-volume-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .search-volume-row {
      gap: 5px;
  }
  /* ✨ END: Premium Keyword List Styling */

  .spinner {
    margin: 0 auto;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #008cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @media (max-width: 600px) {
    .container {
      padding: 15px;
    }

    h1 {
      font-size: 20px;
    }

    input,
    select,
    button {
      font-size: 16px;
    }

    button {
      width: 100%;
      margin: 5px 0;
    }

    #chart-title {
      font-size: 16px;
    }
    .keyword-stats-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .keyword-action-icon {
        width: 36px;
        height: 36px;
    }
    .keyword-action-icon svg {
        width: 18px;
        height: 18px;
    }
  }

  #background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none !important; /* Hide old background image */
  }

  #auth-section, #plans-section, .logo-container-premium {
    position: relative;
    z-index: 2;
  }

.small-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.rank-arrow {
  display: inline-block;
  margin-left: 5px;
  font-size: 1.1em;
  vertical-align: middle;
}

.arrow-up {
  color: #28a745;
}

.arrow-down {
  color: #dc3545;
}

.arrow-no-change {
  color: #6c757d;
}
.selected-keyword {
  background-color: #e0f2fe !important;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15) !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}

#last-check-time {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.1em;
  color: #2c3e50;
  background-color: #eaf6ff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
}

#last-check-time .fa-clock {
  color: #008cba;
  font-size: 1.2em;
}

.chart-container {
  position: relative;
  width: 100%;
  min-height: 250px;
  overflow-x: auto;
}

.domain-controls-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.domain-controls-row select {
  margin-bottom: 0;
  flex-grow: 1;
  width: auto;
}

.domain-controls-row button {
  margin: 0;
}
h1, h2, h3, h4, h5, h6, button {
  font-family: 'Rubik', Arial, sans-serif;
}

.add-domain-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
}
.add-domain-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  transform: translateY(-2px);
}
.add-domain-btn i {
  font-size: 18px;
}

.delete-domain-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc3545, #b02a37);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
}
.delete-domain-btn:hover {
  background: linear-gradient(135deg, #b02a37, #8e222d);
  transform: translateY(-2px);
}
.delete-domain-btn i {
  font-size: 18px;
}

.usage-status-box-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.usage-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffc107, #ffa000);
  color: #333;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.usage-status-btn:hover {
  background: linear-gradient(135deg, #ffa000, #ff8f00);
  transform: translateY(-2px);
}
.usage-status-btn i {
  font-size: 18px;
  color: #333;
}

.upgrade-plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.upgrade-plan-btn:hover {
  background: linear-gradient(135deg, #d35400, #c0392b);
  transform: translateY(-2px);
}


/* START: Premium Backlinks Table CSS */
.premium-swal-table {
  min-width: 600px;
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.premium-swal-table td {
  padding: 14px 10px;
  border: 1px solid #e0e4ea;
  text-align: right;
  font-size: 1em;
  white-space: nowrap;      /* ודא שורה זו מונעת מעבר שורה */
  overflow: hidden;         /* הוסף שורה זו כדי להסתיר את הטקסט העודף */
  text-overflow: ellipsis;  /* הוסף שורה זו כדי להוסיף "..." */
  max-width: 250px;         /* הוסף שורה זו כדי להגביל את רוחב התא. שנה את הערך לפי הצורך */
}.premium-swal-table th {
  background: linear-gradient(90deg, #008cba 70%, #a76bff 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.05em;
}
.premium-swal-table tr:nth-child(even) {
  background: #f8fafd;
}
.premium-swal-table tr:hover {
  background-color: #e8f4fd;
}
.premium-swal-table a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}
.premium-swal-table a:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
  .table-responsive .premium-swal-table thead {
    display: none;
  }
  .table-responsive .premium-swal-table, 
  .table-responsive .premium-swal-table tbody, 
  .table-responsive .premium-swal-table tr, 
  .table-responsive .premium-swal-table td {
    display: block;
    width: 100%;
  }
  .table-responsive .premium-swal-table tr {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
    padding: 6px;
    border: 1px solid #e0e4ea;
  }
  .table-responsive .premium-swal-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .table-responsive .premium-swal-table td:last-child {
      border-bottom: none;
  }
  .table-responsive .premium-swal-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #555;
  }
}
/* END: Premium Backlinks Table CSS */


.swal2-html-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1em;
}

.show-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.show-table-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  transform: translateY(-2px);
}
.show-table-btn i {
  font-size: 18px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.check-ranks-btn.locked {
    background: linear-gradient(135deg, #b0b0b0, #8c8c8c);
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.check-ranks-btn.locked:hover {
    background: linear-gradient(135deg, #8c8c8c, #7a7a7a);
    transform: none;
}

.lock-icon {
    margin-right: 8px;
    color: #ffd700;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    max-height: 85vh;
    overflow-y: auto;
}

.swal2-transparent-popup {
    background: transparent !important;
}
#floating-ai-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: linear-gradient(135deg, #f4eaff, #c7d2fe);
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  outline: none;
  padding: 0;
}

#floating-ai-chat-btn:hover {
  background: linear-gradient(135deg, #c7d2fe, #8a2be2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

#floating-ai-chat-btn img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
#floating-ai-chat-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 12px;
}

#floating-ai-chat-btn {
  background: linear-gradient(135deg, #f4eaff, #c7d2fe);
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  outline: none;
  padding: 0;
}

#floating-ai-chat-btn:hover {
  background: linear-gradient(135deg, #c7d2fe, #8a2be2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

#floating-ai-chat-btn img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Bubble Style */
#ai-chat-bubble {
  background: #fff;
  color: #444;
  border-radius: 18px 18px 0 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 12px 22px;
  margin-bottom: 6px;
  font-size: 1.05em;
  font-family: 'Rubik', Arial, sans-serif;
  direction: rtl;
  white-space: nowrap;
  animation: pop-in 0.7s;
  border: 1.5px solid #e0e7ff;
  position: relative;
}
#ai-chat-bubble::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: 12px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 16px solid #fff;
  filter: drop-shadow(1px 0 2px #e0e7ff);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.8) translateY(20px);}
  to   { opacity: 1; transform: scale(1) translateY(0);}
}

/* אופציונלי – הסתרה אוטומטית של הבאלון אחרי 10 שניות */
#ai-chat-bubble.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

#ai-chatbox-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  max-height: 600px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Heebo', sans-serif;
  border: 1px solid #ddd;
  z-index: 9999;
}
@keyframes popin {
  from { opacity:0; transform: translateY(40px) scale(0.92);}
  to { opacity:1; transform: translateY(0) scale(1);}
}

#ai-chatbox-header {
  background: linear-gradient(90deg, #7857ff, #6a45d7);
  color: white;
  padding: 14px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}
#ai-chatbox-header img {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#ai-chatbox-header img,
#ai-chatbox-header video {
  height: 52px;
  border-radius: 50%;
  margin-left: 8px;
}

#ai-chatbox-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
  margin-right: auto;
}

#ai-chatbox-messages {
  flex: 1;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9f9;
  direction: rtl;
  font-size: 14px;
  line-height: 1.5;
}

.ai-msg {
  background: #e7eafe;
  color: #333;
  border-radius: 16px 16px 0 16px;
  padding: 10px 16px;
  margin: 6px 0 6px 44px;
  text-align: right;
  width: fit-content;
  max-width: 80%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-size: 1em;
  animation: popin 0.13s;
}

.user-msg {
  background: #dff5e8;
  color: #222;
  border-radius: 16px 16px 16px 0;
  padding: 10px 16px;
  margin: 6px 44px 6px 0;
  text-align: right;
  width: fit-content;
  max-width: 80%;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-size: 1em;
  animation: popin 0.13s;
}

#ai-chatbox-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  max-height: 600px;
  height: 500px; /* ✅ שורה חדשה – שולטת על גובה החלון */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Heebo', sans-serif;
  border: 1px solid #ddd;
  z-index: 9999;
}

#ai-chatbox-header {
  background: linear-gradient(90deg, #7857ff, #6a45d7);
  color: white;
  padding: 14px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}

#ai-chatbox-header img,
#ai-chatbox-header video {
  height: 52px;
  border-radius: 50%;
  margin-left: 8px;
}

#ai-chatbox-messages {
  flex: 1;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9f9;
  direction: rtl;
  font-size: 14px;
  line-height: 1.6;
}

#ai-chatbox-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid #eee;
  background: #fff;
}

#ai-chatbox-input {
  flex: 1 1 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

#ai-chatbox-input-row button {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: bold;
  background-color: #7857ff;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#ai-chatbox-input-row button:hover {
  background-color: #633fc9;
}

.premium-gold-btn {
  background: linear-gradient(90deg, #ffd700 0%, #ffc700 40%, #bfa042 100%);
  color: #332200;
  font-weight: bold;
  font-size: 20px;
  padding: 14px 40px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 4px 24px #ffecb566, 0 2px 0 #bfa042;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.12s, box-shadow 0.2s;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 8px #fff9d7bb, 0 0 0 #fff;
  outline: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  direction: rtl; /* כי הכפתור בעברית */
}
.premium-gold-btn i {
  margin-left: 10px;
  color: #a8881e;
  filter: drop-shadow(0 2px 2px #fff7d2bb);
  font-size: 23px;
}
.premium-gold-btn .shine {
  position: absolute;
  top: 0; left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0.0) 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 2;
}
.premium-gold-btn:hover .shine {
  animation: shine-move 1s linear forwards;
}
@keyframes shine-move {
  from { left: -70%; }
  to { left: 120%; }
}
@media (max-width: 600px) {
  .premium-gold-btn {
    font-size: 17px;
    padding: 10px 15px;
    min-width: 120px;
  }
  .premium-gold-btn i {
    font-size: 19px;
    margin-left: 7px;
  }
  .premium-gold-btn .gold-btn-bot {
    height: 1em;
    margin-left: 4px;
    margin-bottom: -2px;
  }
}
.gold-btn-bot {
  height: 67px;
  width: auto;
  margin-left: 12px;   /* ! שים לב – margin-left, לא right */
  vertical-align: middle;
}

/* ================================================================
   START: CSS FOR THE NEW FUTURISTIC BUTTON
   ================================================================ */

:root {
    /* Palette */
    --gold-main: #FFD700;
    --gold-mid: #FFC700;
    --gold-dark: #BFA042;
    --platinum-light: #F6F8FA;
    --platinum-dark: #EEE;
    --shadow-color: #8C7005;
    --body-bg: #E4E9F2;
    --text-color: #44380B;
    --focus-outline-color: #FFA500;

    /* Sizing & Spacing */
    --button-height: 75px;
    --button-padding: 0 40px;
    --icon-size: 65px;
    --icon-spacing: 20px;
    --border-radius: 99px;
    --font-size: 26px;
    --letter-spacing: 1.5px;

    /* Animation Timings */
    --transition-main: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.2s ease;
}

.futuristic-cta-button {
    /* Layout & Sizing */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    height: var(--button-height);
    padding: var(--button-padding);
    border-radius: var(--border-radius);
    text-decoration: none;
    
    /* The Glassmorphism Effect */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    
    /* Multilayered Shadow for Depth */
    box-shadow: 
        /* Deep drop shadow */
        10px 10px 30px rgba(0, 0, 0, 0.15),
        /* Inner shadow for 3D effect */
        inset 1px 1px 1px var(--platinum-light),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);

    /* Animations & Interactivity */
    transform: scale(1);
    transition: transform var(--transition-main), box-shadow var(--transition-main);
    overflow: hidden; /* Crucial for shine and border effects */
    z-index: 1;
    font-family: 'Heebo', sans-serif; /* Use the new font */
    border: none; /* remove default button border */
}

/* Pulsing Glow Border */
.futuristic-cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius);
    padding: 2px; /* Thickness of the glow */
    background: linear-gradient(45deg, var(--gold-main), var(--platinum-light), var(--gold-mid));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.7;
    transition: opacity var(--transition-main);
}

/* Shimmer/Shine Animation Layer */
.futuristic-cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 1s ease-in-out;
    z-index: 1;
}

/* Shared style for both icon containers */
.btn-icon-container {
    position: relative;
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    
    /* Glassy effect for the icon circles */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3), 0 2px 5px rgba(0,0,0,0.1);
    
    transition: transform var(--transition-main);
}

/* The icons themselves (Robot and Google Logo) */
.btn-icon-container img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.5s ease-out; /* Add transition for smooth stop */
}

/* Specific style for the smaller Google icon */
.google-icon-container img {
    width: 60%;
    height: 60%;
}


/* The main button text */
.btn-text {
    /* Gradient Text Effect */
    background: linear-gradient(180deg, var(--gold-main), var(--shadow-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

    /* Font and Spacing */
    font-size: var(--font-size);
    font-weight: 900;
    letter-spacing: var(--letter-spacing);
    
    /* Readability Shadow */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* Hover State: The button floats up and effects intensify */
.futuristic-cta-button:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 
        20px 20px 40px rgba(0, 0, 0, 0.2),
        inset 1px 1px 1px var(--platinum-light),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); /* Brighter on hover */
}

/* Triggering the shine animation */
.futuristic-cta-button:hover::after {
    left: 150%;
}

/* Making the glow border pulse on hover */
.futuristic-cta-button:hover::before {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Scaling up the icons on hover for a dynamic feel */
.futuristic-cta-button:hover .btn-icon-container {
    transform: scale(1.1);
}

/* Active/Click State: Simulates pressing the button down */
.futuristic-cta-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.15),
        inset 1px 1px 3px rgba(0,0,0,0.2);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Accessibility: Strong visible focus outline */
.futuristic-cta-button:focus-visible {
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 5px;
}

/* Animation for the pulsing glow border on hover */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

/* Animation for the spinning Google icon */
@keyframes spin-icon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.google-icon-container.is-checking img {
  animation: spin-icon 1.2s linear infinite;
}


/* Disables animations if the user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .futuristic-cta-button,
    .futuristic-cta-button::before,
    .futuristic-cta-button::after,
    .btn-icon-container {
        transition: none;
        animation: none;
    }
    .futuristic-cta-button:hover {
         transform: none;
    }
    .futuristic-cta-button:active {
         transform: scale(0.98);
    }
}

/* Mobile Responsiveness: Scales the button down gracefully */
@media (max-width: 600px) {
    .futuristic-cta-button {
      --button-height: 60px;
      --button-padding: 0 20px;
      --icon-size: 45px;
      --font-size: 18px;
      --letter-spacing: 1px;
      gap: 10px;
    }
}

/* ================================================================
   END: CSS FOR THE NEW FUTURISTIC BUTTON
   ================================================================ */

/* ================================================================
   START: CSS FOR THE NEW PREMIUM TITLE
   ================================================================ */
.premium-title {
    font-family: 'Heebo', sans-serif;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    padding: 10px;
}
.premium-title .main {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.premium-title .sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #7f8c8d;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.premium-title .ai-highlight {
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, #a76bff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 600px) {
    .premium-title .main {
        font-size: 1.8rem;
    }
    .premium-title .sub {
        font-size: 0.9rem;
    }
}
/* ================================================================
   END: CSS FOR THE NEW PREMIUM TITLE
   ================================================================ */

/* ================================================================
   START: CSS FOR THE NEW CHART CONTROLS SECTION
   ================================================================ */
.premium-chart-controls {
    background: linear-gradient(145deg, #f9faff, #e8f0ff);
    border-radius: 22px;
    padding: 25px 30px;
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    text-align: center;
    max-width: 1080px;
    margin: 40px auto;
    animation: fadeIn 0.8s ease-out;

    display: flex;
    align-items: center;
    justify-content: center; /* ✅ ודא שהערך הוא center */
    flex-wrap: wrap;
    gap: 15px;
}

.premium-chart-controls button {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 150px; /* ✅ שינוי: מינימום רוחב לכל כפתור */
}

.premium-chart-controls .date-controls-wrapper {
    flex-grow: 2; /* ✅ שינוי: נותן לקונטיינר של התאריכים יותר מקום */
    flex-basis: 100%; /* ✅ שינוי: גורם לו לרדת שורה */
    justify-content: center;
}

#averageRankChartToggle.premium-action-btn {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0); /* רקע כסף אחיד */
    color: #333 !important; /* צבע טקסט כהה לקריאות טובה */
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 16px;
    border: none;
    box-shadow: 
        0 10px 20px -5px rgba(0, 0, 0, 0.1), 
        0 4px 8px rgba(0,0,0,0.1),               
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    text-shadow: none;
}

averageRankChartToggle.premium-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 14px 28px -5px rgba(0, 0, 0, 0.2), 
        0 8px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #dcdcdc, #c0c0c0);
}


#averageRankChartToggle.premium-action-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
}

#averageRankChartToggle.premium-action-btn .icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    color: #333 !important; /* צבע כהה לאייקון */
}

#averageRankChartToggle.premium-action-btn .shine-effect {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

#averageRankChartToggle.premium-action-btn:hover .shine-effect {
    left: 150%;
}


.date-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-input-wrapper label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6c7a89;
    margin-bottom: 8px;
}

.date-input-field {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.date-input-field .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #34495e;
    font-size: 16px;
    pointer-events: none;
}

.date-input-field input[type="date"] {
    background: transparent;
    border: none;
    padding: 10px 15px 10px 40px;
    border-radius: 12px;
    color: #2c3e50;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    outline: none;
    width: 170px;
}
/* ================================================================
   END: CSS FOR THE NEW CHART CONTROLS SECTION
   ================================================================ */

/* ================================================================
   START: CSS FOR THE NEW PREMIUM LOGIN/WELCOME SECTION
   ================================================================ */
.logo-container-premium {
  text-align: center;
  padding: 36px 0 8px 0;
  background: none;
}
.premium-logo {
  max-width: 310px;
  height: auto;
  filter: drop-shadow(0 10px 28px #b2a3ff66) drop-shadow(0 2px 0 #fff);
  border-radius: 18px;
  transition: transform 0.23s cubic-bezier(.37,1.19,.44,.95);
}
.premium-logo:hover {
  transform: scale(1.05) rotate(-1.2deg);
}
.google-signin-premium {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: right;

  /* עיצוב קיים – לא נגעתי */
  background: linear-gradient(90deg, #fff, #ecebff 60%, #a76bff 120%);
  color: #111;
  font-size: 22px;
  font-weight: 700;
  border-radius: 14px;
  padding: 16px 38px;
  border: 0;
  box-shadow: 0 4px 24px #a58cff44, 0 2px 0 #fff;
  margin: 15px 0 0 0;
  transition: background 0.16s, box-shadow 0.14s, transform 0.13s;
  letter-spacing: 0.7px;
}

.google-signin-premium:hover {
  background: linear-gradient(90deg, #ecebff, #a76bff 60%, #fff 120%);
  color: #222;
  transform: scale(1.04);
  box-shadow: 0 8px 36px #a76bff66, 0 2px 0 #fff;
}
.container-premium {
  background: linear-gradient(145deg, #f6f8ff 70%, #efe4ff 100%);
  border-radius: 30px;
  padding: 40px 20px 32px 20px;
  box-shadow: 0 8px 44px #a76bff33, 0 2px 0 #fff;
  margin: auto;
  max-width: 800px;
  text-align: center;
}
.hero-title-premium {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  color: #4a2ea4;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #7857ff 30%, #05b2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 28px #b2a3ff88, 0 2px 0 #fff;
}
.hero-title-premium span {
  /* This part of the original CSS was likely for a specific effect,
     but we'll keep it as requested */
  color: #00b1ff;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}
.welcome-vid-premium {
  max-width: 300px;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 8px 38px #a76bff66, 0 2px 0 #fff;
  margin: 18px auto 28px auto;
  display: block;
  background: transparent;
}
.welcome-box-premium {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 38px 16px 20px 16px;
  background: linear-gradient(145deg, #fff 60%, #f2f4f8 100%);
  border-radius: 20px;
  box-shadow: 0 8px 24px #b2a3ff0f, 0 2px 0 #fff;
  animation: fadeIn 1.5s ease-in-out;
}
.welcome-box-premium h2 {
  font-size: 26px;
  font-weight: 800;
  color: #7857ff;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px #a76bff44, 0 2px 0 #fff;
}
.welcome-box-premium p {
  font-size: 18px;
  color: #444;
  font-weight: 500;
  line-height: 1.68;
}
/* ================================================================
   END: CSS FOR THE NEW PREMIUM LOGIN/WELCOME SECTION
   ================================================================ */

/* ================================================================
   START: CSS FOR NEW PREMIUM DOMAIN/KEYWORD INPUTS
   ================================================================ */

@media (max-width: 600px) {
  .domain-label-premium {
    white-space: nowrap; /* מונע מהמלל לרדת שורה */
    overflow: hidden; /* מסתיר את המלל שיוצא מהמסך */
    text-overflow: ellipsis; /* מוסיף 3 נקודות (...) למלל חתוך */
  }
}

   .domain-label-premium {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ✅ שינוי: יישור לימין (בגלל direction: rtl) */
  gap: 8px; /* ✅ חדש: הוספת רווח בין הטקסט ללחצן */
  font-family: 'Heebo', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #7857ff 40%, #05b2ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 8px #a76bff44;
}
.domain-select-premium {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #fff, #f4eaff 60%, #e9e9ff 100%);
  box-shadow: 0 4px 24px #a76bff19;
  border-radius: 16px;
  padding: 10px 18px; /* Adjusted padding */
  margin-bottom: 25px;
  position: relative;
}

.domain-select-premium .icon {
  font-size: 1.3em;
  color: #ffa857;
  margin-left: 12px;
}

.domain-select-premium select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.13em;
  font-family: 'Heebo', 'Rubik', Arial, sans-serif;
  color: #2c3e50;
  padding: 9px 14px 9px 35px; /* Added padding for arrow */
  border-radius: 12px;
  flex: 1 1 0%;
  box-shadow: 0 2px 9px #a76bff22;
  transition: box-shadow .19s, border .18s;
  cursor: pointer;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%237857ff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: left 8px center;
  background-size: 24px 24px;
}

.domain-select-premium select:focus {
  box-shadow: 0 2px 14px #05b2ff38;
  border: 1.7px solid #7857ff;
}

.domain-select-premium select option {
  color: #4a2ea4;
  font-size: 1em;
  background: #fff;
  padding: 7px 14px;
}

.premium-input-container {
    display: flex;
    align-items: center;
    background: #fdfdff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 8px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.2s ease-in-out;
}

.premium-input-container:focus-within {
    border-color: #7857ff;
    box-shadow: 0 4px 18px rgba(120, 87, 255, 0.25);
}

.premium-input-container .icon {
    color: #a76bff;
    font-size: 1.2em;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.premium-input-container:focus-within .icon {
    color: #7857ff;
}

.premium-input-container input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 10px 5px;
    margin-bottom: 0;
    font-family: 'Heebo', sans-serif;
    font-size: 1.1em;
    color: #333;
}
/* ================================================================
   END: CSS FOR NEW PREMIUM DOMAIN/KEYWORD INPUTS
   ================================================================ */

/* START: CSS FOR NEW PREMIUM DOMAIN DISPLAY */
.selected-domain-premium-box {
  background: linear-gradient(100deg, #f7eaff 0%, #e4e9ff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 18px #b2a3ff22;
  padding: 16px 24px;
  color: #4a2ea4;
  font-size: 1.22em;
  font-weight: bold;
  letter-spacing: 0.7px;
  margin-bottom: 18px;
  margin-top: -12px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.8s;
  border: 1.5px solid #a76bff33;
}

@media (max-width: 600px) {
  .selected-domain-premium-box {
    flex-direction: row; /* ✅ שינוי: מיישר את האלמנטים בשורה */
    align-items: center; /* יישור אנכי של האלמנטים למרכז */
    flex-wrap: wrap; /* כדי לאפשר ירידת שורה במידה וצפוף מדי */
    gap: 8px;
  }
  .selected-domain-premium-box i {
    font-size: 1.2em; /* הקטנת גודל האייקון */
  }
  .selected-domain-premium-box #domain-spam-display {
    margin-top: 0;
  }
}
/* END: CSS FOR NEW PREMIUM DOMAIN DISPLAY */


/* ================================================================
   START: ULTRA PREMIUM PLANS PAGE STYLES
   ================================================================ */
#plans-section {
    background: linear-gradient(160deg, #f7f9ff 0%, #eef2ff 100%);
    padding: 50px 20px;
    border-radius: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 40px auto;
}

.plans-header {
    text-align: center;
    margin-bottom: 50px;
}

.plans-header h1 {
    font-family: 'Heebo', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, #7857ff, #05b2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.plans-header p {
    font-size: 1.15rem;
    color: #5c677d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.plan-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 36px rgba(167, 107, 255, 0.1);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.plan-card:hover {
    box-shadow: 0 16px 56px rgba(120, 87, 255, 0.25);
    transform: translateY(-10px);
}

.plan-card.popular {
    border-color: #ffd700;
    transform: scale(1.03);
}

.plan-card.popular:hover {
     transform: translateY(-10px) scale(1.08);
}


.plan-badge {
    color: #fff;
    border-radius: 50px;
    padding: 8px 18px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95em;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.plan-badge.popular-badge { background: linear-gradient(45deg, #ffc107, #ff9800); }
.plan-badge.ai-badge { background: linear-gradient(45deg, #8a2be2, #05b2ff); }


.plan-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plan-icon.free-tier { color: #28a745; }
.plan-icon.pro-tier { color: #007bff; }
.plan-icon.popular-tier { color: #ff9800; }
.plan-icon.ai-tier { color: #8a2be2; }


.plan-title {
    font-family: 'Heebo', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-top: 10px;
    margin-bottom: 5px;
}
.plan-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    min-height: 40px;
    margin-bottom: 15px;
}

.plan-price {
    font-family: 'Heebo', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #34495e, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-price .currency { font-size: 1.8rem; vertical-align: super; }
.plan-price .period { font-size: 1rem; font-weight: 500; color: #6c757d; }
.plan-price.free { color: #28a745; background: none; -webkit-text-fill-color: initial; }


.plan-features {
    text-align: right;
    margin-bottom: 25px;
    color: #454545;
    font-size: 1rem;
    padding-right: 10px;
    flex-grow: 1;
}
.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.plan-features li i {
    color: #28a745;
    font-size: 1.2em;
}

.plan-action {
    margin-top: auto;
    padding-top: 20px;
}

.plan-choose-btn {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.plan-choose-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004494);
}

.plan-choose-btn .shine {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.plan-choose-btn:hover .shine {
    left: 150%;
}

.paypal-container-wrapper {
    padding: 15px 0 5px 0;
    border-top: 1px solid #eef2ff;
    margin-top: 15px;
}

.trust-seals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    opacity: 0.7;
}
.trust-seals .seal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #5c677d;
}
.trust-seals .seal i {
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    .plan-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    #plans-section {
        padding: 30px 15px;
    }
    .plans-header h1 {
        font-size: 2.2rem;
    }
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .plan-card.popular {
        transform: scale(1.03); /* Keep it slightly bigger on mobile too */
    }
}
.domain-metrics-bar-premium {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f5f3ff, #ffffff);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  flex-wrap: wrap;
}

.metric-box-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.metric-box-premium label {
  font-weight: 600;
  font-size: 14px;
  color: #6c63ff;
  margin-bottom: 6px;
}

.metric-value-premium {
  font-size: 22px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 10px;
  background-color: #f0f0ff;
  min-width: 80px;
  text-align: center;
}

.metric-value-premium.red {
  color: #e74c3c;
  background: #ffe8e6;
}
.metric-value-premium.green {
  color: #27ae60;
  background: #eafaf1;
}
.metric-value-premium.blue {
  color: #2980b9;
  background: #e6f2ff;
}

/* ================================================================
   END: ULTRA PREMIUM PLANS PAGE STYLES
   ================================================================ */

.swal2-popup.rounded-popup {
  border-radius: 30px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* ================================================================
   START: CSS FOR CIRCULAR PROGRESS BAR
   ================================================================ */
#floating-ai-chat-btn {
    position: relative; /* חיוני למיקום ה-SVG */
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    transform: rotate(-90deg); /* מתחיל את המילוי מלמעלה */
    z-index: 10;
    display: none; /* מוסתר כברירת מחדל */
}

.progress-ring.is-active {
    display: block;
    animation: rotate-gradient 2s linear infinite;
}

@keyframes rotate-gradient {
    from { transform: rotate(-90deg) scale(1); }
    to { transform: rotate(270deg) scale(1); }
}

.progress-ring__circle-bg,
.progress-ring__circle-indicator {
    fill: transparent;
    stroke-width: 4px;
}

.progress-ring__circle-bg {
    stroke: rgba(255, 255, 255, 0.3);
}

.progress-ring__circle-indicator {
    stroke: url(#google-gradient);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease-out;
}
.domain-metrics-bar-premium {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f5f3ff, #ffffff);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  flex-wrap: wrap;
}

.metric-box-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.metric-box-premium label {
  font-weight: 600;
  font-size: 14px;
  color: #6c63ff;
  margin-bottom: 6px;
}

.metric-value-premium {
  font-size: 22px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 10px;
  background-color: #f0f0ff;
  min-width: 80px;
  text-align: center;
}

.metric-value-premium.red {
  color: #e74c3c;
  background: #ffe8e6;
}
.metric-value-premium.green {
  color: #27ae60;
  background: #eafaf1;
}
.metric-value-premium.blue {
  color: #2980b9;
  background: #e6f2ff;
}
/* ===============================================
   כיסוי הקונטיינר הראשי בשחור
   =============================================== */

#main-app .container {
  background: #ffffff !important; /* צבע שחור-כהה לרקע */
  color: #000000 !important;      /* צבע לבן לכל הטקסט הרגיל */
}

/* בנוסף, חשוב לעדכן את צבעי הכותרות
   כדי שיראו אותן על הרקע השחור.
*/
#main-app .premium-title .main,
#main-app .premium-title .sub {
  color: #000000 !important; /* צובע את הכותרות בלבן */
  text-shadow: none !important; /* מסיר צל שיכול להפריע */
  -webkit-text-fill-color: initial !important; /* מבטל צבע גרדיאנט */
}

#main-app .domain-label-premium {
  -webkit-text-fill-color: #a76bff !important; /* משנה את צבע התווית לסגול בהיר וקריא */
}
.spam-circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
}

.spam-circle-label {
  margin-top: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}

.spam-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#ff4d4f 0deg, #e0e0e0 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
}

.spam-circle-value {
  font-size: 22px;
  font-weight: bold;
  color: #ff4d4f;
  position: absolute;
}
/* --- START: Upgraded Last Check Time Display --- */
.last-check-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: #fdfdff;
    border: 1px solid #e0e7ff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(120, 87, 255, 0.1);
    width: 100%;   /* הוסף/ודא שורה זו כדי שיתפוס את כל הרוחב */
    margin-left: auto; /* הוסף שורה זו למירוכז */
    margin-right: auto; /* הוסף שורה זו למירוכז */
}
.check-time-box {
    background: linear-gradient(135deg, #f4eaff, #c7d2fe);
    color: #4a2ea4;
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    flex-grow: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1.5px solid #a76bff33;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.check-time-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(120, 87, 255, 0.15);
}

.check-time-box i {
    font-size: 1.8em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.box-content {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.box-title {
    font-size: 0.9em;
    font-weight: 600;
    opacity: 0.8;
}

.box-value {
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.relative-time-display {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 0.95em;
    color: #7857ff;
    font-weight: 500;
}

.info-placeholder {
    color: #6c7a89;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    width: 100%;
}


@media (max-width: 650px) {
    .check-time-box {
        min-width: 100%;
    }
}
/* --- END: Upgraded Last Check Time Display --- */
/* --- START: Fix for Domain Selector on Mobile --- */
@media (max-width: 600px) {
    .domain-select-premium {
        flex-direction: column; /* 1. עורם את הפריטים אנכית */
        align-items: stretch;   /* 2. גורם לפריטים למלא את כל הרוחב */
        gap: 12px;              /* 3. מוסיף רווח בין תיבת הבחירה לכפתור */
    }

    .domain-select-premium .delete-domain-btn {
        margin-right: 0; /* מאפס את המרווח הימני של הכפתור */
    }
}
/* --- END: Fix for Domain Selector on Mobile --- */
/* --- START: Upgraded Spam Score Meter --- */
.spam-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* הקונטיינר הראשי של המד העגול */
.spam-progress-ring {
    position: relative;
    width: 120px;  /* גודל משודרג */
    height: 120px;
}

/* עיצוב הטקסט של האחוזים במרכז */
.spam-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 28px;
    transition: color 0.5s ease; /* אנימציית צבע לטקסט */
}

.spam-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* גורם לאנימציה להתחיל מלמעלה */
}

/* עיצוב בסיסי לשני העיגולים (רקע ופס התקדמות) */
.spam-ring-circle {
    fill: transparent;
    stroke-width: 12; /* עובי הפס */
    /* אנימציה חלקה למילוי הפס */
    transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1);
}

/* פס הרקע האפור */
.spam-ring-bg {
    stroke: #00218d;
}

/* פס ההתקדמות הצבעוני */
.spam-ring-bar {
    stroke-linecap: round; /* קצוות מעוגלים לפס */
}

/* הגדרות צבע דינמיות לפי רמת הספאם */
.spam-score-low .spam-ring-bar { stroke: #28a745; }
.spam-score-low .spam-ring-value { color: #28a745; }

.spam-score-medium .spam-ring-bar { stroke: #ffc107; }
.spam-score-medium .spam-ring-value { color: #d9a406; }

.spam-score-high .spam-ring-bar { stroke: #dc3545; }
.spam-score-high .spam-ring-value { color: #dc3545; }

/* עיצוב הכותרת מתחת למד */
.spam-circle-label {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    margin-top: 0;
}
/* --- END: Upgraded Spam Score Meter --- */
/* --- START: Upgraded Swal Cancel Button --- */
.swal2-popup .swal2-cancel {
    /* עיצוב בסיסי */
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;

    /* רקע גרדיאנט והצללה למראה מתקדם */
    background: linear-gradient(135deg, #6c757d, #343a40);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* אנימציה חלקה למעבר עכבר */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* אפקט ריחוף (Hover) */
.swal2-popup .swal2-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

/* נראות בעת פוקוס (לנגישות) */
.swal2-popup .swal2-cancel:focus-visible {
    outline: 2px solid #a76bff;
    outline-offset: 2px;
}

.selected-domain-premium-box {
  justify-content: space-between; /* דוחף את האייקון לקצה הימני */
}

.copy-icon {
  color: #c7d2fe; /* צבע סגלגל בהיר שמתאים לרקע */
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 5px; /* מגדיל את אזור הלחיצה */
}

.copy-icon:hover {
  transform: scale(1.2); /* מגדיל מעט את האייקון במעבר עכבר */
  color: #ffffff; /* הופך את האייקון ללבן להדגשה */
}
.spam-layout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row-reverse; /* ✅ זה מכריח את מד הספאם לעבור שמאלה */
}

.spam-legend-container {
  flex: 1 1 300px;
  max-width: 500px;
  background: #f9f9ff;
  border: 1px solid #d4d9ff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(120, 87, 255, 0.06);
  font-size: 0.95em;
  color: #333;
  direction: rtl;
}

.spam-legend-container h3 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.1em;
  color: #4a4a88;
}

.spam-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spam-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.spam-legend li.low i { color: #28a745; }
.spam-legend li.medium i { color: #ffc107; }
.spam-legend li.high i { color: #dc3545; }

.spam-warning {
  margin-top: 10px;
  background: #fff8e1;
  color: #7a5700;
  border: 1px solid #ffe58f;
  padding: 10px;
  border-radius: 8px;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .spam-layout-container {
    flex-direction: column;
  }
}
.legend-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #fdfdff, #f3f0ff);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-left: 10px;
  flex-shrink: 0;
}

.icon-green i { color: #28a745; }
.icon-yellow i { color: #ffc107; }
.icon-red i { color: #dc3545; }

.spam-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spam-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  color: #333;
  font-size: 15px;
}

.spam-warning {
  margin-top: 12px;
  background: #fff8e1;
  color: #7a5700;
  border: 1px solid #ffe58f;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.6;
  font-size: 14.5px;
}
.spam-layout-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  direction: rtl; /* כדי שקונטיינר המלל יהיה בצד ימין */
}

.spam-legend-container {
  flex: 1 1 300px;
  max-width: 520px;
  background: #f9f9ff;
  border: 1px solid #d4d9ff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(120, 87, 255, 0.06);
  font-size: 0.95em;
  color: #333;
}

.spam-legend-container h3 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.1em;
  color: #4a4a88;
}

.spam-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spam-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  font-size: 15px;
}

.legend-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, #fdfdff, #f3f0ff);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-left: 10px;
  flex-shrink: 0;
}

.icon-green i { color: #28a745; }
.icon-yellow i { color: #ffc107; }
.icon-red i { color: #dc3545; }

.spam-warning {
  margin-top: 12px;
  background: #fff8e1;
  color: #7a5700;
  border: 1px solid #ffe58f;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.6;
  font-size: 14.5px;
}

/* מובייל – הצגה אנכית */
@media (max-width: 768px) {
  .spam-layout-container {
    flex-direction: column;
  }
  #domain-metrics-bar {
    order: 1;
    margin-bottom: 20px;
  }
  .spam-legend-container {
    order: 2;
  }
}
/* START: Backlinks Rating Meter Styles */
.backlinks-metrics-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    direction: rtl; /* כדי לשמור על כיווניות עברית */
}

.backlinks-meter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fefeff;
    border: 1px solid #e0e7ff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(120, 87, 255, 0.08);
    padding: 20px;
    min-width: 180px;
    flex: 1;
    max-width: 250px;
    text-align: center;
}

.backlinks-meter-label {
    font-weight: 700;
    font-size: 1.1em;
    color: #4a2ea4;
    margin-bottom: 5px;
}

.backlinks-progress-ring {
    position: relative;
    width: 100px; /* גודל המד */
    height: 100px;
}

.backlinks-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.backlinks-ring-circle {
    fill: transparent;
    stroke-width: 10; /* עובי הפס */
    transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.backlinks-ring-bg {
    stroke: #eef2ff;
}

.backlinks-ring-bar {
    stroke-linecap: round;
}

.backlinks-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 22px;
    transition: color 0.5s ease;
}

/* Color schemes for different levels */
.backlinks-level-very-low .backlinks-ring-bar { stroke: #e74c3c; } /* Red */
.backlinks-level-very-low .backlinks-ring-value { color: #e74c3c; }

.backlinks-level-low .backlinks-ring-bar { stroke: #ff9800; } /* Orange */
.backlinks-level-low .backlinks-ring-value { color: #ff9800; }

.backlinks-level-medium .backlinks-ring-bar { stroke: #ffc107; } /* Yellow */
.backlinks-level-medium .backlinks-ring-value { color: #ffc107; }

.backlinks-level-high .backlinks-ring-bar { stroke: #28a745; } /* Green */
.backlinks-level-high .backlinks-ring-value { color: #28a745; }

.backlinks-level-very-high .backlinks-ring-bar { stroke: #007bff; } /* Blue */
.backlinks-level-very-high .backlinks-ring-value { color: #007bff; }
/* END: Backlinks Rating Meter Styles */
/* --- END: Upgraded Swal Cancel Button --- */
/* --- START: Font size fix for Last Check Time on Mobile --- */

    /* פונטים - ודא שהם נטענים גם בוורדפרס, אם לא, השתמש בפונטים בטוחים */
    @import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800;900&display=swap');

    /* כללים גלובליים לקידוד עברי ואיפוס בסיסי */
.k-rank-section {
    font-family: 'Heebo', sans-serif; /* פונט ראשי לכל הסקשן */
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 1200px; /* ✅ שינוי: רוחב מקסימלי מוגדר בפיקסלים */
    box-sizing: border-box;
    overflow: hidden;
    margin: 50px auto;
    
    /* ✅ תוספת: רווחים פנימיים רספונסיביים */
    padding-left: 5%;
    padding-right: 5%;
}
    .k-rank-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .k-rank-header h1 {
        font-family: 'Heebo', sans-serif;
        font-size: 3.5rem;
        font-weight: 900;
        background: linear-gradient(90deg, #7857ff, #05b2ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 15px;
        line-height: 1.2;
        text-shadow: 0 5px 15px rgba(120, 87, 255, 0.3);
    }

    .k-rank-header p {
        font-size: 1.3rem;
        color: #5c677d;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.5;
    }

    .k-rank-features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .k-rank-feature-card {
        background: #ffffff;
        border-radius: 25px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 2px solid #e0e7ff;
        overflow: hidden;
        position: relative;
    }

    .k-rank-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 10% 10%, rgba(120, 87, 255, 0.05) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .k-rank-feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }
    .k-rank-feature-card:hover::before {
        opacity: 1;
    }

    .k-rank-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #7857ff, #05b2ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 3px 8px rgba(120, 87, 255, 0.3));
    }

    .k-rank-feature-card h3 {
        font-family: 'Heebo', sans-serif;
        font-size: 1.8rem;
        font-weight: 800;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .k-rank-feature-card p {
        font-size: 1.1rem;
        color: #666;
    }

    /* כפתור קריאה לפעולה */
    .k-rank-cta-button {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        font-family: 'Heebo', sans-serif;
        font-weight: 700;
        font-size: 1.4rem;
        color: #fff;
        background: linear-gradient(135deg, #8a2be2, #007bff);
        border: none;
        border-radius: 50px;
        padding: 18px 40px;
        margin-top: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 12px 30px rgba(120, 87, 255, 0.4);
        text-decoration: none; /* לוודא שזה כפתור-קישור נקי */
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .k-rank-cta-button:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 20px 45px rgba(120, 87, 255, 0.6);
        background: linear-gradient(135deg, #007bff, #8a2be2);
    }

    .k-rank-cta-button i {
        font-size: 1.8rem;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
    }

    .k-rank-cta-button::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 50%;
        height: 200%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        transform: skewX(-25deg);
        transition: left 0.8s ease-in-out;
        z-index: 2;
    }

    .k-rank-cta-button:hover::after {
        left: 150%;
    }

    /* רספונסיביות */
    @media (max-width: 768px) {
        .k-rank-section {
            padding: 30px 15px;
        }
        .k-rank-header h1 {
            font-size: 2.5rem;
        }
        .k-rank-header p {
            font-size: 1.1rem;
        }
        .k-rank-feature-card {
            padding: 25px;
        }
        .k-rank-icon {
            font-size: 3rem;
        }
        .k-rank-feature-card h3 {
            font-size: 1.5rem;
        }
        .k-rank-feature-card p {
            font-size: 1rem;
        }
        .k-rank-cta-button {
            font-size: 1.2rem;
            padding: 15px 30px;
        }
        .k-rank-cta-button i {
            font-size: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .k-rank-header h1 {
            font-size: 2rem;
        }
        .k-rank-cta-button {
            width: 100%;
            justify-content: center;
        }
    }
#introVideo {
  display: block;
  margin: auto;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 200px; /* זה השולט בגודל הסופי */
  height: auto;
}

@media (max-width: 767px) {
  #introVideo {
    max-width: 300px; /* במובייל נגדיל אם רוצים */
  }
}
#start-record-btn {
  background: none;
  border: none;
  font-size: 20px;
  margin-right: 6px;
  color: #5cb85c;
  cursor: pointer;
}
#start-record-btn:hover {
  color: #4cae4c;
}

/* START: Premium Logout Button */
.premium-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc3545, #b02a37); /* אדום כמו כפתור מחיקה */
  color: #fff;
  font-size: 14px; /* קטן יותר כדי להתאים ל-user-info-display */
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 12px; /* קטן יותר */
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* צל קטן יותר */
  flex-shrink: 0; /* כדי שלא יתכווץ במיקום צפוף */

  /* ✅ תוספות חדשות עבור רספונסיביות */
  white-space: nowrap; /* מונע מעבר שורה של הטקסט */
  overflow: hidden; /* מסתיר טקסט שגולש */
  text-overflow: ellipsis; /* מוסיף "..." אם הטקסט ארוך מדי */
  max-width: 150px; /* רוחב מקסימלי כללי, כדי לאפשר לו להתכווץ */
  justify-content: center; /* כדי שהאייקון והטקסט יהיו ממורכזים אם הכפתור קטן */
}
/* Media Query עבור לחצן ההתנתקות במובייל */
@media (max-width: 600px) {
  .premium-logout-btn {
    font-size: 12px; /* הקטנת הפונט */
    padding: 6px 10px; /* הקטנת הריפוד */
    gap: 5px; /* הקטנת הרווח בין האייקון לטקסט */
    max-width: 120px; /* הקטנת הרוחב המקסימלי במובייל צפוף */
  }
  .premium-logout-btn i {
    font-size: 12px; /* הקטנת גודל האייקון */
  }
}

.premium-logout-btn:hover {
  background: linear-gradient(135deg, #b02a37, #8e222d);
  transform: translateY(-1px); /* ריחוף קטן יותר */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* צל מודגש יותר בריחוף */
}
.premium-logout-btn i {
  font-size: 15px; /* אייקון קטן יותר */
}
/* END: Premium Logout Button */
.premium-logout-btn:hover {
  background: linear-gradient(135deg, #b02a37, #8e222d);
  transform: translateY(-1px); /* ריחוף קטן יותר */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* צל מודגש יותר בריחוף */
}
.premium-logout-btn i {
  font-size: 15px; /* אייקון קטן יותר */
}
/* רספונסיביות עבור מסכים קטנים מ-480px */
@media (max-width: 480px) {
    .k-rank-section {
        padding: 20px 3%; /* ✅ שינוי: הקטנת הפדינג במובייל צפוף */
        margin: 20px auto; /* ✅ שינוי: הקטנת המרווח החיצוני */
    }
    .k-rank-header h1 {
        font-size: 2rem;
    }
    .k-rank-cta-button {
        width: 100%;
        justify-content: center;
    }
    /* ✅ וודא שגם הגריד של הפיצ'רים מתאים את עצמו */
    .k-rank-features-grid {
        grid-template-columns: 1fr; /* פיצ'רים אחד מתחת לשני */
        gap: 20px;
    }
    .k-rank-feature-card {
        padding: 20px; /* הקטנת הריפוד בכרטיסים */
    }
}
/* START: AI Chatbox Header Buttons */
.ai-header-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    margin-left: 8px; /* רווח בין הכפתורים */
    transition: color 0.2s ease;
    padding: 5px; /* כדי להגדיל את אזור הלחיצה */
    border-radius: 5px;
}

.ai-header-btn:hover {
    color: #f0f0f0;
    background: rgba(255,255,255,0.1);
}

/* כפתור סגירה ספציפי - דוחף לשמאל */
#ai-chatbox-close {
    margin-right: auto; /* דוחף את הכפתור הכי ימינה */
    margin-left: 0; /* מבטל מרווח שמאלי אם קיים */
}
/* END: AI Chatbox Header Buttons */

.google-rules-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    width: 100%;
}

.rule-btn {
    font-family: 'Heebo', sans-serif;
    border: none;
    border-radius: 12px;
    padding: 12px 18px; /* שומר על הריפוד הקיים */
    display: flex;
    align-items: center; /* יישור אנכי למרכז */
    justify-content: flex-start; /* ✅ שינוי קריטי: מיישר הכל לימין (בגלל RTL) */
    gap: 10px; /* רווח בין אלמנטים ישירים בתוך הלחצן (מספר ותוכן) */
    font-weight: 700;
    font-size: 16px;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-grow: 1;
    min-width: 200px;
    text-align: right; /* נשמר */
}

.rule-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.15);
}

.rule-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rule-btn .shine {
    position: absolute;
    top: -50%;
    /* מיקום ה-shine ביחס לכפתור - יש לוודא שהוא לא מפריע */
    left: -150%; /* מיקום התחלתי לשמאל */
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.rule-btn:hover .shine {
    left: 150%; /* תנועת ה-shine מימין לשמאל */
}

.rule-content {
    display: flex;
    align-items: center; /* יישור אנכי למרכז */
    gap: 10px; /* רווח בין האייקון לטקסט */
    /* אין צורך ב-justify-content כאן, כי flex-start בלחצן הראשי שולט */
    /* אם יש כאן justify-content: flex-end; תמחק אותו! */
}

.rule-icon {
    font-size: 1.4em;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.rule-number {
    font-size: 1.8em;
    font-weight: 900;
    opacity: 0.8;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
    flex-shrink: 0; /* וודא שלא יתכווץ */
}

/* Color variations - ללא שינוי */
.rule-btn-speed { background: linear-gradient(135deg, #4285F4, #357ae8); }
.rule-btn-backlinks { background: linear-gradient(135deg, #34A853, #2d9648); }
.rule-btn-health { background: linear-gradient(135deg, #EA4335, #d93d30); }
.rule-btn-ai { background: linear-gradient(135deg, #FBBC05, #f2b202); color: #212121; }
.rule-btn-ai-deep { background: linear-gradient(135deg, #004AAD, #003a88); color: #fff; }

/* Lock icon styling within the new buttons */
.rule-btn .lock-icon {
    font-size: 1em;
    color: #FFD700;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 5px;
    margin-right: -5px; /* Adjust positioning */
    flex-shrink: 0; /* וודא שלא יתכווץ */
}

/* ... שאר הקוד CSS של הלחצנים הנעולים (locked state) ... */

/* ================================================================
   END: CSS FOR "FOUR RULES TO GOOGLE'S SUMMIT" BUTTONS
   ================================================================ */
/* קונטיינר הכפתורים החדש */
.date-controls-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px; /* רווח בין הכפתורים */
    flex-wrap: wrap; /* כדי שיתאימו למסכים קטנים */
    margin-top: 25px; /* מרווח מהכפתור הראשי */
}

/* עיצוב כללי לכפתורי טווח התאריכים */
.date-range-btn {
    background-color: #f0f8ff; /* רקע בהיר */
    color: #4a2ea4; /* צבע טקסט סגול-כחול */
    border: 1px solid #d4d9ff; /* גבול עדין */
    border-radius: 8px; /* פינות מעוגלות */
    padding: 8px 15px;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* צל עדין */
}

.date-range-btn:hover {
    background-color: #e0e7ff; /* רקע מעט כהה יותר בריחוף */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* כפתור פעיל/נבחר */
.date-range-btn.active {
    background: linear-gradient(135deg, #7857ff, #05b2ff); /* גרדיאנט בולט */
    color: #fff;
    border-color: #7857ff;
    box-shadow: 0 4px 15px rgba(120, 87, 255, 0.3); /* צל מודגש יותר */
}

.date-range-btn.active:hover {
    background: linear-gradient(135deg, #05b2ff, #7857ff); /* גרדיאנט הפוך בריחוף */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 87, 255, 0.4);
}
/* בקובץ ה-CSS שלך, ליד הכללים של #averageRankChartToggle.premium-action-btn */
#averageRankTableToggle.premium-action-btn {
    background: linear-gradient(135deg, #7857ff, #a76bff); /* גרדיאנט סגול-כחול */
    /* שאר הכללים יכולים להיות זהים ל-averageRankChartToggle.premium-action-btn */
    color: white;
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 16px;
    border: none;
    box-shadow: 
        0 10px 20px -5px rgba(120, 87, 255, 0.4), /* צל עיקרי */
        0 4px 8px rgba(0,0,0,0.1),               /* צל עדין */
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#averageRankTableToggle.premium-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 14px 28px -5px rgba(120, 87, 255, 0.5), /* צל מודגש */
        0 8px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #a76bff, #7857ff); /* גרדיאנט הפוך בריחוף */
}

#averageRankTableToggle.premium-action-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 0 4px 8px -2px rgba(120, 87, 255, 0.3);
}

#averageRankTableToggle.premium-action-btn .icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
/* בקובץ ה-CSS שלך */
#generateReportBtn.premium-action-btn {
    background: linear-gradient(135deg, #20c997, #17a2b8); /* צבע ירוק-כחול רענן */
    /* ודא שהאייקון מוצג נכון עם `fas fa-file-pdf` */
    /* שאר הכללים יכולים להיות זהים לכפתורי ה-premium-action-btn האחרים */
}

#generateReportBtn.premium-action-btn:hover {
    background: linear-gradient(135deg, #17a2b8, #20c997); /* גרדיאנט הפוך בריחוף */
}
/* כללי Shine-effect זהים יכולים לחול עליו אוטומטית כי הוא משתמש באותו קלאס */
    body { font-family: 'Heebo', sans-serif; padding: 20px; background: #f9f9f9; }
    button { padding: 6px 10px; margin: 4px; cursor: pointer; }
    table { border-collapse: collapse; width: 100%; background: white; }
    th, td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; }
    th { background: #4a2ea4; color: white; }
/* קוד זה יש להוסיף לקובץ STYLE.CSS */
.info-btn {
    background: none;
    border: none;
    color: #a76bff; /* צבע האייקון, בהתאמה לאייקונים האחרים */
    cursor: pointer;
    font-size: 1em; /* גודל האייקון */
    padding: 0;
    margin-right: 5px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.info-btn:hover {
    color: #7857ff; /* שינוי צבע בריחוף */
    transform: scale(1.1); /* הגדלה קלה בריחוף */
}
.google-ads-btn {
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* אפקט ריחוף (Hover) */
.google-ads-btn:hover {
  background: linear-gradient(135deg, #34A853, #FBBC05); /* גרדיאנט שונה בריחוף */
  transform: translateY(-2px);
}

/* עיצוב האייקון */
.google-ads-btn i {
  font-size: 18px;
}

.rule-btn .rule-text {
  color: white; /* הגדרה גלובלית לצבע טקסט לבן */
}

/* התאמה מיוחדת ללחצן ה-AI הצהוב */
.rule-btn-ai .rule-text {
  color: #212121;
}


/* ================================================================
   START: CSS FOR "FOUR RULES TO GOOGLE'S SUMMIT" BUTTONS
   ================================================================ */
.google-rules-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    width: 100%; /* <-- יש להוסיף את השורה הזו */
}
.rule-btn {
    /* הכללים הקיימים של הלחצן עצמו */
    font-family: 'Heebo', sans-serif;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex; /* שינוי: שימוש ב-flexbox כדי ליישר */
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: white; /* כלל זה קובע את צבע הכפתור, לא את התוכן */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-grow: 1;
    min-width: 200px;
    text-align: right;
}

.rule-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.15);
}

.rule-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rule-btn .shine {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.rule-btn:hover .shine {
    left: 150%;
}

.rule-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rule-icon {
    font-size: 1.4em;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

.rule-number {
    font-size: 1.8em;
    font-weight: 900;
    opacity: 0.8;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
.rule-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important; /* ✅ הכלל החשוב: מוודא שהטקסט בתוך ה-content תמיד לבן */
}

/* התאמה מיוחדת ללחצן ה-AI הצהוב */
.rule-btn-ai .rule-content {
    color: #212121 !important;
}

/* Color variations */
/* Color variations - גרסאות זהב עם טקסט לבן על רקע כהה וטקסט כהה על רקע בהיר */
.rule-btn-speed { 
    background: linear-gradient(135deg, #FFD700, #FFC700);
    color: #212121 !important;
}
.rule-btn-backlinks { 
    background: linear-gradient(135deg, #FFB900, #E6A800);
    color: #212121 !important;
}
.rule-btn-health { 
    background: linear-gradient(135deg, #FFDB58, #EEDC82);
    color: #212121 !important;
}
.rule-btn-ai { 
    background: linear-gradient(135deg, #FFD700, #FFC700);
    color: #212121 !important;
}
.rule-btn-ai-deep { 
    background: linear-gradient(135deg, #004AAD, #003a88); /* שומרים על רקע כהה */
    color: white !important; /* משנים את הטקסט ללבן */
}
/* Lock icon styling within the new buttons */
.rule-btn .lock-icon {
    font-size: 1em;
    color: #FFD700;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 5px;
    margin-right: -5px; /* Adjust positioning */
}

/* ... (קוד CSS קיים לפני הקטע הזה) ... */

/* Disabled/Locked state - זהו הקטע העיקרי שיטופל */
/* ✅ הקוד המתוקן שחל על כל סוגי הכפתורים הנעולים - שימו לב שהכל מאוחד כאן */
.rule-btn.locked,
.add-domain-btn.locked,
.check-ranks-btn.locked,
#floating-ai-chat-btn.locked { /* ✅ תוספת: לחצן הצ'אט הצף */
    background: linear-gradient(135deg, #b0b0b0, #8c8c8c) !important; /* Force grey */
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none; /* כדי למנוע לחיצות */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; /* לוודא שאין צללית גרדיאנט אחרת */
    transform: none !important; /* ביטול אנימציית ריחוף */
}

/* בנוסף, נבטל את אפקט הריחוף כשהכפתורים נעולים */
.rule-btn.locked:hover,
.add-domain-btn.locked:hover,
.check-ranks-btn.locked:hover,
#floating-ai-chat-btn.locked:hover { /* ✅ תוספת: לחצן הצ'אט הצף */
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* כדי לוודא שאייקון המנעול תמיד גלוי כשהוא נעול */
#floating-ai-chat-btn.locked .lock-icon {
    display: block !important;
}
/* הסתרת התמונה והוידאו כשהכפתור נעול */
#floating-ai-chat-btn.locked #floating-btn-img,
#floating-ai-chat-btn.locked #floating-btn-video {
    display: none !important;
}

/* ... (שאר קוד ה-CSS הקיים אחרי הקטע הזה) ... */

/*
   את החלק הזה אתה צריך למחוק (זהו הכפילות של rule-btn.locked שהייתה קיימת):
@media (max-width: 950px) {
    .google-rules-bar {
        flex-direction: column;
        width: 100%;
    }
    .rule-btn {
        width: 100%;
    }
}
/* Color variations - גרסאות לבן-אפור */
.rule-btn-speed,
.rule-btn-backlinks,
.rule-btn-health,
.rule-btn-ai,
.rule-btn-ai-deep,
.rule-btn-spam {
    background: linear-gradient(135deg, #ffffff, #f0f0f0); /* רקע לבן-אפור אחיד */
    color: #333 !important; /* צבע טקסט כהה לקריאות טובה */
}

/* Lock icon styling within the new buttons */
.rule-btn .lock-icon {
    font-size: 1em;
    color: #FFD700;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 5px;
    margin-right: -5px; /* Adjust positioning */
}

/* כללים כלליים ללחצני הקידום */
.add-keyword-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF8C00, #FF7F50);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.add-keyword-btn:hover {
  background: linear-gradient(135deg, #E67300, #E65A00);
  transform: translateY(-2px);
}
.add-keyword-btn i {
  font-size: 18px;
}

.check-ranks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  direction: rtl;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.check-ranks-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  transform: translateY(-2px);
}
.check-ranks-btn i {
  font-size: 18px;
}

/* קלאסים עבור גדילה ב-Flexbox */
.add-phrase-btn,
.find-ideas-btn,
.search-volume-btn,
.flex-grow-btn {
    flex-grow: 1;
}
.premium-chart-controls {
    background: linear-gradient(145deg, #f9faff, #e8f0ff); /* זהו הרקע הבהיר של הקונטיינר */
    border-radius: 22px;
    padding: 25px 30px;
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    text-align: center;
    max-width: 1080px;
    margin: 40px auto;
    animation: fadeIn 0.8s ease-out;

    /* ✅ וודא שהתכונות הבאות קיימות ומעודכנות: */
    display: flex; /* הופך את הקונטיינר להורה Flexbox */
    align-items: center; /* מיישר את הפריטים הישירים אנכית למרכז */
    flex-wrap: wrap; /* כדי שהכפתורים ירדו שורה במובייל */
    gap: 15px; /* רווח בין הכפתורים ואלמנטים נוספים בתוך הקונטיינר */
}

#averageRankChartToggle.premium-action-btn {
    background: linear-gradient(135deg, #007bff, #589bff); /* גרדיאנט כחול עשיר יותר */
    color: white;
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 16px;
    border: none;
    /* ✅ שינוי: Box-shadow מתקדם יותר */
    box-shadow: 
        0 10px 20px -5px rgba(0, 123, 255, 0.4), /* צל עיקרי כלפי מטה */
        0 4px 8px rgba(0,0,0,0.1),               /* צל עדין יותר */
        inset 0 1px 0 rgba(255,255,255,0.2),     /* הדגשת קצה עליון */
        inset 0 -1px 0 rgba(0,0,0,0.1);          /* הדגשת קצה תחתון */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* ✅ חדש: צל טקסט עדין */
}

#averageRankChartToggle.premium-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    /* ✅ שינוי: Box-shadow מודגש יותר בריחוף */
    box-shadow: 
        0 14px 28px -5px rgba(0, 123, 255, 0.5), /* צל עיקרי גדול יותר */
        0 8px 12px rgba(0,0,0,0.15),              /* צל עדין יותר */
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #0056b3, #007bff); /* ✅ שינוי: גרדיאנט מעט שונה בריחוף */
}

#averageRankChartToggle.premium-action-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 0 4px 8px -2px rgba(0, 123, 255, 0.3);
}

#averageRankChartToggle.premium-action-btn .icon {
    font-size: 24px; /* ✅ שינוי: הגדלת האייקון במעט */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); /* ✅ חדש: צל לאייקון */
}

#averageRankChartToggle.premium-action-btn .shine-effect {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

#averageRankChartToggle.premium-action-btn:hover .shine-effect {
    left: 150%;
}


.date-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-input-wrapper label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6c7a89;
    margin-bottom: 8px;
}

.date-input-field {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.date-input-field .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #34495e;
    font-size: 16px;
    pointer-events: none;
}

.date-input-field input[type="date"] {
    background: transparent;
    border: none;
    padding: 10px 15px 10px 40px;
    border-radius: 12px;
    color: #2c3e50;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    outline: none;
    width: 170px;
}

.silver-action-btn {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0); /* רקע כסף אחיד */
    color: #444; /* צבע טקסט כהה */
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 16px;
    border: none;
    box-shadow: 
        0 10px 20px -5px rgba(0, 0, 0, 0.1), 
        0 4px 8px rgba(0,0,0,0.1),               
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    text-shadow: none;
}

.silver-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 14px 28px -5px rgba(0, 0, 0, 0.2), 
        0 8px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #dcdcdc, #c0c0c0);
}

.silver-action-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
}

.silver-action-btn .icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    color: #333 !important;
}
.tool-btn {
    background: linear-gradient(135deg, #007BFF, #0056b3); /* רקע כחול */
    color: white; /* צבע טקסט לבן */
    border: none; /* הסרת גבולות */
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* צל עדין */
}

.tool-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004494); /* כחול כהה יותר בריחוף */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tool-btn i {
    color: white !important; /* צבע לבן לאייקונים */
}

.tool-btn .lock-icon {
    color: #FFD700 !important; /* צבע מיוחד לאייקון הנעילה */
}
.keyword-action-btn {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white !important; /* הוסף !important כדי להבטיח עדיפות */
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.keyword-action-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.keyword-action-btn i {
    color: white !important;
}

.keyword-action-btn .lock-icon {
    color: #FFD700 !important;
}

.domain-metrics-bar-premium {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f5f3ff, #ffffff);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  flex-wrap: wrap;
}
.metric-item-simple { /* קלאס חדש כדי למנוע התנגשות */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}
.metric-item-simple label {
  font-weight: 600;
  font-size: 14px;
  color: #6c63ff;
  margin-bottom: 6px;
}
.metric-item-simple span {
  font-size: 22px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 10px;
  background-color: #f0f0ff;
  min-width: 80px;
  text-align: center;
}

/* Color variations - צבעים מקוריים של גוגל */
.rule-btn-speed { 
    background: linear-gradient(135deg, #4285F4, #357ae8); /* כחול */
    color: white !important;
}
.rule-btn-backlinks { 
    background: linear-gradient(135deg, #34A853, #2d9648); /* ירוק */
    color: white !important;
}
.rule-btn-health { 
    background: linear-gradient(135deg, #EA4335, #d93d30); /* אדום */
    color: white !important;
}
.rule-btn-ai { 
    background: linear-gradient(135deg, #FBBC05, #f2b202); /* צהוב */
    color: #212121 !important;
}
.rule-btn-ai-deep { 
    background: linear-gradient(135deg, #004AAD, #003a88); /* כחול כהה */
    color: white !important;
}
.rule-btn-spam {
    background: linear-gradient(135deg, #EA4335, #d93d30); /* אדום */
    color: white !important;
}
.silver-action-btn {
    background: linear-gradient(135deg, #007BFF, #0056b3); /* צבע חדש - כחול */
    color: #fff; /* צבע טקסט לבן */
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 16px;
    border: none;
    box-shadow: 
        0 10px 20px -5px rgba(0, 123, 255, 0.4), 
        0 4px 8px rgba(0,0,0,0.1),               
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.silver-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 14px 28px -5px rgba(0, 123, 255, 0.5), 
        0 8px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #0056b3, #004494);
}

.silver-action-btn:active {
    transform: translateY(1px) scale(1);
    box-shadow: 0 4px 8px -2px rgba(0, 123, 255, 0.3);
}

.silver-action-btn .icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    color: white !important;
}

#averageRankTableToggle.silver-action-btn {
    background: linear-gradient(135deg, #7857ff, #a76bff);
    color: white !important;
}

#averageRankTableToggle.silver-action-btn:hover {
    background: linear-gradient(135deg, #a76bff, #7857ff);
    transform: translateY(-4px) scale(1.05);
}

#shareWhatsappBtn.silver-action-btn {
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: white !important;
}
#shareWhatsappBtn.silver-action-btn:hover {
    background: linear-gradient(135deg, #1DA851, #25D366);
    transform: translateY(-4px) scale(1.05);
}
.keyword-action-icon svg {
    width: 22px;
    height: 22px;
    transition: all 0.25s ease;
    stroke: #7857ff;
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px #b2a3ff55);
}
.domain-spam-score {
  font-weight: 700;
  font-size: 1.5em;
  padding: 4px 10px;
  border-radius: 16px;
  background-color: #f0f0f0;
  margin-right: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #555;
  border: 1px solid #ddd;
}

.domain-spam-score:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.domain-spam-score.low {
  background: linear-gradient(135deg, #eafaf1, #d4f2dc);
  color: #28a745;
  border-color: #28a74555;
}
.domain-spam-score.medium {
  background: linear-gradient(135deg, #fff4e5, #ffead6);
  color: #ffc107;
  border-color: #ffc10755;
}
.domain-spam-score.high {
  background: linear-gradient(135deg, #ffe8e6, #ffd6d2);
  color: #dc3545;
  border-color: #dc354555;
}

#generateReportBtn.silver-action-btn {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
}
#generateReportBtn.silver-action-btn:hover {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}
#generateReportBtn.silver-action-btn .icon {
    color: white !important;
}

#shareWhatsappBtn.silver-action-btn {
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: white;
}
#shareWhatsappBtn.silver-action-btn:hover {
    background: linear-gradient(135deg, #1DA851, #25D366);
}
#shareWhatsappBtn.silver-action-btn .icon {
    color: white !important;
}

/* START: Premium Keyword Action Icons */
.keyword-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.keyword-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(120deg, #fdfdff 60%, #f3f0ff 100%);
  box-shadow: 0 4px 16px #a76bff1a, 0 1px 0 #fff;
  margin: 0 2px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.keyword-action-icon svg {
  width: 22px;
  height: 22px;
  transition: all 0.25s ease;
  stroke: #7857ff;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px #b2a3ff55);
}

.keyword-action-icon i {
    font-size: 1.2em;
    color: #7857ff; /* ✅ כלל חדש: מגדיר צבע לאייקוני i */
    transition: all 0.25s ease;
}

.keyword-action-icon:hover {
  background: linear-gradient(120deg, #a76bff 0%, #05b2ff 100%);
  box-shadow: 0 8px 24px #a76bff55;
  transform: translateY(-3px) scale(1.05);
}

.keyword-action-icon:hover svg,
.keyword-action-icon:hover i { /* ✅ עדכון: גם אייקוני i משתנים */
  color: #fff;
  stroke: #fff;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.5));
}

.keyword-action-icon.delete:hover {
    background: linear-gradient(120deg, #ff6b6b 0%, #ff8e8e 100%);
    box-shadow: 0 8px 24px #ff6b6b55;
}
/* END: Premium Keyword Action Icons */
.keyword-action-icon svg {
  width: 22px;
  height: 22px;
  transition: all 0.25s ease;
  stroke: #7857ff; /* ✅ כלל שקובע את צבע האייקון */
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px #b2a3ff55);
}

.keyword-action-icon:hover svg {
  stroke: #fff;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.5));
}
/* ========================================================================= */
/* --- סקציית חבילות (Pricing Section) --- */
/* ========================================================================= */

.plans-header {
  text-align: center;
  margin-bottom: 40px;
}

.plans-header h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #4a2ea4;
  margin: 0;
}

.plans-header p {
  font-size: 1.2em;
  color: #6c757d;
  max-width: 600px;
  margin: 10px auto 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.plan-badge {
  position: absolute;
  top: 15px;
  right: -50px;
  background-color: #ffc107;
  color: white;
  padding: 5px 40px;
  font-weight: bold;
  transform: rotate(45deg);
  font-size: 0.9em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popular-badge {
  background-color: #ffc107;
}

.ai-badge {
  background-color: #6f42c1;
}

.plan-icon {
  font-size: 3em;
  margin-bottom: 15px;
  color: #4a2ea4;
}

.plan-icon.free-tier { color: #28a745; }
.plan-icon.pro-tier { color: #007bff; }
.plan-icon.popular-tier { color: #fd7e14; }
.plan-icon.ai-tier { color: #6f42c1; }

.plan-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
}

.plan-subtitle {
  font-size: 0.9em;
  color: #6c757d;
  min-height: 40px;
}

.plan-price {
  font-size: 2.5em;
  font-weight: bold;
  color: #4a2ea4;
  margin: 20px 0;
}

.plan-price .period {
  font-size: 0.6em;
  color: #6c757d;
  font-weight: normal;
}

.plan-features {
  text-align: right;
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1; /* כדי שכל הפיצ'רים יתפסו גובה שווה */
}

.plan-features li {
  margin-bottom: 10px;
  color: #495057;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.plan-features li .fas {
  color: #28a745;
  margin-left: 10px;
}

.plan-action {
  margin-top: auto; /* דוחף את הלחצנים לתחתית הכרטיס */
}

.plan-choose-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.plan-choose-btn:hover {
  background-color: #0056b3;
}

.paypal-container-wrapper {
  width: 100%;
}

.trust-seals {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  color: #6c757d;
  font-size: 0.9em;
}

.trust-seals .seal {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* התאמה למסכים קטנים */
@media (max-width: 768px) {
  .plans-header h1 {
    font-size: 2em;
  }
}
/* ========================================================================= */
/* --- מדדים עגולים חדשים (Circular Meters) --- */
/* ========================================================================= */
.metrics-grid-responsive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

.circular-meter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #f7f8fc;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(120, 87, 255, 0.08);
    padding: 20px;
    min-width: 180px;
    flex-grow: 1;
    max-width: 250px;
    text-align: center;
}

.circular-meter-label {
    font-weight: 700;
    font-size: 1.1em;
    color: #4a2ea4;
    margin-bottom: 5px;
}

.circular-progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.circular-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-ring-bg {
    fill: transparent;
    stroke: #eef2ff;
    stroke-width: 10;
}

.circular-ring-bar {
    fill: transparent;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.circular-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 2em;
    color: #2c3e50;
}
.main-logo-responsive {
  width: 250px; /* שנה כאן את הערך לגודל הרצוי */
  height: auto;
  margin: auto;
}