/* OGS AI ACADEMY — Portal Edukasi & Pelatihan Agentic AI */
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #e1effe;
  --accent: #0284c7;
  --emerald: #059669;
  --dark: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-main);
  color: var(--slate);
  background-color: var(--light-bg);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-badge {
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  letter-spacing: -0.02em;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
}

.btn-emerald:hover {
  filter: brightness(0.92);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
  border-bottom: 1px solid var(--border);
}

.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--dark);
  max-width: 880px;
  margin: 0 auto 1.25rem;
}

.hero h1 span.highlight {
  color: var(--primary);
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Feature Grid */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
}

.stat-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Section Common */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Course Cards */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
}

.course-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.08);
}

.featured-label {
  position: absolute;
  top: -12px;
  right: 2rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.course-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.curriculum-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.curriculum-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--slate);
}

.curriculum-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* Certificate Generator Box */
.cert-interactive-box {
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3.5rem 0 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.cert-preview {
  background: #ffffff;
  color: #0f172a;
  border: 8px solid #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  margin-top: 1.5rem;
}

.cert-stamp {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  width: 90px;
  height: 90px;
  border: 2px dashed #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  transform: rotate(-10deg);
}

/* Corporate Section */
.corporate-box {
  background: #1e293b;
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  margin-top: 2rem;
}

.corp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .corp-grid {
    grid-template-columns: 1fr;
  }
  .corporate-box {
    padding: 2rem;
  }
}

.corp-badge {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.corp-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.corp-desc {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Form & Modals */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--slate);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.active {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
}

.qris-display {
  background: #f1f5f9;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 1.25rem 0;
}

.qris-img-placeholder {
  width: 180px;
  height: 180px;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 8px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-code);
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
}

/* Footer */
footer.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 5rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

