/* Go Rocket — self-contained chrome + auth surface.
   Loaded only on go-rocket hosts (see base_wsk.html). Reuses the ugc.css
   design tokens (--bg-primary #051C2C, --accent #00D4FF, --border, --card-bg,
   --text-*, --font-sans) for visual continuity, but does NOT depend on the
   mismatched shared header/shell CSS. Distinct, focused, international UGC look. */

/* ---- Header ---------------------------------------------------------- */
.gr-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 28, 44, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.gr-header__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  min-height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.gr-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em;
  color: var(--text-primary); text-decoration: none; white-space: nowrap;
}
.gr-brand__rocket { font-size: 1.1em; }
.gr-brand__accent { color: var(--accent); }
.gr-nav { display: flex; align-items: center; gap: 16px; }
.gr-link {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.gr-link:hover { color: var(--text-primary); }

.gr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;
}
.gr-btn--primary {
  background: var(--accent); color: var(--bg-primary);
  box-shadow: 0 6px 22px var(--accent-glow);
}
.gr-btn--primary:hover { background: var(--accent-hover); }
.gr-btn--block { width: 100%; min-height: 48px; font-size: 15px; }

/* Native-select language picker (no JS dependency, RTL-safe). */
.gr-lang { position: relative; display: inline-flex; }
.gr-lang select {
  appearance: none; -webkit-appearance: none;
  background: var(--card-bg); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 10px;
  height: 40px; padding: 0 34px 0 14px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600; cursor: pointer;
}
.gr-lang select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.gr-lang::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--text-secondary);
  border-bottom: 1.6px solid var(--text-secondary);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}

/* ---- Auth surface ---------------------------------------------------- */
.gr-auth {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
}
.gr-card {
  width: 100%; max-width: 432px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}
.gr-card__head { text-align: center; margin-bottom: 24px; }
.gr-card__head h1 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px;
}
.gr-card__head p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.gr-field { margin-bottom: 16px; }
.gr-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}
.gr-input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary); font-family: var(--font-sans); font-size: 15px;
}
.gr-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.gr-error { color: #ff8a8a; font-size: 13px; margin: 6px 0 0; }
.gr-consent {
  display: flex; gap: 9px; align-items: flex-start; margin: 18px 0;
  font-size: 13px; color: var(--text-muted); line-height: 1.45;
}
.gr-consent input { margin-top: 3px; accent-color: var(--accent); }
.gr-alt { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 14px; }
.gr-alt a { color: var(--accent); text-decoration: none; font-weight: 600; }
.gr-note { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-muted); }
.gr-msgs { list-style: none; padding: 0; margin: 0 0 16px; }
.gr-msgs li {
  padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
}
.gr-msgs li.error { border-color: rgba(255, 138, 138, 0.4); color: #ffb0b0; }
.gr-msgs li.success { border-color: rgba(0, 212, 255, 0.35); color: var(--accent); }

/* ---- Footer ---------------------------------------------------------- */
.gr-footer { border-top: 1px solid var(--border); margin-top: 48px; }
.gr-footer__inner {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.gr-footer__legal { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.gr-footer__legal a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.gr-footer__legal a:hover { color: var(--text-secondary); }
.gr-footer__copy { color: var(--text-muted); font-size: 13px; margin: 0; }

@media (max-width: 560px) {
  .gr-nav { gap: 10px; }
  .gr-nav .gr-link { display: none; }
  .gr-card { padding: 28px 20px; }
}

/* ---- Button variants (landing) ------------------------------------- */
.gr-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.gr-btn--ghost {
  background: transparent; color: var(--text-primary);
  border-color: var(--border);
}
.gr-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Landing page --------------------------------------------------- */
.grl { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grl-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.grl-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 18px;
}
.grl-h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.grl-lede { font-size: 1.18rem; line-height: 1.55; color: var(--text-secondary); margin: 0 0 28px; max-width: 30em; }
.grl-lede strong { color: var(--text-primary); }
.grl-sub { font-size: 1.05rem; color: var(--text-muted); margin: 0 auto; max-width: 44em; }
.grl-microcopy { margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.grl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.grl-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 72px 0 64px;
}
.grl-hero__media { display: flex; justify-content: center; }

/* 9:16 phone-framed video */
.grl-phone {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--border);
  background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.grl-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.grl-phone--card { max-width: 270px; }
.grl-phone--card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Sections */
.grl-section { padding: 64px 0; }
.grl-section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.grl-section__head { text-align: center; margin-bottom: 40px; }
.grl-disclosure { text-align: center; margin-top: 22px; font-size: 12px; color: var(--text-muted); }

.grl-examples { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }

/* Steps */
.grl-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.grl-step {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
}
.grl-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--bg-primary);
  font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.grl-step h3 { font-size: 1.12rem; margin: 0 0 6px; }
.grl-step p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.5; margin: 0; }

/* Feature grid */
.grl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grl-feat {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 22px;
}
.grl-feat h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--accent); }
.grl-feat p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* Cost comparison */
.grl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 0 auto; }
.grl-compare__col { border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px; }
.grl-compare__col h3 { margin: 0 0 18px; font-size: 1.15rem; }
.grl-compare__col ul { list-style: none; padding: 0; margin: 0; }
.grl-compare__col li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5;
}
.grl-compare__col li:last-child { border-bottom: 0; }
.grl-compare__col--bad { background: rgba(255, 138, 138, 0.05); border-color: rgba(255, 138, 138, 0.22); }
.grl-compare__col--bad h3 { color: #ff9b9b; }
.grl-compare__col--good { background: rgba(0, 212, 255, 0.06); border-color: rgba(0, 212, 255, 0.3); }
.grl-compare__col--good h3 { color: var(--accent); }
.grl-price, .grl-num { display: block; font-weight: 800; font-size: 1.18rem; color: var(--text-primary); letter-spacing: -0.01em; }
.grl-price small { font-size: 0.6em; font-weight: 600; color: var(--text-muted); }
.grl-compare__col--good .grl-num { color: var(--accent); }

/* Pricing */
.grl-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.grl-tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 26px;
}
.grl-tier--popular { border-color: var(--accent); box-shadow: 0 12px 40px var(--accent-glow); }
.grl-tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--bg-primary);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.grl-tier__name { font-size: 1.05rem; margin: 0 0 10px; color: var(--text-secondary); }
.grl-tier__price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.grl-tier__price span { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.grl-tier__note { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0 18px; }
.grl-tier__list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.grl-tier__list li {
  padding: 8px 0 8px 26px; position: relative;
  color: var(--text-secondary); font-size: 0.95rem;
}
.grl-tier__list li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 12px; height: 7px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Final CTA */
.grl-final { text-align: center; padding: 80px 24px; }
.grl-final .gr-btn { margin-top: 22px; }

@media (max-width: 820px) {
  .grl-pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .grl-compare { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grl-hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .grl-hero__media { order: -1; }
  .grl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grl-steps { grid-template-columns: 1fr; }
  .grl-grid { grid-template-columns: 1fr; }
}
