/* ============================================================================
   SecurAppt design system — theme tokens for light + dark.
   LIGHT keeps the established blue scheme, made cleaner and more readable.
   DARK adopts the Cipherly "terminal" look (near-black + neon green + glow).
   Everything maps onto Bootstrap 5.3's --bs-* variables, so every component
   (cards, buttons, navbar, sidebar, footer, forms, alerts) re-themes
   site-wide without touching the markup.
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root,
[data-bs-theme="light"] {
    /* Brand — the same blue scheme, unified (was a mix of #007bff/#0d6efd) */
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --sa-primary-hover: #0b5ed7;
    --bs-link-color: #0b5ed7;
    --bs-link-color-rgb: 11, 94, 215;
    --bs-link-hover-color: #0a53be;
    --bs-primary-bg-subtle: #e7f0ff;
    --bs-primary-border-subtle: #c3d9ff;
    --bs-primary-text-emphasis: #0a3d91;

    /* Surfaces & text — softer, higher-contrast, cleaner than raw defaults.
       Clear hierarchy so cards always lift off their section in BOTH themes:
       page (body-bg) < alt section (tertiary-bg) < card (card-bg). Body-bg
       is a faint tint, NOT pure white — matching card-bg would make white
       .card elements blend into the page with only a shadow for separation
       (text reads as "floating"), same mistake dark mode already avoids
       (#05080a body vs #0e1518 card, clearly distinct). */
    --bs-body-bg: #f7f9fc;
    --bs-body-color: #1a2230;
    --bs-secondary-bg: #f6f8fc;
    --bs-tertiary-bg: #eef2f8;
    --bs-card-bg: #ffffff;
    --bs-border-color: #e3e8ef;
    --bs-secondary-color: #5b6676;
    --bs-emphasis-color: #0d1420;

    /* Typography */
    --sa-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --sa-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    --bs-body-font-family: var(--sa-font-sans);

    /* Shape & depth */
    --bs-border-radius: 0.65rem;
    --bs-border-radius-lg: 1rem;
    --sa-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --sa-shadow-md: 0 8px 24px rgba(16, 24, 40, .09);
    --sa-glow: none;

    /* Gradient accent — a natural extension of the existing blue primary
       into cyan, used sparingly for emphasis (a headline word, a featured
       pricing tier, a CTA button), never as a full-theme replacement. */
    --sa-gradient-accent: linear-gradient(135deg, var(--bs-primary) 0%, #06b6d4 100%);
    --sa-gradient-accent-soft: linear-gradient(135deg, rgba(13,110,253,.12) 0%, rgba(6,182,212,.12) 100%);

    /* Subtle background grid line colour — theme-aware so .bg-grid works
       on a plain (toggling) page section like the hero. Dark panels that
       are ALWAYS dark regardless of the site theme (Quantum R&D, the SOC
       panel, etc.) override this locally with an inline rgba(255,255,255,..). */
    --sa-grid-line: rgba(13, 23, 40, .05);
}

[data-bs-theme="dark"] {
    /* Cipherly terminal palette (matches the HashIt / mobile apps) */
    --bs-primary: #00ff9c;
    --bs-primary-rgb: 0, 255, 156;
    --sa-primary-hover: #5cffbd;
    --bs-link-color: #00ff9c;
    --bs-link-color-rgb: 0, 255, 156;
    --bs-link-hover-color: #7affc4;
    --bs-primary-bg-subtle: #0f3d2e;
    --bs-primary-border-subtle: #12513a;
    --bs-primary-text-emphasis: #7affc4;

    --bs-body-bg: #05080a;
    --bs-body-color: #d7ffe9;
    --bs-secondary-bg: #0e1518;
    --bs-tertiary-bg: #0b1113;
    --bs-border-color: #1e2f2a;
    --bs-secondary-color: #6b907f;
    --bs-emphasis-color: #eafff4;
    --bs-card-bg: #0e1518;
    --bs-card-cap-bg: #0e1518;

    --sa-shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --sa-shadow-md: 0 10px 30px rgba(0, 0, 0, .5);
    --sa-glow: 0 0 14px rgba(0, 255, 156, .35);

    /* Same gradient-accent idea, kept in-family with the neon-green
       terminal palette (green -> cyan) instead of introducing an
       unrelated blue. */
    --sa-gradient-accent: linear-gradient(135deg, var(--bs-primary) 0%, #00d4ff 100%);
    --sa-gradient-accent-soft: linear-gradient(135deg, rgba(0,255,156,.14) 0%, rgba(0,212,255,.14) 100%);

    --sa-grid-line: rgba(255, 255, 255, .055);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--sa-font-sans);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--sa-font-sans);
    letter-spacing: -0.01em;
}

.navbar {
    box-shadow: var(--sa-shadow-sm);
}

.card {
    border-color: var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--sa-shadow-sm);
}

.shadow-sm {
    box-shadow: var(--sa-shadow-sm) !important;
}

