/* ============================================================
   VPSchoolOfTrading — Global Stylesheet
   Theme: Dark Premium | Deep Orange + Gold
   Font: Rajdhani (Display) + DM Sans (Body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --black:        #0a0a0a;
  --black-2:      #111111;
  --black-3:      #181818;
  --black-4:      #222222;
  --black-5:      #2a2a2a;
  --orange:       #e85d04;
  --orange-light: #f48c06;
  --orange-dark:  #c44d03;
  --gold:         #ffd000;
  --gold-light:   #ffe566;
  --gold-dim:     #b8960c;
  --white:        #ffffff;
  --white-80:     rgba(255,255,255,0.80);
  --white-60:     rgba(255,255,255,0.60);
  --white-30:     rgba(255,255,255,0.30);
  --white-10:     rgba(255,255,255,0.08);
  --text:         #e8e8e8;
  --text-muted:   #9a9a9a;
  --border:       rgba(255,255,255,0.08);
  --border-gold:  rgba(255,208,0,0.25);
  --glow-orange:  0 0 40px rgba(232,93,4,0.35);
  --glow-gold:    0 0 40px rgba(255,208,0,0.20);
  --card-shadow:  0 8px 40px rgba(0,0,0,0.6);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ─── Announcement Bar ──────────────────────────────────────── */
#announcement-bar {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--orange-light));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.bar-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.bar-track:hover { animation-play-state: paused; }
.bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 48px;
}
.bar-item i { color: var(--gold); }
.bar-sep { color: rgba(255,255,255,0.4); margin: 0 8px; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.nav-logo-text .tagline { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--white-80);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: var(--white-10);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.btn-admin-nav {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold) !important;
  font-size: 0.8rem !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  transition: background var(--transition), color var(--transition) !important;
}
.btn-admin-nav:hover { background: var(--gold) !important; color: var(--black) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,93,4,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,93,4,0.55);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255,208,0,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,208,0,0.45);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--white-10);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--white-30); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-telegram {
  background: #0088cc;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,136,204,0.35);
}
.btn-telegram:hover { background: #007ab8; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ─── Section Layouts ───────────────────────────────────────── */
.section {
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  padding: 90px 24px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white-10);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-60);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: var(--orange);
}

/* ─── Grid Layouts ──────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 24px; }

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
}

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-orange { background: rgba(232,93,4,0.15); color: var(--orange); border: 1px solid rgba(232,93,4,0.3); }
.badge-gold   { background: rgba(255,208,0,0.12); color: var(--gold); border: 1px solid rgba(255,208,0,0.25); }
.badge-green  { background: rgba(37,211,102,0.12); color: #25d366; border: 1px solid rgba(37,211,102,0.25); }

/* ─── Stat Boxes ────────────────────────────────────────────── */
.stat-box {
  text-align: center;
  padding: 24px 16px;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Fade-in Animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Page Hero Banner ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--black-2) 0%, var(--black-3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(232,93,4,0.12) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--white); margin-bottom: 10px; position: relative; }
.page-hero p  { color: var(--white-60); max-width: 540px; margin: 0 auto; position: relative; }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { width: 64px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.footer-col .contact-item i { color: var(--orange); width: 16px; }
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white-10);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ─── Toast Notification ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--black-4);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--card-shadow);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: #25d366; }
.toast.success i { color: #25d366; }
.toast.error { border-color: var(--orange); }
.toast.error i { color: var(--orange); }

/* ─── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; color: var(--white); }
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white-10);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--orange); color: #fff; }

/* ─── Form Styles ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-80);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,93,4,0.15); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.form-check input[type="checkbox"] { accent-color: var(--orange); width: 16px; height: 16px; }
.form-check label { font-size: 0.88rem; color: var(--white-80); cursor: pointer; }

/* ─── Floating WhatsApp Button ──────────────────────────────── */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 998;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-green 2.5s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); animation: none; }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 35px rgba(37,211,102,0.7); }
}

/* ─── Responsive Breakpoints ────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--black-2); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  #navbar { position: relative; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .section { padding: 60px 16px; }
  .section-full { padding: 60px 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
