/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark: #0a0e1a;
  --dark2: #111827;
  --dark3: #1e2535;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --accent: #3b82f6;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* ── News Ticker ──────────────────────────────────────────── */
.news-ticker {
  background: #0f1729;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.ticker-label {
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 0 12px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-muted);
  animation: ticker 60s linear infinite;
  padding-left: 100%;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 36px;
  z-index: 1000;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--gold); }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav a:hover { color: var(--gold); }
.btn-login { background: var(--gold); color: #000; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background 0.2s; }
.btn-login:hover { background: var(--gold-light); }
.hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0f1a2e 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
}
.hero-tag { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.hero-text h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.1; margin-bottom: 20px; color: var(--white); }
.hero-text h1 span { color: var(--gold); }
.hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #000; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: opacity 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); padding: 11px 26px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--gold); color: #000; }
.hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.2); }
.hero-img img { width: 100%; height: 480px; object-fit: cover; }
.hero-stats { background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.08); }
.stats-row { display: flex; justify-content: space-around; padding: 28px 0; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── About ────────────────────────────────────────────────── */
.about { background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 16px; width: 100%; height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: #000;
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge span { display: block; font-size: 12px; font-weight: 500; }
.about-badge strong { display: block; font-size: 18px; font-weight: 800; }
.section-tag { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: var(--white); margin-bottom: 20px; }
.about-text h2 span { color: var(--gold); }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

/* ── Section Header ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 44px); color: var(--white); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ── Cards ────────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.three-col { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  background: var(--dark3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-stars { color: var(--gold); font-size: 14px; margin-bottom: 8px; }
.card-body h3 { color: var(--white); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-price { font-size: 18px; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.card-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.card-price del { font-size: 14px; color: var(--text-muted); font-weight: 400; margin-right: 6px; }
.btn-card { display: block; text-align: center; background: rgba(201,168,76,0.1); border: 1px solid var(--gold); color: var(--gold); padding: 10px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.2s; }
.btn-card:hover { background: var(--gold); color: #000; }
.card.featured { border-color: var(--gold); }
.card-badge { background: var(--gold); color: #000; font-size: 11px; font-weight: 700; padding: 4px 12px; text-align: center; letter-spacing: 1px; }

/* ── Indicators Section ───────────────────────────────────── */
.indicators { background: var(--dark); }

/* ── Courses Section ──────────────────────────────────────── */
.courses { background: var(--dark2); }

/* ── News Section ─────────────────────────────────────────── */
.news-section { background: var(--dark); }
.news-filters { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: #000; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; min-height: 200px; }
.news-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.news-card-source { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.news-card h4 { color: var(--white); font-size: 15px; font-weight: 600; line-height: 1.4; }
.news-card p { color: var(--text-muted); font-size: 13px; line-height: 1.6; flex: 1; }
.news-card-footer { display: flex; justify-content: space-between; align-items: center; }
.news-card-time { font-size: 12px; color: var(--text-muted); }
.news-card-link { font-size: 13px; color: var(--gold); font-weight: 600; }
.news-loading { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 60px; color: var(--text-muted); }
.spinner { width: 36px; height: 36px; border: 3px solid rgba(201,168,76,0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.news-source-note { text-align: center; margin-top: 24px; font-size: 12px; color: var(--text-muted); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--dark2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--dark3); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255,255,255,0.06); }
.testimonial-card .stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; }
.testimonial-card p { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #000; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author strong { display: block; color: var(--white); font-size: 15px; }
.author span { font-size: 12px; color: var(--text-muted); }

/* ── Contact ──────────────────────────────────────────────── */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 40px); color: var(--white); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 15px; }
.contact-item span:first-child { font-size: 20px; }
.contact-item a:hover { color: var(--gold); }
.contact-form { background: var(--dark3); border-radius: var(--radius); padding: 36px; border: 1px solid rgba(255,255,255,0.06); }
.contact-form h3 { color: var(--white); font-size: 22px; margin-bottom: 24px; }
.contact-form input, .contact-form select {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); font-size: 14px; margin-bottom: 12px; outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus { border-color: var(--gold); }
.contact-form select option { background: var(--dark2); }
.contact-form .btn-primary { width: 100%; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 15px; }
.form-msg { text-align: center; margin-top: 12px; font-size: 14px; color: var(--gold); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: #060912; border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-col p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text-muted); transition: all 0.2s; }
.social-links a:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 0; bottom: -16px; }
}
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 999; }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .btn-login { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 24px; }
  .hero-content { gap: 32px; }
}
