/* ============================================================
   TRADING POINT — ADMISSION PORTAL v1.0
   style.css — Premium Fintech Theme
   Inspired by TradingView / Binance / Stripe / Apple
   ============================================================ */

:root {
  --bg: #050816;
  --bg-soft: #0b1230;
  --blue: #00D4FF;
  --gold: #FFD166;
  --white: #FFFFFF;
  --gray: #94A3B8;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(148, 163, 184, 0.15);
  --green: #22C55E;
  --red: #F87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-blue: 0 0 40px rgba(0, 212, 255, 0.25);
  --shadow-gold: 0 0 40px rgba(255, 209, 102, 0.25);
  --ff: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-label { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: center; display: block; margin-bottom: 12px; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--gray); max-width: 560px; margin: 0 auto 56px; font-size: 16px; }

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

/* ---------- Neon text/glow utilities ---------- */
.glow-blue { text-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
.glow-gold { text-shadow: 0 0 20px rgba(255, 209, 102, 0.6); }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0099cc);
  color: #001018;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 40px rgba(0, 212, 255, 0.55); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e0a83a);
  color: #1a1200;
  box-shadow: 0 8px 30px rgba(255, 209, 102, 0.35);
}
.btn-gold:hover { box-shadow: 0 8px 40px rgba(255, 209, 102, 0.55); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(5, 8, 22, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  transition: background .3s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--gray); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.12), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255, 209, 102, 0.10), transparent 45%),
    var(--bg);
}
#particles-canvas, #chart-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
#chart-canvas { opacity: 0.35; }
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--gold); margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
.hero h1 {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero h1 .highlight { color: var(--blue); text-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
.hero p.sub {
  color: var(--gray);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.hero-stats .stat-num { font-size: 28px; font-weight: 800; color: var(--white); }
.hero-stats .stat-label { font-size: 13px; color: var(--gray); margin-top: 4px; }

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 32px 0; border-top: 1px solid rgba(148,163,184,0.08); border-bottom: 1px solid rgba(148,163,184,0.08); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; color: var(--gray); font-size: 13px; font-weight: 600; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan-card {
  padding: 40px 32px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-8px); }
.plan-card.pro { border: 1.5px solid var(--blue); box-shadow: var(--shadow-blue); }
.plan-card.elite { border: 1.5px solid var(--gold); box-shadow: var(--shadow-gold); background: linear-gradient(180deg, rgba(255,209,102,0.06), transparent); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #001018; font-size: 12px; font-weight: 800;
  padding: 6px 18px; border-radius: 999px; letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(0,212,255,0.5);
}
.plan-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan-duration { color: var(--gray); font-size: 13px; margin-bottom: 24px; }
.plan-price { font-size: 42px; font-weight: 800; margin-bottom: 2px; }
.plan-price sup { font-size: 20px; margin-right: 2px; }
.plan-price-note { color: var(--gray); font-size: 13px; margin-bottom: 28px; }
.plan-features { flex: 1; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 14.5px; color: #E2E8F0; }
.plan-features li .check { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.plan-card.elite .plan-features li .check { color: var(--gold); }
.plan-card.elite .plan-price, .plan-card.elite .plan-name { color: var(--gold); }

/* ---------- Registration Form ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray); }
.form-group input, .form-group select {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}
.form-group input.invalid, .form-group select.invalid { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red); min-height: 14px; }
.selected-plan-box {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 8px 0 28px;
}
.selected-plan-box .label { font-size: 13px; color: var(--gray); }
.selected-plan-box .value { font-size: 18px; font-weight: 800; color: var(--blue); }
.selected-plan-box .amount { font-size: 22px; font-weight: 800; color: var(--gold); }
.pay-summary { display: flex; justify-content: space-between; font-size: 14px; color: var(--gray); margin: 20px 0; }
.pay-summary strong { color: var(--white); font-size: 18px; }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--gray); font-size: 12px; margin-top: 16px; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 32px; border-top: 1px solid rgba(148,163,184,0.1); }
footer .container { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
footer .foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
footer .foot-links a { color: var(--gray); font-size: 13px; }
footer .copyright { color: #475569; font-size: 12px; }
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  animation: floatPulse 2.4s infinite;
}
@keyframes floatPulse { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.08);} }

/* ---------- Success / Failed pages ---------- */
.status-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.status-card { max-width: 520px; width: 100%; padding: 48px 40px; text-align: center; }
.status-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.status-icon.success { background: rgba(34,197,94,0.15); box-shadow: 0 0 40px rgba(34,197,94,0.35); animation: pop .5s ease; }
.status-icon.fail { background: rgba(248,113,113,0.15); box-shadow: 0 0 40px rgba(248,113,113,0.35); animation: pop .5s ease; }
@keyframes pop { 0%{ transform: scale(0);} 70%{ transform: scale(1.1);} 100%{ transform: scale(1);} }
.status-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.status-card p.sub { color: var(--gray); margin-bottom: 28px; font-size: 14.5px; }
.detail-list { text-align: left; margin-bottom: 28px; }
.detail-list .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(148,163,184,0.1); font-size: 14px; }
.detail-list .row span:first-child { color: var(--gray); }
.detail-list .row span:last-child { font-weight: 700; }
.status-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Receipt (print) ---------- */
.receipt-wrap { max-width: 640px; margin: 40px auto; padding: 40px; }
.receipt-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--blue); padding-bottom: 20px; margin-bottom: 24px; }
.receipt-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.receipt-table td { padding: 10px 0; border-bottom: 1px solid rgba(148,163,184,0.15); font-size: 14px; }
.receipt-table td:first-child { color: var(--gray); }
.receipt-table td:last-child { text-align: right; font-weight: 700; }
.receipt-stamp { text-align: center; color: var(--green); font-weight: 800; letter-spacing: 1px; border: 2px solid var(--green); display: inline-block; padding: 6px 18px; border-radius: 8px; transform: rotate(-4deg); }

@media print {
  body { background: #fff !important; color: #000 !important; }
  .no-print { display: none !important; }
  .receipt-wrap { box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; color: #000 !important; }
  .receipt-table td, .receipt-header, .receipt-header * { color: #000 !important; }
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); color: var(--white); font-family: var(--ff); min-height: 100vh; }
.admin-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid rgba(148,163,184,0.12); }
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { padding: 24px; }
.stat-card .num { font-size: 30px; font-weight: 800; }
.stat-card .lbl { color: var(--gray); font-size: 13px; margin-top: 6px; }
.admin-table-wrap { padding: 8px; overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.admin-table th, table.admin-table td { padding: 12px 16px; text-align: left; font-size: 13.5px; border-bottom: 1px solid rgba(148,163,184,0.1); }
table.admin-table th { color: var(--gray); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.badge-paid { color: var(--green); background: rgba(34,197,94,0.12); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.admin-login-card { width: 100%; max-width: 380px; padding: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 28px; }
  .section { padding: 64px 0; }
  .form-wrap { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .status-card, .receipt-wrap { padding: 32px 22px; }
}