/* Buttons — slightly rounder, medium weight, token-driven */
.btn {
    border-radius: 0.6rem;
    font-weight: 600;
}
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--sa-primary-hover);
    --bs-btn-hover-border-color: var(--sa-primary-hover);
    --bs-btn-active-bg: var(--sa-primary-hover);
}
/* Dark: neon-green button needs dark ink and a subtle glow */
[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #05080a;
    --bs-btn-hover-color: #05080a;
    --bs-btn-active-color: #05080a;
    box-shadow: var(--sa-glow);
}

/* Hero and other full-bleed .bg-primary sections.
   Light: solid brand blue. Dark: a near-black field with a soft green wash and
   a neon, glowing headline — the terminal hero, not a solid green slab. */
[data-bs-theme="dark"] .bg-primary {
    background: radial-gradient(1100px 420px at 18% -20%, rgba(0, 255, 156, .10), transparent 60%), #05080a !important;
    color: var(--bs-body-color) !important;
    border-bottom: 1px solid var(--bs-border-color);
}
[data-bs-theme="dark"] .bg-primary :is(h1, h2, .display-1, .display-2, .display-3, .display-4) {
    color: var(--bs-primary);
    text-shadow: var(--sa-glow);
    font-family: var(--sa-font-mono);
}
[data-bs-theme="dark"] .bg-primary .text-white { color: var(--bs-body-color) !important; }
[data-bs-theme="dark"] .bg-primary .btn-light {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-color: #05080a;
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--sa-primary-hover);
    --bs-btn-hover-color: #05080a;
    --bs-btn-hover-border-color: var(--sa-primary-hover);
}
[data-bs-theme="dark"] .bg-primary .btn-outline-light {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-color: #05080a;
}

/* Hero padlock illustration: cap width on desktop, and shrink + centre on
   phones so it never spills outside the hero block (e.g. iPhone Pro Max). */
.hero-lock-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-inline: auto;
}
@media (max-width: 575.98px) {
    .hero-lock-img {
        max-width: 240px;
    }
}

/* Dark: brand wordmarks get the terminal mono + glow */
[data-bs-theme="dark"] .navbar-brand,
[data-bs-theme="dark"] .sidebar-brand {
    font-family: var(--sa-font-mono);
    text-shadow: var(--sa-glow);
}

/* Bootstrap's .bg-light is a fixed light-gray utility, not a theme-reactive
   one — it stays light even under [data-bs-theme="dark"]. Every section on
   the site that uses it as an alternating-background stripe (home page,
   methodology pages, readiness standard pages, etc.) needs a dark-mode
   replacement so it doesn't show up as a stray white/light panel. */
[data-bs-theme="dark"] .bg-light {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-body-color);
}

.form-control {
    border-radius: 0.25rem;
}

.footer {
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
}

.footer-expanded {
    background-color: #12141d;
    border-top: 3px solid var(--bs-primary);
}

.footer-expanded h6 {
    color: #ffffff;
    letter-spacing: 0.03em;
}

.footer-expanded .text-muted {
    color: #9aa0ac !important;
}

.footer-expanded a.text-muted:hover {
    color: #ffffff !important;
}

.footer-expanded hr {
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.tasks-icon {
    background-color: var(--bs-primary);
    padding: 8px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.nav-link-custom {
    color: var(--bs-primary) !important;
    font-weight: bold;
    transition: color 0.2s ease, background-color 0.2s ease, border-radius 0.2s ease;
    padding: 5px 10px;
    border-radius: 0;
    margin-left: 10px;
}

.nav-link-custom:hover {
    color: var(--bs-body-bg) !important;
    background-color: var(--bs-primary);
    border-radius: 5px;
}

.nav-link-custom.active {
    color: var(--bs-body-bg) !important;
    background-color: var(--bs-primary);
    border-radius: 5px;
}

.tool-terminal {
    background: #0b0f0d;
    border-radius: 6px;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 0 12px rgba(0, 255, 120, 0.15);
}

.tool-terminal-header {
    background: #1b1f1d;
    padding: 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    color: #8fffb0;
    font-size: 0.8rem;
}

.tool-terminal-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.tool-terminal-body {
    padding: 0.75rem 1rem;
    color: #33ff66;
    font-size: 0.85rem;
    min-height: 2.5rem;
}

.tool-terminal-cursor {
    display: inline-block;
    margin-left: 2px;
    animation: tool-terminal-blink 1s steps(1) infinite;
}

@keyframes tool-terminal-blink {
    50% { opacity: 0; }
}

.plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.plan-feature i {
    margin-right: 0.5rem;
}

.feature-included {
    color: #28a745;
}

.feature-not-included {
    color: #dc3545;
}

.standard-badge {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 0 50% 50% 50%;
    border: 4px solid #0d6efd;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #0d6efd 50%, #0a58ca 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.standard-badge-name {
    color: #052c65;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 0.5rem;
    line-height: 1.1;
}

.standard-badge-powered {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.55rem;
    letter-spacing: 0.02em;
    padding: 0 0.4rem;
    line-height: 1.1;
    margin-top: 0.9rem;
}

.standard-badge-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.standard-badge-intro {
    color: #495057;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

[data-bs-theme="dark"] .standard-badge-intro {
    color: #ffffff;
}

/* Dark theme: recolor the droplet badges to the Cipherly neon green
   (light theme keeps the blue above). Bottom half stays deep green so the
   white "Powered by SecurAppt" text keeps enough contrast. */
[data-bs-theme="dark"] .standard-badge {
    border-color: var(--bs-primary);
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #00c074 50%, #00663d 100%);
    box-shadow: 0 2px 10px rgba(0, 255, 156, 0.30);
}

[data-bs-theme="dark"] .standard-badge-name {
    color: #053d28;
}

/* Subtle blurred photo backgrounds for selected content bands. The pre-
   blurred image sits on ::before; a near-opaque themed wash on ::after keeps
   it faint so headings/buttons stay readable. The image is set per section
   via the --section-photo custom property in the template. */
.section-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.section-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--section-photo);
    background-size: cover;
    background-position: center;
}
.section-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(246, 248, 252, 0.85) 0%, rgba(238, 242, 248, 0.91) 100%);
}
[data-bs-theme="dark"] .section-photo::after {
    background: linear-gradient(rgba(11, 17, 19, 0.86) 0%, rgba(5, 8, 10, 0.92) 100%);
}

