@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bg: #020a12;
  --bg-deep: #01060b;
  --panel: rgba(5, 17, 27, 0.9);
  --panel-soft: rgba(7, 22, 33, 0.72);
  --line: rgba(80, 136, 157, 0.24);
  --line-strong: rgba(21, 220, 228, 0.58);
  --cyan: #18e0e6;
  --cyan-soft: #70f6ef;
  --blue: #0797ff;
  --green: #50df8d;
  --text: #eef6f8;
  --muted: #869ba5;
  --silver: #c8d0d4;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(1, 7, 12, 0.46), rgba(1, 7, 12, 0.9)),
    url("assets/rigviewer-wallpaper.png");
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 7, 12, .35), transparent 22%, transparent 78%, rgba(1, 7, 12, .35));
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 26px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.topbar.scrolled {
  background: rgba(1, 8, 13, .92);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.topbar-logo { width: 210px; }
.topbar-logo img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: #9eb0b7;
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--cyan-soft); }
.menu-button { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(1000px, 90vw);
  height: min(520px, 60vw);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 188, 219, .14), transparent 66%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: min(900px, 92vw);
  text-align: center;
}
.hero-logo { width: min(730px, 88vw); margin: 0 auto 30px; }
.signature {
  margin: 0 0 30px;
  color: var(--cyan-soft);
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 700;
  letter-spacing: .28em;
}
.hero h1 {
  max-width: 850px;
  margin: 0 auto;
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 700;
}
.hero-copy {
  max-width: 700px;
  margin: 24px auto 0;
  color: #a8bbc2;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.button-primary {
  color: #001013;
  background: linear-gradient(180deg, #61fff5, #10d7e0);
  border-color: #78fff6;
  box-shadow: 0 8px 30px rgba(5, 220, 229, .16);
}
.button-primary:hover { filter: brightness(1.08); }
.button-ghost { background: rgba(2, 12, 19, .62); color: #d8e4e8; }
.button-ghost:hover { border-color: rgba(24, 224, 230, .55); color: var(--cyan-soft); }
.beta-note { margin: 17px 0 0; color: #657a84; font-size: 12px; }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  display: flex;
  gap: 10px;
  color: #5f747d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.scroll-cue span { color: var(--cyan); }

.product-section,
.content-section,
.shop-strip,
.beta-section,
.support-section,
footer {
  width: min(var(--max), 90vw);
  margin-inline: auto;
}
.product-section {
  min-height: 820px;
  padding: 130px 0;
  display: block;
  border-top: 1px solid var(--line);
}
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}
.section-copy h2,
.section-heading h2,
.shop-strip h2,
.beta-section h2,
.support-section h2 {
  margin: 0;
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
}
.section-copy > p:last-child,
.section-heading > p:last-child,
.beta-section > div > p:last-child {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  max-width: 620px;
}

.app-window {
  width: 100%;
  max-width: 690px;
  justify-self: end;
  padding: 20px;
  border: 1px solid rgba(55, 123, 146, .34);
  border-radius: 18px;
  background: rgba(1, 9, 15, .92);
  box-shadow: 0 32px 90px rgba(0,0,0,.42);
}
.app-window-bar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 15px;
}
.app-window-bar > div { display: flex; align-items: baseline; gap: 9px; }
.app-brand { font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.app-screen-name { color: #637985; font-size: 11px; font-weight: 800; }
.status-live { color: #77caa0; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.status-live i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 6px; background: var(--green); box-shadow: 0 0 12px rgba(80,223,141,.8); }
.performance-panel,
.miner-row {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(9, 28, 41, .9), rgba(3, 14, 22, .94));
}
.performance-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 145px;
  padding: 24px;
  border-radius: 12px;
  border-top-color: rgba(24,224,230,.48);
}
.metric-label,
.row-stats small,
.performance-stats small,
.best-diff span {
  color: #69808b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}
.metric-value { display: block; margin-top: 10px; font-size: clamp(36px, 4vw, 55px); line-height: 1; }
.metric-value small, .row-hashrate small { color: var(--cyan); font-size: .42em; }
.performance-stats { display: flex; gap: 28px; }
.performance-stats span { display: grid; gap: 7px; }
.performance-stats b { font-size: 14px; }
.miner-row { position: relative; margin-top: 11px; padding: 19px 20px 16px; border-radius: 12px; }
.miner-row.winner { border-color: rgba(24,224,230,.36); }
.miner-main { display: flex; align-items: center; gap: 10px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(80,223,141,.6); }
.miner-main div { display: grid; gap: 3px; }
.miner-main strong { font-size: 13px; }
.miner-main small { color: #607681; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.row-hashrate { position: absolute; top: 18px; right: 20px; font-size: 25px; }
.row-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 15px; }
.row-stats span { padding: 9px 10px; display: grid; gap: 5px; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.035); border-radius: 7px; }
.row-stats b { font-size: 12px; }
.best-diff { margin-top: 13px; padding-top: 12px; display: flex; justify-content: space-between; border-top: 1px solid rgba(95,134,148,.16); }
.best-diff b { color: var(--cyan-soft); font-size: 12px; }


.product-section .section-copy {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.product-section .section-copy > p:last-child {
  margin-inline: auto;
}

.content-section { padding: 125px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.feature-lines { border-top: 1px solid var(--line); }
.feature-lines article {
  min-height: 145px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.feature-number { color: #31505d; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-lines h3 { margin: 0 0 8px; font-family: Sora, Inter, "Segoe UI", sans-serif; font-size: clamp(22px, 2.4vw, 31px); letter-spacing: -.03em; }
.feature-lines p { margin: 0; color: var(--muted); line-height: 1.65; }

.support-table { border-top: 1px solid var(--line); }
.support-table > div {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}
.support-table strong { font-family: Sora, Inter, "Segoe UI", sans-serif; font-size: 17px; }
.support-table span { font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.supported { color: var(--green); }
.coming { color: var(--cyan); }

.plan-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(2, 11, 18, .74);
}
.plan-column { min-height: 390px; padding: 42px; }
.plan-column + .plan-column { border-left: 1px solid var(--line); }
.premium-plan { background: linear-gradient(135deg, rgba(10, 47, 57, .42), rgba(2, 13, 21, .3)); box-shadow: inset 0 2px 0 rgba(24,224,230,.55); }
.plan-name { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.plan-column h3 { margin: 13px 0 28px; font-family: Sora, Inter, "Segoe UI", sans-serif; font-size: 29px; letter-spacing: -.03em; }
.plan-column ul { margin: 0; padding: 0; list-style: none; }
.plan-column li { position: relative; margin: 0 0 16px; padding-left: 22px; color: #9cafb6; line-height: 1.55; }
.plan-column li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--cyan); }
.launch-note { margin-top: 28px; color: #607681; font-size: 12px; }

.shop-strip,
.beta-section,
.support-section {
  border-top: 1px solid var(--line);
}
.shop-strip {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-strip h2 { font-size: clamp(34px, 4vw, 52px); }


.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-family: Sora, Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.beta-section {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.support-section {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.support-section h2 { font-size: clamp(32px, 4vw, 50px); }
.support-section > a {
  min-width: 290px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  color: #d3e0e4;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 700;
}
.support-section > a span { color: var(--cyan); }

footer {
  min-height: 220px;
  padding: 52px 0 35px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
}
footer img { width: 240px; }
footer p { margin: 0; color: #647a83; font-size: 10px; font-weight: 800; letter-spacing: .19em; }
footer nav { display: flex; gap: 20px; color: #788c94; font-size: 12px; }
footer nav a:hover { color: var(--cyan-soft); }
footer small { grid-column: 1 / -1; color: #49606a; font-size: 11px; }

@media (max-width: 960px) {
  .topbar-logo { width: 180px; }
  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: rgba(2,12,19,.8);
  }
  .menu-button span { width: 19px; height: 1px; background: #cbd9de; transition: .2s; }
  .menu-button.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button.active span:nth-child(2) { opacity: 0; }
  .menu-button.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 24px max(5vw, 26px) 30px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: rgba(1,8,13,.97);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(80,136,157,.14); }
  .product-section { grid-template-columns: 1fr; gap: 55px; }
  .app-window { justify-self: start; max-width: 760px; }
  .beta-section, .support-section { align-items: flex-start; flex-direction: column; justify-content: center; }
  footer { grid-template-columns: 220px 1fr; }
  footer nav { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  body::before { background-attachment: scroll; background-position: center top; }
  .topbar { height: 66px; padding-inline: 18px; }
  .topbar-logo { width: 155px; }
  .site-nav { top: 65px; padding-inline: 20px; }
  .hero { padding: 105px 18px 70px; }
  .hero-logo { width: 96vw; margin-bottom: 24px; }
  .signature { letter-spacing: .18em; font-size: 10px; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 58px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .product-section,
  .content-section { width: 92vw; padding: 90px 0; }
  .product-section { min-height: auto; }
  .app-window { padding: 11px; border-radius: 13px; }
  .app-window-bar { height: 45px; }
  .performance-panel { min-height: 128px; padding: 18px; align-items: flex-start; flex-direction: column; }
  .performance-stats { width: 100%; justify-content: space-between; }
  .miner-row { padding: 16px 14px 14px; }
  .row-hashrate { top: 16px; right: 14px; font-size: 21px; }
  .row-stats span { padding: 8px; }
  .feature-lines article { grid-template-columns: 48px 1fr; padding: 26px 0; }
  .feature-lines p { font-size: 14px; }
  .plan-comparison { grid-template-columns: 1fr; }
  .plan-column { min-height: auto; padding: 30px 24px; }
  .plan-column + .plan-column { border-left: 0; border-top: 1px solid var(--line); }
  .shop-strip,
  .beta-section,
  .support-section,
  footer { width: 92vw; }
  .shop-strip { padding: 55px 0; align-items: flex-start; flex-direction: column; gap: 25px; }
  
  .beta-section { padding: 65px 0; min-height: auto; gap: 30px; }
  .support-section { min-height: auto; padding: 65px 0; gap: 30px; }
  .support-section > a { min-width: 100%; }
  footer { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  footer img { width: 220px; }
  footer nav { grid-column: auto; }
  footer small { grid-column: auto; }
}
