/* HERO Section */
.pf-hero {
  padding: 90px 20px 80px;
  background: linear-gradient(135deg, #eef4ff 0%, #e6efff 45%, #f7faff 100%);
  border-bottom: 1px solid #dde6ff;
}

.pf-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title .highlight {
  background: linear-gradient(
    to top,
    rgba(246,196,83,0.35) 40%,
    transparent 40%
  );
  padding: 0 0.15em;
}
.hero-title .highlight {
  background: linear-gradient(
    to top,
    rgba(246,196,83,0.35) 40%,
    transparent 40%
  );
  padding: 0 0.15em;
}

/* CONTENT */
.pf-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3f5cff;
  background: #eaf0ff;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pf-hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  color: #1f2a44;
  margin-bottom: 22px;
}

.pf-hero-content p {
  max-width: 560px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4a5a8a;
  margin-bottom: 36px;
}

.pf-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.pf-hero-content small {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6b78b8;
}

.pf-btn-primary {
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
  border-radius: 10px;
  text-decoration: none;
  opacity: 1;
}

.pf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(158, 186, 251, 0.5);
}

.pf-btn-secondary {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3f5cff;
  background: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #d8e2ff;
}

/* STATS CARD */
.pf-hero-stats {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(31, 42, 68, 0.08);
  border: 1px solid #eef2ff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.pf-hero-stats .stat strong {
  font-size: 1.9rem;
  color: #1f2a44;
}

.pf-hero-stats .stat span {
  display: block;
  margin-top: 6px;
  color: #6b78b8;
  font-size: 0.95rem;
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.15s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pf-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .pf-hero-content h1 {
    font-size: 2.3rem;
  }

  .pf-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .pf-hero-content h1 {
    font-size: 1.5rem;
  }

  .pf-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* SECTION Performance*/
body {
  font-family: Inter, Arial, sans-serif;
  background: #ffffff;
  color: #111827;
  padding: 24px;
}

.tv-wrapper {
  max-width: 1200px;
  margin: auto;
  position: relative; /* needed for absolute month-tables */
}

/* ==========================
   Tabs
========================== */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* wrap on smaller screens */
  margin-bottom: 20px;
}

.tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.tab:hover {
  transform: translateY(-2px);
}

.tab.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ==========================
   Metrics
========================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
}

.metric span {
  font-size: 13px;
  color: #6b7280;
}

.metric strong {
  display: block;
  font-size: 18px;
  margin-top: 6px;
}

/* ==========================
   Table
========================== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
}

tbody td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
}

/* ==========================
   Trade Types
========================== */
.buy { color: #16a34a; font-weight: 600; }
.buy-limit { color: #2563eb; font-weight: 600; }
.sell { color: #dc2626; font-weight: 600; }
.sell-limit { color: #7c3aed; font-weight: 600; }

/* ==========================
   Results
========================== */
.tp { color: #16a34a; font-weight: 600; }
.sl { color: #dc2626; font-weight: 600; }
.be { color: #ca8a04; font-weight: 600; }
.cancel { color: #6b7280; font-weight: 600; }

/* ==========================
   P/L
========================== */
.pl-win { color: #16a34a; font-weight: 600; }
.pl-loss { color: #dc2626; font-weight: 600; }
.pl-be { color: #6b7280; }

/* ==========================
   Month Control - Smooth Fade
========================== */
.month-table {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.month-table.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* ==========================
   Responsive Design
========================== */
@media screen and (max-width: 768px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs {
    gap: 6px;
  }

  .tab {
    font-size: 12px;
    padding: 6px 12px;
  }

  table, thead, tbody, th, td, tr {
    font-size: 12px;
  }

  thead th, tbody td {
    padding: 6px;
  }
}

@media screen and (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .tab {
    flex: 1 1 100%;
    text-align: center;
  }

  table {
    font-size: 11px;
  }
}


.trade-note{
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2563eb;
  border-radius: 10px;
  background: #f9fafb;
}

.trade-note strong{
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #111827;
}

.trade-note p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

/* Mobile optimization */
@media (max-width: 640px){
  .trade-note{
    padding: 14px;
  }
  .trade-note strong{
    font-size: 14px;
  }
  .trade-note p{
    font-size: 13px;
  }
}


.signal.buy {
  color: #2563eb; /* blue */
  font-weight: 600;
}

.signal.sell {
  color: #dc2626; /* red */
  font-weight: 600;
}

/* SECTION Features*/
.pf-edge {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  padding: 90px 20px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* CONTAINER */
.pf-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* HEADINGS */
.pf-container h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.pf-subtitle {
  max-width: 760px;
  margin: 0 auto 60px;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* GRID */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* CARD */
.pf-card {
  background: #ffffff;
  padding: 34px 30px;
  border-radius: 18px;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.pf-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 14px;
}

.pf-card p {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* FOOTER NOTE */
.pf-footer {
  margin-top: 70px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 34px 40px;
  border-radius: 18px;
  font-size: 1.05rem;
  color: #0f172a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.pf-footer strong {
  color: #1d4ed8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pf-container h2 {
    font-size: 2rem;
  }

  .pf-subtitle {
    font-size: 1rem;
  }

  .pf-footer {
    padding: 28px;
    font-size: 1rem;
  }
}
.cta-section {
  padding: 60px 20px 80px;
  background: linear-gradient(135deg, #eef4ff 0%, #e3ecff 50%, #f6f9ff 100%);
  text-align: center;
  border-top: 1px solid #dde6ff;
}

/* Headline */
.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 14px;
}

/* Subtext */
.cta-subtext {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a5a8a;
}


.cta-btn {
  display: inline-block;
  padding: 16px 44px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff !important; /* FORCE white text */
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.5);
  color: #ffffff !important; /* keep white on hover */
}


/* Small note */
.cta-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #6b78b8;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-btn {
    padding: 15px 36px;
    width: 100%;
    max-width: 320px;
  }
}

