:root {
  --bg: #071224;
  --bg-soft: #0e1d37;
  --card: #132746;
  --line: #23446f;
  --text: #e8f1ff;
  --text-dim: #a6bddf;
  --brand: #1fd0ff;
  --brand-2: #8bff7a;
  --accent: #ffcc4d;
  --danger: #ff7f8a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(2, 7, 22, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, #1a4a8a 0%, transparent 35%),
    radial-gradient(circle at 88% -8%, #14556f 0%, transparent 30%),
    linear-gradient(180deg, #061224 0%, #071224 100%);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", "Trebuchet MS", sans-serif;
  letter-spacing: 0.5px;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-dim);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(4, 11, 21, 0.76);
  border-bottom: 1px solid rgba(141, 180, 233, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 800;
}

.brand-logo {
  width: auto;
  height: 34px;
  display: block;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: #031123;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  color: var(--text-dim);
  padding: 0.2rem 0.35rem;
  font-weight: 600;
}

.nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 1.1rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #051227;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(185, 217, 255, 0.4);
  background: rgba(22, 43, 74, 0.75);
}

.hero-slider-section {
  padding: 1rem 0 0.8rem;
}

.hero-slider {
  position: relative;
  min-height: clamp(320px, 45vw, 500px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(123, 170, 238, 0.35);
  box-shadow: var(--shadow);
  background: #061a33;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: min(620px, 92%);
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(171, 208, 255, 0.34);
  background: rgba(5, 16, 33, 0.78);
  backdrop-filter: blur(4px);
}

.slide-overlay-card h2 {
  margin-bottom: 0.3rem;
}

.slide-overlay-card p {
  color: #d8e7ff;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(189, 220, 255, 0.45);
  color: #eff6ff;
  background: rgba(4, 15, 31, 0.7);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1.1rem;
}

.slider-prev {
  left: 0.65rem;
}

.slider-next {
  right: 0.65rem;
}

.slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.6rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(232, 244, 255, 0.5);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--brand);
}

.hero {
  padding: 5rem 0 3.4rem;
}

