* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7fb;
  background:
    radial-gradient(circle at top left, rgba(25, 227, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(123, 97, 255, 0.18), transparent 34%),
    #090b14;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-logo span {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #cfd6e6;
  font-size: 14px;
}

.header-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-label {
  color: #19e3ff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 12px 0 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
}

.hero-title span {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 560px;
  color: #cfd6e6;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  color: #fff;
  box-shadow: 0 18px 40px rgba(25, 227, 255, 0.18);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.04);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.card-label {
  margin: 0 0 12px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 700;
}

.hero-card h2 {
  margin: 0 0 20px;
  font-size: 26px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: #e8edf7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card li span {
  color: #9aa7bd;
}

.diagnosis-section,
.about-section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: 32px;
}

.section-text {
  max-width: 720px;
  color: #cfd6e6;
  line-height: 1.9;
}

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-card {
    margin-top: 12px;
  }
}

.section-label {
  margin: 0 0 10px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnosis-form {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-field::after {
  content: "▼";

  position: absolute;
  right: 16px;
  top: 48px;

  font-size: 11px;
  color: #19e3ff;

  pointer-events: none;
}

.form-field select:hover {
  border-color: rgba(25, 227, 255, 0.65);
  box-shadow: 0 0 18px rgba(25, 227, 255, 0.15);
}

.form-field span {
  color: #dbe3f3;
  font-size: 14px;
  font-weight: 700;
}

.form-field select {
  width: 100%;
  padding: 14px 44px 14px 16px;

  border-radius: 14px;
  border: 1px solid rgba(123, 97, 255, 0.35);

  background-color: #12182b;
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  outline: none;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  transition: all 0.2s ease;
}

.form-field select:focus {
  border-color: #19e3ff;
  box-shadow:
    0 0 0 3px rgba(25, 227, 255, 0.14),
    0 0 24px rgba(123, 97, 255, 0.22);
}

.form-field select option {
  background: #0b1020;
  color: #f5f7ff;
}

.form-field option {
  color: #111827;
  background: #ffffff;
}

.diagnosis-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  box-shadow: 0 18px 40px rgba(25, 227, 255, 0.18);
}

.diagnosis-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-form {
    padding: 22px;
  }

  .diagnosis-button {
    width: 100%;
  }
}
#result-area {
  margin-top: 28px;
}

.result-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}

.result-label {
  margin: 0 0 12px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card h3 {
  margin: 0 0 20px;
  font-size: 28px;
}

.result-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-specs li:last-child {
  border-bottom: none;
}

.result-specs span {
  color: #9aa7bd;
}

.result-comment {
  margin-top: 20px;
  color: #cfd6e6;
  line-height: 1.8;
}

/* =========================
   About Section
========================= */

.about-section .container {
  padding: 32px;
  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.035)
    );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24);
}

.about-section .section-title {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.about-section .section-text {
  margin-bottom: 0;
}

/* =========================
   Mobile Optimization
========================= */

@media (max-width: 800px) {

  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    height: 60px;
  }

  .site-logo {
    font-size: 15px;
  }

  .header-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-card,
  .diagnosis-form,
  .result-card,
  .about-section .container {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-card li,
  .result-specs li {
    flex-direction: column;
    gap: 4px;
  }

  .diagnosis-section,
  .about-section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-text {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field select {
    font-size: 16px;
    min-height: 52px;
  }

  .form-field::after {
    top: 45px;
  }

  .diagnosis-button {
    width: 100%;
    min-height: 54px;
  }

  .result-card h3 {
    font-size: 22px;
  }

  .result-comment {
    font-size: 15px;
  }
}

@media (max-width: 420px) {

  .hero-title {
    font-size: 36px;
  }

  .hero-label,
  .section-label,
  .result-label {
    font-size: 12px;
  }

  .hero-card h2 {
    font-size: 22px;
  }

  .hero-card,
  .diagnosis-form,
  .result-card,
  .about-section .container {
    padding: 18px;
  }
}

/* Related Guide */

.related-guide-box {
  margin-top: 12px;

  padding: 24px;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.1);

  text-align: center;

  max-width: 420px;
}

.related-guide-box p {
  margin: 0 0 16px;

  color: #cfd6e6;
}
.related-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.related-site-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 132px;
  padding: 24px 28px;
  border-radius: 100px;

  color: #ffffff;
  background:
    linear-gradient(135deg,
      rgba(25, 227, 255, 0.18),
      rgba(123, 97, 255, 0.22));

  border: 1px solid rgba(25, 227, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  transition: 0.22s ease;
}

.related-site-button:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 227, 255, 0.48);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(25, 227, 255, 0.1);
}

.related-site-mini {
  margin-bottom: 10px;
  color: #19e3ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.related-site-button span:not(.related-site-mini) {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 900;
}

.related-site-button small {
  color: #d5dcef;
  font-size: 14px;
  line-height: 1.55;
}

.related-sites-section {
  padding-top: 16px;
  padding-bottom: 80px;
}

@media (max-width: 900px) {
  .related-site-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
  }

  .related-site-button {
    min-height: auto;
    padding: 20px 22px;
    border-radius: 28px;
  }
}