/* landing.css — public pages: the logged-out home page, /base, /rover, /caster.
   Dark palette: background #0d1b2a, cards #14202e / #1e3a50, text #e0e6ef, muted #90a4b8, accent #3a7bd5 / #90caf9. */

body { margin: 0; background: #0d1b2a; color: #e0e6ef; font-family: system-ui, sans-serif; }

/* ── Landing page ─────────────────────────────────────────────── */
.landing-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.landing-section { padding: 36px 0; }
.landing-h2 { font-size: 1.45em; margin: 0 0 20px; text-align: center; font-weight: 700; color: #e0e6ef; }
.demo-intro, .demo-note { max-width: 720px; margin: 0 auto 18px; text-align: center; color: #9fb0c3; line-height: 1.5; }
.demo-note { margin: 16px auto 0; font-size: 0.85em; color: #778899; }
.demo-grid .feat-card { display: flex; flex-direction: column; }
.demo-grid .feat-card .hero-btn { margin-top: auto; text-align: center; }
.demo-login { color: #e0e6ef; margin: 6px 0 16px; }
.demo-login code { background: #14263a; padding: 1px 6px; border-radius: 4px; color: #90caf9; }

.hero {
    text-align: center; padding: 64px 20px 48px;
    background: linear-gradient(180deg, #0d1b2a 0%, #142638 100%);
}
.hero h1 { font-size: 2.4em; margin: 0 0 12px; font-weight: 700; }
.hero p  { font-size: 1.1em; color: #90a4b8; max-width: 640px; margin: 0 auto 28px; line-height: 1.5; }
.welcome-offer {
    max-width: 640px; margin: 0 auto 28px; padding: 14px 18px; border-radius: 10px;
    background: rgba(129, 199, 132, .12); border: 1px solid #4caf50; color: #e8f5e9;
}
.welcome-offer-title { font-size: 1.15em; font-weight: 700; color: #a5d6a7; }
.welcome-offer-sub   { font-size: .92em; color: #b0c4b1; margin-top: 4px; }
.welcome-offer-count { font-size: .95em; margin-top: 8px; color: #e8f5e9; }
#welcome-countdown   { font-variant-numeric: tabular-nums; font-weight: 600; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-btn {
    display: inline-block; background: #1565c0; color: #fff; border: none;
    border-radius: 6px; padding: 14px 32px; font-size: 1.05em; cursor: pointer;
    text-decoration: none; font-weight: 600; transition: background .15s;
}
.hero-btn:hover { background: #1976d2; }
.hero-btn.secondary { background: transparent; border: 1px solid #3a7bd5; color: #90caf9; }
.hero-btn.secondary:hover { background: #14263a; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feat-card {
    background: #14202e; border: 1px solid #1e3a50; border-radius: 8px;
    padding: 24px 20px; text-align: center;
}
.feat-card h3 { margin: 0 0 8px; font-size: 1em; color: #90caf9; }
.feat-card p  { margin: 0; font-size: .88em; color: #90a4b8; line-height: 1.5; }
.feat-icon { font-size: 1.8em; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
    background: #14202e; border: 1px solid #1e3a50; border-radius: 8px;
    padding: 18px 16px; font-size: .9em; color: #b0bec5; line-height: 1.5;
}
.steps li::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: #1565c0; color: #fff;
    font-weight: 700; margin-bottom: 10px;
}
.steps li strong { display: block; color: #e0e6ef; margin-bottom: 4px; }

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
.price-card {
    background: #14202e; border: 1px solid #1e3a50; border-radius: 10px;
    padding: 26px 24px; display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid #3a7bd5; box-shadow: 0 0 0 4px rgba(58,123,213,.15); }
.price-tag { font-size: .72em; text-transform: uppercase; letter-spacing: .08em; color: #90caf9; min-height: 1.2em; }
.price-card h3 { margin: 6px 0 0; font-size: 1.2em; }
.price-amount { font-size: 2.6em; font-weight: 800; color: #fff; margin: 8px 0 0; line-height: 1.1; }
.price-unit { font-size: .8em; color: #778899; margin: 2px 0 16px; }
.price-card ul { margin: 0 0 20px; padding-left: 18px; color: #b0bec5; font-size: .9em; line-height: 1.6; flex: 1; }
.price-card .hero-btn { text-align: center; }
.pricing-note { text-align: center; color: #90a4b8; font-size: .9em; margin: 18px auto 0; max-width: 640px; line-height: 1.5; }

.compare { max-width: 760px; margin: 18px auto 0; }
.compare summary { cursor: pointer; color: #90caf9; text-align: center; font-size: .92em; }
/* styles.css gives every table word-break:break-word and light borders — override both here */
.compare-table {
    width: 100%; border-collapse: collapse; font-size: .88em; margin-top: 14px;
    word-break: normal; overflow-wrap: normal;
}
.compare-table th, .compare-table td {
    padding: 8px 10px; border: none; border-bottom: 1px solid #1e3a50; text-align: center;
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: #b0bec5; }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { width: 92px; white-space: nowrap; }
.compare-table thead th { color: #778899; font-weight: 600; }
.compare-table thead th:last-child { color: #90caf9; }
.compare-table .compare-section th {
    text-align: left; color: #81c784; font-weight: 700; padding-top: 18px; border-bottom-color: #2a4a66;
}
.compare-table .yes { color: #4caf50; font-weight: 700; }
.compare-table .no  { color: #556677; }
.compare-table .lbl-short { display: none; }
/* the caster usage price table */
.wallet-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto 8px; }
.wallet-box { border: 1px solid #2c4a66; border-radius: 8px; padding: 10px 14px; color: #b0bec5; font-size: .92em; line-height: 1.45; }
.wallet-box strong { color: #ffcc80; }
.wallet-box.tokens strong { color: #81c784; }
.usage-h3 { max-width: 760px; margin: 26px auto 0; font-size: 1.02em; color: #fff; }
/* the caster price cards: one big price, one plain sentence */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; max-width: 900px; margin: 10px auto 0; }
#caster-price .usage-h3, #caster-price .pc-example { max-width: 900px; }
.pc { border: 1px solid #2c4a66; border-radius: 10px; padding: 16px 18px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 6px; }
.pc-good { border-color: #2e7d32; background: rgba(76,175,80,.06); }
.pc-where { color: #c5d3e0; font-weight: 600; font-size: .95em; }
.pc-price { color: #fff; font-size: 2.2em; font-weight: 800; line-height: 1.1; }
.pc-good .pc-price { color: #81c784; }
.pc-price-sm { font-size: 1.5em; }
.pc-price span { display: block; font-size: .5em; font-weight: 600; color: #90caf9; margin-top: 4px; }
.pc-sub { color: #90caf9; font-size: 1.25em; font-weight: 700; }
.pc-note { color: #9fb0c3; font-size: .88em; line-height: 1.45; }
.pc-example { box-sizing: border-box; max-width: 760px; margin: 18px auto 0; padding: 12px 16px; border-left: 3px solid #81c784; background: rgba(76,175,80,.06);
    color: #c5d3e0; font-size: .92em; line-height: 1.5; }
.pc-example strong { color: #fff; }
/* fixed, equal columns in both tables; every cell wraps (.compare-table keeps its value columns on one line) */
.compare-table.usage-table { max-width: 760px; margin: 8px auto 0; table-layout: fixed; }
.compare-table.usage-table th, .compare-table.usage-table td { white-space: normal; vertical-align: top; text-align: left; padding: 10px 12px; }
.compare-table.usage-table th:nth-child(1), .compare-table.usage-table td:nth-child(1) { width: 42%; }
.compare-table.usage-table td:nth-child(1) { color: #e3eaf1; }
.compare-table.usage-table th:nth-child(2), .compare-table.usage-table td:nth-child(2) { width: 22%; }
.compare-table.usage-table th:nth-child(3), .compare-table.usage-table td:nth-child(3) { width: 36%; }
.compare-table.usage-table td:nth-child(3) { color: #b0bec5; }
.compare-table.usage-table thead th { color: #778899 !important; font-weight: 600; font-size: .9em; }
.pricing-note a { color: #90caf9; }
.compare-table.usage-table td.usage-cost { color: #fff; font-weight: 700; }
.compare-table.usage-table .usage-good td.usage-cost { color: #81c784; }
.usage-table .usage-sub { display: block; margin-top: 2px; font-size: .82em; font-weight: 400; color: #8496a8; }
/* the software price table: prices in the header, Full highlighted, a cross where a license lacks a feature */
.price-table { max-width: 760px; margin: 0 auto; }
.price-table thead th:not(:first-child) { width: 150px; vertical-align: bottom; padding-bottom: 12px; }
.price-table thead th:first-child { vertical-align: bottom; }
.price-table .pt-name { font-size: 1.15em; font-weight: 700; color: #fff; margin-top: 4px; }
.price-table .pt-amount { font-size: 1.9em; font-weight: 800; color: #fff; line-height: 1.15; margin-top: 4px; }
.price-table .pt-unit { font-size: .75em; font-weight: 400; color: #778899; }
.price-table .featured { background: rgba(58,123,213,.10); }
.price-table thead th.featured { border-top: 2px solid #3a7bd5; }
.price-table .no { color: #c0645f; font-weight: 700; }
.price-table tfoot td { padding-top: 14px; border-bottom: none; }
.price-table tfoot .hero-btn { width: 100%; text-align: center; }

.landing-map-frame {
    width: 100%; height: 420px; border: 1px solid #1e3a50;
    border-radius: 8px; overflow: hidden;
}
.landing-map-frame iframe { width: 100%; height: 100%; border: none; }

.site-footer {
    text-align: center; padding: 20px 16px; font-size: .82em; color: #556677;
    border-top: 1px solid #1e3a50; margin-top: 12px;
}
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.site-footer-links a { color: #90caf9; text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }
.site-footer-note { font-size: .92em; }

@media (max-width: 800px) {
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 44px 16px 32px; }
    .hero h1 { font-size: 1.7em; }
    .hero p { font-size: 1em; }
    .hero-actions .hero-btn { width: 100%; box-sizing: border-box; }
    .landing-wrap { padding: 0 16px; }
    .landing-section { padding: 28px 0; }
    .steps, .pricing { grid-template-columns: 1fr; }
    .landing-map-frame { height: 300px; }
    .compare-table { font-size: .8em; }
    .compare-table th, .compare-table td { padding: 7px 5px; }
    .compare-table th:not(:first-child), .compare-table td:not(:first-child) { width: 50px; }
    .compare-table .lbl-long  { display: none; }       /* "No license" → "None" on phones */
    .compare-table .lbl-short { display: inline; }
    .price-table thead th:not(:first-child) { width: 92px; }
    .wallet-pair { grid-template-columns: 1fr; }
    .pc-grid { grid-template-columns: 1fr; }
    .compare-table.usage-table th, .compare-table.usage-table td { padding: 8px 6px; }
    .compare-table.usage-table th:nth-child(1), .compare-table.usage-table td:nth-child(1) { width: 40%; }
    .compare-table.usage-table th:nth-child(2), .compare-table.usage-table td:nth-child(2) { width: 25%; }
    .compare-table.usage-table th:nth-child(3), .compare-table.usage-table td:nth-child(3) { width: 35%; }
    .price-table .pt-amount { font-size: 1.25em; }
    .price-table tfoot .hero-btn { padding: 8px 4px; font-size: .85em; }
}

/* ── Detail pages (/base, /rover, /caster) ───────────────────────── */
.detail-hero { text-align: center; padding: 48px 20px 28px; background: linear-gradient(180deg, #0d1b2a 0%, #142638 100%); }
.detail-hero h1 { font-size: 2.1em; margin: 0 0 10px; }
.detail-hero p { color: #90a4b8; max-width: 720px; margin: 0 auto; line-height: 1.55; font-size: 1.05em; }
.detail-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px 20px; box-sizing: border-box; }
.detail-section { padding: 22px 0; border-bottom: 1px solid #1e3a50; }
.detail-section:last-child { border-bottom: none; }
/* setup steps on the Base / Rover pages */
.setup-steps { margin: 6px 0 0; padding-left: 22px; line-height: 1.6; color: #c5d3e0; }
.setup-steps li { margin-bottom: 10px; }
.setup-steps li strong { color: #fff; }
.setup-steps em { color: #e3eaf1; font-style: normal; }
.setup-table { width: auto; margin: 8px 0 4px; border-collapse: collapse; font-size: .92em; word-break: normal; background: none; }
.setup-table td { text-align: left; padding: 5px 14px 5px 0; border: none; border-bottom: 1px solid #1e3a50; vertical-align: top; }
.setup-table td:first-child { color: #90a4b8; white-space: nowrap; }
.setup-more { margin-top: 10px; }
.setup-more summary { cursor: pointer; color: #90caf9; }
.setup-more ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.6; color: #b0bec5; }
.detail-section h2 { font-size: 1.2em; margin: 0 0 10px; color: #90caf9; }
.detail-section p, .detail-section li { color: #b0bec5; line-height: 1.6; font-size: .95em; }
.detail-section p { margin: 0 0 8px; }
.detail-section ul { margin: 0; padding-left: 20px; }
.detail-section li { margin: 3px 0; }
.detail-section a { color: #90caf9; }
.detail-section code, .detail-demo code, .connect-table code {
    background: #14263a; padding: 1px 6px; border-radius: 4px; color: #90caf9; font-size: .92em;
}
.tag { display: inline-block; font-size: .7em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
       padding: 1px 7px; border-radius: 10px; margin-left: 6px; vertical-align: 1px; }
.tag-limited { background: #1b3a2a; color: #81c784; border: 1px solid #2e5a3e; }
.tag-full    { background: #14263a; color: #90caf9; border: 1px solid #3a7bd5; }
.connect-table { border-collapse: collapse; margin: 6px 0; font-size: .92em; }
.connect-table th, .connect-table td { padding: 5px 14px 5px 0; border: none; text-align: left; color: #b0bec5; }
.connect-table th { color: #778899; font-weight: 600; }
.detail-demo, .cta-bar { max-width: 860px; margin: 24px auto; padding: 22px 20px; box-sizing: border-box;
    background: #14202e; border: 1px solid #1e3a50; border-radius: 10px; text-align: center; }
.detail-demo h2, .cta-bar h2 { margin: 0 0 8px; font-size: 1.2em; }
.detail-demo p, .cta-bar p { color: #90a4b8; margin: 0 auto 16px; max-width: 620px; line-height: 1.5; }
.detail-demo-units { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; }
.detail-demo-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (max-width: 600px) {
    .detail-hero { padding: 36px 16px 20px; }
    .detail-hero h1 { font-size: 1.6em; }
    .detail-wrap { padding: 0 16px 16px; }
    .detail-demo, .cta-bar { margin: 20px 0; }
    .detail-demo .hero-btn, .cta-bar .hero-btn { width: 100%; box-sizing: border-box; }
    .detail-demo-unit { width: 100%; }
}

/* ── "What you get" (home) ───────────────────────────────────────── */
.diagram { display: block; width: 100%; margin: 0 auto 24px; }
.diagram-h { max-width: 900px; }
.diagram-v { display: none; max-width: 320px; }
.d-box { fill: #14202e; stroke: #1e3a50; stroke-width: 1.5; }
.d-caster { stroke: #3a7bd5; stroke-width: 2; }
.d-title { fill: #e0e6ef; font-size: 14px; font-weight: 600; text-anchor: middle; }
.d-sub   { fill: #90a4b8; font-size: 11px; text-anchor: middle; }
.d-note  { fill: #90a4b8; font-size: 12px; text-anchor: middle; }
.d-rtcm  { fill: #81c784; font-size: 11px; font-weight: 700; text-anchor: middle; }
.d-line  { stroke: #90caf9; stroke-width: 2; }
.d-arrowhead { fill: #90caf9; }
.what-grid .feat-card { display: flex; flex-direction: column; text-align: left; }
.what-grid .feat-card .feat-icon, .what-grid .feat-card h3 { text-align: center; }
.what-grid ul { margin: 0 0 14px; padding-left: 18px; color: #90a4b8; font-size: .88em; line-height: 1.55; flex: 1; }
.learn-more { color: #90caf9; text-decoration: none; font-weight: 600; font-size: .9em; text-align: center; }
.learn-more:hover { text-decoration: underline; }
.demo-more { margin: 0 0 14px; font-size: .88em; }
.demo-more a { color: #90caf9; text-decoration: none; }
.demo-more a:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .diagram-h { display: none; }
    .diagram-v { display: block; }
}

/* ── Professional-first home (RTK equipment first, DIY optional) ─────── */
.what-intro { text-align: center; color: #9fb0c3; max-width: 720px; margin: 0 auto 18px; line-height: 1.5; }
.diagram-pro.diagram-h { max-width: 720px; }
.landing-h3 { font-size: 1.15em; text-align: center; margin: 40px 0 8px; color: #e0e6ef; }
.track-h { font-size: 1em; color: #90caf9; margin: 22px 0 12px; }
.steps code { background: #14263a; padding: 1px 5px; border-radius: 4px; color: #90caf9; font-size: .92em; }
.pricing-lead { text-align: center; color: #9fb0c3; max-width: 720px; margin: 0 auto 20px; line-height: 1.5; }
.pricing-lead a { color: #90caf9; }
.detail-note { max-width: 820px; margin: 18px auto 0; padding: 12px 16px; box-sizing: border-box; text-align: center;
    background: #14263a; border: 1px solid #1e3a50; border-radius: 8px; color: #b0bec5; font-size: .92em; }
.detail-note a { color: #90caf9; }
@media (max-width: 600px) { .detail-note { margin: 16px 0 0; } }

/* Network RTK (VRS) section - shown once VRS is open to customers */
.vrs-section { border: 1px solid #2e6fbf; border-radius: 10px; padding: 18px 22px; background: rgba(46, 111, 191, .06); }
.vrs-why { margin: 10px 0 14px; padding-left: 20px; line-height: 1.55; }
.vrs-why li { margin-bottom: 6px; }
.vrs-note { font-size: .9em; opacity: .85; margin: 10px 0 0; }
