* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #f4f8ff;
  background: linear-gradient(180deg, #020816 0%, #06152d 55%, #020816 100%);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,8,22,.92);
  border-bottom: 1px solid rgba(118,167,255,.14);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 280px;
  line-height: 0;
}

.logo img {
  display: block;
  height: 78px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav a { color: #a9bddb; font-size: 18px; }
nav a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 16px;
  font-weight: 700; border: 1px solid rgba(106, 162, 255, 0.25);
}

.btn-primary {
  background: linear-gradient(90deg, #1180ff, #59a7ff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(17,128,255,.18);
}

.btn-secondary {
  background: rgba(9, 20, 43, 0.88);
  color: #fff;
}

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

.hero-grid {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(94,146,244,.18);
  background: rgba(7, 19, 43, .8);
  color: #8eb9ff; margin-bottom: 26px;
}

.hero h1, .section h1, .section h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -1px;
  font-weight: 800;
}

.hero h1 span, .section h1 span, .section h2 span { color: #2490ff; }

.hero p, .section-text, .section p {
  color: #98afcf; line-height: 1.6; font-size: 20px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-card, .info-card, .service-card, .login-card, .result-card, .report-card,
.accordion-item, .question-block, .table-wrap, .contact-box, .center-panel {
  background: linear-gradient(180deg, rgba(5,18,40,.95), rgba(6,16,33,.95));
  border: 1px solid rgba(109, 157, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.hero-card { padding: 28px; }
.hero-card h3 { margin-top: 0; font-size: 28px; }
.bullet-list { padding-left: 18px; color: #afc0db; line-height: 1.8; }

.section { padding: 72px 0; }
.section.compact { padding-top: 36px; }
.alt { background: linear-gradient(180deg, rgba(7, 18, 39, 0.86), rgba(10, 24, 50, 0.9)); }

.section-label {
  display: inline-block;
  color: #1488ff;
  font-weight: 800;
  letter-spacing: 1.8px;
  font-size: 15px;
  margin-bottom: 18px;
}


.inner-page .section.compact .section-label {
  font-size: 26px;
  letter-spacing: 2.2px;
  margin-bottom: 14px;
}

.inner-page .section.compact h1 {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.2px;
  max-width: 980px;
  margin-bottom: 18px;
}

.inner-page .section.compact h1 span {
  color: #2490ff;
}

.inner-page .section.compact .section-text {
  font-size: 19px;
  line-height: 1.58;
  max-width: 980px;
}

@media (max-width: 980px) {
  .inner-page .section.compact .section-label {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .inner-page .section.compact h1 {
    font-size: 40px;
    line-height: 1.06;
    max-width: 100%;
  }

  .inner-page .section.compact .section-text {
    font-size: 18px;
    max-width: 100%;
  }
}


.cards-1, .grid-2, .result-grid, .report-grid {
  display: grid; gap: 22px;
}

.cards-1 { grid-template-columns: 1fr; margin-top: 28px; }
.grid-2, .result-grid, .report-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 28px; }

.info-card, .service-card, .login-card, .result-card, .report-card, .accordion-item { padding: 26px; }
.info-card h3, .service-card h3, .login-card h3, .report-card h3, .result-card h3 { margin-top: 0; font-size: 24px; }

.timeline { margin-top: 26px; display: grid; gap: 18px; }

.step {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center;
}

.step span {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #3194ff; color: #fff; font-size: 34px; font-weight: 800;
}

.step h3 { margin: 0 0 6px; font-size: 32px; }
.step p { margin: 0; }

.accordion-item h3 { margin: 0 0 12px; }

.login-card.admin-card { border-color: rgba(83, 126, 207, 0.22); }
.stack-form { display: grid; gap: 14px; margin-top: 14px; }

input, textarea, select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(106, 162, 255, 0.25);
  background: rgba(9, 20, 43, 0.88);
  color: #fff;
  padding: 15px 16px;
  font-size: 16px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #1180ff;
  box-shadow: 0 0 0 3px rgba(17,128,255,.14);
}

textarea { min-height: 96px; resize: vertical; }

.alert {
  padding: 14px 16px; border-radius: 12px; background: rgba(255, 107, 107, 0.15);
  color: #ffd6d6; border: 1px solid rgba(255, 107, 107, 0.28);
}

.contact-box { text-align: center; padding: 42px; }
.contact-items { display: grid; gap: 14px; max-width: 760px; margin: 26px auto; }

.contact-item {
  border-radius: 18px; padding: 22px; background: rgba(4, 14, 31, .94);
  border: 1px solid rgba(98, 143, 225, 0.14); font-size: 26px;
}

.inner-page .topbar-simple, .dashboard-top {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
}

.scale-box {
  background: rgba(12, 33, 73, 0.7); border: 1px solid rgba(115, 161, 240, 0.12);
  padding: 16px 18px; border-radius: 16px; color: #cbdaf4; margin-bottom: 24px;
}

.question-block { padding: 24px; margin: 24px 0; }
.question-block h2 { font-size: 30px; margin: 0 0 18px; }

.question-row {
  padding: 18px 0; border-bottom: 1px solid rgba(105, 141, 205, 0.12);
}

.question-row:last-child { border-bottom: none; }
.question-row label { display: block; margin-bottom: 12px; font-size: 18px; }

.scale-options { display: flex; gap: 12px; flex-wrap: wrap; }

.scale-options label {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 12px; background: rgba(6, 18, 37, 0.9);
  border: 1px solid rgba(100, 147, 224, 0.14);
  cursor: pointer; margin-bottom: 0;
}

.form-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.score-big {
  font-size: 62px; font-weight: 800; color: #39a1ff;
}

.dashboard-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.table-wrap { overflow: auto; padding: 8px; }
table { width: 100%; border-collapse: collapse; }

th, td {
  padding: 16px 14px; border-bottom: 1px solid rgba(94, 138, 213, 0.12); text-align: left; vertical-align: top;
}

th { color: #cfe0ff; font-size: 14px; text-transform: uppercase; letter-spacing: .7px; }
td { color: #a9bcdc; }
.link-button { color: #41a3ff; font-weight: 700; }

.pillars-summary {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.summary-chip {
  padding: 10px 14px; border-radius: 999px; background: rgba(11, 32, 68, .95);
  border: 1px solid rgba(107, 151, 228, 0.16); color: #dbe7ff;
}

.answers-list { display: grid; gap: 12px; }

.answer-item {
  padding: 16px; border-radius: 16px; background: rgba(3, 12, 27, 0.86);
  border: 1px solid rgba(84, 128, 205, 0.12);
}

.answer-score { color: #49abff; margin-top: 6px; font-weight: 700; }

.admin-login { display: grid; min-height: 100vh; place-items: center; }

.center-panel {
  width: min(520px, calc(100% - 32px)); padding: 34px;
}

.center-panel h1 { font-size: 40px; margin-top: 10px; }

.search-form input, .search-form select { min-width: 220px; }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .logo { min-width: 220px; }
  .logo img { height: 66px; }
  nav { gap: 18px; }
  nav a { font-size: 16px; }
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero-grid, .grid-2, .result-grid, .report-grid { grid-template-columns: 1fr; }
  .hero h1, .section h1, .section h2 { font-size: 42px; }
  .step { grid-template-columns: 64px 1fr; }
  .step span { width: 64px; height: 64px; font-size: 26px; }
  .step h3 { font-size: 24px; }
  .contact-item { font-size: 20px; }
  .logo { min-width: 180px; }
  .logo img { height: 58px; }
}
