:root {
  --bg: #07111f;
  --bg-soft: #0f1b2d;
  --panel: rgba(15, 27, 45, 0.78);
  --panel-strong: rgba(10, 20, 35, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f7fb;
  --muted: #a2b2c9;
  --accent: #ff4d5f;
  --accent-2: #ff8a3d;
  --success: #29c184;
  --danger: #ff4d5f;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1280px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 95, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.12), transparent 26%),
    linear-gradient(180deg, #081120 0%, #09182a 35%, #07111f 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 77, 95, 0.16);
  border: 1px solid rgba(255, 77, 95, 0.25);
  color: #ffd7dc;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline,
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 64ch;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.card-pad {
  padding: 1.6rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  font-weight: 800;
}

.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 28px rgba(255, 77, 95, 0.28);
}

.btn:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #d6e3f5;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 12, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(42px, 5vw, 54px);
  max-width: min(210px, 42vw);
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  image-rendering: auto;
}

.brand-logo-footer {
  height: clamp(46px, 5vw, 60px);
  max-width: min(230px, 48vw);
}

.auth-card .brand-logo,
.dashboard-sidebar .brand-logo {
  height: clamp(50px, 6vw, 64px);
  max-width: min(240px, 100%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  position: relative;
  color: #dbe7f6;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.hero {
  padding: 72px 0 40px;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 2rem;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(0);
}

.hero-visual::before {
  width: 260px;
  height: 260px;
  top: -40px;
  right: -20px;
  background: radial-gradient(circle, rgba(255, 77, 95, 0.38), transparent 62%);
}

.hero-visual::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.28), transparent 62%);
}

.orbital {
  position: absolute;
  inset: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 20% 20%, rgba(255, 77, 95, 0.16), transparent 26%),
    radial-gradient(circle at 80% 35%, rgba(255, 138, 61, 0.16), transparent 24%);
}

.hero-badge,
.metric-chip,
.floating-card {
  position: absolute;
  border-radius: 20px;
}

.hero-badge {
  top: 2.5rem;
  left: 2.5rem;
  padding: 0.9rem 1rem;
}

.metric-chip {
  bottom: 2rem;
  left: 2rem;
  padding: 1rem 1.1rem;
  width: 220px;
}

.floating-card {
  right: 2rem;
  top: 7rem;
  width: 220px;
  padding: 1.2rem;
}

.scroll-indicator {
  margin-top: 1.5rem;
  color: #dbe7f6;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.85;
}

.scroll-indicator span:last-child {
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

.counter-strip {
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-item strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.15rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-card,
.feature-card,
.course-card,
.project-card,
.post-card,
.testimonial-card,
.faq-item,
.detail-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.service-card:hover,
.feature-card:hover,
.course-card:hover,
.project-card:hover,
.post-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 77, 95, 0.22), rgba(255, 138, 61, 0.16));
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.results-band {
  background: linear-gradient(135deg, rgba(255, 77, 95, 0.16), rgba(255, 138, 61, 0.14));
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #dbe7f6;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.stat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
}

.testimonial-shell {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100%, 1fr);
  transition: transform 0.5s ease;
}

.carousel-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
}

.verify-cta {
  background: linear-gradient(135deg, rgba(255, 77, 95, 0.88), rgba(255, 138, 61, 0.88));
}

.inline-form,
.stack-form,
.search-form {
  display: grid;
  gap: 1rem;
}

.inline-form {
  grid-template-columns: 1.6fr 0.9fr auto;
  align-items: center;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: #d9e6f6;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 0.95rem 1rem;
  border-radius: 16px;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(41, 193, 132, 0.18);
  color: #d7ffee;
  border: 1px solid rgba(41, 193, 132, 0.3);
}

