/* ── Tokens ───────────────────────────────────── */
:root {
    --rm-bg: #0a0d12;
    --rm-surface: #111620;
    --rm-card: #161c2a;
    --rm-border: #232c3e;
    --rm-accent: #3d6fff;
    --rm-accent-lt: #5585ff;
    --rm-teal: #0ecdb4;
    --rm-text: #e2e8f2;
    --rm-muted: #7a8aaa;
    --rm-logo-bg: #0e1117;
}

/* ── Base ─────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--rm-bg);
    color: var(--rm-text);
    font-family: dana, system-ui, -apple-system, sans-serif;;
    font-size: 15px;
    line-height: 1.7;
}

/* ── Pages ────────────────────────────────────── */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ── Navbar ───────────────────────────────────── */
.rm-navbar {
    background: rgba(10, 13, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rm-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.rm-navbar .nav-link {
    color: var(--rm-muted);
    font-size: 14px;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    transition: color .18s, background .18s;
}

.rm-navbar .nav-link:hover {
    color: var(--rm-text);
    background: var(--rm-surface);
}

.rm-navbar .navbar-toggler {
    border-color: var(--rm-border);
}

.rm-logo {
    height: 28px;
    width: auto;
}

/* ── Buttons ──────────────────────────────────── */
.btn-rm-primary {
    background: var(--rm-accent);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 8px;
    padding: .5rem 1.25rem;
    transition: background .18s, transform .12s;
}

.btn-rm-primary:hover {
    background: var(--rm-accent-lt);
    color: #fff;
    transform: translateY(-1px);
}

.btn-rm-outline {
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    background: transparent;
    border-radius: 8px;
    padding: .5rem 1.25rem;
    transition: border-color .18s, background .18s;
}

.btn-rm-outline:hover {
    border-color: var(--rm-accent);
    color: var(--rm-accent);
    background: rgba(61, 111, 255, .07);
}

.btn-rm-ghost {
    color: var(--rm-muted);
    background: transparent;
    border: none;
    font-size: 14px;
    padding: .45rem 1rem;
    border-radius: 8px;
    transition: color .18s, background .18s;
}

.btn-rm-ghost:hover {
    color: var(--rm-text);
    background: var(--rm-surface);
}

/* ── Hero ─────────────────────────────────────── */
.rm-hero {
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}

.rm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(61, 111, 255, .22) 0%, transparent 70%);
    pointer-events: none;
}

.rm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(61, 111, 255, .12);
    border: 1px solid rgba(61, 111, 255, .3);
    color: var(--rm-accent-lt);
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.rm-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--rm-text);
}

.rm-hero h1 span {
    background: linear-gradient(90deg, var(--rm-accent-lt), var(--rm-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rm-hero-sub {
    color: var(--rm-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 2rem;
}

/* terminal pill */
.rm-terminal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--rm-teal);
    margin-top: 1.5rem;
}

.rm-terminal .prompt {
    color: var(--rm-muted);
}

/* ── Stats bar ────────────────────────────────── */
.rm-stats {
    background: var(--rm-surface);
    border-top: 1px solid var(--rm-border);
    border-bottom: 1px solid var(--rm-border);
    padding: 1.5rem 0;
}

.rm-stat-item {
    text-align: center;
    padding: .5rem 1rem;
}

.rm-stat-item .stat-val {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--rm-text);
    line-height: 1;
}

.rm-stat-item .stat-lbl {
    font-size: 12px;
    color: var(--rm-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background: var(--rm-border);
    align-self: stretch;
}

/* ── Section titles ───────────────────────────── */
.rm-section {
    padding: 80px 0;
}

.rm-section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--rm-accent-lt);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem;
}

.rm-section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--rm-text);
    margin-bottom: .75rem;
}

.rm-section-sub {
    color: var(--rm-muted);
    max-width: 520px;
}

/* ── Feature cards ────────────────────────────── */
.rm-card {
    background: var(--rm-card);
    border: 1px solid var(--rm-border);
    border-radius: 14px;
    padding: 1.6rem;
    height: 100%;
    transition: border-color .2s, transform .2s;
}

.rm-card:hover {
    border-color: var(--rm-accent);
    transform: translateY(-3px);
}

.rm-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1rem;
}

.rm-feat-icon.blue {
    background: rgba(61, 111, 255, .15);
    color: var(--rm-accent-lt);
}

.rm-feat-icon.teal {
    background: rgba(14, 205, 180, .12);
    color: var(--rm-teal);
}

.rm-feat-icon.green {
    background: rgba(34, 197, 94, .12);
    color: #4ade80;
}

.rm-feat-icon.amber {
    background: rgba(245, 158, 11, .12);
    color: #fbbf24;
}

.rm-feat-icon.pink {
    background: rgba(236, 72, 153, .12);
    color: #f472b6;
}

.rm-feat-icon.purple {
    background: rgba(167, 139, 250, .12);
    color: #a78bfa;
}

.rm-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rm-text);
    margin-bottom: .4rem;
}

.rm-card p {
    font-size: 14px;
    color: var(--rm-muted);
    margin: 0;
}

/* ── Pricing ──────────────────────────────────── */
.rm-pricing-toggle {
    display: inline-flex;
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    border-radius: 99px;
    padding: 4px;
    gap: 2px;
    margin-bottom: 2.5rem;
}

.rm-pricing-toggle .btn-tog {
    border: none;
    background: transparent;
    color: var(--rm-muted);
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 99px;
    cursor: pointer;
    transition: all .18s;
}

