:root {
  --bg: #f8fafc;
  --bg-soft: #eef2ff;
  --card: #ffffff;
  --card-strong: #f8fafc;
  --primary: #0ea5e9;
  --primary-strong: #0284c7;
  --accent: #fb923c;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Work Sans", sans-serif;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(14, 165, 233, 0.16),
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 0%,
      rgba(251, 146, 60, 0.18),
      transparent 40%
    ),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #eef2ff 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(14, 165, 233, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 15% 70%,
      rgba(251, 146, 60, 0.12),
      transparent 40%
    );
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
}

.navbar {
  padding: 18px 0;
}

.navbar-brand.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  /* background: linear-gradient(135deg, var(--primary), var(--accent)); */
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

.brand strong {
  display: block;
  font-size: 16px;
}

.brand span {
  font-size: 12px;
  color: var(--muted);
}

.navbar-nav .nav-link {
  color: var(--muted);
  font-size: 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--text);
}

.navbar-toggler {
  border-color: rgba(15, 23, 42, 0.15);
}

.navbar-toggler-icon {
  filter: invert(0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.25);
}

.btn-light {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.2);
}

.hero {
  padding: 120px 0 80px;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-copy p {
  color: var(--muted);
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-size: 12px;
  margin-bottom: 18px;
}

.badge i {
  font-size: 7px;
  color: #22c55e;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats strong {
  font-size: 22px;
  display: block;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-wrap {
  padding-bottom: 20px;
  position: relative;
}

.dashboard-card {
  background: linear-gradient(
    145deg,
    rgba(14, 165, 233, 0.08),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 600;
}

.dot-group {
  display: flex;
  gap: 6px;
}

.dot-group span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(71, 85, 105, 0.4);
}

.dashboard-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.dashboard-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.progress {
  background: rgba(15, 23, 42, 0.05);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 18px;
  min-height: 64px;
}

.progress span {
  font-size: 12px;
  color: var(--muted);
}

.progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  margin: 8px 0;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.progress small {
  font-size: 11px;
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-grid div {
  background: rgba(14, 165, 233, 0.08);
  padding: 10px;
  border-radius: 12px;
  text-align: center;
}

.mini-grid strong {
  display: block;
  font-size: 18px;
}

.mini-grid span {
  font-size: 11px;
  color: var(--muted);
}

.period-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 600;
}

.period-summary i {
  color: var(--accent);
  font-size: 11px;
}

.float-chip {
  position: absolute;
  right: -10px;
  bottom: -14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  animation: float 4s ease-in-out infinite;
}

.section {
  padding: 80px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.about-card,
.feature-card,
.partner-card,
.schedule-card,
.timeline-item,
.contact-card,
.contact-panel {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.about-card h3,
.feature-card h3,
.schedule-card h3 {
  margin-bottom: 8px;
}

.about-card p,
.feature-card p,
.schedule-card span {
  color: var(--muted);
}

.timeline-item {
  position: relative;
  padding-top: 32px;
}

.step {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #ffffff;
  font-weight: 700;
}

.partner-card {
  text-align: center;
  color: var(--text);
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.partner-card i {
  color: var(--primary);
  font-size: 20px;
}

.partner-card strong {
  font-size: 15px;
}

.partner-card span {
  color: var(--muted);
  font-size: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.empty-state {
  padding: 24px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.schedule-card p {
  font-weight: 600;
}

.faq-item {
  background: var(--card-strong);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  color: var(--muted);
  margin-top: 12px;
}

.contact-card ul {
  list-style: none;
  margin: 16px 0 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.contact-panel {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.12),
    rgba(251, 146, 60, 0.08)
  );
}

.login-form {
  margin-top: 16px;
}

.login-form .form-label {
  font-size: 13px;
  color: var(--muted);
}

.login-form .form-control,
.login-form .form-select {
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.login-form .form-control:focus,
.login-form .form-select:focus {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.login-row {
  font-size: 12px;
}

.form-check-input {
  border-color: rgba(15, 23, 42, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.link {
  color: var(--primary-strong);
  text-decoration: none;
  font-size: 12px;
}

.link:hover {
  color: var(--primary);
}

.info-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin: 16px 0 20px;
  font-size: 14px;
}

.panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
  }

  .float-chip {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Flat industrial theme */
:root {
  --bg: #eef3f2;
  --bg-soft: #dce9e7;
  --card: #ffffff;
  --card-strong: #f6f9f8;
  --primary: #0f766e;
  --primary-strong: #115e59;
  --accent: #f97316;
  --text: #172a34;
  --muted: #52656b;
  --line: #cbd8d5;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(#dce6e3 1px, transparent 1px),
    linear-gradient(90deg, #dce6e3 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-glow {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid var(--text);
  backdrop-filter: none;
}

.navbar {
  padding: 14px 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 2px solid var(--text);
  background: var(--accent);
}

.brand strong,
.dashboard-header,
.about-card h3,
.feature-card h3,
.partner-card strong,
.schedule-card h3,
.timeline-item h3,
.contact-panel h3 {
  letter-spacing: -0.02em;
}

.btn {
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 600;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 4px 4px 0 rgba(23, 42, 52, 0.18);
}

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

.btn-light,
.btn-ghost {
  background: #ffffff;
  border-color: var(--text);
}

.hero {
  padding: 96px 0 72px;
}

.hero-copy h1,
.section-head h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 680px;
}

.badge {
  border-radius: 4px;
  background: var(--text);
  color: #ffffff;
  padding: 7px 11px;
  font-weight: 600;
}

.hero-stats {
  border-top: 2px solid var(--text);
  padding-top: 18px;
}

.hero-stats strong {
  color: var(--primary-strong);
}

.dashboard-card,
.about-card,
.feature-card,
.partner-card,
.schedule-card,
.timeline-item,
.contact-card,
.contact-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(23, 42, 52, 0.1);
}

.dashboard-card {
  background: #ffffff;
  border-top: 8px solid var(--primary);
}

.dashboard-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dot-group span {
  border-radius: 2px;
  background: var(--accent);
}

.period-summary,
.mini-grid div {
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid #c1d5d1;
}

.period-summary {
  border-left: 4px solid var(--accent);
}

.float-chip {
  right: -8px;
  bottom: -10px;
  border-radius: 4px;
  border: 1px solid var(--text);
  color: var(--text);
  box-shadow: 3px 3px 0 rgba(23, 42, 52, 0.14);
  animation: none;
}

.section {
  border-top: 1px solid rgba(23, 42, 52, 0.1);
}

.section-kicker {
  color: var(--accent);
  font-weight: 700;
}

.step {
  top: -16px;
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--text);
}

.partner-card i,
.link {
  color: var(--primary);
}

.partner-card {
  align-items: flex-start;
  text-align: left;
  border-top: 4px solid var(--primary);
}

.partner-card i {
  padding: 8px;
  border-radius: 4px;
  background: var(--bg-soft);
}

.empty-state,
.faq-item {
  border-radius: 8px;
}

.contact-panel {
  background: #dce9e7;
}

.login-form .form-control,
.login-form .form-select {
  border-radius: 5px;
  border: 1px solid var(--line);
}

.login-form .form-control:focus,
.login-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}
