/**
 * @file landing.css
 * @purpose Modern, clinical dark-mode stylesheet for the docRVU front page (docrvu.com).
 * Optimized for low eye strain on high-resolution hospital workstations and clinical monitors.
 */

:root {
    --landing-bg: #0d1117;
    --landing-bg-card: #161b22;
    --landing-bg-card-hover: #1c2128;
    --landing-bg-glass: rgba(22, 27, 34, 0.85);
    --landing-border: #30363d;
    --landing-border-subtle: #21262d;
    --landing-border-highlight: #388bfd;
    --landing-text-main: #f0f6fc;
    --landing-text-muted: #8b949e;
    --landing-text-dim: #6e7681;
    --landing-accent: #2f81f7;
    --landing-accent-hover: #58a6ff;
    --landing-accent-glow: rgba(56, 139, 253, 0.25);
    --landing-success: #3fb950;
    --landing-success-bg: rgba(63, 185, 80, 0.15);
    --landing-warning: #d29922;
    --landing-warning-bg: rgba(210, 153, 34, 0.15);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

/* === UNIVERSAL CUSTOM SCROLLBARS === */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar {
    width: 6px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

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

body.landing-page {
    display: block !important;
    min-height: 100vh;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-color: var(--landing-bg);
    color: var(--landing-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* === NAVBAR === */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: var(--landing-bg-glass);
    border-bottom: 1px solid var(--landing-border-subtle);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.landing-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--landing-text-main);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1f6feb 0%, #388bfd 100%);
    color: #fff;
    box-shadow: 0 2px 8px var(--landing-accent-glow);
}

.brand-version-badge {
    font-size: 0.65rem;
    font-weight: 600;
    background-color: var(--landing-success-bg);
    color: var(--landing-success);
    border: 1px solid rgba(63, 185, 80, 0.4);
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.landing-nav-links a:hover {
    color: var(--landing-text-main);
}

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

.btn-nav-login {
    background: transparent;
    border: 1px solid var(--landing-border);
    color: var(--landing-text-main);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-nav-login:hover {
    background-color: var(--landing-bg-card-hover);
    border-color: var(--landing-text-muted);
}

.btn-nav-trial {
    background: linear-gradient(180deg, #2f81f7 0%, #1f6feb 100%);
    border: 1px solid #388bfd;
    color: #fff;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px var(--landing-accent-glow);
    transition: all 0.15s ease;
}

.btn-nav-trial:hover {
    background: linear-gradient(180deg, #388bfd 0%, #2f81f7 100%);
    box-shadow: 0 4px 14px var(--landing-accent-glow);
    transform: translateY(-1px);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    padding: 60px 24px 30px 24px;
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.hero-text-container {
    max-width: 960px;
    margin: 0 auto 40px auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-brand-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 16px 0;
    line-height: 1;
    text-align: left;
    width: 100%;
}

.hero-brand-title .highlight-gradient {
    background: linear-gradient(135deg, #58a6ff 0%, #a5d6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(56, 139, 253, 0.4));
}

/* Coaxion-Style 3-Line Massive Stacked Headline */
.hero-headline-stacked {
    font-size: clamp(3.2rem, 7.5vw, 6.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.2px;
    color: #ffffff;
    margin: 0 0 24px 0;
    width: 100%;
    text-align: left;
}

.hero-headline-stacked .headline-line {
    display: block;
    margin-bottom: 2px;
    text-align: left;
}

.hero-dot {
    display: inline-block;
    margin-left: 2px;
    background: transparent;
}

.hero-dot.dot-blue { color: #58a6ff; }
.hero-dot.dot-cyan { color: #79c0ff; }
.hero-dot.dot-green { color: #3fb950; }

.hero-text-container .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--landing-text-muted);
    max-width: 760px;
    margin: 0 0 32px 0;
    text-align: left;
    font-weight: 400;
}

.hero-text-container .hero-cta-group {
    justify-content: flex-start;
    margin-bottom: 16px;
    width: 100%;
}

.hero-text-container .hero-microcopy {
    text-align: left;
    margin-bottom: 28px;
    width: 100%;
}

/* Workstation frame positioned full-width below hero text container */
.hero-section .workstation-frame {
    margin: 0 auto 45px auto;
    max-width: 1200px;
}

/* === TICKER BAR ("WHO WE SERVE") === */
.hero-ticker-bar {
    display: flex;
    align-items: center;
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 40px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    height: 56px;
    width: 100%;
    scroll-margin-top: 100px;
}

.ticker-viewport {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent 0%, black 30px, black calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30px, black calc(100% - 30px), transparent 100%);
}

.ticker-viewport::-webkit-scrollbar {
    display: none;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: tickerScroll 100s linear infinite;
}

.hero-ticker-bar:hover .ticker-track,
.hero-ticker-bar.ticker-paused .ticker-track {
    animation-play-state: paused;
}

.ticker-controls {
    background: #21262d;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-left: 1px solid #30363d;
    z-index: 5;
    flex-shrink: 0;
}

.ticker-nav-btn {
    background: #161b22;
    border: 1px solid #30363d;
    color: #c9d1d9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticker-nav-btn:hover {
    background: #30363d;
    color: #58a6ff;
    border-color: #58a6ff;
    transform: scale(1.08);
}

.ticker-nav-btn:active {
    transform: scale(0.95);
}

.ticker-nav-btn.is-paused {
    background: #21262d;
    color: #58a6ff;
    border-color: #58a6ff;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
}

.ticker-item {
    color: #a5d6ff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.ticker-item:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ticker-bullet {
    color: #484f58;
    font-size: 1rem;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--landing-text-muted);
    max-width: 760px;
    margin: 0 0 32px 0;
    text-align: left;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #2f81f7 0%, #1f6feb 100%);
    border: 1px solid #388bfd;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 18px var(--landing-accent-glow);
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    background: linear-gradient(180deg, #388bfd 0%, #2f81f7 100%);
    box-shadow: 0 6px 24px rgba(56, 139, 253, 0.4);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    color: var(--landing-text-main);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: var(--landing-bg-card-hover);
    border-color: var(--landing-text-muted);
    transform: translateY(-2px);
}

.hero-microcopy {
    font-size: 0.85rem;
    color: var(--landing-text-dim);
    margin-bottom: 36px;
}

.hero-microcopy a {
    color: var(--landing-accent-hover);
    text-decoration: none;
    cursor: pointer;
}

.hero-microcopy a:hover {
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-bottom: 48px;
    padding: 14px 20px;
    background-color: rgba(22, 27, 34, 0.5);
    border: 1px solid var(--landing-border-subtle);
    border-radius: 10px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--landing-text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--landing-accent);
    flex-shrink: 0;
}

/* === WORKSTATION PREVIEW MOCKUP === */
.workstation-frame {
    max-width: 1060px;
    margin: 0 auto;
    background-color: #12161c;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    text-align: left;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.workstation-topbar {
    background-color: #0b0e14;
    border-bottom: 1px solid var(--landing-border-subtle);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workstation-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.workstation-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.workstation-dot.dot-red { background-color: #ff5f56; }
.workstation-dot.dot-yellow { background-color: #ffbd2e; }
.workstation-dot.dot-green { background-color: #27c93f; }

.chip-specialty-active {
    background-color: rgba(88, 166, 255, 0.15);
    border: 1px solid rgba(88, 166, 255, 0.4);
    color: #58a6ff;
}
.chip-specialty-active strong {
    color: #ffffff;
}

.workstation-body {
    padding: 0;
    background: radial-gradient(circle at 50% 0%, rgba(47, 129, 247, 0.05) 0%, transparent 60%);
    max-height: 520px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    transition: opacity 0.25s ease-in-out;
    touch-action: pan-x pan-y pinch-zoom;
}

.workstation-body .procedure-grid {
    zoom: var(--grid-zoom, 1);
    transform-origin: top left;
}

.workstation-frame .procedure-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 8px !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 42px !important;
}

.workstation-frame .procedure-card .card-header {
    flex: 1 !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
}

.workstation-frame .procedure-card .card-header h3 {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: #f0f6fc !important;
}

.workstation-frame .procedure-card .card-controls {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.workstation-body.cycling-fade {
    opacity: 0.4;
}

.specialty-pill[data-preset-key] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.specialty-pill.active-cycling {
    border-color: var(--landing-accent, #58a6ff) !important;
    background-color: rgba(88, 166, 255, 0.18) !important;
    color: var(--landing-text-main, #ffffff) !important;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(88, 166, 255, 0.35);
}

.mock-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.mock-widget {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border-subtle);
    border-radius: 8px;
    padding: 14px;
}

.mock-widget-label {
    font-size: 0.75rem;
    color: var(--landing-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mock-widget-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
}

.mock-widget-sub {
    font-size: 0.78rem;
    color: var(--landing-text-muted);
    margin-top: 2px;
}

.mock-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.mock-card {
    background: linear-gradient(180deg, #18202a 0%, #131922 100%);
    border: 1px solid #2a3544;
    border-radius: 8px;
    padding: 14px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.mock-card:hover {
    border-color: var(--landing-accent);
    transform: translateY(-2px);
}

.mock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.mock-card-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.mock-card-hotkey {
    background: #0d1117;
    border: 1px solid var(--landing-border);
    color: var(--landing-accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.mock-card-cpt {
    font-size: 0.78rem;
    color: var(--landing-text-muted);
    margin-bottom: 12px;
}

.mock-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--landing-border-subtle);
    padding-top: 8px;
}

.mock-card-rvu {
    font-size: 0.85rem;
    font-weight: 700;
    color: #58a6ff;
}

.mock-card-count {
    background-color: rgba(47, 129, 247, 0.2);
    border: 1px solid rgba(47, 129, 247, 0.5);
    color: #79c0ff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 2px 10px;
    border-radius: 12px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--landing-accent-hover);
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--landing-text-muted);
    max-width: 680px;
    margin: 0 auto 36px auto;
}

.specialty-pill {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border-subtle);
    color: var(--landing-text-main);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.specialty-pill:hover {
    border-color: var(--landing-border-highlight);
    background-color: var(--landing-bg-card-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.specialty-pill.highlight {
    border-color: rgba(56, 139, 253, 0.4);
    background-color: rgba(56, 139, 253, 0.1);
    color: #79c0ff;
}

/* === FEATURES SECTION === */
.features-section {
    padding: 70px 24px;
    background-color: #0b0e14;
    border-top: 1px solid var(--landing-border-subtle);
    border-bottom: 1px solid var(--landing-border-subtle);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.feature-card {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--landing-border-highlight);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--landing-accent-glow);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(47, 129, 247, 0.15) 0%, rgba(56, 139, 253, 0.05) 100%);
    border: 1px solid rgba(56, 139, 253, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-accent-hover);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--landing-text-muted);
    margin: 0;
}

/* === SCREENSHOT TOUR SECTION === */
.screenshots-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tour-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tour-tab-btn {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    color: var(--landing-text-muted);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.tour-tab-btn:hover {
    color: var(--landing-text-main);
    border-color: var(--landing-text-muted);
}

.tour-tab-btn.active {
    background-color: rgba(56, 139, 253, 0.15);
    border-color: #388bfd;
    color: #58a6ff;
    box-shadow: 0 2px 10px var(--landing-accent-glow);
}

.tour-panel-container {
    background-color: #12161c;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.tour-panel {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.tour-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-panel-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 32px;
    align-items: center;
}

.tour-panel-desc h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.tour-panel-desc p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--landing-text-muted);
    margin-bottom: 20px;
}

.tour-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--landing-text-main);
    margin-bottom: 10px;
}

.tour-checklist li svg {
    color: var(--landing-success);
    flex-shrink: 0;
}

.tour-visual-box {
    background-color: #0b0e14;
    border: 1px solid var(--landing-border-subtle);
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Mock sub-visual elements */
.mock-visual-grid-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--landing-bg-card);
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--landing-border-subtle);
    font-size: 0.85rem;
}

.mock-editor-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mock-column-box {
    background-color: rgba(22, 27, 34, 0.6);
    border: 1px dashed var(--landing-border);
    border-radius: 6px;
    padding: 12px;
}

.mock-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #58a6ff;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.mock-item-draggable {
    background-color: #1c2128;
    border: 1px solid #30363d;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-visual-analytics {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mock-chart-container {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border-subtle);
    border-radius: 6px;
    padding: 16px;
}

.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 110px;
    padding-top: 10px;
    border-bottom: 1px solid var(--landing-border);
}

.mock-bar {
    flex: 1;
    background: linear-gradient(180deg, #2f81f7 0%, #1f6feb 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
}

.mock-bar-label {
    text-align: center;
    font-size: 0.72rem;
    color: var(--landing-text-dim);
    margin-top: 6px;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 80px 24px;
    background-color: #0b0e14;
    border-top: 1px solid var(--landing-border-subtle);
    border-bottom: 1px solid var(--landing-border-subtle);
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 48px;
    text-align: left;
}

.pricing-card {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card.featured {
    border-color: #388bfd;
    background: linear-gradient(180deg, #18202d 0%, #141b24 100%);
    box-shadow: 0 12px 36px var(--landing-accent-glow), 0 0 0 1px #388bfd;
}

.pricing-badge-popular {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #1f6feb 0%, #388bfd 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px var(--landing-accent-glow);
}

.pricing-card-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--landing-border-subtle);
    padding-bottom: 20px;
}

.pricing-tier-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.pricing-tier-desc {
    font-size: 0.9rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.pricing-price-box {
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.pricing-period {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    font-weight: 500;
}

.pricing-sub-banner {
    display: inline-block;
    background-color: var(--landing-success-bg);
    color: var(--landing-success);
    border: 1px solid rgba(63, 185, 80, 0.3);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 8px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--landing-text-main);
    margin-bottom: 14px;
    line-height: 1.4;
}

.pricing-features-list li svg {
    color: var(--landing-success);
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(180deg, #2f81f7 0%, #1f6feb 100%);
    border: 1px solid #388bfd;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px var(--landing-accent-glow);
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.pricing-btn-primary:hover {
    background: linear-gradient(180deg, #388bfd 0%, #2f81f7 100%);
    box-shadow: 0 6px 20px rgba(56, 139, 253, 0.4);
    transform: translateY(-1px);
}

.pricing-btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--landing-bg-card-hover);
    border: 1px solid var(--landing-border);
    color: var(--landing-text-main);
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.pricing-btn-secondary:hover {
    border-color: var(--landing-text-muted);
    background-color: #21262d;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 80px 24px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.faq-item:hover {
    border-color: var(--landing-border-highlight);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-chevron {
    transition: transform 0.2s ease;
    color: var(--landing-text-muted);
}

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

.faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--landing-text-muted);
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* === FOOTER === */
.landing-footer {
    background-color: #0b0e14;
    border-top: 1px solid var(--landing-border-subtle);
    padding: 50px 24px 40px 24px;
    color: var(--landing-text-dim);
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand-info {
    max-width: 420px;
}

.footer-brand-title {
    color: var(--landing-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--landing-text-dim);
    margin-top: 10px;
}

.footer-links-group {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--landing-text-main);
    font-size: 0.9rem;
    margin: 0 0 12px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: var(--landing-accent-hover);
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--landing-border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
}

/* === AUTH MODAL (LOGIN & DIRECT ACCESS) === */
.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.auth-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal-dialog {
    background-color: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

.auth-modal-backdrop.active .auth-modal-dialog {
    transform: scale(1);
}

/* === AUTH MODAL TABS === */
.auth-modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--landing-border);
    margin-bottom: 20px;
    gap: 8px;
}

.auth-modal-tab-btn {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--landing-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.auth-modal-tab-btn:hover {
    color: var(--landing-text-main);
}

.auth-modal-tab-btn.active {
    color: #58a6ff;
    border-bottom-color: #58a6ff;
}

.auth-tab-panel {
    display: none;
}

.auth-tab-panel.active {
    display: block;
}

.auth-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--landing-text-dim);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.auth-modal-close-btn:hover {
    color: var(--landing-text-main);
    background-color: var(--landing-bg-card-hover);
}

.auth-modal-dialog h2 {
    margin: 0 0 6px 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-modal-dialog p.modal-subhead {
    margin: 0 0 24px 0;
    color: var(--landing-text-muted);
    font-size: 0.9rem;
}

/* Modal Form Styles */
.auth-modal-dialog .form-group {
    margin-bottom: 18px;
    text-align: left;
}

.auth-modal-dialog .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--landing-text-main);
    margin-bottom: 6px;
}

.auth-modal-dialog .form-group input {
    width: 100%;
    padding: 10px 12px;
    background-color: #0d1117;
    border: 1px solid var(--landing-border);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-modal-dialog .form-group input:focus {
    outline: none;
    border-color: #388bfd;
    box-shadow: 0 0 0 3px var(--landing-accent-glow);
}

.auth-modal-dialog .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-modal-dialog .form-group .password-wrapper input,
.auth-modal-dialog .password-wrapper input {
    padding-right: 42px;
}

.auth-modal-dialog .toggle-password-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--landing-text-muted, #8b949e);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
    z-index: 2;
}

.auth-modal-dialog .toggle-password-btn:hover {
    color: var(--landing-text-main, #f0f6fc);
    background-color: rgba(255, 255, 255, 0.08);
}

.auth-modal-dialog .toggle-password-btn:focus-visible {
    outline: 2px solid var(--landing-accent, #2f81f7);
}

.auth-modal-dialog button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(180deg, #2f81f7 0%, #1f6feb 100%);
    border: 1px solid #388bfd;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px var(--landing-accent-glow);
    transition: all 0.15s ease;
}

.auth-modal-dialog button[type="submit"]:hover {
    background: linear-gradient(180deg, #388bfd 0%, #2f81f7 100%);
}

.auth-modal-dialog .error-message {
    color: #ff7b72;
    font-size: 0.85rem;
    margin: 12px 0 0 0;
    min-height: 1.2em;
    text-align: center;
}

.auth-modal-dialog .auth-link {
    font-size: 0.88rem;
    color: var(--landing-text-muted);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.auth-modal-dialog .auth-link a {
    color: var(--landing-accent-hover);
    text-decoration: none;
    font-weight: 600;
}

.auth-modal-dialog .auth-link a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 900px) {
    .tour-panel-content {
        grid-template-columns: 1fr;
    }
    .landing-nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    /* --- Navigation Bar --- */
    .landing-nav-container {
        padding: 10px 16px;
    }
    .landing-brand {
        font-size: 1.15rem;
        gap: 8px;
    }
    .brand-icon {
        width: 28px;
        height: 28px;
    }
    .landing-nav-actions {
        gap: 8px;
    }
    .btn-nav-login {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-nav-trial {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* --- Hero Section & Tagline --- */
    .hero-section {
        padding: 36px 16px 20px 16px;
    }
    .hero-text-container {
        margin-bottom: 28px;
    }
    .hero-brand-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        margin-bottom: 12px;
    }
    .hero-headline-stacked {
        font-size: clamp(2.0rem, 8.2vw, 2.85rem);
        letter-spacing: -1.2px;
        line-height: 1.08;
        margin-bottom: 18px;
    }
    .hero-subtitle,
    .hero-text-container .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    /* --- Full-width Thumb-Friendly Hero CTAs --- */
    .hero-cta-group,
    .hero-text-container .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 16px;
    }
    .btn-hero-primary {
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
        font-size: 1rem;
        justify-content: center;
        box-sizing: border-box;
    }
    .btn-hero-secondary {
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
        font-size: 1rem;
        justify-content: center;
        box-sizing: border-box;
    }
    .hero-microcopy,
    .hero-text-container .hero-microcopy {
        font-size: 0.78rem;
        line-height: 1.5;
        margin-bottom: 24px;
        text-align: left;
    }

    /* --- Trust Badges Bar --- */
    .trust-badges-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 32px;
    }
    .trust-item {
        font-size: 0.84rem;
        gap: 10px;
    }

    /* --- Live Workstation Frame --- */
    .hero-section .workstation-frame {
        margin: 0 auto 30px auto;
        border-radius: 10px;
    }
    .workstation-body {
        max-height: 360px;
        -webkit-overflow-scrolling: touch;
    }
    .mock-dashboard-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 14px;
    }
    .mock-widget {
        padding: 10px;
    }
    .mock-widget-value {
        font-size: 1.25rem;
    }
    .mock-grid-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* --- Specialty Ticker Bar --- */
    .hero-ticker-bar {
        height: 50px;
        border-radius: 25px;
        margin-top: 14px;
    }
    .ticker-controls {
        padding: 0 8px;
        gap: 4px;
    }
    .ticker-nav-btn {
        width: 30px;
        height: 30px;
    }
    .ticker-item {
        font-size: 0.88rem;
    }

    /* --- Features Section --- */
    .features-section {
        padding: 50px 16px;
    }
    .section-title {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }
    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }
    .feature-card {
        padding: 20px 16px;
        border-radius: 10px;
    }
    .feature-icon-box {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }
    .feature-card h3 {
        font-size: 1.1rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }

    /* --- Pricing Section --- */
    .pricing-section {
        padding: 50px 16px;
    }
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 32px;
    }
    .pricing-card {
        padding: 28px 18px;
        border-radius: 10px;
    }
    .pricing-badge-popular {
        top: -10px;
        right: 18px;
        font-size: 0.72rem;
        padding: 3px 10px;
    }
    .pricing-amount {
        font-size: 2.3rem;
    }
    .pricing-btn-primary,
    .pricing-btn-secondary {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    /* --- FAQ Accordion --- */
    .faq-section {
        padding: 50px 16px;
    }
    .faq-list {
        margin-top: 28px;
        gap: 12px;
    }
    .faq-question {
        padding: 16px 14px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    .faq-answer {
        padding: 0 14px 16px 14px;
        font-size: 0.9rem;
    }

    /* --- Landing Footer --- */
    .landing-footer {
        padding: 40px 16px 30px 16px;
    }
    .footer-container {
        flex-direction: column;
        gap: 28px;
    }
    .footer-links-group {
        flex-direction: column;
        gap: 22px;
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-top: 24px;
        padding-top: 16px;
    }

    /* --- Auth Modal (Touch Friendly & iOS Safari Zoom Protection) --- */
    .auth-modal-backdrop {
        padding: 12px;
    }
    .auth-modal-dialog {
        padding: 24px 16px;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        max-height: 88vh;
    }
    .auth-modal-dialog .form-group input,
    .auth-modal-dialog .form-group select {
        font-size: 16px !important; /* CRITICAL: Prevents iOS Safari auto-zoom on input focus */
        padding: 12px 10px;
        min-height: 44px;
    }
    .auth-modal-dialog button[type="submit"] {
        min-height: 48px;
        font-size: 1rem;
        margin-top: 10px;
    }
    .auth-modal-tab-btn {
        padding: 10px 6px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    .auth-modal-close-btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }
}
