/* ============================================================
   TradingNest – styles.css
   Brand: Dark green (#0b3a2b) + Accent green (#7dffa9 / #34d399)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg: #070a0b;
  --bg2: #0b1210;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --stroke: rgba(141, 255, 187, 0.35);
  --stroke2: rgba(141, 255, 187, 0.18);
  --text: #eaf2ee;
  --muted: rgba(234, 242, 238, 0.75);
  --muted2: rgba(234, 242, 238, 0.55);
  --primary: #0b3a2b;
  --accent: #7dffa9;
  --accent2: #34d399;
  --danger: #ff6060;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --glow: 0 0 80px rgba(125, 255, 169, 0.12);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family:
    'Inter',
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.2px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(125, 255, 169, 0.25);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}
a {
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(125, 255, 169, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 255, 169, 0.35);
}

/* ---------- Navbar ---------- */
.tn-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  /* background: rgba(7, 10, 11, 0.72);*/
  background: #010101;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.tn-navbar.scrolled {
  /* background: rgba(7, 10, 11, 0.92); */
  background: #010101;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.tn-navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  color: var(--text) !important;
}
.tn-navbar .navbar-brand img {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.tn-navbar .nav-link {
  color: var(--muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px;
  transition:
    color 0.2s,
    background 0.2s;
}
.tn-navbar .nav-link:hover,
.tn-navbar .nav-link.active {
  color: var(--accent) !important;
  background: rgba(125, 255, 169, 0.08);
}
.tn-navbar .navbar-toggler {
  border-color: rgba(125, 255, 169, 0.25);
}
.tn-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.btn-login {
  border: 1px solid rgba(125, 255, 169, 0.35) !important;
  color: var(--accent) !important;
  background: rgba(125, 255, 169, 0.08) !important;
  font-weight: 600;
  font-size: 0.875rem;
}
.btn-login:hover {
  background: rgba(125, 255, 169, 0.18) !important;
  border-color: rgba(125, 255, 169, 0.55) !important;
  color: #fff !important;
}

/* ---------- Page Sections ---------- */
.tn-section {
  position: relative;
  padding: 100px 0 80px;
  min-height: 100vh;
}
.tn-section:first-of-type {
  padding-top: 120px;
}

/* Background accents */
.bg-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(125, 255, 169, 0.1), transparent 60%),
    radial-gradient(1000px 700px at 80% 20%, rgba(125, 255, 169, 0.07), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow > * {
  position: relative;
  z-index: 1;
}

.bg-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(1100px 650px at 50% 20%, rgba(125, 255, 169, 0.08), transparent 62%),
    radial-gradient(900px 600px at 20% 70%, rgba(125, 255, 169, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.bg-member > * {
  position: relative;
  z-index: 1;
}

/* ---------- Hero ---------- */
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
}
.hero-headline .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 54ch;
}
.hero-portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  border: 1px solid rgba(125, 255, 169, 0.15);
  cursor: pointer;
}
.hero-portrait img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 10, 11, 0.7));
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(125, 255, 169, 0.45);
  background: linear-gradient(180deg, rgba(125, 255, 169, 0.22), rgba(125, 255, 169, 0.06));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(125, 255, 169, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.btn-accent:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 255, 169, 0.7);
  background: linear-gradient(180deg, rgba(125, 255, 169, 0.3), rgba(125, 255, 169, 0.1));
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(125, 255, 169, 0.12);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(125, 255, 169, 0.3);
  color: var(--accent);
}
.btn-danger {
  border-color: rgba(255, 96, 96, 0.38);
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.18), rgba(255, 96, 96, 0.06));
  color: #ffa0a0;
}
.btn-danger:hover {
  border-color: rgba(255, 96, 96, 0.6);
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.25), rgba(255, 96, 96, 0.1));
  color: #fff;
}

/* ---------- Cards ---------- */
.tn-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.tn-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    var(--glow);
  border-color: rgba(125, 255, 169, 0.2);
}
.tn-card-static {
  /* non-hoverable card */
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tn-card .card-body,
.tn-card-static .card-body {
  padding: 1.5rem;
}

/* Feature check icon */
.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 7px;
  background: rgba(125, 255, 169, 0.14);
  border: 1px solid rgba(125, 255, 169, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.7rem;
}

/* Feature rows */
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.feature-item + .feature-item {
  margin-top: 14px;
}
.feature-item strong {
  color: var(--text);
}

/* ---------- Section Headers ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(125, 255, 169, 0.08);
  border: 1px solid rgba(125, 255, 169, 0.18);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* ---------- Pricing Badge ---------- */
.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.price-tag span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- Divider ---------- */
.tn-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 255, 169, 0.3), transparent);
  margin: 2rem 0;
  border: none;
}

/* ---------- Pill / Tag ---------- */
.tn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(125, 255, 169, 0.1);
  border: 1px solid rgba(125, 255, 169, 0.22);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tn-pill-danger {
  background: rgba(255, 96, 96, 0.1);
  border-color: rgba(255, 96, 96, 0.25);
  color: #ffa0a0;
}

