* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #eef2f7;
  color: #111827;
}

#wrapper {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* Top Bar */
#topbar {
  position: relative;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

#topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.5px;
}

#topbar p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

.header-logo {
  position: absolute;
  right: 28px;
  top: 22px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Menu */
#menu {
  display: flex;
  gap: 8px;
  padding: 12px 28px;
  background: #111827;
}

#menu a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

#menu a:hover {
  background: #2563eb;
  color: white;
}

/* Premium Hero */
.premium-hero {
  padding: 72px 32px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.24), transparent 35%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.premium-hero-content {
  max-width: 760px;
}

.premium-eyebrow,
.eyebrow {
  margin: 0 0 10px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.premium-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1.2px;
}

.premium-hero-text {
  max-width: 680px;
  margin: 18px 0 26px;
  font-size: 17px;
  line-height: 1.7;
  color: #dbeafe;
}

.premium-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.premium-btn-primary,
.premium-btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.premium-btn-primary {
  background: #22c55e;
  color: white;
}

.premium-btn-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
}

/* Trust */
.trust-strip {
  padding: 16px 28px;
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  color: #1e3a8a;
  font-weight: bold;
  text-align: center;
}

/* Sections */
.premium-section,
.final-section {
  padding: 42px 32px;
  border-bottom: 1px solid #e5e7eb;
}

.premium-section h2,
.final-card h2 {
  margin: 0 0 8px;
  color: #0f3b66;
  font-size: 28px;
  letter-spacing: -0.4px;
}

.section-subtitle,
.final-intro {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 14px;
}

.premium-grid,
.value-grid {
  display: grid;
  gap: 16px;
}

.three-grid {
  grid-template-columns: repeat(3, 1fr);
}

.four-grid,
.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.premium-card,
.value-box {
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: 0.2s ease;
}

.premium-card:hover,
.value-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.premium-card h3,
.value-box h3 {
  margin: 0 0 8px;
  color: #1e40af;
  font-size: 16px;
}

.premium-card p,
.value-box p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
  font-size: 13px;
}

/* Boxes */
.box,
.notice {
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.box h2 {
  margin-top: 0;
  color: #0f3b66;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.notice {
  background: #f8fbff;
  color: #334155;
}

/* Forms */
.form-table,
.data-table,
.score-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.form-table td,
.data-table td,
.score-table td,
.data-table th,
.score-table th {
  border: 1px solid #e5e7eb;
  padding: 10px;
  font-size: 13px;
}

.data-table th,
.score-table th {
  background: #2563eb;
  color: white;
}

.form-table td:first-child {
  width: 30%;
  font-weight: bold;
  color: #334155;
  background: #f8fafc;
}

select,
input {
  width: 100%;
  padding: 9px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
}

/* Buttons */
button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 14px;
  margin-top: 12px;
  margin-right: 8px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

/* Result styles */
.result-title {
  font-size: 22px;
  font-weight: bold;
  color: #047857;
  margin-bottom: 12px;
}

.good {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #064e3b;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.warning {
  background: #fff1f2;
  border: 1px solid #fca5a5;
  padding: 14px;
  border-radius: 10px;
  margin-top: 14px;
}

.bar {
  background: #e5e7eb;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  background: #2563eb;
  height: 100%;
}

/* CTA */
.premium-cta,
.final-highlight {
  margin: 24px 32px;
  padding: 28px;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: white;
  border-radius: 18px;
  text-align: center;
}

.premium-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.premium-cta p {
  color: #dbeafe;
}

/* Footer */
.site-footer,
.footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 20px;
  font-size: 13px;
}

.site-footer strong {
  color: white;
}

.site-footer span {
  margin-left: 8px;
}

/* Mobile */
@media (max-width: 850px) {
  #wrapper {
    width: 100%;
  }

  .premium-hero h1 {
    font-size: 34px;
  }

  .three-grid,
  .four-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .header-logo {
    position: static;
    margin-top: 12px;
  }

  #menu {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  /* mobile styles */
}

@media (max-width: 768px) {

  body {
    padding: 10px;
  }

  #wrapper {
    width: 100%;
    padding: 10px;
  }

  /* NAVBAR */
  #menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #menu a {
    display: block;
    padding: 8px;
  }

  /* HERO SECTION */
  .premium-hero {
    padding: 40px 20px;
    text-align: center;
  }

  .premium-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .premium-hero p {
    font-size: 14px;
  }

  /* BUTTONS */
  .premium-btn-primary,
  .premium-btn-secondary {
    display: block;
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  /* CARDS / FEATURES */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* TABLES (VERY IMPORTANT) */
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* RESULT BOX */
  .result-title {
    font-size: 20px;
    text-align: center;
  }

  /* FORM */
  select, input {
    width: 100%;
    margin-bottom: 10px;
  }

  /* FOOTER */
  .site-footer {
    text-align: center;
    font-size: 12px;
  }
}

/* Mobile view same as home page */
@media (max-width: 768px) {

  body {
    margin: 0;
    padding: 0;
    background: #eef2f7;
  }

  #wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #ffffff;
    box-shadow: none;
  }

  #topbar {
    padding: 22px 24px;
    min-height: 88px;
  }

  #topbar h1 {
    font-size: 22px;
    margin: 0;
  }

  #topbar p {
    font-size: 12px;
    margin-top: 6px;
  }

  .header-logo {
    position: absolute;
    right: 24px;
    top: 22px;
    width: 54px;
    height: 54px;
  }

  #menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
    padding: 14px 24px;
    overflow-x: auto;
    background: #0f172a;
  }

  #menu a {
    width: auto;
    min-width: auto;
    display: inline-block;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
  }

  .premium-hero {
    padding: 54px 24px;
    text-align: left;
  }

  .premium-hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .premium-hero-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .premium-hero-actions {
    justify-content: flex-start;
  }

  .premium-btn-primary,
  .premium-btn-secondary {
    width: auto;
    font-size: 12px;
    padding: 11px 16px;
  }

  .trust-strip {
    padding: 24px;
    font-size: 18px;
  }

  .premium-section {
    padding: 34px 24px;
  }

  .premium-section h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .premium-grid,
  .three-grid,
  .four-grid {
    grid-template-columns: 1fr;
  }

  .premium-card {
    padding: 18px;
  }

  .premium-card h3 {
    font-size: 17px;
  }

  .premium-card p {
    font-size: 13px;
  }

  .premium-card a {
    font-size: 14px;
  }
}