/* "Built for Every Security Team" — a crisp HTML recreation of the logged-in
   dashboard inside a browser-window frame (theme-aware, no screenshot image). */
.app-window {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--sa-shadow-md);
    background: var(--bs-card-bg);
    /* Reset inherited colour so a dark text-white panel (e.g. the security-team
       block) doesn't turn the mock's dark text invisible. */
    color: var(--bs-body-color);
}
.app-window-bar {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    gap: 0.4rem;
}
.app-window-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bs-border-color); }
.app-window-dot:nth-child(1) { background: #ff5f57; }
.app-window-dot:nth-child(2) { background: #febc2e; }
.app-window-dot:nth-child(3) { background: #28c840; }
.app-window-url {
    margin-left: 0.6rem;
    flex: 1;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    padding: 0.32rem 0.6rem;
    font: 500 0.72rem/1 var(--sa-font-mono);
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Subtle background grid — a faint graph-paper texture behind a hero or
   dark panel. Theme-aware via --sa-grid-line (see tokens above); a panel
   that's always-dark regardless of site theme overrides --sa-grid-line
   locally (inline style) rather than needing a second class. */
.bg-grid {
    background-image:
        linear-gradient(var(--sa-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--sa-grid-line) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* Gradient-accent utilities — used sparingly: one emphasis word in a
   headline, a featured pricing tier, a primary CTA. Never a full-theme
   swap (see --sa-gradient-accent tokens above). */
.text-gradient-accent {
    background: var(--sa-gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.btn-gradient-accent {
    background: var(--sa-gradient-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: filter .15s ease, transform .15s ease;
}
.btn-gradient-accent:hover, .btn-gradient-accent:focus {
    filter: brightness(1.08);
    color: #fff;
    transform: translateY(-1px);
}
[data-bs-theme="dark"] .btn-gradient-accent { color: #05080a; }
[data-bs-theme="dark"] .btn-gradient-accent:hover, [data-bs-theme="dark"] .btn-gradient-accent:focus { color: #05080a; }

/* A small rounded "eyebrow" badge — a live-status dot + short uppercase
   label, used above a headline (e.g. "X+ real tools", "live SOC feed"). */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--sa-gradient-accent-soft);
    border: 1px solid var(--bs-primary-border-subtle);
    font: 600 0.72rem/1 var(--sa-font-sans);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bs-primary-text-emphasis);
}
.pill-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--bs-primary);
    box-shadow: var(--sa-glow);
    flex: none;
}

/* Hero terminal mock — reuses .app-window/.app-window-bar/.app-window-dot
   chrome (see above), content is a short, honestly-labeled illustration
   of a tool run (not a live claim about this marketing site's own traffic). */
.hero-terminal-body {
    padding: 1rem 1.1rem;
    font-family: var(--sa-font-mono);
    font-size: 0.82rem;
}
.hero-terminal-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
}
.hero-terminal-line:last-child { border-bottom: none; }
.status-tag {
    font: 700 0.7rem/1 var(--sa-font-mono);
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}
.status-tag--ok { color: var(--bs-primary); }
.status-tag--warn { color: #f59f00; }
.status-tag--alert { color: #ff5f57; }
.hero-terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}
.hero-terminal-footer strong { font-family: var(--sa-font-mono); color: var(--bs-body-color); font-size: 1rem; }

/* Stat-pair styling reused by the dark navy/indigo gradient panels (the
   WordPress-plugin teaser, formerly the "Live SOC Alert Dashboard" panel). */
.soc-panel-stat strong { font-family: var(--sa-font-mono); font-size: 1.6rem; display: block; color: #6ee7b7; }
.soc-panel-stat span { font-size: 0.82rem; opacity: .8; }

/* Featured pricing tier — a gradient border + badge, layered onto the
   existing plain Bootstrap card used by _plan_card.html, no markup
   restructuring needed beyond one extra class + conditional badge. */
.plan-card--featured {
    position: relative;
    border: none;
    background: var(--sa-gradient-accent);
    padding: 2px;
    border-radius: var(--bs-border-radius-lg);
    margin-top: 14px;
}
.plan-card--featured > .plan-card-inner {
    background: var(--bs-card-bg);
    border-radius: calc(var(--bs-border-radius-lg) - 2px);
    height: 100%;
}
.plan-card--featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sa-gradient-accent);
    color: #fff;
    font: 700 0.7rem/1 var(--sa-font-sans);
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    box-shadow: var(--sa-shadow-sm);
    z-index: 1;
    white-space: nowrap;
}
[data-bs-theme="dark"] .plan-card--featured-badge { color: #05080a; }

.app-mock { display: grid; grid-template-columns: 150px 1fr; }
.app-mock-side {
    background: var(--bs-tertiary-bg);
    border-right: 1px solid var(--bs-border-color);
    padding: 0.85rem 0.6rem;
}
.app-mock-brand {
    display: flex; align-items: center; gap: 0.4rem;
    font-weight: 700; font-size: 0.82rem; margin-bottom: 0.9rem;
}
.app-mock-brand i { color: var(--bs-primary); }
.app-mock-nav { display: flex; flex-direction: column; gap: 0.1rem; }
.app-mock-nav span {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.74rem; color: var(--bs-secondary-color);
    padding: 0.34rem 0.5rem; border-radius: 7px;
}
.app-mock-nav span i { width: 15px; text-align: center; font-size: 0.72rem; }
.app-mock-nav span.active { background: var(--bs-primary); color: #fff; font-weight: 600; }
[data-bs-theme="dark"] .app-mock-nav span.active { color: #05080a; }
.app-mock-main { padding: 1rem; }
.app-mock-hello { font-weight: 700; font-size: 1.02rem; margin-bottom: 0.75rem; }
.app-mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.app-mock-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 10px; overflow: hidden; background: var(--bs-card-bg);
}
.app-mock-card-h { padding: 0.42rem 0.6rem; font-size: 0.7rem; font-weight: 600; color: #fff; }
.app-mock-card-b { padding: 0.55rem 0.6rem; }
.app-mock-plan { font-weight: 700; font-size: 0.82rem; }
.app-mock-sub { font-size: 0.68rem; color: var(--bs-secondary-color); }
.app-mock-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.72rem; color: var(--bs-secondary-color); padding: 0.16rem 0;
}
.app-mock-badge {
    background: var(--bs-primary); color: #fff; border-radius: 20px;
    font-size: 0.62rem; font-weight: 700; padding: 0.05rem 0.45rem; min-width: 1.4rem; text-align: center;
}
[data-bs-theme="dark"] .app-mock-badge { color: #05080a; }
.app-mock-use {
    display: flex; justify-content: space-between;
    font-size: 0.7rem; color: var(--bs-secondary-color); margin-top: 0.3rem;
}
.app-mock-use em { font-style: normal; font-family: var(--sa-font-mono); color: var(--bs-primary); }
.app-mock-bar { height: 5px; border-radius: 4px; background: var(--bs-tertiary-bg); margin-top: 0.22rem; overflow: hidden; }
.app-mock-bar i { display: block; height: 100%; background: var(--bs-primary); border-radius: 4px; }

.app-suitable-list li {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.7rem 0; border-bottom: 1px solid var(--bs-border-color);
    font-weight: 500;
}
.app-suitable-list li:last-child { border-bottom: 0; }
.app-suitable-list li i { font-size: 1.1rem; flex-shrink: 0; color: var(--bs-primary); }

/* The block sits on a fixed dark gradient panel (same as Quantum R&D), so its
   list reads light in BOTH site themes. */
.security-team-block .app-suitable-list li { border-bottom-color: rgba(255, 255, 255, 0.14); }
.security-team-block .app-suitable-list li i { color: #6ee7b7; }

/* Tools-catalog variant of the dashboard mock (category grid). */
.app-mock-toolbar { margin-bottom: 0.6rem; }
.app-mock-search {
    display: block;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 7px;
    padding: 0.34rem 0.55rem;
    font-size: 0.7rem;
    color: var(--bs-secondary-color);
}
.app-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.app-mock-cat {
    border: 1px solid var(--bs-border-color);
    border-radius: 9px;
    padding: 0.5rem 0.55rem;
    background: var(--bs-card-bg);
}
.app-mock-cat i { color: var(--bs-primary); font-size: 0.85rem; }
.app-mock-cat .n { display: block; font-size: 0.72rem; font-weight: 600; margin-top: 0.28rem; }
.app-mock-cat .c { font-size: 0.62rem; color: var(--bs-secondary-color); }
@media (max-width: 575.98px) {
    .app-mock-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Inline "the deliverable" promo banner with the real report cover. Fixed dark
   navy panel (matches the report's own cover) in both site themes. */
.report-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 6vw, 5rem);
    background: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
                radial-gradient(900px 300px at 85% -40%, rgba(99, 102, 241, 0.35), transparent 60%),
                linear-gradient(135deg, #0f2847 0%, #1e3a5f 60%, #24324f 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
    color: #ffffff;
    border-radius: 1rem;
    padding: 2.75rem;
    overflow: hidden;
    box-shadow: var(--sa-shadow-md);
}
.report-banner-text { flex: 1 1 340px; max-width: 540px; }
.report-banner-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9fc0ef;
    margin-bottom: 0.5rem;
}
.report-banner-title { color: #ffffff; margin-bottom: 0.75rem; }
.report-banner-lead { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.report-banner-img { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.report-banner-img img {
    width: 230px;
    max-width: 38vw;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    transform: rotate(-4deg);
}
@media (max-width: 767.98px) {
    .report-banner { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
    .report-banner-text { flex-basis: auto; }
    .report-banner-lead { margin-inline: auto; }
    .report-banner-img { margin-top: 0.5rem; }
    .report-banner-img img { transform: none; width: 180px; max-width: 60vw; }
}

/* Mirrored variant: stacked client documents on the LEFT, copy on the right
   (DOM order already does this; only mobile stacking needs ordering). */
.doc-stack { flex: 0 0 auto; position: relative; width: 300px; height: 340px; }
.doc-stack img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: auto;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5);
}
.doc-stack .d-back1 { transform: translate(-50%, -50%) rotate(-11deg) translateX(-52px); z-index: 1; }
.doc-stack .d-back2 { transform: translate(-50%, -50%) rotate(9deg) translateX(52px); z-index: 1; }
.doc-stack .d-front { transform: translate(-50%, -50%) rotate(-1deg); z-index: 2; }
@media (max-width: 767.98px) {
    .report-banner--mirror .report-banner-text { order: 1; }
    .report-banner--mirror .doc-stack { order: 2; margin-top: 0.5rem; }
}

@media (max-width: 575.98px) {
    .app-mock { grid-template-columns: 116px 1fr; }
    .app-mock-cards { grid-template-columns: 1fr; }
}

/* Swagger UI (embedded on the API Docs page) ships its own fixed light
   theme with no dark-mode support of its own -- these overrides recolor
   its DOM to match the site's dark palette (same #2b2f36 dark-grey used
   for .bg-light above) rather than leaving a bright white panel sitting
   inside an otherwise-dark dashboard. Selectors target swagger-ui-dist's
   own stable class names, scoped under #swagger-ui-container so nothing
   here can leak into the rest of the site.

   !important throughout: swagger-ui-dist's own stylesheet loads AFTER
   this one (it's added via the docs page's own extra_head block) and its
   compiled selectors are often just as specific as ours, so without it
   the cascade's "last one wins on a tie" rule hands every fight back to
   swagger-ui-dist's built-in light colors regardless of our selectors. */
[data-bs-theme="dark"] #swagger-ui-container {
    background-color: #2b2f36 !important;
}

[data-bs-theme="dark"] .swagger-ui,
[data-bs-theme="dark"] .swagger-ui .info .title,
[data-bs-theme="dark"] .swagger-ui .info li,
[data-bs-theme="dark"] .swagger-ui .info p,
[data-bs-theme="dark"] .swagger-ui .info table,
[data-bs-theme="dark"] .swagger-ui .opblock-tag,
[data-bs-theme="dark"] .swagger-ui .opblock .opblock-summary-method,
[data-bs-theme="dark"] .swagger-ui .opblock .opblock-summary-path,
[data-bs-theme="dark"] .swagger-ui .opblock .opblock-summary-path__deprecated,
[data-bs-theme="dark"] .swagger-ui .opblock .opblock-summary-description,
[data-bs-theme="dark"] .swagger-ui .opblock-description-wrapper p,
[data-bs-theme="dark"] .swagger-ui .opblock-section-header h4,
[data-bs-theme="dark"] .swagger-ui .opblock-section-header label,
[data-bs-theme="dark"] .swagger-ui .tab li,
[data-bs-theme="dark"] .swagger-ui table thead tr td,
[data-bs-theme="dark"] .swagger-ui table thead tr th,
[data-bs-theme="dark"] .swagger-ui .parameter__name,
[data-bs-theme="dark"] .swagger-ui .parameter__type,
[data-bs-theme="dark"] .swagger-ui .parameter__in,
[data-bs-theme="dark"] .swagger-ui .parameter__deprecated,
[data-bs-theme="dark"] .swagger-ui .response-col_status,
[data-bs-theme="dark"] .swagger-ui .response-col_description,
[data-bs-theme="dark"] .swagger-ui .model-title,
[data-bs-theme="dark"] .swagger-ui .model,
[data-bs-theme="dark"] .swagger-ui .model .property,
[data-bs-theme="dark"] .swagger-ui section.models h4,
[data-bs-theme="dark"] .swagger-ui section.models.is-open h4 span,
[data-bs-theme="dark"] .swagger-ui .servers > label,
[data-bs-theme="dark"] .swagger-ui .servers-title,
[data-bs-theme="dark"] .swagger-ui .dialog-ux .modal-ux-header h3,
[data-bs-theme="dark"] .swagger-ui .dialog-ux .modal-ux-content p,
[data-bs-theme="dark"] .swagger-ui .dialog-ux .modal-ux-content h4,
[data-bs-theme="dark"] .swagger-ui .scheme-container .schemes-title,
[data-bs-theme="dark"] .swagger-ui .btn {
    color: #e6e6e6 !important;
}

[data-bs-theme="dark"] .swagger-ui .scheme-container,
[data-bs-theme="dark"] .swagger-ui section.models,
[data-bs-theme="dark"] .swagger-ui .opblock-tag,
[data-bs-theme="dark"] .swagger-ui .dialog-ux .modal-ux {
    background-color: #24272d !important;
    border-color: #3d4149 !important;
}

[data-bs-theme="dark"] .swagger-ui .opblock {
    background-color: #2f333b !important;
    border-color: #3d4149 !important;
}

[data-bs-theme="dark"] .swagger-ui .opblock .opblock-summary {
    background-color: transparent !important;
    border-color: #3d4149 !important;
    color: #e6e6e6 !important;
}

/* These need an explicit dark color, not transparent -- swagger-ui-dist
   paints an actual light background on each of them (not inherited), so
   "transparent" would just reveal whatever's behind, not our dark base. */
[data-bs-theme="dark"] .swagger-ui .opblock-description-wrapper,
[data-bs-theme="dark"] .swagger-ui .opblock-section-header,
[data-bs-theme="dark"] .swagger-ui .responses-wrapper,
[data-bs-theme="dark"] .swagger-ui .parameters-container,
[data-bs-theme="dark"] .swagger-ui .execute-wrapper,
[data-bs-theme="dark"] .swagger-ui table,
[data-bs-theme="dark"] .swagger-ui table thead tr,
[data-bs-theme="dark"] .swagger-ui table tbody tr td,
[data-bs-theme="dark"] .swagger-ui .parameters-col_description,
[data-bs-theme="dark"] .swagger-ui .response-col_links {
    background-color: #2f333b !important;
    border-color: #3d4149 !important;
    color: #e6e6e6 !important;
}

[data-bs-theme="dark"] .swagger-ui .model-box,
[data-bs-theme="dark"] .swagger-ui .model-box-control,
[data-bs-theme="dark"] .swagger-ui .response-col_description__inner div.markdown,
[data-bs-theme="dark"] .swagger-ui .response-col_description__inner div.renderedMarkdown {
    background-color: #24272d !important;
}

[data-bs-theme="dark"] .swagger-ui input[type=text],
[data-bs-theme="dark"] .swagger-ui input[type=password],
[data-bs-theme="dark"] .swagger-ui input[type=search],
[data-bs-theme="dark"] .swagger-ui input[type=email],
[data-bs-theme="dark"] .swagger-ui textarea,
[data-bs-theme="dark"] .swagger-ui select {
    background-color: #1e2126 !important;
    color: #e6e6e6 !important;
    border-color: #3d4149 !important;
}

[data-bs-theme="dark"] .swagger-ui section.models {
    border-color: #3d4149 !important;
}

[data-bs-theme="dark"] .swagger-ui .opblock-tag,
[data-bs-theme="dark"] .swagger-ui section.models h4 {
    border-bottom-color: #3d4149 !important;
}

/* "Cipherly" teaser section (home page, above the footer) -- promotes the
   planned suite of 10 free standalone mobile utility apps built on
   SecurAppt's existing tools/API. None of these apps are published yet, so
   the store badges below are deliberately non-interactive "Coming Soon"
   placeholders, not real download links. */
.cipherly-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.cipherly-wordmark {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--bs-primary);
    text-shadow: var(--sa-glow);
}

.cipherly-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    aspect-ratio: 1 / 1;
    padding: 1rem 0.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Each homepage app card links to its own detail page. Keep the app name in
   the body colour (not link blue) and add a subtle lift on hover/focus. */
.cipherly-app-link { display: block; }
.cipherly-app-link:hover .cipherly-app-card,
.cipherly-app-link:focus-visible .cipherly-app-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-color: var(--bs-primary);
}

/* Each app gets its own colored/gradient icon "tile" -- a real app icon
   look (unique symbol + unique color per app.looka.com/blog/app-logo/'s
   guidance) instead of a single flat-blue glyph repeated ten times. */
.cipherly-app-icon {
    width: 4.25rem;
    height: 5rem;
    border-radius: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.cipherly-app-icon i {
    font-size: 1.7rem;
    color: #ffffff;
}

.cipherly-app-icon-initials {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    color: #ffffff;
}

/* Ties each app icon back to the parent brand -- same "Powered by
   SecurAppt" idea already used on the standard-badge tiles above. */
.cipherly-app-icon-brand {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 0.48rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
}

.cipherly-icon--quantumpass { background: linear-gradient(135deg, #3d8bfd, #0a58ca); }
.cipherly-icon--passcheck { background: linear-gradient(135deg, #4dd8ac, #128a67); }
.cipherly-icon--myip { background: linear-gradient(135deg, #5cdcf6, #0aa8c9); }
.cipherly-icon--myip i, .cipherly-icon--myip .cipherly-app-icon-initials, .cipherly-icon--myip .cipherly-app-icon-brand { color: #05323f; }
.cipherly-icon--vpncheck { background: linear-gradient(135deg, #8a4bf7, #4c0bc4); }
.cipherly-icon--whoisit { background: linear-gradient(135deg, #fd9a4d, #d9600a); }
.cipherly-icon--hashit { background: linear-gradient(135deg, #ffd866, #e6ac00); }
.cipherly-icon--hashit i, .cipherly-icon--hashit .cipherly-app-icon-initials, .cipherly-icon--hashit .cipherly-app-icon-brand { color: #3d2f00; }
.cipherly-icon--devkit { background: linear-gradient(135deg, #9a6fe0, #59339c); }
.cipherly-icon--siteshield { background: linear-gradient(135deg, #3cba7a, #146c43); }
.cipherly-icon--cvefinder { background: linear-gradient(135deg, #ea6b77, #a52834); }
.cipherly-icon--domainhealth { background: linear-gradient(135deg, #e685b5, #ab296a); }

.cipherly-app-name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-body-color);
    text-align: center;
    line-height: 1.2;
}

.cipherly-store-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    opacity: 0.7;
}

.cipherly-store-badge i {
    font-size: 1.5rem;
}

.cipherly-store-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.cipherly-store-badge-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cipherly-store-badge-store {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ---- Cipherly per-app landing page ---------------------------------- */
/* The page is themed from the app's own logo gradient: each page sets
   --app-start / --app-end (and --app-ink for readable text) inline, taken
   from the icon colours in this file, so the layout stays one template but
   every app gets its own colour. */
.cipherly-app-page {
    --app-start: #3d8bfd;
    --app-end: #0a58ca;
    --app-ink: #ffffff;
    --app-ink-soft: rgba(255, 255, 255, 0.88);
}

.app-hero {
    background: linear-gradient(135deg, var(--app-start) 0%, var(--app-end) 100%);
    color: var(--app-ink);
    padding: 3.5rem 0 4rem;
}

.app-hero-back {
    color: var(--app-ink-soft);
    font-weight: 600;
    font-size: 0.9rem;
}
.app-hero-back:hover { color: var(--app-ink); }

.app-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--app-ink-soft);
}

.app-hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.app-hero-tagline {
    font-size: 1.2rem;
    color: var(--app-ink-soft);
    max-width: 30rem;
}

/* A real phone mockup, like the device shots on the marketing site: dark
   phone body, notch, and a white app screen inside that reads cleanly on any
   hero colour. */
.app-phone {
    position: relative;
    width: 270px;
    max-width: 80vw;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 2.75rem;
    padding: 0.8rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.app-phone::before {
    content: "";
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 1.2rem;
    background: #0f172a;
    border-radius: 0 0 0.9rem 0.9rem;
    z-index: 2;
}

.app-phone-screen {
    background: #ffffff;
    color: #212529;
    border-radius: 2.1rem;
    padding: 2.1rem 1.25rem 1.4rem;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
}

.app-phone-cta {
    display: block;
    text-align: center;
    font-weight: 600;
    border-radius: 0.9rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, var(--app-start), var(--app-end));
    color: var(--app-ink);
}

/* "Features that make the app different" cards. */
.app-feature-item {
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-card-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.app-feature-icon-lg {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    font-size: 1.25rem;
}

.app-device-screen-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 600;
}

.app-input-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f6f7f9;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #495057;
}
.app-input-pill code { color: #495057; }

/* Store badges on the coloured hero / CTA -- translucent, using the page ink. */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: var(--app-ink);
    border-radius: 0.9rem;
    padding: 0.5rem 1rem;
}
.app-store-badge i { font-size: 1.6rem; }
.cipherly-app-page[style*="1a1a1a"] .app-store-badge {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.18);
}

/* Accents tied to the app colour used throughout the body sections. */
.app-accent { color: var(--app-end); }

.app-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--app-start), var(--app-end));
    color: var(--app-ink);
    flex: 0 0 auto;
}

.app-tool-card { border-top: 3px solid var(--app-end) !important; }
.app-benefits-card { border-top: 3px solid var(--app-end) !important; }

.app-cta {
    background: linear-gradient(135deg, var(--app-start), var(--app-end));
    color: var(--app-ink);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem;
}
/* ===== Cipherly app landing page — hypermodern additions ================== */
/* Real-screenshot device frame (replaces the CSS mockup for apps that ship
   real screenshots). A dark phone body with a notch holding the app screen. */
.app-device {
    position: relative;
    width: 270px;
    max-width: 78vw;
    margin: 0 auto;
    background: #05070a;
    border-radius: 2.6rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.app-device-notch {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 1.05rem;
    background: #05070a;
    border-radius: 0.9rem;
    z-index: 2;
}
.app-device-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2.1rem;
}
.app-device-sm { width: 200px; padding: 0.4rem; border-radius: 1.9rem; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.app-device-sm .app-device-notch { height: 0.8rem; top: 0.65rem; }
.app-device-sm .app-device-img { border-radius: 1.55rem; }

/* How-it-works numbered step cards. */
.app-steps-section { background: var(--bs-tertiary-bg); }
.app-step {
    position: relative;
    padding: 3.3rem 1.4rem 1.4rem;
    border-radius: 1.25rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-card-bg);
    box-shadow: var(--sa-shadow-sm);
}
.app-step-num {
    position: absolute;
    top: 1.1rem;
    left: 1.4rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--app-start, var(--bs-primary)), var(--app-end, var(--bs-primary)));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* "Everything you get" — algorithm cards with a mono, chip-style name. */
.app-algo {
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-card-bg);
    box-shadow: var(--sa-shadow-sm);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.app-algo:hover { transform: translateY(-3px); border-color: var(--app-end, var(--bs-primary)); box-shadow: var(--sa-shadow-md); }
.app-algo-name {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-family: var(--sa-font-mono, ui-monospace, monospace);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--app-end, var(--bs-primary));
    background: color-mix(in srgb, var(--app-end, var(--bs-primary)) 13%, transparent);
    padding: 0.15rem 0.55rem;
    border-radius: 0.45rem;
}

/* Screenshot gallery — centered, horizontally scrollable on phones. */
.app-gallery { display: flex; gap: 1.75rem; justify-content: center; flex-wrap: wrap; }
.app-gallery-item { margin: 0; max-width: 200px; text-align: center; }
.app-gallery-caption { margin-top: 0.9rem; font-size: 0.82rem; color: var(--bs-secondary-color); line-height: 1.3; }
@media (max-width: 575.98px) {
    .app-gallery { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
    .app-gallery-item { flex: 0 0 auto; scroll-snap-align: center; }
}

/* A touch of depth on the feature/use-case cards site-theme-aware. */
.app-feature-item { box-shadow: var(--sa-shadow-sm); }
.app-feature-item:hover { box-shadow: var(--sa-shadow-md); border-color: var(--app-end, var(--bs-primary)); }

/* HashIt live app-screen mockup — the real app's layout rebuilt in HTML so it
   stays crisp and needs no screenshot image. Always dark (it mirrors the app). */
.app-screen {
    background: #05080a;
    border-radius: 2.1rem;
    overflow: hidden;
    font-family: var(--sa-font-mono, ui-monospace, monospace);
    color: #d7ffe9;
    text-align: left;
}
.app-screen-header {
    background: #0e1518;
    padding: 2.1rem 1.05rem 0.95rem;
    border-bottom: 2px solid var(--screen-accent, #ffd866);
    border-radius: 0 0 1.4rem 1.4rem;
}
.app-screen-title { font-weight: 800; font-size: 1.45rem; color: #00ff9c; text-shadow: 0 0 12px rgba(0, 255, 156, .5); }
.app-screen-tagline { color: var(--screen-accent, #ffd866); font-size: 0.72rem; margin-top: 0.2rem; }
.app-screen-headline {
    margin: 0.85rem 0.85rem 0;
    padding: 0.6rem 0.75rem;
    background: #0e1518;
    border: 1px solid #1e2f2a;
    border-radius: 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #00ff9c;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(0, 255, 156, .35);
}
.app-screen-input {
    margin: 0.85rem 0.85rem 0;
    background: #0e1518;
    border: 1px solid #1e2f2a;
    border-radius: 0.7rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    color: #d7ffe9;
    min-height: 2.3rem;
}
.app-screen-caret {
    display: inline-block; width: 1px; height: 0.9em; background: #00ff9c;
    margin-left: 2px; vertical-align: text-bottom;
    animation: tool-terminal-blink 1s steps(1) infinite;
}
.app-screen-rows { padding: 0.7rem 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.app-screen-row { background: #0e1518; border: 1px solid #17241f; border-radius: 0.7rem; padding: 0.5rem 0.7rem; }
.app-screen-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.2rem; }
.app-screen-label { font-weight: 700; font-size: 0.72rem; color: #d7ffe9; }
.app-screen-copy { font-size: 0.58rem; color: #6b907f; }
.app-screen-value { font-size: 0.6rem; color: #00ff9c; word-break: break-all; line-height: 1.35; }