.form-message.error {
  background: rgba(255, 77, 95, 0.16);
  color: #ffe1e5;
  border: 1px solid rgba(255, 77, 95, 0.28);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.3rem;
  border: 0;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-item .faq-answer {
  display: none;
  padding: 0 1.3rem 1.3rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.page-hero {
  padding: 88px 0 32px;
}

.page-shell {
  display: grid;
  gap: 2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card strong {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  display: block;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.package-table {
  overflow: auto;
}

.package-table table {
  width: 100%;
  border-collapse: collapse;
}

.package-table th,
.package-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: #d9e6f6;
}

.course-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.syllabus-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.syllabus-item button {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: white;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.syllabus-item .syllabus-body {
  display: none;
  padding: 0 1.1rem 1rem;
}

.syllabus-item.open .syllabus-body {
  display: block;
}

.result-card.verified {
  border-color: rgba(41, 193, 132, 0.35);
}

.result-card.not-found {
  border-color: rgba(255, 77, 95, 0.35);
}

.verification-results-section {
  scroll-margin-top: 96px;
}

.result-card {
  outline: none;
}

.result-card.is-highlighted {
  animation: resultGlow 1.8s ease both;
}

@keyframes resultGlow {
  0% {
    transform: translateY(10px);
    box-shadow: 0 0 0 0 rgba(255, 138, 61, 0);
  }
  35% {
    transform: translateY(0);
    box-shadow: 0 0 0 6px rgba(255, 138, 61, 0.18), var(--shadow);
  }
  100% {
    transform: translateY(0);
    box-shadow: var(--shadow);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
}

.status-badge.verified {
  background: rgba(41, 193, 132, 0.16);
  color: #d9ffee;
}

.status-badge.not-found {
  background: rgba(255, 77, 95, 0.16);
  color: #ffe1e5;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
}

.dashboard-sidebar,
.dashboard-main {
  min-height: 100%;
}

.sidebar-nav {
  display: grid;
  gap: 0.5rem;
}

.sidebar-nav a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: #dce8f7;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.06);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.kanban-col {
  padding: 1rem;
}

.kanban-card {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 77, 95, 0.25);
  background: rgba(4, 8, 16, 0.8);
  padding: 56px 0 24px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 1.5rem;
}

.footer-grid h4 {
  margin-bottom: 0.8rem;
}

.mini-list {
  display: grid;
  gap: 0.55rem;
}

.site-footer small {
  color: var(--muted);
}

.floating-wa,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 80;
}

.floating-wa {
  bottom: 88px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #20c15a, #59e18a);
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 12px 26px rgba(32, 193, 90, 0.3);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 193, 90, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(32, 193, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 193, 90, 0);
  }
}

.back-to-top {
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 19, 33, 0.92);
  color: white;
  display: none;
}

.back-to-top.show {
  display: grid;
  place-items: center;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-shell,
  .split-panel,
  .grid-4,
  .footer-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .process-row,
  .metrics-grid,
  .kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: 84px 1rem auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(7, 14, 25, 0.95);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-row,
  .metrics-grid,
  .kanban {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .hero-badge,
  .metric-chip,
  .floating-card {
    position: static;
    width: auto;
    margin-top: 1rem;
  }

  .certificate-detail-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.admin-certificate-layout {
  align-items: start;
}

.certificate-preview-shell {
  width: 100%;
  overflow: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.certificate-preview-stage {
  min-width: 100%;
}

.certificate-preview-stage svg,
.certificate-result-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.certificate-result-preview {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.certificate-result-card {
  display: grid;
  gap: 1.2rem;
}

.certificate-result-details {
  display: grid;
  gap: 1.1rem;
}

.certificate-result-details h2 {
  margin-top: 1rem;
}

.certificate-detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.certificate-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.certificate-detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.certificate-detail-list dd {
  margin: 0;
  color: #f3f7fb;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 0.6rem;
}

.inline-form-compact {
  grid-template-columns: 1fr auto;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-small {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 77, 95, 0.2), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 138, 61, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(8, 17, 32, 0.9), rgba(5, 11, 21, 0.96));
}

.auth-card {
  width: min(520px, 100%);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.auth-copy {
  padding-bottom: 1.5rem;
}

.auth-copy h1 {
  margin-top: 1rem;
}
