/* ============================================================
   BEEPLIO LANDING PAGE
   Brand: #7ED957 green, dark theme
   Fonts: DM Sans, DM Mono
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --brand: #7ED957;
    --brand-dim: rgba(126, 217, 87, 0.12);
    --brand-hover: #6ec94a;

    --bg: #0d0f18;
    --bg-surface: #13161f;
    --bg-card: #1a1d2a;
    --bg-card-hover: #1e2130;

    --text: #f0f2f8;
    --text-muted: #7a829a;
    --text-dim: #4a5060;

    --border: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(126, 217, 87, 0.3);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'DM Mono', 'Fira Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- UTILS ---- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--brand);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--brand);
    color: #0d1208;
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---- NAV ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 24, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-dropdown {
    position: relative;
}

.lang-dropdown[open] .lang-chevron {
    transform: rotate(180deg);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color 0.15s, color 0.15s;
}

.lang-current::-webkit-details-marker { display: none; }

.lang-current:hover {
    border-color: var(--brand);
    color: var(--text);
}

.lang-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.18s;
    flex-shrink: 0;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    transition: background 0.12s, color 0.12s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.lang-code {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    min-width: 24px;
}

.lang-name {
    font-size: 13px;
    flex: 1;
}

.lang-option-active {
    color: var(--brand);
    background: var(--brand-dim);
}

.lang-option-active:hover {
    color: var(--brand);
    background: var(--brand-dim);
}

.lang-option-soon {
    opacity: 0.5;
}

.lang-soon-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
    text-transform: uppercase;
}

/* ---- SECTION COMMON ---- */
.section {
    padding: 96px 0;
}

.section-dark {
    background: var(--bg-surface);
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 56px;
}

/* ---- HERO ---- */
.hero {
    padding: 100px 0 80px;
    background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(126, 217, 87, 0.06) 0%, transparent 60%),
                var(--bg);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--brand-dim);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gplay-btn {
    font-size: 15px;
    padding: 14px 28px;
}

.gplay-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Phone mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    width: 260px;
    border-radius: 36px;
    background: #111;
    border: 1.5px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 6px rgba(255,255,255,0.03),
        0 40px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(126, 217, 87, 0.08);
    overflow: hidden;
}

.phone-screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
}

/* ---- PAIN ---- */
.pain-title {
    text-align: center;
    margin-bottom: 48px;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid rgba(126, 217, 87, 0.25);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.18s;
}

.pain-card:hover {
    border-left-color: var(--brand);
}

.pain-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(126, 217, 87, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand);
    opacity: 0.7;
}

.pain-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    padding-top: 8px;
}

.pain-close {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 640px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- MODES ---- */
.modes .section-sub {
    margin-bottom: 48px;
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: border-color 0.2s;
}

.mode-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.mode-card-featured {
    border-color: var(--border-accent);
    background: linear-gradient(145deg, rgba(126, 217, 87, 0.05), var(--bg-card));
}

.mode-icon {
    width: 48px;
    height: 48px;
    color: var(--brand);
    margin-bottom: 16px;
}

.mode-icon svg {
    width: 100%;
    height: 100%;
}

.mode-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.mode-tag-accent {
    background: var(--brand-dim);
    color: var(--brand);
}

.mode-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.mode-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.mode-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mode-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.mode-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.7;
}

/* ---- FEATURES ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    border-color: rgba(126, 217, 87, 0.2);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--brand);
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.hiw-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0 24px;
    align-items: start;
    margin-top: 56px;
}

.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.hiw-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand);
    font-family: var(--font-mono);
}

.hiw-icon {
    width: 72px;
    height: 72px;
    background: var(--brand-dim);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--brand);
}

.hiw-step h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hiw-step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 260px;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 36px;
    color: var(--text-dim);
}

.hiw-arrow svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .hiw-arrow {
        padding-top: 0;
        transform: rotate(90deg);
    }
}

/* ---- TERMINALS ---- */
.terminals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.terminal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.terminal-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 8px;
}

.terminal-model {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.terminal-os {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.terminal-protocol {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 500;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.terminal-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    margin-bottom: 24px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--brand-dim);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

.benefit-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--brand);
}

.benefit strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.benefit span {
    font-size: 14px;
    color: var(--text-muted);
}

.terminals-note {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 8px;
}

/* ---- PRICING ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    position: relative;
}

.pricing-card-pro {
    border-color: var(--border-accent);
    background: linear-gradient(160deg, rgba(126, 217, 87, 0.07) 0%, var(--bg-card) 50%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #0d1208;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-card-pro .price-amount {
    color: var(--brand);
}

.price-period {
    font-size: 15px;
    color: var(--text-muted);
}

.pricing-price-gplay {
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.gplay-icon-sm {
    width: 28px;
    height: 28px;
    fill: var(--brand);
    flex-shrink: 0;
}

.price-once {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.2;
}

.price-gplay-note {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.pricing-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.pricing-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
}

.pricing-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
}

/* Business teaser */
.pricing-business {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.business-badge {
    position: absolute;
    top: -12px;
    left: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 3px 12px;
    border-radius: 100px;
}

.pricing-business h3 {
    font-size: 20px;
    font-weight: 700;
}

.pricing-business p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
}

/* ---- FINAL CTA ---- */
.final-cta {
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(126, 217, 87, 0.08) 0%, transparent 70%),
                var(--bg-surface);
}

.final-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.final-cta-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.final-cta-micro {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}

/* ---- FAQ ---- */
.faq .section-title {
    margin-bottom: 40px;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.15s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover {
    color: var(--brand);
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    color: var(--brand);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ---- PRICING ANCHOR ---- */
.pricing-anchor {
    margin-top: 40px;
    padding: 24px 32px;
    background: rgba(126, 217, 87, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    text-align: center;
}

.pricing-anchor p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.pricing-anchor strong {
    color: var(--text);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 26px;
    width: auto;
    opacity: 0.7;
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-trust svg {
    width: 15px;
    height: 15px;
    stroke: var(--brand);
    opacity: 0.7;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-play svg {
    fill: var(--text-dim);
    transition: fill 0.15s;
}

.footer-play:hover {
    color: var(--brand);
}

.footer-play:hover svg {
    fill: var(--brand);
}

.footer-link {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-dim);
    opacity: 0.6;
}

/* ---- PRIVACY POLICY PAGE ---- */
.privacy {
    padding-top: 80px;
    padding-bottom: 80px;
}

.privacy-inner {
    max-width: 720px;
    margin: 0 auto;
}

.privacy-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.privacy-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.privacy-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.privacy-subsection {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--brand-dim);
}

.privacy-subsection h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.privacy-section p,
.privacy-subsection p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-section p:last-child,
.privacy-subsection p:last-child {
    margin-bottom: 0;
}

.privacy-link {
    color: var(--brand);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.footer-back {
    font-size: 13px;
    margin-top: 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-image {
        order: -1;
    }

    .phone-frame {
        width: 200px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .terminals-grid {
        grid-template-columns: 1fr;
    }

    .terminal-benefits {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .nav-inner {
        height: 56px;
    }

    .nav-logo {
        height: 26px;
    }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

/* ---- BLAZOR ERROR UI (override) ---- */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #b32121;
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    z-index: 9999;
}

#blazor-error-ui .reload {
    color: white;
    margin: 0 8px;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    float: right;
}
