@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --landing-bg:            #0c0c0f;
  --landing-fg:            #f5f5f7;
  --landing-accent:        #51d38f; 
  --landing-soft-border:   rgba(255,255,255,0.1);
  --landing-card-bg:       rgba(255,255,255,0.02);
  --landing-glow:          0 0 20px rgba(81,211,143,0.3);
  --modal-spacing-lg:     1.25rem;
  --modal-spacing-md:     0.75rem;
  --modal-spacing-sm:     0.5rem;
}

main {
  background: var(--landing-bg);
  color: var(--landing-fg);
  font-family: 'Inter', sans-serif;
}
main section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
main h1,
main h2,
main h3 {
  margin-bottom: 1rem;
}

#liveKOLSignalsTitle {
  animation: none !important;
}

.insight-card h3 small {
  color: #888;
  font-size: 0.75rem;
  font-weight: 400;
}

main #hero {
  background: radial-gradient(ellipse at center, #151519 0%, transparent 80%);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
main .hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
main .hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}
main .hero-content p {
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: #bbb;
}

main .cta-btn {
  display: inline-block;
  background: var(--landing-accent);
  color: #000;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--landing-glow);
  transition: transform .2s ease, box-shadow .3s ease;
}
main .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(81,211,143,.4),
              0 6px 12px rgba(81,211,143,.2);
}

main #video {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
main #video .video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--landing-glow);
}
main #video video {
  width: 100%;
  display: block;
  border-radius: 1rem;
}
main .caption {
  margin-top: 1.5rem;
  color: #999;
}

main #insights .insight-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
main .insight-card {
  flex: 1 0 48%;
  max-width: calc(50% - 1rem);
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-soft-border);
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
  box-sizing: border-box;
}
main .insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(81,211,143,.25);
}

@media screen and (max-width: 900px) {
    main .insight-card {
        flex-basis: 90%;
        max-width: 500px;
        flex-grow: 0;
    }
}


#landingTrendingTokens ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#landingTrendingTokens li {
  border-bottom: 1px solid var(--landing-soft-border);
  text-align: left;
}
#landingTrendingTokens li a { 
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.trending-header li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem 0; 
  font-weight: 600;
}
.trending-header .rank { width: 1.5rem; text-align: center; }
.trending-header .name { flex: 1; }
.trending-header .buys { width: 4rem; text-align: right; }

.trending-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem .5rem; 
  min-height: 40px;
  cursor: pointer; 
  border-radius: 8px; 
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 0.25rem; 
}
.trending-list li:hover { 
  background-color: rgba(81, 211, 143, 0.1); 
  transform: translateY(-2px) scale(1.01); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 20px rgba(81, 211, 143, 0.2); 
  border-bottom-color: transparent; 
}
.trending-list .rank { width: 1.5rem; text-align: center; line-height: 24px; }
.trending-list .name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 24px; }
.trending-list .buys-pill { background: rgba(81,211,143,.12); padding: 2px 6px; border-radius: 12px; font-size: .8rem; text-align: right; line-height: 24px; }
.buys-pill-warm { background: rgba(81,211,143,.28); }
.buys-pill-hot { background: var(--landing-accent); color: #000; font-weight: 600; }

@keyframes flashHighlight { 0% { background: rgba(81,211,143,.4); } 100% { background: transparent; } }
.flash-highlight { animation: flashHighlight 1s ease-out; }

.top-kols-header { list-style: none; padding: 0; margin: 0 0 .5rem; }
.top-kols-header li { display: flex; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--landing-soft-border); font-weight: 600; }

