/* Base styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

body {
  background-color: #f4f5f9;
}

/* ===== INDEPENDENT / NO-AFFILIATE (light version) ===== */
.independent-section{
  background: #ebf3fc; /* светъл фон */
  color: #0b5fff;      /* основен син за текст */
  padding: 60px 16px 50px;
  text-align: center;
}
.independent-wrap{ max-width: 1100px; margin: 0 auto; }

.independent-badge{
  width: 64px; height: 64px; margin: 0 auto 10px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: #d7e8ff;
  font-size: 30px;
  box-shadow: inset 0 0 0 2px rgba(11,95,255,0.15);
}

.independent-section h2{
  font-size: 28px; line-height: 1.3;
  margin: 8px 0 14px;
  font-weight: 900;
  color: #0b5fff;
}
.independent-lead{
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: 17px;
  color: #222;
}
.independent-lead strong{ color: #0b5fff; }

.independent-points{
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0,1fr));
  list-style: none;
  padding: 0;
  margin: 20px auto 30px;
  max-width: 860px;
  text-align: left;
}
.independent-points li{
  background: #fff;
  border: 1px solid #d0e1ff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.independent-cta{ margin-top: 10px; }
.independent-btn{
  display: inline-block;
  background: #0b5fff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
  transition: filter .2s ease, transform .06s ease;
}
.independent-btn:hover{ filter: brightness(1.1); }
.independent-btn:active{ transform: translateY(1px); }

.independent-note{
  margin-top: 12px;
  font-size: 14px;
  color: #444;
  opacity: .9;
}

/* responsive layout */
@media (min-width: 720px){
  .independent-section h2{ font-size: 32px; }
  .independent-points{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* ============ PLANS (FULL CSS) ============ */
.plans-section{
  background: linear-gradient(180deg, var(--gle-blue, #0b5fff) 0%, #063db8 100%);
  color: var(--gle-white, #fff);
  padding: 60px 16px;
  text-align: center;
}
.plans-wrap{ max-width: 1200px; margin: 0 auto; }
.plans-section h2{
  font-size: 30px; font-weight: 900; margin: 0 0 10px;
}
.plans-subtitle{
  font-size: 16px; color: #d8e2ff; margin: 0 0 40px;
}

/* GRID */
.plans-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARD */
.plan-card{
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* entry animation */
  opacity: 0;
  transform: translateY(14px);
  animation: plans-fadeInUp .45s ease forwards;
}
.plan-card:nth-child(1){ animation-delay: .05s; }
.plan-card:nth-child(2){ animation-delay: .12s; }
.plan-card:nth-child(3){ animation-delay: .19s; }
.plan-card:nth-child(4){ animation-delay: .26s; }

.plan-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

@keyframes plans-fadeInUp{
  to { opacity: 1; transform: translateY(0); }
}

/* HEADINGS / PRICE / TEXT */
.plan-card h3{
  font-size: 22px; font-weight: 800; margin: 0 0 10px;
  color: var(--gle-blue, #0b5fff);
}
.plan-icon{
  font-size: 36px; text-align: center; margin-bottom: 10px; line-height: 1;
  transition: transform .2s ease;
}
.plan-card:hover .plan-icon{ transform: scale(1.08); }

.plan-card .price{
  font-size: 26px; font-weight: 900; margin-bottom: 8px; color: #111;
}
.plan-card .price span{
  font-size: 14px; color: #666; font-weight: 500;
}
.plan-card .plan-desc{
  font-size: 14px; color: #555; margin-bottom: 16px; min-height: 40px;
}

/* LIST */
.plan-card ul{
  text-align: left; margin: 0 0 20px; padding: 0; list-style: none;
}
.plan-card ul li{ margin-bottom: 6px; font-size: 14px; }

/* BUTTON */
.plan-btn{
  background: var(--gle-yellow, #f5d34f);
  color: var(--gle-blue, #0b5fff);
  font-weight: 800; padding: 10px 14px;
  border-radius: 10px; text-decoration: none; display: inline-block;
  transition: filter .2s ease, transform .06s ease;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.plan-btn:hover{ filter: brightness(.95); }
.plan-btn:active{ transform: translateY(1px); }

/* TOP BORDER ACCENTS */
.highlight-silver{ border-top: 6px solid #c0c0c0; }
.highlight-gold{ border-top: 6px solid #ffd700; }
.highlight-diamond{ border-top: 6px solid #00c8ff; }

/* ICON COLOR ACCENTS */
.highlight-silver .plan-icon{ color: #c0c0c0; }
.highlight-gold .plan-icon{ color: #d4af37; }
.highlight-diamond .plan-icon{ color: #00c8ff; }

/* RIBBON: "Най-популярен" */
.plan-card.popular{
  position: relative; overflow: hidden;
  border-top: 6px solid #00c8ff; /* подсилване */
}
.plan-ribbon{
  position: absolute; top: 28px; left: -48px;
  background: var(--gle-yellow, #f5d34f); color: var(--gle-blue, #0b5fff);
  font-weight: 700; text-transform: uppercase; font-size: 12px; 
  margin-left: -15px;
  padding: 6px 60px; transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  
}
.plan-card.popular:hover .plan-ribbon{ filter: brightness(1.05); }

/* RESPONSIVE TWEAKS */
@media (max-width: 700px){
  .plans-section{ padding: 48px 14px; }
  .plans-section h2{ font-size: 26px; }
  .plans-subtitle{ margin-bottom: 28px; }
  .plans-grid{ gap: 16px; }
}

/* WHY GLE */
.why-gle{
  background:linear-gradient(180deg, var(--gle-blue) 0%, #0a56f0 100%);
  color:var(--gle-white);
  padding:48px 16px;
}
.why-gle__wrap{max-width:1200px; margin:0 auto}
.why-gle h2{
  font-size:28px; line-height:1.2; text-align:center; margin:0 0 28px;
  font-weight:900; letter-spacing:.2px;
}
.why-gle h2 span{color:var(--gle-blue)}
.why-gle__grid{
  display:grid; gap:16px;
  grid-template-columns:repeat(1, minmax(0,1fr));
}
.why-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px; padding:18px;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.why-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.24);
  background:rgba(255,255,255,.08);
}
.why-card .icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px;
  background:var(--gle-yellow); color:#0b5fff; font-size:22px; font-weight:900;
  margin-bottom:10px;
}
.why-card h3{
  font-size:18px; margin:0 0 6px; font-weight:800;
}
.why-card p{
  margin:0; opacity:.95; line-height:1.5;
}

/* CTA */
.why-gle__cta{display:flex; justify-content:center; margin-top:20px}
.why-gle .gle-premium-btn{font-style:normal}

/* responsive grid */
@media (min-width:640px){
  .why-gle__grid{grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px}
}
@media (min-width:920px){
  .why-gle{padding:56px 20px}
  .why-gle h2{font-size:32px; margin-bottom:32px}
  .why-gle__grid{grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px}
}


/* Table wrapper for horizontal scroll */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 15px;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  min-width: 600px;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

th {
  background-color: #3d315b;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 2;
}

tr:nth-child(even) {
  background-color: #f5f5f5;
}

tr:hover {
  background-color: #eef3f9;
  transition: background 0.2s;
}

/* Header styles */
.header-left {
  flex: 0 0 25%;
}

.header-right {
  flex: 0 0 75%;
}
header .logo {
  height: 80px;
  display: flex;
  align-items: center;
}
header .logo img {
  height: 70px;
  max-height: 100%;
  margin-top: 0;
  display: flex;
  align-items: center;
  margin-right: 6px;
}

header {
  background: #0d253f;
  color: white;
  padding: 1em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 999;
}

header strong a {
  color: white;
  text-decoration: none;
}

header strong a:hover {
  text-decoration: none;
  color: #00b894;
}

nav {
  background-color: #0d253f;
  padding: 10px 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  display: inline-block;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  transition: background 0.2s ease-in-out, color 0.2s;
  border-radius: 6px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00b894;
  color: white;
}

nav i {
  margin-right: 6px;
  color: white;
}

/* Dropdown content fix */
.user-dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
  border-radius: 6px;
  flex-direction: column;
  top: 100%;
  left: 0;
}

.user-dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.user-dropdown .dropdown-content a {
  color: black;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.user-dropdown .dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  background: white;
  height: 3px;
  width: 25px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }
}

.social-section{
  background:#f1f1f1;
  padding:40px 16px;
}
.social-grid{
  max-width:1000px;
  margin:0 auto;
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.social-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:#142850;
  color:#fff;
  border-radius:12px;
  padding:20px;
  text-decoration:none;
  border:2px solid transparent;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
}
.social-card:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 12px rgba(0,0,0,0.2);
}
.social-icon{
  font-size:32px;
  flex-shrink:0;
}
.social-text h3{
  font-size:20px;
  margin:0;
  font-weight:800;
}
.social-text p{
  margin:4px 0 0;
  font-size:15px;
  opacity:.9;
}

/* Цветове по мрежа */
.social-card.tg{
  border-color:#0088cc;
}
.social-card.tg:hover{
  background:#0088cc;
}

.social-card.fb{
  border-color:#3b5998;
}
.social-card.fb:hover{
  background:#3b5998;
}

.social-card.yt{
  border-color:#ff0000;
}
.social-card.yt:hover{
  background:#ff0000;
}


/* Hero section */
.hero {
  text-align: center;
  padding: 4em 2em;
  background: #142850;
  color: white;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.hero a {
  background: #00b894;
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Features section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3em 1em;
  background: #d1e6ff;
}

.feature {
  flex: 1 1 250px;
  margin: 1em;
  background: #eaeaea;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
}

/* Plans */
.plans {
  padding: 1em 1em;
  background: #f1f1f1;
  text-align: center;
}

.plans h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

/* Footer */
footer {
  background: #0d253f;
  color: white;
  text-align: center;
  padding: 2em 1em;
  margin-top: 2em;
}

h2 {
  text-align: center;
  margin: 40px 0 20px;
  color: #0d253f;
}

.accordion {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  background-color: #4e4466;
  color: white;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  background-color: #3d315b;
  color: white;
  border-radius: 5px;
}

.toggle-symbol {
  margin-right: 10px;
  font-weight: bold;
}

.accordion-content {
  display: none;
  padding: 20px;
  background: #f9f9f9;
  color: #000;
}

.accordion-item.active .accordion-content {
  display: block;
}

.goals-subtabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.subtab-btn-green {
  background-color: #00c29b;
  color: white;
  padding: 8px 18px;
  border: 1px solid #008f75;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  font-size: 15px;
}

.subtab-btn-green:hover {
  background-color: #00af8b;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subtab-btn-green.active {
  background-color: #00a37a;
  border-color: #00785d;
  box-shadow: 0 0 0 2px rgba(0, 163, 122, 0.3);
}

.trend-table-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.subtab-panel {
  display: none;
}

.subtab-panel.active {
  display: block;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pagination button {
  background-color: #3d315b;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.pagination button.active {
  background-color: #6c5a99;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.pagination button:hover {
  background-color: #5a4a7d;
}

.pagination span {
  color: #3d315b;
  font-weight: bold;
  padding: 6px 10px;
}

.success th {
  background-color: #d4edda;
  color: #155724;
}

.fail th {
  background-color: #f8d7da;
  color: #721c24;
}

.locked-trend {
  filter: blur(3px);
  opacity: 0.4;
  position: relative;
}

.locked-trend::after {
  content: "🔒 Premium Only";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #0b1e3a;
  background: #fff;
  padding: 4px 8px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
}

#premium-popup {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #fff8dc;
  color: #222;
  border: 3px solid gold;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 20px gold;
  max-width: 400px;
  animation: popin 0.5s ease;
}

.popup-content h2 {
  margin-top: 0;
  color: goldenrod;
}

.popup-content button {
  background: gold;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

@keyframes popin {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-content h2 {
  margin-bottom: 15px;
  color: #0d253f;
}

.modal-content input {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-content button {
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.modal-footer {
  margin-top: 15px;
}

.modal-footer a {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

.modal-footer a:hover {
  text-decoration: underline;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #888;
  cursor: pointer;
}

/* Custom scrollbar for WebKit browsers */
.table-responsive::-webkit-scrollbar {
  height: 10px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #00b894;
  border-radius: 6px;
  border: 2px solid #f0f0f0;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #009d80;
}

/* Firefox */
.table-responsive {
  scrollbar-width: thin;
  scrollbar-color: #00b894 #f0f0f0;
}

.subtab-panel {
  display: none;
}

.subtab-panel.active {
  display: block;
}

.subtab-btn-green.active {
  background-color: #0b1e3a;
  color: #fff;
}


/* Always-colored social buttons */
.ref-share{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:6px;
}
.btn-fb, .btn-tg, .btn-wa{
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  font-size:13px;
  text-decoration:none;
  border:1px solid var(--border);
  background:#020617;
  color:#e2e8f0;
  transition:filter .15s ease, transform .06s ease;
}
.btn-fb:hover, .btn-tg:hover, .btn-wa:hover{
  filter:brightness(1.15);
}
.btn-fb{ background:#1877f2; border-color:#1877f2; }
.btn-tg{ background:#0088cc; border-color:#0088cc; }
.btn-wa{ background:#25d366; border-color:#25d366; }

.btn-wa {
  color: #0b1220 !important; /* За да личи текста на светлозелено */

}


