:root {
  --bg: #0b1020;
  --panel: #121a33;
  --panel-2: #17213d;
  --text: #f7f8ff;
  --muted: #aeb7d4;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --safe: #2ee59d;
  --wild: #ffb84d;
  --danger: #ff5570;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: radial-gradient(circle at top left, #1e2b62 0, #0b1020 36%, #070a14 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px min(6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: 640px;
  padding: 80px 0 52px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-size: 24px;
  color: #ffffff;
  margin: 0 0 16px;
}

.hero-body,
.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: 0;
}

.button.ghost {
  color: var(--muted);
}

.hero-panel,
.engine-card,
.legal-item,
.table-wrap {
  border: 1px solid var(--line);
  background: rgba(18, 26, 51, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.hero-panel {
  border-radius: 30px;
  padding: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.stat-card {
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

.stat-card.highlight {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(0, 212, 255, 0.18));
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 30px;
}

.notice-strip {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(46, 229, 157, 0.3);
  background: rgba(46, 229, 157, 0.08);
  color: #dfffee;
  border-radius: 20px;
  line-height: 1.6;
}

.section {
  padding: 90px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.engine-card {
  border-radius: 22px;
  padding: 18px;
  min-height: 238px;
}

.engine-card .top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.engine-code {
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.engine-card h3 {
  margin: 4px 0 8px;
  font-size: 20px;
}

.engine-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.badge.CHAMPION {
  color: #fff3b0;
  border-color: rgba(255, 243, 176, 0.45);
}

.badge.RISING,
.badge.SAFE {
  color: var(--safe);
  border-color: rgba(46, 229, 157, 0.38);
}

.badge.WILD {
  color: var(--wild);
  border-color: rgba(255, 184, 77, 0.38);
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.meta-box {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.meta-box span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.meta-box strong {
  display: block;
  margin-top: 4px;
}

.locked {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.035);
}

td {
  color: #fff;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.legal-item {
  border-radius: 20px;
  padding: 18px;
}

.legal-item strong {
  display: block;
  margin-bottom: 8px;
}

.legal-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 46px 0 70px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer strong {
  color: #fff;
}

.loading,
.error {
  color: var(--muted);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.error {
  color: var(--danger);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .engine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .engine-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }
}


.buy-card-button {
  width: 100%;
  margin-top: 14px;
}


/* NEOTTO_LEGAL_FOOTER_STYLE_START */
.legal-footer {
  margin-top: 56px;
  padding: 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 18, 0.72);
}

.legal-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  font-size: 13px;
  opacity: 0.9;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.legal-footer p {
  margin: 0;
  opacity: 0.72;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 22px;
  line-height: 1.75;
}

.legal-page h1 {
  font-size: 34px;
  margin-bottom: 18px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 22px;
}

.legal-page h3 {
  margin-top: 24px;
  font-size: 17px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  text-decoration: none;
  opacity: 0.85;
}
/* NEOTTO_LEGAL_FOOTER_STYLE_END */

/* Sprint-B15A: Free report number ball display */
.demo-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.demo-card {
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.demo-card strong {
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

/* Sprint-U02 Home Dashboard UI */
.dashboard-hero {
  text-align: center;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.primary-button {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.secondary-button {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.dashboard-card,
.mini-card {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-card h2,
.mini-card strong {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.soft-notice {
  text-align: center;
}

@media (max-width: 860px) {
  .dashboard-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    text-align: center;
  }
}

/* Sprint-U03 Simplified Home Hero Copy */
.hero-title-simple {
  max-width: 820px;
  margin: 0 auto 14px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 0 auto 18px;
  font-size: 18px;
  font-weight: 700;
  opacity: 0.78;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .hero-title-simple {
    font-size: 42px;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 15px;
  }
}

/* Sprint-U03B Refined Home Hero Title */
.hero-title-simple span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-title-simple span {
    white-space: normal;
  }
}

/* Sprint-U04 Free Report Visual Upgrade */
.report-hero {
  text-align: center;
}

.section-desc {
  max-width: 720px;
  margin: 0 0 22px;
  opacity: 0.82;
  line-height: 1.75;
}

.report-demo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-card {
  padding: 22px;
}

.report-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.report-card-head span {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.72;
}

.report-card p {
  margin-bottom: 0;
  opacity: 0.82;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.meter-card {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.meter-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.meter {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
}

.meter-card p {
  margin-bottom: 0;
  opacity: 0.82;
}

@media (max-width: 860px) {
  .report-demo-grid,
  .meter-grid {
    grid-template-columns: 1fr;
  }
}

/* Sprint-U05 Product Page Simple Layout Upgrade */
.product-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-status-card {
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.product-status-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  opacity: 0.72;
}

.product-status-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.product-highlight {
  position: relative;
  overflow: hidden;
}

.product-info-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.product-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.product-info-list strong {
  min-width: 120px;
}

.product-info-list span {
  text-align: right;
  opacity: 0.84;
}

@media (max-width: 860px) {
  .product-status-grid {
    grid-template-columns: 1fr;
  }

  .product-info-list div {
    flex-direction: column;
    gap: 6px;
  }

  .product-info-list span {
    text-align: left;
  }
}

