/* ============================================================
   Nana Forex — Homepage modernization overlay
   Loads after style.css / styles.css. Additive: styles only the
   new sections + refines the existing hero/stats/testimonials.
   ============================================================ */

/* ---------- Small shared bits ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--secondary, #00c896);
  margin-bottom: 0.75rem;
}
.section-eyebrow i {
  margin-right: 0.35rem;
  color: #229ED9; /* Telegram blue when the eyebrow is on Telegram section */
}

/* ---------- Hero refinements ---------- */
.hero h1 {
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 640px;
  margin: 1.25rem auto 1.75rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-buttons .btn-primary i,
.hero-buttons .btn-secondary i {
  margin-right: 0.4rem;
}
.hero-trust {
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.hero-trust span i {
  color: #00ff88;
  margin-right: 0.3rem;
}

/* ---------- Stats: honest + polished ---------- */
.stats-modern {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 6rem) !important;
}
@media (max-width: 900px) { .stats-modern { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-modern { grid-template-columns: 1fr; } }
.stats-modern .stat-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stats-modern .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 200, 150, 0.25);
}
.stats-modern .stat-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gold, #f5b700);
  margin-bottom: 0.35rem;
}
.stats-modern .stat-card h2 i { margin-right: 0.3rem; }
.stats-modern .stat-card p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FOUNDER STRIP
   ============================================================ */
.founder {
  padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 5vw, 6rem);
}
.founder-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; text-align: center; } }

.founder-photo {
  position: relative;
  aspect-ratio: 1 / 1;
}
.founder-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.15), rgba(0, 200, 150, 0.12));
  border: 1px solid rgba(245, 183, 0, 0.25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.22), rgba(5, 10, 22, 0.85));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 183, 0, 0.5);
  color: var(--gold, #f5b700);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.founder-badge i { margin-right: 0.35rem; }

.founder-content h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0.25rem 0 0.5rem;
}
.founder-role {
  color: var(--gold, #f5b700);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.founder-content > p:not(.founder-role) {
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin-bottom: 1.75rem;
}
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
  max-width: 580px;
}
@media (max-width: 480px) { .founder-stats { grid-template-columns: 1fr; } }
.founder-stats > div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.founder-stats strong {
  font-size: 1rem;
  color: #fff;
}
.founder-stats span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.founder-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 820px) { .founder-social { justify-content: center; } }
.founder-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.founder-social a:hover {
  background: rgba(0, 200, 150, 0.12);
  border-color: rgba(0, 200, 150, 0.35);
}

/* ============================================================
   FEATURED AT — real event photos strip below the founder
   ============================================================ */
.featured-at {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.featured-at-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
}
.featured-at-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 820px) { .featured-at-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .featured-at-grid { grid-template-columns: 1fr; } }

.featured-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.55);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.featured-photo:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 183, 0, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: saturate(0.9) brightness(0.92);
}
.featured-photo:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}
.featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 22, 0.85));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.2px;
}
.founder-badge.awardish {
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.2), rgba(5, 10, 22, 0.85));
  border-color: rgba(245, 183, 0, 0.5);
  color: var(--gold, #f5b700);
}

/* ============================================================
   TELEGRAM FEATURE
   ============================================================ */
.telegram-feature {
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 5vw, 6rem);
}
.telegram-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.15), rgba(0, 200, 150, 0.08));
  border: 1px solid rgba(34, 158, 217, 0.28);
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}
@media (max-width: 820px) { .telegram-inner { grid-template-columns: 1fr; text-align: center; } }
.telegram-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.telegram-content > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  max-width: 580px;
}
@media (max-width: 820px) { .telegram-content > p { margin-inline: auto; } }
.telegram-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  max-width: 520px;
}
@media (max-width: 820px) { .telegram-features { margin-inline: auto; } }
@media (max-width: 480px) { .telegram-features { grid-template-columns: 1fr; } }
.telegram-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.telegram-features li i { color: #229ED9; }
.telegram-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.telegram-visual .tg-orb {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(34, 158, 217, 0.35), transparent 60%);
  filter: blur(20px);
}
.telegram-visual i {
  position: relative;
  font-size: clamp(6rem, 12vw, 9rem);
  color: #229ED9;
  filter: drop-shadow(0 20px 40px rgba(34, 158, 217, 0.45));
}

/* ============================================================
   TESTIMONIALS — upgraded
   ============================================================ */
.testimonials-modern {
  padding-block: clamp(4rem, 6vw, 6rem);
}
.testimonials-modern .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonials-modern .section-title h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.testimonials-modern .section-title p {
  color: rgba(255, 255, 255, 0.55);
}
.testimonials-modern .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .testimonials-modern .testimonial-grid { grid-template-columns: 1fr; } }
.testimonials-modern .testimonial-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonials-modern .testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 150, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.testi-quote i {
  font-size: 1.5rem;
  color: rgba(245, 183, 0, 0.6);
}
.testimonials-modern .testimonial-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c896, #00ff88);
  color: #051222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testi-meta strong {
  color: #fff;
  font-size: 0.95rem;
}
.testi-meta span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Performance preview empty state ---------- */
.perf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.perf-empty i {
  font-size: 2.25rem;
  color: rgba(245, 183, 0, 0.55);
  margin-bottom: 0.5rem;
}
.perf-empty p {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.perf-empty span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 460px;
}
.performance-preview .metric-card h2[data-metric] {
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.home-faq {
  padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 5vw, 6rem);
}
.home-faq .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.home-faq .section-title h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(0, 200, 150, 0.35);
  background: rgba(0, 200, 150, 0.06);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--secondary, #00c896); }
.faq-item summary i {
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}
.faq-item[open] summary i {
  transform: rotate(180deg);
  color: #00ff88;
}
.faq-item p {
  padding: 0 1.35rem 1.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
