/* Enhanced Homepage Components - Modern Fintech 2026 */

/* ===== Hero Trust Badge ===== */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  color: rgba(187,247,208,.95);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(34,197,94,.15);
}

.hero-trust-badge i {
  color: rgba(74,222,128,1);
  font-size: 1rem;
}

.hero-trust-badge strong {
  color: rgba(255,255,255,.95);
}

/* ===== Hero Highlight Text ===== */
.hero-highlight {
  background: linear-gradient(135deg, #2e61c5, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* ===== Hero Proof Stats ===== */
.hero-proof-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0 2.5rem 0;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.proof-label {
  color: rgba(148,163,184,.90);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ===== Hero CTAs Enhanced ===== */
.btn-hero-primary {
  font-size: 1.1rem !important;
  padding: 15px 32px !important;
  box-shadow: 0 16px 40px rgba(46,97,197,.30) !important;
}

.btn-hero-primary:hover {
  box-shadow: 0 20px 50px rgba(46,97,197,.40) !important;
}

.btn-hero-secondary {
  font-size: 1.1rem !important;
  padding: 15px 32px !important;
}

/* ===== Hero Trust Indicators ===== */
.hero-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-indicator {
  color: rgba(148,163,184,.85);
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-indicator i {
  color: rgba(74,222,128,.85);
}

/* ===== Verified Testimonials ===== */
.verified-testimonial {
  position: relative;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.30);
  color: rgba(74,222,128,.95);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: .9rem;
}

.testimonial .text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(229,231,235,.92);
  margin: 1.5rem 0;
}

.author-info {
  margin-top: 1.5rem;
}

.author-meta {
  color: rgba(148,163,184,.85);
  font-size: .85rem;
  margin-top: 4px;
  font-weight: 600;
}

/* ===== Trust Metrics ===== */
.trust-metric {
  padding: 1.5rem 1rem;
}

.trust-metric-icon {
  font-size: 2.5rem;
  color: rgba(46,97,197,.85);
  margin-bottom: 1rem;
}

.trust-metric-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  letter-spacing: -.01em;
  margin-bottom: 6px;
}

.trust-metric-label {
  color: rgba(148,163,184,.85);
  font-size: .9rem;
  font-weight: 600;
}

/* ===== Community Section ===== */
.community-section {
  background: linear-gradient(180deg, rgba(15,23,42,.35), rgba(15,23,42,.65));
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.community-card {
  position: relative;
  padding: 28px;
  text-align: center;
  transition: all .3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46,97,197,.45);
  box-shadow: 0 20px 50px rgba(46,97,197,.25), 0 16px 40px rgba(0,0,0,.45);
  text-decoration: none;
  color: inherit;
}

.community-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.community-icon.discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: #fff;
}

.community-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
  color: #fff;
}

.community-icon.twitter {
  background: linear-gradient(135deg, #1DA1F2, #1a91da);
  color: #fff;
}

.community-icon.youtube {
  background: linear-gradient(135deg, #FF0000, #cc0000);
  color: #fff;
}

.community-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  margin: 0;
}

.community-card p {
  color: rgba(148,163,184,.90);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.community-meta {
  color: rgba(148,163,184,.75);
  font-size: .85rem;
  font-weight: 700;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}

/* ===== Live Signup Notification Toast ===== */
.signup-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(15,23,42,.92);
  border: 1px solid rgba(34,197,94,.35);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  animation: slideInUp .4s ease;
  opacity: 0;
  transform: translateY(100px);
}

.signup-notification.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signup-notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e61c5, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.signup-notification-content {
  flex-grow: 1;
}

.signup-notification-name {
  font-weight: 800;
  color: rgba(255,255,255,.95);
  font-size: .95rem;
  margin-bottom: 2px;
}

.signup-notification-action {
  color: rgba(148,163,184,.85);
  font-size: .85rem;
}

.signup-notification-close {
  background: transparent;
  border: none;
  color: rgba(148,163,184,.75);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all .2s ease;
}

.signup-notification-close:hover {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
}

/* ===== Performance Chart Preview ===== */
.performance-preview {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
  padding: 24px;
  margin: 3rem 0;
  overflow: hidden;
}

.performance-preview::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(45% 45% at 30% 20%, rgba(46,97,197,.18), transparent 65%);
  filter: blur(18px);
  opacity: .8;
  z-index: 0;
}

.performance-preview > * {
  position: relative;
  z-index: 1;
}

.performance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.performance-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  margin: 0;
}

.performance-period {
  color: rgba(148,163,184,.85);
  font-size: .9rem;
  font-weight: 700;
}

.performance-chart-placeholder {
  height: 280px;
  background: linear-gradient(135deg, rgba(46,97,197,.08), rgba(34,197,94,.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148,163,184,.65);
  font-size: .95rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.performance-chart-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M0,100 Q50,40 100,60 T200,80 T300,50 T400,70" fill="none" stroke="rgba(46,97,197,.4)" stroke-width="3"/></svg>') center/contain no-repeat;
  opacity: .6;
}

/* ===== Dashboard Screenshot Preview ===== */
.dashboard-preview-section {
  margin: 4rem 0;
}

.dashboard-screenshot {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
  background: rgba(15,23,42,.75);
  position: relative;
}

.dashboard-screenshot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 45% at 50% 20%, rgba(46,97,197,.15), transparent 65%);
  pointer-events: none;
}

.dashboard-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-screenshot-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(15,23,42,.85), rgba(30,41,59,.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(148,163,184,.65);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-proof-stats {
    gap: 2rem;
  }
  
  .proof-value {
    font-size: 1.8rem;
  }
  
  .proof-label {
    font-size: .85rem;
  }
  
  .hero-trust-indicators {
    gap: 1rem;
    font-size: .85rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 1rem !important;
    padding: 12px 24px !important;
  }
  
  .community-grid {
    grid-template-columns: 1fr;
  }
  
  .signup-notification {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 12px;
  }
}