.top-kols-header .rank,
.top-kols-list .rank {
  width: 3rem; 
  font-weight: bold; 
  flex-shrink: 0; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.top-kols-list .rank {
  color: var(--landing-fg); 
}

.top-kols-list .rank.rank-emoji { 
  color: var(--landing-accent); 
}

.rank-emoji {
  font-size: 1.2em; 
  line-height: normal; 
}

.top-kols-header .name { 
  flex-grow: 1; 
  margin-left: 1rem; 
  margin-right: 1.5rem; 
}

.pnl-header-container {
  display: flex;
  gap: 0.5rem; 
  align-items: center;
  text-align: right;
  justify-content: flex-end; 
  flex-shrink: 0; 
  flex-wrap: wrap; 
}

.pnl-toggle {
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent; 
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem; 
  font-weight: 500;
  color: var(--landing-fg);
  opacity: 0.7;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.pnl-toggle:hover {
  opacity: 1;
  border-color: var(--landing-soft-border);
}

.pnl-toggle.active {
  background-color: var(--landing-accent);
  color: #000;
  border-color: var(--landing-accent);
  opacity: 1;
  font-weight: 600;
}


.top-kols-list { list-style: none; padding: 0; margin: 0; }
.top-kols-list li { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  padding: .75rem .5rem; 
  border-bottom: 1px solid var(--landing-soft-border); 
  min-height: 40px; 
  border-radius: 8px; 
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; 
  margin-bottom: 0.25rem; 
}

.top-kols-list li:hover { 
  background-color: rgba(81, 211, 143, 0.1); 
  transform: translateY(-2px) scale(1.01); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 20px rgba(81, 211, 143, 0.2); 
  border-bottom-color: transparent; 
}

.top-kols-list .kol-icon-small { width: 24px; height: 24px; border-radius: 50%; }
.top-kols-list .name { flex: 1; line-height: 24px; }
.top-kols-list .pnl { width: 8rem; text-align: right; line-height: 24px; flex-shrink: 0; }


.top-kols-list .pnl.delta-positive { color: var(--landing-accent) !important; }
.top-kols-list .pnl.delta-negative { color: #e25c4d !important; }
.top-kols-list .pnl.delta-neutral { color: #888 !important; }


.feature-card .benefit-icon { width: 40px; height: 40px; margin: 0 auto 1rem; display: block; }

main #benefits .card-row { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 3rem; }
.feature-card { text-decoration: none; color: inherit; background: var(--landing-card-bg); border: 1px solid var(--landing-soft-border); padding: 2rem; border-radius: 16px; width: 280px; box-shadow: 0 0 10px rgba(255,255,255,.05); transition: transform .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 30px rgba(81,211,143,.15); }

main #how-it-works .timeline { display: flex; justify-content: center; align-items: flex-start; gap: 2rem; margin-top: 3rem; border-top: 1px solid var(--landing-soft-border); padding-top: 2rem; flex-wrap: wrap; }
main #how-it-works .step { flex: 1 1 200px; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
main #how-it-works .step .number { background: #1c1c1f; border: 1px solid var(--landing-soft-border); color: var(--landing-fg); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: bold; font-size: 1rem; }

main #faq { max-width: 800px; margin: 0 auto; padding-top: 2rem; }
main .accordion-item { background: var(--landing-card-bg); border: 1px solid var(--landing-soft-border); border-radius: 10px; margin-bottom: 1rem; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
main #faq .accordion-item:hover { transform: translateY(-4px); box-shadow: 0 0 12px rgba(81,211,143,0.25); }
main .accordion-item .question { padding: 1rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
main .accordion-item .answer { display: none; padding: 1rem 1.5rem; color: #bbb; text-align: left; }
main .accordion-item.open .answer { display: block; }

main #final-cta { background: linear-gradient(180deg, #151519 0%, #0c0c0f 100%); padding: 4rem 2rem; position: relative; z-index: 1; overflow: hidden; clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%); }
main #final-cta h2 { font-size: 2rem; margin-bottom: 1rem; }
main #final-cta p { color: #bbb; margin-bottom: 2rem; }

.glow-overlay { position: absolute; top: -100px; left: 50%; width: 160vw; height: 120vh; transform: translateX(-50%); background: radial-gradient(circle at center, rgba(81,211,143,0.15), transparent 70%); filter: blur(100px); z-index: 0; pointer-events: none; }

.invisible { opacity: 0; transform: translateY(20px); transition: all .6s ease; }
.fade-in-up { opacity: 1 !important; transform: translateY(0) !important; }
.reveal-on-scroll[data-delay="1"] { transition-delay: .1s; }
.reveal-on-scroll[data-delay="2"] { transition-delay: .2s; }
.reveal-on-scroll[data-delay="3"] { transition-delay: .3s; }
.reveal-on-scroll[data-delay="4"] { transition-delay: .4s; }
.reveal-on-scroll[data-delay="5"] { transition-delay: .5s; }
.reveal-on-scroll[data-delay="6"] { transition-delay: .6s; }

#testimonials-slider { padding: 4rem 2rem; }
#testimonials-slider .slider-wrapper { max-width: 800px; margin: 0 auto 2rem; }
#testimonials-slider .slide { display: none; opacity: 0; text-align: center; }
#testimonials-slider .slide.active { display: block; animation: fadeIn 1s ease-in-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#testimonials-slider .testimonial-text { color: var(--landing-fg); font-weight: 700; font-size: 3rem; margin-bottom: 1rem; }
#testimonials-slider .testimonial-author { color: #bbb; margin-bottom: 1.5rem; }
#testimonials-slider .slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
#testimonials-slider .dot { width: 10px; height: 10px; background: var(--landing-soft-border); border-radius: 50%; cursor: pointer; }
#testimonials-slider .dot.active { background: var(--landing-accent); }

@media screen and (max-width:768px) {
  header { flex-direction: column; padding: 1rem; }
  .header-row { flex-direction: column; align-items: center; text-align: center; }
  .header-left { flex-direction: column; align-items: center; }
  .page-title-inline { display: flex; flex-direction: column; align-items: center; font-size: 1.25rem; text-align: center; }
  .beta-label-inline { display: block; margin-left: 0; font-size: .6rem; text-align: center; }
  .header-nav { margin: 1rem 0 0 0; flex-direction: column; gap: 1rem; text-align: center; }
  .logo img { max-height: 40px; }
  footer { padding: 20px 10px; }
  .footer-minimal { flex-direction: column; align-items: center; }
  .footer-left, .footer-center, .footer-right { text-align: center; margin-bottom: 10px; }
  .footer-right a { margin: 0 .5rem; }
}

#subscribeModal {
  --modal-radius:         12px;
  --modal-font-large:     1.5rem;
  --modal-font-medium:    1.1rem;
  --modal-font-base:      0.9rem;
  --modal-line-height:    1.3;
  --modal-spacing-lg:     1.25rem;
  --modal-spacing-md:     0.75rem;
  --modal-spacing-sm:     0.5rem;
}

#subscribeModal.hidden { display: none; }
#subscribeModal.show { display: flex; position: fixed; inset: 0; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; z-index: 9999; }

#subscribeModal .pricing-modal {
  background: #ffffff;
  border-radius: var(--modal-radius);
  padding: var(--modal-spacing-lg);
  max-width: 700px;
  width: 90%;
  color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
  max-height: 75vh;
  overflow-y: auto;
}

#subscribeModal .modal-close { position: absolute; top: var(--modal-spacing-md); right: var(--modal-spacing-md); font-size: 1.5rem; cursor: pointer; z-index: 10; }

#subscribeModal .billing-toggle {
  display: inline-flex;
  margin: 0 auto var(--modal-spacing-md);
  border: 1px solid #ccc;
  border-radius: var(--modal-radius);
  overflow: hidden;
  background-color: #e9ecef;
}
#subscribeModal .toggle-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: #6c757d;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
#subscribeModal .toggle-btn:hover {
  background-color: rgba(0,0,0,0.05);
}
#subscribeModal .toggle-btn.active {
  background: #ffffff;
  color: #343a40;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

#subscribeModal .pricing-cards {
    display: flex;
    gap: var(--modal-spacing-md);
    flex-wrap: wrap;
}

#subscribeModal .card {
    flex: 1 1 280px;
    border-radius: var(--modal-spacing-md);
    padding: var(--modal-spacing-md);
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
#subscribeModal .card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

#subscribeModal .alpha-plan { background: #fff; border: 1px solid #ddd; color: #111; }
#subscribeModal .pro-plan { background: #0e0f1a; color: #f5f5f7; }

#subscribeModal .card h3 {
    font-size: var(--modal-font-large);
    margin-bottom: 0;
    line-height: var(--modal-line-height);
}

#subscribeModal .alpha-plan .price,
#subscribeModal .pro-plan .price {
    font-size: var(--modal-font-medium);
    font-weight: 600;
    margin-top: var(--modal-spacing-sm);
    margin-bottom: var(--modal-spacing-md);
    line-height: var(--modal-line-height);
    min-height: 30px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
#subscribeModal .alpha-plan .price {
     color: #333;
     align-items: center;
}
#subscribeModal .pro-plan .price {
     color: #f5f5f7;
}
#subscribeModal .pro-plan .price strong.highlight-price,
#subscribeModal .pro-plan .price .suffix,
#subscribeModal .pro-plan .price .annual-price {
    font-size: inherit; 
    font-weight: inherit;
    display: inline;
    opacity: 1; 
    color: inherit; 
}
#subscribeModal .pro-plan .price strong.highlight-price {
    font-weight: 600;
    margin-right: 0.25rem;
}
#subscribeModal .pro-plan .price .suffix {
    opacity: 0.8;
    margin-right: 0.5rem;
}
#subscribeModal .pro-plan .price .annual-price {
    font-weight: 400;
    color: #50505a;
}
#monthlyPriceDisplay { display: none; }


