/*
  PRJA Demo & Registration Landing Page Styles
  Notes:
  - Colors are defined as CSS variables for easy alignment to prja.in.
  - Tweak the --brand-* variables below to exactly match the main site.
*/
:root {
  /* Brand palette from provided prja.in variables */
  --brand-bg: #0f172a;            /* Base background */
  --brand-surface: #1e293b;       /* Surface panels */
  --brand-surface-2: #0f172a;     /* Alt surface */
  --brand-gradient-start: #0d1b2a;/* Navy dark */
  --brand-gradient-end: #1a3a52;  /* Navy */
  --brand-primary: #fb923c;       /* Gold/Orange primary */
  --brand-primary-600: #ea580c;   /* Hover/active */
  --brand-accent: #ffb454;        /* Light gold accent */
  --brand-accent-600: #ea580c;
  --text: #f1f5f9;
  --text-strong: #ffffff;
  --muted: #cbd5e1;
  --surface: var(--brand-surface);
  --surface-2: var(--brand-surface-2);
  --border: rgba(251, 146, 60, 0.2);
  --success: #10b981;
  --danger: #ef4444;
  --youtube: #ff0000;
  --whatsapp: #25d366;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 12px 30px rgba(0,0,0,.18);
  --shadow: 0 6px 16px rgba(0,0,0,.12);
}

* { 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: var(--brand-bg);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 27, 42, 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 42px; width: 42px; display: block; border-radius: 50%; object-fit: cover; background: #000; border: 1px solid rgba(251,146,60,0.25); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.brand-name { color: var(--text-strong); font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.nav { margin-left: auto; display: none; gap: 18px; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 600; }
@media (min-width: 900px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 0; cursor: pointer; font-weight: 700; border-radius: 999px; padding: 12px 18px; letter-spacing: 0.2px; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn--primary { color: #0f172a; background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); box-shadow: 0 14px 32px rgba(234, 88, 12, 0.38); }
.btn--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--secondary { color: #0f172a; background: linear-gradient(135deg, var(--brand-accent-600), var(--brand-primary-600)); box-shadow: 0 12px 30px rgba(234, 88, 12, 0.32); }
.btn--ghost { color: var(--brand-primary); background: rgba(251, 146, 60, 0.12); border: 1px solid rgba(251, 146, 60, 0.22); }
.btn--outline { color: var(--brand-primary); border: 2px solid rgba(251, 146, 60, 0.4); background: transparent; }
.btn--whatsapp { color: #072d16; background: #caffe1; border: 1px solid #b6f6d1; }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(251,146,60,.08), transparent 60%),
              linear-gradient(180deg, var(--brand-gradient-start), var(--brand-gradient-end));
  color: white;
  padding: 72px 0 48px;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }
.hero-content h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; margin: 0 0 12px; }
.lead { margin: 0 0 18px; opacity: .95; max-width: 58ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; }
.hero-highlights { display: flex; gap: 16px; list-style: none; padding: 0; margin: 18px 0 0; opacity: .9; flex-wrap: wrap; }
.hero-highlights li { display: inline-flex; align-items: center; gap: 8px; }
.hero-highlights li::before { content: '✓'; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.2); text-align: center; line-height: 18px; }

.hero-card { display: grid; justify-items: end; }
.mini-card { width: 100%; max-width: 360px; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.mini-card h3 { margin: 0 0 6px; }
.mini-card p { margin: 0 0 12px; opacity: .95; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--surface-2); }
.section-head h2 { margin: 0 0 6px; font-size: 28px; }
.section-head p { margin: 0 0 18px; color: var(--muted); }

/* Card + Form */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 16px; padding: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .form-actions { grid-column: 1 / -1; } .form-grid .form-note { grid-column: 1 / -1; } }
.form-field { display: grid; gap: 6px; }
label { font-weight: 600; }
input, select, textarea { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--border); font: inherit; background: #0f172a; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(251,146,60,0.4); border-color: var(--brand-primary); }
.error { color: var(--danger); font-size: 12px; min-height: 16px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-note { color: var(--muted); margin: 0; }
.form-success { margin-top: 6px; color: var(--success); font-weight: 600; }

/* Playlist */
.player-area { margin: 8px 0 16px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.player-area iframe, .player-area .player-embed { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

.playlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .playlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .playlist-grid { grid-template-columns: repeat(4, 1fr); } }
.video-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.video-thumb { position: relative; }
.video-thumb img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-thumb .yt-badge { position: absolute; bottom: 8px; right: 8px; background: #000c; color: #fff; padding: 2px 6px; border-radius: 6px; font-size: 12px; }
.video-meta { padding: 10px; }
.video-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-channel { color: var(--muted); font-size: 12px; margin: 0; }

.load-more-wrap { display: grid; place-items: center; margin-top: 16px; }
.hidden { display: none !important; }

.playlist-note { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }

/* Contact */
.contact-card { padding: 16px; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 12px; align-items: center; }
.contact-item .icon { font-size: 20px; }
.muted { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { padding: 22px 0; border-top: 1px solid var(--border); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; margin-left: 14px; }