.hero-slider-section + .hero {
  padding-top: 2.4rem;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.6rem;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(160deg, rgba(25, 47, 83, 0.85), rgba(10, 24, 44, 0.92));
  border: 1px solid rgba(98, 138, 195, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.hero-copy-wide {
  grid-column: 1 / -1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  color: #06182f;
  background: linear-gradient(90deg, var(--accent), #ffe18e);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-points {
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.7rem;
}

.hero-point {
  background: rgba(9, 26, 49, 0.85);
  border: 1px solid rgba(141, 180, 233, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
}

.hero-point b {
  display: block;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(12, 31, 55, 0.92), rgba(15, 46, 62, 0.9));
  border: 1px solid rgba(107, 149, 208, 0.35);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.hero-panel h3 {
  color: var(--accent);
}

.hero-panel-note {
  margin: -0.2rem 0 0.7rem;
  font-size: 0.9rem;
  color: #c8dcfb;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-list li {
  border-top: 1px solid rgba(146, 184, 238, 0.2);
  padding: 0.72rem 0;
}

.hero-list li:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.hero-top-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.hero-pick-thumb {
  width: 86px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(145, 188, 248, 0.25);
  background: rgba(9, 27, 52, 0.8);
}

.hero-pick-copy {
  min-width: 0;
}

.hero-pick-copy b {
  display: block;
  color: var(--text);
  line-height: 1.2;
  font-size: 0.96rem;
}

.hero-pick-copy span {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.section {
  padding: 2.6rem 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid rgba(157, 196, 250, 0.28);
  background: rgba(9, 28, 53, 0.7);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.32rem 0.72rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid rgba(145, 188, 248, 0.23);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(20, 39, 71, 0.95), rgba(10, 24, 43, 0.92));
  padding: 1rem;
}

.author-card {
  border-color: rgba(139, 255, 122, 0.35);
  background: linear-gradient(160deg, rgba(16, 43, 60, 0.95), rgba(10, 25, 45, 0.95));
}

.author-card h3 {
  color: #bfffc0;
}

.author-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.author-head-copy {
  min-width: 0;
}

.author-photo {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(175, 221, 255, 0.35);
  background: rgba(6, 21, 38, 0.72);
  flex: 0 0 auto;
}

.author-photo-note {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.author-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 0.95rem;
  border: 1px solid rgba(175, 221, 255, 0.38);
  background: rgba(6, 21, 38, 0.72);
  color: #e8f4ff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.author-links a:hover {
  border-color: rgba(185, 255, 169, 0.62);
  background: rgba(16, 43, 60, 0.85);
}

.slot-card h3 {
  margin-bottom: 0.25rem;
}

.slot-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(145, 188, 248, 0.22);
  margin: 0 0 0.75rem;
  background: rgba(9, 27, 52, 0.8);
}

.slot-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.provider {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.stat {
  background: rgba(14, 33, 61, 0.9);
  border: 1px solid rgba(141, 181, 237, 0.18);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
}

.stat b {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.stat span {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.kpi {
  border: 1px solid rgba(145, 188, 248, 0.23);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  text-align: left;
  background: rgba(9, 27, 52, 0.7);
}

.kpi h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--text);
}

.kpi p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.kpi a {
  color: #bce8ff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.kpi a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.notice {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(254, 198, 94, 0.35);
  background: rgba(74, 53, 8, 0.26);
  color: #ffd989;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(145, 188, 248, 0.23);
  border-radius: var(--radius-sm);
  background: rgba(10, 27, 52, 0.78);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

th,
td {
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(145, 188, 248, 0.16);
  text-align: left;
}

th {
  color: #d8eaff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td {
  color: var(--text-dim);
}

tbody tr:hover {
  background: rgba(22, 47, 80, 0.55);
}

.tip {
  padding-left: 1.1rem;
  border-left: 3px solid var(--brand);
}

.cta-strip {
  margin-top: 1.3rem;
  border: 1px solid rgba(126, 174, 241, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(15, 35, 64, 0.9), rgba(22, 55, 62, 0.9));
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.cta-strip h3 {
  margin: 0;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(145, 188, 248, 0.2);
  padding: 1.35rem 0 2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fine {
  font-size: 0.84rem;
  color: #97b2d9;
}

.policy h2 {
  margin-top: 1.4rem;
}

.policy ul {
  color: var(--text-dim);
}

.slot-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.slot-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.slot-facts .stat {
  min-height: 74px;
}

.iframe-wrap {
  border: 1px solid rgba(145, 188, 248, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: #06172f;
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}

.slot-attr-table {
  margin-top: 1rem;
}

.slot-attr-table th:first-child,
.slot-attr-table td:first-child {
  width: 34%;
}

.slot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 1rem;
}

.slot-topic-wrap {
  margin-top: 0.8rem;
}

.slot-topic-title {
  margin: 0 0 0.45rem;
  color: #c9deff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.slot-keyword {
  display: inline-block;
  padding: 0.26rem 0.64rem;
  border: 1px solid rgba(145, 188, 248, 0.25);
  border-radius: 999px;
  color: #c9deff;
  font-size: 0.8rem;
  background: rgba(12, 32, 56, 0.7);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(145, 188, 248, 0.22);
  border-radius: 10px;
  background: rgba(11, 30, 54, 0.7);
  padding: 0.8rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  color: #e8f2ff;
  font-weight: 700;
}

.faq-item p {
  margin: 0.6rem 0 0;
}

.pros-hero-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.sync-note {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(145, 188, 248, 0.25);
  background: rgba(12, 31, 55, 0.75);
  color: #cfe5ff;
  font-size: 0.92rem;
}

.sync-note.sync-error {
  border-color: rgba(255, 149, 149, 0.35);
  color: #ffd1d1;
  background: rgba(82, 27, 27, 0.35);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed rgba(145, 188, 248, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 42, 0.8);
  color: var(--text-dim);
  padding: 1rem;
}

.load-more-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 920px) {
  .slide-overlay-card {
    max-width: calc(100% - 2rem);
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .slot-hero {
    grid-template-columns: 1fr;
  }

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

  .kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: 360px;
  }

  .slide-overlay-card {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.8rem 0.85rem;
  }

  .slide-overlay-card h2 {
    font-size: 1.65rem;
  }

  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    height: 28px;
  }

  .nav {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .iframe-wrap iframe {
    min-height: 500px;
  }

  .author-links a {
    width: 100%;
    justify-content: center;
  }

  .author-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-photo {
    width: 112px;
    height: 112px;
  }

  .hero-top-list li {
    grid-template-columns: 78px 1fr;
    gap: 0.6rem;
  }

  .hero-pick-thumb {
    width: 78px;
    height: 48px;
  }
}
