:root {
  --bg: #0b1225;
  --surface: #111834;
  --card: #141c3a;
  --border: #1f2a4d;
  --text: #e6e9f5;
  --muted: #a9b1d6;
  --primary: #0078d4; /* Azure brand blue */
  --accent: #00c7ff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -20%, #213162 0%, transparent 60%),
              radial-gradient(1200px 600px at 120% 0%, #0f1632 0%, transparent 60%),
              var(--bg);
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,37,0.75); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand-logo { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 10px; width: 36px; height: 36px; box-shadow: var(--shadow); overflow: hidden; }
.brand-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: rgba(255,255,255,0.06); }

/* Buttons */
.btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-weight: 600; border: 1px solid transparent; border-radius: 10px; padding: 10px 16px; text-decoration: none; cursor: pointer; transition: all 0.2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 14px 18px; border-radius: 12px; }

/* Hero */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, rgba(0,120,212,0.15), transparent 50%); }
.hero-content { display: grid; gap: 28px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.1; margin: 0 0 14px; }
.subtitle { color: var(--muted); font-size: 18px; }
.hero-highlights { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.hero-highlights li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 10px 12px; border-radius: 12px; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.hero .glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,199,255,0.35), transparent 90%); filter: blur(6px); transform: translate(20px, 10px); }
.stack { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; min-width: 320px; box-shadow: var(--shadow); }
.card-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.card-row + .card-row { margin-top: 10px; }
/* Hero logo */
.hero-logo { display: flex; align-items: center; justify-content: center; }
.hero-logo-img { width: 180px; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35)); }

/* Countdown */
.deadline { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); box-shadow: var(--shadow); }
.deadline-label { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--accent); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); gap: 10px; }
.unit { display: grid; place-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.04); }
.unit .value { font-size: 26px; font-weight: 700; }
.unit .text { color: var(--muted); font-size: 12px; }
.deadline-note { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, rgba(20,28,58,0.6), rgba(20,28,58,0.2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { display: grid; grid-template-columns: 40px auto; gap: 12px; align-items: start; }
.feature i { font-size: 24px; color: var(--accent); }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullets li { display: flex; align-items: center; gap: 10px; }
.bullets i { color: var(--accent); }

.note { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Certificate preview */
.cert-preview { margin-top: 18px; border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); box-shadow: var(--shadow); }
.cert-header { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.cert-body { display: flex; align-items: center; justify-content: center; }
.cert-img { width: 100%; max-width: 360px; height: auto; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); box-shadow: var(--shadow); }
.cert-note { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }

/* Brand mark inside cards */
.brand-mark { position: absolute; top: 12px; right: 12px; display: flex; justify-content: flex-end; margin: 0; }
.brand-mark-img { width: 56px; height: 56px; border-radius: 10px; background: transparent; border: none; box-shadow: none; object-fit: contain; padding: 0; }

/* Live Draw Visual */
.live-draw { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin-top: 18px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(0,120,212,0.14), rgba(0,199,255,0.08)); box-shadow: var(--shadow); }
.draw-visual { display: none; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(0,199,255,0.35); }
.orbit-1 { width: 180px; height: 180px; top: 20px; left: 80px; }
.orbit-2 { width: 120px; height: 120px; top: 60px; left: 40px; }
.center-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; color: var(--accent); }
.chip { position: absolute; width: 42px; height: 28px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow); transform: rotate(-10deg); }
.chip i { font-size: 18px; }
.chip { top: 28px; left: 24px; }
.chip-2 { top: 140px; left: 220px; transform: rotate(8deg); }
.chip-3 { top: 90px; left: 140px; transform: rotate(-4deg); }
.draw-info .badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(0,199,255,0.15); color: var(--accent); border: 1px solid rgba(0,199,255,0.3); font-weight: 700; margin-bottom: 8px; }
.draw-info h3 { margin: 6px 0 8px; }
.draw-info p { color: var(--muted); margin: 0 0 12px; }
.watch-live { display: inline-flex; }

/* Timeline */
.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 120px auto; gap: 16px; align-items: start; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.timeline .time { font-weight: 700; color: var(--accent); }

/* FAQ */
.faq-list details { margin: 10px 0; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { color: var(--muted); margin: 8px 0 0; }

/* Trainer */
.trainer-card h2 { margin-top: 0; }
.trainer { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.avatar { width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow); border: 1px solid var(--border); background: linear-gradient(135deg, var(--primary), var(--accent)); }
.avatar i { font-size: 48px; }
.avatar-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); box-shadow: var(--shadow); }
.trainer-title { color: var(--muted); margin: 6px 0 10px; }
.trainer-bio { color: var(--muted); }
.trainer-credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trainer-credentials .cred { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(0,199,255,0.15); color: var(--accent); border: 1px solid rgba(0,199,255,0.3); font-weight: 600; }
.trainer-credentials .credb { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(76, 105, 233, 0.15); color: var(--accent); border: 1px solid rgba(30, 19, 63, 0.3); font-weight: 600; }


@media (max-width: 980px) {
  .trainer { grid-template-columns: 1fr; }
  .trainer-avatar { display: flex; justify-content: center; }
}

/* Form */
.form-card { max-width: 860px; margin: 0 auto; }
.form-subtitle { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; }
input, select { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); padding: 12px 10px; border-radius: 10px; outline: none; }
input::placeholder { color: #8390b7; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,199,255,0.15); }
.form-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
#formStatus { min-height: 24px; color: var(--muted); }
.status-ok { color: var(--success); }
.status-warn { color: var(--warning); }
.status-bad { color: var(--danger); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: rgba(11,18,37,0.6); backdrop-filter: blur(6px); }
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-right { display: flex; gap: 16px; }
.footer-right a { color: var(--muted); text-decoration: none; }
.footer-right a:hover { color: var(--text); }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .live-draw { grid-template-columns: 1fr; }
  .draw-visual { height: 180px; }
}