.rm-pricing-toggle .btn-tog.active {
    background: var(--rm-accent);
    color: #fff;
    font-weight: 500;
}

.pricing-card {
    background: var(--rm-card);
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: border-color .2s;
}

.pricing-card.featured {
    border-color: var(--rm-accent);
    position: relative;
}

.pricing-card .badge-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rm-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 16px;
    border-radius: 99px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-card .plan-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--rm-muted);
    margin-bottom: .5rem;
}

.pricing-card .plan-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--rm-text);
    line-height: 1;
}

.pricing-card .plan-price sup {
    font-size: 1.1rem;
    vertical-align: super;
}

.pricing-card .plan-price .per {
    font-size: 13px;
    font-weight: 400;
    color: var(--rm-muted);
}

.pricing-card .plan-desc {
    font-size: 13px;
    color: var(--rm-muted);
    margin: .5rem 0 1.25rem;
}

.pricing-card hr {
    border-color: var(--rm-border);
    margin: 1.25rem 0;
}

.pricing-feat {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pricing-feat li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--rm-muted);
    padding: 5px 0;
}

.pricing-feat li i {
    color: var(--rm-teal);
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feat li i.no {
    color: #475569;
}

/* ── CTA Banner ───────────────────────────────── */
.rm-cta-banner {
    background: linear-gradient(135deg, rgba(61, 111, 255, .18) 0%, rgba(14, 205, 180, .12) 100%);
    border: 1px solid rgba(61, 111, 255, .25);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.rm-cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

/* ── Footer ───────────────────────────────────── */
.rm-footer {
    background: var(--rm-surface);
    border-top: 1px solid var(--rm-border);
    padding: 3rem 0 2rem;
}

.rm-footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: .75rem;
}

.rm-footer p {
    font-size: 13px;
    color: var(--rm-muted);
}

.rm-footer-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--rm-muted);
    margin-bottom: .8rem;
}

.rm-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rm-footer-links li {
    margin-bottom: .45rem;
}

.rm-footer-links a {
    font-size: 13px;
    color: var(--rm-muted);
    text-decoration: none;
    transition: color .15s;
}

.rm-footer-links a:hover {
    color: var(--rm-text);
}

.rm-footer-bottom {
    border-top: 1px solid var(--rm-border);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 12px;
    color: var(--rm-muted);
}

/* ── Auth pages ───────────────────────────────── */
.rm-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--rm-bg);
}

.rm-auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.rm-auth-card {
    background: var(--rm-card);
    border: 1px solid var(--rm-border);
    border-radius: 18px;
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 440px;
}

.rm-auth-logo {
    height: 26px;
    width: auto;
}

.rm-auth-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rm-text);
    margin-bottom: .3rem;
}

.rm-auth-card .auth-sub {
    font-size: 13.5px;
    color: var(--rm-muted);
    margin-bottom: 1.5rem;
}

.rm-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    font-size: 14px;
    padding: .6rem 1rem;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    margin-bottom: .6rem;
    text-decoration: none;
}

.rm-social-btn:hover {
    border-color: var(--rm-accent);
    background: rgba(61, 111, 255, .07);
    color: var(--rm-text);
}

.rm-social-btn i {
    font-size: 17px;
}

.rm-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--rm-muted);
    font-size: 12px;
    margin: 1.1rem 0;
}

.rm-divider::before, .rm-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rm-border);
}

.rm-form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--rm-muted);
    margin-bottom: .35rem;
    display: block;
}

.rm-form-input {
    width: 100%;
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    color: var(--rm-text);
    border-radius: 9px;
    padding: .6rem .9rem;
    font-size: 14px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.rm-form-input:focus {
    border-color: var(--rm-accent);
    box-shadow: 0 0 0 3px rgba(61, 111, 255, .15);
}

.rm-form-input::placeholder {
    color: var(--rm-muted);
    opacity: .55;
}

.rm-pw-wrap {
    position: relative;
}

.rm-pw-wrap .rm-form-input {
    padding-right: 2.8rem;
}

.rm-pw-toggle {
    position: absolute;
    right: .7rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--rm-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.rm-pw-toggle:hover {
    color: var(--rm-text);
}

/* strength bar */
.rm-strength {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}

.rm-strength-seg {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: var(--rm-border);
    transition: background .25s;
}

.rm-strength-seg.s1 {
    background: #ef4444;
}

.rm-strength-seg.s2 {
    background: #f97316;
}

.rm-strength-seg.s3 {
    background: #eab308;
}

.rm-strength-seg.s4 {
    background: var(--rm-teal);
}

.rm-strength-lbl {
    font-size: 11px;
    color: var(--rm-muted);
    margin-top: 4px;
    text-align: right;
}

.rm-check-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--rm-muted);
}

.rm-check-row input[type="checkbox"] {
    accent-color: var(--rm-accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rm-check-row a {
    color: var(--rm-accent-lt);
    text-decoration: none;
}

.rm-check-row a:hover {
    text-decoration: underline;
}

.rm-auth-switch {
    font-size: 13px;
    color: var(--rm-muted);
    text-align: center;
    margin-top: 1.25rem;
}

.rm-auth-switch a {
    color: var(--rm-accent-lt);
    text-decoration: none;
}

.rm-auth-switch a:hover {
    text-decoration: underline;
}

.rm-secure {
    font-size: 11px;
    color: var(--rm-muted);
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
