/* ===========================================================
   Trading Point — Premium Fintech Landing Page
   =========================================================== */

:root {
  --bg: #050816;
  --bg-secondary: #0A1F44;
  --accent-blue: #00D4FF;
  --gold: #FFD166;
  --white: #FFFFFF;
  --gray: #94A3B8;
  --success: #3ddc97;
  --danger: #ff6b6b;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-glow-blue: 0 0 40px rgba(0, 212, 255, 0.25);
  --shadow-glow-gold: 0 0 40px rgba(255, 209, 102, 0.25);

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--gray); font-size: 1.05rem; }

section { position: relative; padding: 110px 0; }

/* ---------- Glass / cards ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent-blue), #4fe3ff);
  color: #001018;
  box-shadow: var(--shadow-glow-blue);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 55px rgba(0,212,255,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); transform: translateY(-3px); }
.btn-gold { border-color: rgba(255,209,102,0.5); }
.btn-gold:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

.ripple { position: relative; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(3); opacity: 0; }
}

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { animation: pulseLogo 1.6s ease-in-out infinite; }
@keyframes pulseLogo { 0%,100% { opacity: 0.6; transform: scale(0.96);} 50% { opacity: 1; transform: scale(1);} }
.loader-bar { width: 220px; height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  animation: loadBar 1.4s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(0,212,255,0.10), transparent 70%);
  transform: translate(-50%, -50%);
  left: -400px; top: -400px;
  transition: left 0.12s linear, top 0.12s linear;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  z-index: 1001; width: 0%;
  box-shadow: 0 0 12px rgba(0,212,255,0.6);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.92rem; color: var(--gray); transition: color 0.25s; position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--gold));
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,212,255,0.12), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,209,102,0.08), transparent 55%),
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero-sub { color: var(--gray); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.counter { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--accent-blue); }
.hero-stats small { color: var(--gray); font-size: 0.82rem; }
.hero-visual { display: flex; justify-content: center; }
.float-slow { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0px);} 50% { transform: translateY(-18px);} }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-cue span { display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.3); border-radius: 20px; position: relative; }
.scroll-cue span::before {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent-blue); border-radius: 4px; animation: scrollCue 1.6s infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0);} 100% { opacity: 0; transform: translateY(14px);} }

/* ---------- Why / feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card { padding: 36px 26px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(0,212,255,0.4); box-shadow: var(--shadow-glow-blue); }
.feature-icon { margin-bottom: 20px; transition: transform 0.4s var(--ease); }
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-4deg); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; }
.price-card {
  padding: 44px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.plan-name { font-size: 1.3rem; margin-bottom: 6px; }
.plan-duration { color: var(--gray); margin-bottom: 18px; font-size: 0.9rem; }
.plan-price { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; margin-bottom: 26px; }
.plan-price .currency { font-size: 1.4rem; vertical-align: top; margin-right: 2px; }
.plan-price .cycle { display: block; font-size: 0.8rem; color: var(--gray); font-weight: 400; margin-top: 4px; }
.plan-features { margin-bottom: 32px; text-align: left; }
.plan-features li { padding: 8px 0; color: var(--gray); font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.plan-features li:last-child { border-bottom: none; }

.price-card-pro {
  border: 1.5px solid rgba(0,212,255,0.5);
  box-shadow: var(--shadow-glow-blue);
  transform: scale(1.06);
  z-index: 2;
}
.price-card-pro:hover { transform: scale(1.06) translateY(-6px); }
.price-card-elite {
  border: 1.5px solid rgba(255,209,102,0.45);
  box-shadow: var(--shadow-glow-gold);
}
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-blue), #4fe3ff);
  color: #001018; font-size: 0.75rem; font-weight: 700;
  padding: 6px 18px; border-radius: 999px; letter-spacing: 0.03em;
}
.badge-gold { background: linear-gradient(90deg, var(--gold), #ffe0a3); }
.pricing-note { text-align: center; color: var(--gray); font-size: 0.82rem; margin-top: 40px; }

/* ---------- Curriculum timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent-blue), var(--gold));
  box-shadow: 0 0 12px rgba(0,212,255,0.5);
}
.timeline-item { position: relative; margin-bottom: 26px; padding-left: 30px; }
.timeline-dot {
  position: absolute; left: -30px; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent-blue); box-shadow: 0 0 14px rgba(0,212,255,0.6);
}
.timeline-content { padding: 22px 26px; }
.timeline-content span { color: var(--gold); font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; }
.timeline-content h4 { margin: 6px 0 6px; font-size: 1.1rem; }
.timeline-content p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Experience split ---------- */
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { margin: 26px 0 34px; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--white); font-size: 1rem; }
.check-list .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,212,255,0.15); color: var(--accent-blue); font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; min-width: 480px; }
.compare-table thead th {
  font-family: var(--font-heading); text-align: center; padding: 14px; font-size: 1rem; color: var(--gray);
}
.compare-table thead th:last-child { color: var(--accent-blue); }
.compare-row td {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  text-align: center; padding: 18px; font-size: 0.95rem; opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.compare-row.in-view td { opacity: 1; transform: translateY(0); }
.compare-row td:first-child { border-radius: 14px 0 0 14px; color: var(--gray); }
.compare-row td:last-child { border-radius: 0 14px 14px 0; }
.compare-row td.highlight { color: var(--accent-blue); font-weight: 600; border-color: rgba(0,212,255,0.3); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { padding: 32px 28px; transition: transform 0.4s var(--ease); }
.testimonial-card:hover { transform: translateY(-6px); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card p { color: var(--gray); font-size: 0.93rem; margin-bottom: 18px; min-height: 90px; }
.testimonial-chart { margin-bottom: 18px; opacity: 0.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { border-radius: 50%; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { color: var(--gray); font-size: 0.8rem; }
.disclaimer-inline { text-align: center; color: var(--gray); font-size: 0.78rem; margin-top: 36px; }

/* ---------- FAQ Accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; color: var(--white);
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.acc-icon { color: var(--accent-blue); font-size: 1.2rem; transition: transform 0.35s var(--ease); }
.accordion-item.open .acc-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 24px;
}
.accordion-item.open .accordion-panel { padding: 0 24px 20px; }
.accordion-panel p { color: var(--gray); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  text-align: center;
  padding: 130px 0;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.12), transparent 60%), var(--bg-secondary);
  overflow: hidden;
}
.cta-canvas { position: absolute; inset: 0; opacity: 0.35; }
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 18px; }
.cta-inner p { color: var(--gray); margin-bottom: 36px; font-size: 1.05rem; }
.cta-inner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #030512; padding: 70px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--gray); margin: 14px 0 20px; font-size: 0.9rem; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--gray);
  transition: 0.3s;
}
.social-icons a:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--white); }
.footer-col a { display: block; color: var(--gray); font-size: 0.88rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--accent-blue); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; color: var(--gray); font-size: 0.78rem; line-height: 1.7;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; color: var(--gray); font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.back-to-top {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03); color: var(--white); cursor: pointer; font-size: 1.1rem;
  transition: 0.3s;
}
.back-to-top:hover { background: var(--accent-blue); color: #001018; transform: translateY(-3px); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1fae59;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.45);
  animation: whatsappPulse 2.4s infinite;
}
@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 899;
  display: none; padding: 12px 16px;
  background: rgba(5,8,22,0.9); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sticky-mobile-cta .btn { width: 100%; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card-pro { transform: scale(1); order: -1; }
  .price-card-pro:hover { transform: translateY(-6px); }
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: rgba(5,8,22,0.97);
    flex-direction: column; padding: 24px; gap: 20px; transform: translateY(-120%); opacity: 0;
    transition: 0.35s var(--ease); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .sticky-mobile-cta { display: block; }
}

@media (max-width: 600px) {
  section { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