#subscribeModal .card ul {
    flex: 1;
    margin-top: var(--modal-spacing-md);
    margin-bottom: var(--modal-spacing-md);
    padding-left: 1.1rem;
}
#subscribeModal .card ul li {
    font-size: var(--modal-font-base);
    line-height: var(--modal-line-height);
    margin-bottom: 0.4rem;
    list-style: none;
    padding-left: 0.3em;
}

#subscribeModal .cta-upgrade {
    background: var(--landing-accent);
    color: #000;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: var(--modal-radius);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: block; 
    width: fit-content; 
    margin-left: auto; 
    margin-right: auto; 
    margin-top: var(--modal-spacing-md);
}

#paymentSection {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%;
    margin-top: var(--modal-spacing-md);
}
#paymentStatus {
    margin-top: var(--modal-spacing-md);
    min-height: 18px;
    font-weight: 500;
    color: #333;
    font-size: 0.85rem;
    text-align: center; 
}
#qrCodeContainer {
    margin-top: var(--modal-spacing-md);
    display: none;
    text-align: center;
}
#qrCodeCanvas {
    border: 1px solid #eee;
    border-radius: 8px;
    background: white;
    padding: 4px;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
}
#qrCodeContainer p {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.4rem;
}
#cancelPaymentButton {
    margin-top: var(--modal-spacing-md);
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}
#cancelPaymentButton:hover {
    background-color: #5a6268;
}

#kol-leaderboard-scroll {
  height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

#kol-leaderboard-scroll::-webkit-scrollbar {
  width: 8px;
}

#kol-leaderboard-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

#kol-leaderboard-scroll::-webkit-scrollbar-thumb {
  background: var(--landing-accent);
  border-radius: 10px;
}

#kol-leaderboard-scroll::-webkit-scrollbar-thumb:hover {
  background: #45a049;
}