/* ---------- Platform Cards (What You Get) ---------- */
.platform-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 255, 169, 0.25);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(125, 255, 169, 0.06);
}
.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(125, 255, 169, 0.18), rgba(125, 255, 169, 0.05));
  border: 1px solid rgba(125, 255, 169, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--accent);
}
.platform-card h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.platform-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- About / Bio ---------- */
.bio-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(125, 255, 169, 0.15);
  box-shadow: var(--shadow), var(--glow);
}
.bio-image {
  position: relative;
}
.bio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Play button overlay */
.hero-portrait-link {
  display: block;
  text-decoration: none;
}
.bio-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(125, 255, 169, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.bio-play-btn i {
  margin-left: 4px; /* optical centering for play triangle */
}
.hero-portrait-link:hover .bio-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(125, 255, 169, 0.65);
  box-shadow: 0 8px 40px rgba(125, 255, 169, 0.15), 0 8px 32px rgba(0, 0, 0, 0.5);
}
.bio-stat {
  text-align: center;
  padding: 1rem;
}
.bio-stat .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.bio-stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted2);
  margin-top: 4px;
}

/* ---------- Sign Up Form ---------- */
.tn-form .form-label {
  font-size: 0.8rem;
  color: var(--muted2);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.tn-form .form-control,
.tn-form .form-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.tn-form .form-control::placeholder {
  color: var(--muted2);
}
.tn-form .form-control:focus,
.tn-form .form-select:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(125, 255, 169, 0.5);
  box-shadow: 0 0 0 4px rgba(125, 255, 169, 0.1);
  color: var(--text);
}
.tn-form .form-check-input[type="checkbox"] {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  background-image: none !important;
}
.tn-form .form-check-input[type="checkbox"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(125, 255, 169, 0.18) !important;
}
.tn-form .form-check-input[type="checkbox"]:checked {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 10l4 4 8-8'/%3e%3c/svg%3e") !important;
}
.tn-form .form-check-label {
  cursor: pointer;
  color: var(--muted);
  user-select: none;
}

/* ---------- Legal / Terms Sections ---------- */
.legal-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.legal-card:hover {
  border-color: rgba(125, 255, 169, 0.2);
}
.legal-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Member Area Toolbar ---------- */
.member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---------- Tabs ---------- */
.tn-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tn-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.tn-tab:hover {
  background: rgba(125, 255, 169, 0.08);
  border-color: rgba(125, 255, 169, 0.2);
  color: var(--text);
}
.tn-tab.active {
  background: rgba(125, 255, 169, 0.14);
  border-color: rgba(125, 255, 169, 0.3);
  color: var(--accent);
}

/* ---------- Charts List ---------- */
.chart-item {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: background 0.2s;
}
.chart-item:hover {
  background: rgba(125, 255, 169, 0.03);
}
.chart-item:last-child {
  border-bottom: none;
}
.chart-meta h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.chart-meta p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}
.chart-meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.chart-thumb {
  /* max-height: 200px; */
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(125, 255, 169, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  font-size: 0.8rem;
  overflow: hidden;
}

/* ---------- Video Grid ---------- */
.video-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 255, 169, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.video-thumb {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, rgba(125, 255, 169, 0.1), rgba(255, 255, 255, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(125, 255, 169, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  transition:
    transform 0.2s,
    background 0.2s;
}
.video-card:hover .video-play {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.7);
}
.video-info {
  padding: 1.25rem;
}
.video-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.video-info p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Table ---------- */
.tn-table {
  width: 100%;
  border-collapse: collapse;
}
.tn-table th {
  padding: 0.875rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tn-table td {
  padding: 1rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tag-active {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.tn-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted2);
  font-size: 0.8rem;
  background: #010101;
}
.tn-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.tn-footer a:hover {
  color: var(--accent);
}
.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li + li {
  margin-top: 0.4rem;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 2rem 0 1.5rem;
}

/* ---------- Link style ---------- */
.tn-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
}
.tn-link:hover {
  text-decoration: underline;
  color: #a5ffca;
}

/* ---------- Video Modal ---------- */
#videoModal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
#videoModal .modal-body {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 80px rgba(125, 255, 169, 0.08);
  border: 1px solid rgba(125, 255, 169, 0.15);
}
.modal-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 10;
  opacity: 0.8;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6) !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.2s, transform 0.2s;
}
.modal-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#videoModal .modal-backdrop {
  backdrop-filter: blur(8px);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger > .fade-up:nth-child(1) {
  transition-delay: 0s;
}
.stagger > .fade-up:nth-child(2) {
  transition-delay: 0.08s;
}
.stagger > .fade-up:nth-child(3) {
  transition-delay: 0.16s;
}
.stagger > .fade-up:nth-child(4) {
  transition-delay: 0.24s;
}
.stagger > .fade-up:nth-child(5) {
  transition-delay: 0.32s;
}
.stagger > .fade-up:nth-child(6) {
  transition-delay: 0.4s;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .tn-section {
    padding: 80px 0 60px;
  }
  .chart-item {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .tn-navbar .navbar-collapse {
    background: rgba(7, 10, 11, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 767.98px) {
  .tn-section {
    padding: 70px 0 50px;
  }
  .member-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .video-thumb {
    height: 160px;
  }
}

/* ---------- Mobile nav offcanvas override ---------- */
.offcanvas {
  background: #010101; !important;
  border-left: 1px solid rgba(125, 255, 169, 0.1) !important;
}
.offcanvas-header {
  background: #010101; !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.offcanvas .nav-link {
  color: var(--muted) !important;
  font-size: 1rem;
  padding: 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.offcanvas .nav-link:hover {
  color: var(--accent) !important;
}
.offcanvas .btn-close {
  filter: invert(1);
}

.offcanvas-body {
  min-height: 100vh;
  overflow-y: auto;
  background-color: #070a0b;
}

input::placeholder,
textarea::placeholder {
  color: #8c8f93!important;
}
