/**
 * Patchy - Main Stylesheet
 * Global styles, custom utilities, and component overrides
 * 
 * Design System: Stitch by Google export + custom enhancements
 * Font: Space Grotesk (Google Fonts)
 * Icons: Material Symbols Outlined
 * Framework: TailwindCSS (CDN)
 * 
 * This file contains custom CSS that supplements TailwindCSS utilities.
 * The bulk of styling is done via Tailwind classes in templates.
 */

/* =============================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   These mirror the Tailwind config for use in vanilla CSS contexts.
   ============================================================================= */

:root {
    /* Backgrounds */
    --bg-primary: #10131b;
    --bg-card: #161b22;
    --bg-elevated: #1c2028;
    --bg-hover: #21262d;
    --bg-header: #0d1117;
    
    /* Text */
    --text-primary: #e0e2ed;
    --text-secondary: #c1c6d7;
    --text-muted: #8b90a0;
    --text-white: #ffffff;
    
    /* Accent Colors */
    --color-primary: #adc6ff;
    --color-primary-container: #4b8eff;
    --color-secondary: #4edea3;
    --color-tertiary: #ffb595;
    --color-error: #ffb4ab;
    --color-error-container: #93000a;
    
    /* Borders */
    --border-default: #30363d;
    --border-subtle: #414755;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    
    /* Typography */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Sidebar width */
    --sidebar-width: 256px;
    --header-height: 64px;
}


/* =============================================================================
   BASE STYLES
   ============================================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-display);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: rgba(173, 198, 255, 0.3);
    color: var(--color-primary);
}


/* =============================================================================
   MATERIAL SYMBOLS
   ============================================================================= */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}


/* =============================================================================
   GLASS MORPHISM PANEL
   ============================================================================= */

.glass-panel {
    background-color: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-default);
}


/* =============================================================================
   GLOW EFFECTS
   ============================================================================= */

.glow-accent {
    box-shadow: inset 0 0 10px rgba(75, 142, 255, 0.2), 0 0 20px rgba(75, 142, 255, 0.1);
}

.glow-success {
    box-shadow: 0 0 8px rgba(78, 222, 163, 0.4);
}

.glow-error {
    box-shadow: 0 0 8px rgba(255, 180, 171, 0.4);
}


/* =============================================================================
   GRID BACKGROUND (Landing page)
   ============================================================================= */

.grid-bg {
    background-image: 
        linear-gradient(to right, rgba(48, 54, 61, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(48, 54, 61, 0.2) 1px, transparent 1px);
    background-size: 24px 24px;
}


/* =============================================================================
   SCROLLBAR CUSTOMIZATION
   ============================================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--border-subtle);
}


/* =============================================================================
   LOADING STATES
   ============================================================================= */

/* Spinner animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-default);
    border-top-color: var(--color-primary-container);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Pulse animation for scanning state */
@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px currentColor; }
    50% { opacity: 0.5; box-shadow: 0 0 12px currentColor; }
}

.pulse-dot {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Skeleton loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-card) 25%,
        var(--bg-elevated) 50%,
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}


/* =============================================================================
   SCAN PROGRESS STEPS
   ============================================================================= */

.progress-steps {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.progress-steps li.complete {
    color: var(--color-secondary);
}

.progress-steps li.active {
    color: var(--color-primary);
}

.progress-steps li .step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.progress-steps li.complete .step-icon {
    background: rgba(78, 222, 163, 0.15);
    color: var(--color-secondary);
}

.progress-steps li.active .step-icon {
    background: rgba(75, 142, 255, 0.15);
    color: var(--color-primary-container);
}

.progress-steps li.pending .step-icon {
    background: rgba(65, 71, 85, 0.3);
    color: var(--text-muted);
}


/* =============================================================================
   TOAST / NOTIFICATION SYSTEM
   ============================================================================= */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    background: var(--bg-elevated);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    transition: transform var(--transition-slow);
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 3px solid var(--color-secondary);
}

.toast-error {
    border-left: 3px solid var(--color-error);
}

.toast-info {
    border-left: 3px solid var(--color-primary-container);
}


/* =============================================================================
   CODE DIFF STYLES
   ============================================================================= */

.diff-removed {
    background: rgba(255, 180, 171, 0.1);
    border-left: 2px solid var(--color-error);
    color: var(--color-error);
}

.diff-added {
    background: rgba(78, 222, 163, 0.1);
    border-left: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}


/* =============================================================================
   MODAL / OVERLAY
   ============================================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

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

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}


/* =============================================================================
   RESPONSIVE UTILITIES
   ============================================================================= */

/* Hide sidebar on mobile */
@media (max-width: 767px) {
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-slow);
    }
    
    .app-sidebar.open {
        transform: translateX(0);
    }
    
    .app-main {
        margin-left: 0 !important;
    }
}


/* =============================================================================
   AMBIENT GLOW (Landing page decorative blobs)
   ============================================================================= */

.ambient-glow-blue {
    position: absolute;
    width: 50%;
    height: 50%;
    background: rgba(75, 142, 255, 0.08);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.ambient-glow-green {
    position: absolute;
    width: 40%;
    height: 40%;
    background: rgba(0, 165, 114, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}


/* =============================================================================
   FOCUS STYLES (Accessibility)
   ============================================================================= */

:focus-visible {
    outline: 2px solid var(--color-primary-container);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-primary-container);
    outline-offset: 2px;
}


/* =============================================================================
   LANDING PAGE BINARY CANVAS
   ============================================================================= */

#binary-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1.0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%);
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */

/* =============================================================================
   LANDING V2 — MODERN SECTIONS
   ============================================================================= */

.gradient-text {
    background: linear-gradient(100deg, #adc6ff 0%, #4edea3 60%, #adc6ff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-slide 8s linear infinite;
}
@keyframes gradient-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.scanlines {
    position: fixed; inset: 0; z-index: 3; pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
    mix-blend-mode: overlay; opacity: 0.6;
}

.status-pill { backdrop-filter: blur(8px); }
.pulse-dot-sm {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4edea3; box-shadow: 0 0 8px #4edea3;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(180deg, #4b8eff 0%, #2f6fd8 100%);
    color: #fff; font-family: 'Space Grotesk'; font-weight: 700;
    font-size: 12px; letter-spacing: 0.1em;
    padding: 14px 22px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 1px rgba(75,142,255,0.4), 0 10px 30px -10px rgba(75,142,255,0.6);
    transition: all .2s ease; position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 0 0 1px rgba(75,142,255,0.6), 0 14px 40px -8px rgba(75,142,255,0.7); }
.btn-primary .arrow { transition: transform .2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: #fff; font-family: 'Space Grotesk'; font-weight: 700;
    font-size: 12px; letter-spacing: 0.1em;
    padding: 14px 22px; border-radius: 6px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all .2s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(173,198,255,0.4); color: #adc6ff; }

/* Terminal */
.terminal-card {
    background: rgba(11,14,22,0.85); backdrop-filter: blur(12px);
    border: 1px solid #30363d; border-radius: 10px; overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(173,198,255,0.05), 0 0 60px -20px rgba(75,142,255,0.3);
}
.terminal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: #0d1117; border-bottom: 1px solid #30363d;
}
.terminal-body { padding: 18px 20px; color: #c1c6d7; min-height: 240px; }
.terminal-body > div { margin-bottom: 6px; }
.dot-red, .dot-yellow, .dot-green { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f57; } .dot-yellow { background: #febc2e; } .dot-green { background: #28c840; }
.t-prompt { color: #4edea3; }
.t-cmd { color: #fff; }
.t-dim { color: #8b90a0; }
.t-ok { color: #4edea3; }
.t-warn { color: #ffb595; }
.t-file { color: #adc6ff; }
.cursor-blink { animation: blink 1s steps(1) infinite; color: #adc6ff; }
@keyframes blink { 50% { opacity: 0; } }

/* Logo strip */
.logo-strip {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 40px 56px; opacity: 0.5;
    font-family: 'Space Grotesk'; font-weight: 900; letter-spacing: 0.15em;
    font-size: 18px; color: #c1c6d7;
}
.logo-strip span { transition: opacity .2s, color .2s; }
.logo-strip span:hover { opacity: 1; color: #fff; }

/* Stats */
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: #30363d; border: 1px solid #30363d; border-radius: 8px; overflow: hidden;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid > div {
    background: rgba(13,17,23,0.7); backdrop-filter: blur(8px);
    padding: 26px 20px; text-align: center;
}
.stat-num {
    font-family: 'Space Grotesk'; font-weight: 700; font-size: 36px;
    background: linear-gradient(180deg, #fff 0%, #adc6ff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: -0.02em;
}
.stat-lbl {
    font-size: 11px; letter-spacing: 0.15em; color: #8b90a0;
    margin-top: 6px; font-weight: 600;
}

/* Section heading */
.section-heading { margin-bottom: 48px; }
.section-heading.text-center { text-align: center; }
.section-kicker {
    display: inline-block; font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: #4edea3; letter-spacing: 0.1em; margin-bottom: 14px;
}

/* Bento */
.bento-grid {
    display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 900px) {
    .bento-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; grid-auto-rows: auto; }
    .bento-lg { grid-column: span 2; grid-row: span 1; }
}
.bento {
    position: relative; padding: 28px;
    background: rgba(22,27,34,0.5); backdrop-filter: blur(10px);
    border: 1px solid #30363d; border-radius: 12px;
    transition: all .3s ease; overflow: hidden;
}
.bento::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(173,198,255,0.08), transparent 40%);
    opacity: 0; transition: opacity .3s;
    pointer-events: none;
}
.bento:hover::before { opacity: 1; }
.bento:hover { transform: translateY(-2px); border-color: #414755; }
.border-accent-blue:hover { border-color: rgba(173,198,255,0.5); box-shadow: 0 0 0 1px rgba(173,198,255,0.2), 0 20px 60px -20px rgba(75,142,255,0.3); }
.border-accent-green:hover { border-color: rgba(78,222,163,0.5); box-shadow: 0 0 0 1px rgba(78,222,163,0.2), 0 20px 60px -20px rgba(78,222,163,0.3); }
.border-accent-orange:hover { border-color: rgba(239,103,25,0.5); box-shadow: 0 0 0 1px rgba(239,103,25,0.2); }

.bento-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(173,198,255,0.1); color: #adc6ff;
    border: 1px solid rgba(173,198,255,0.2); margin-bottom: 18px;
}
.bento-icon.green { background: rgba(78,222,163,0.1); color: #4edea3; border-color: rgba(78,222,163,0.2); }
.bento-icon.orange { background: rgba(239,103,25,0.1); color: #ffb595; border-color: rgba(239,103,25,0.2); }
.bento-title { font-weight: 600; font-size: 20px; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.bento-desc { color: #c1c6d7; font-size: 14px; line-height: 1.6; }
.bento-visual { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.finding-row {
    display: flex; align-items: center; gap: 10px;
    background: #0b0e16; border: 1px solid #30363d; border-radius: 4px;
    padding: 8px 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.finding-row span:first-child { font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.finding-row.severity-high span:first-child { background: rgba(255,180,171,0.15); color: #ffb4ab; }
.finding-row.severity-med span:first-child { background: rgba(255,181,149,0.15); color: #ffb595; }
.finding-row.severity-low span:first-child { background: rgba(139,144,160,0.15); color: #8b90a0; }
.finding-row code { color: #c1c6d7; font-size: 11px; }
.mono-list { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #8b90a0; }
.mono-list > div { padding: 4px 0; border-bottom: 1px dashed #30363d; }

/* Workflow */
.flow {
    display: flex; flex-direction: column; gap: 20px;
    margin-top: 48px;
}
@media (min-width: 900px) { .flow { flex-direction: row; align-items: stretch; } }
.flow-step {
    flex: 1; padding: 28px;
    background: rgba(22,27,34,0.5); backdrop-filter: blur(10px);
    border: 1px solid #30363d; border-radius: 12px;
    position: relative;
}
.flow-step h4 { color: #fff; font-size: 18px; font-weight: 600; margin: 12px 0 6px; }
.flow-step p { color: #8b90a0; font-size: 14px; }
.flow-num {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: #4edea3; letter-spacing: 0.1em;
}
.flow-arrow {
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #414755;
}

/* PR demo */
.pr-card {
    background: #0d1117; border: 1px solid #30363d; border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(173,198,255,0.04);
}
.pr-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: #161b22; border-bottom: 1px solid #30363d;
}
.pr-status {
    background: rgba(78,222,163,0.15); color: #4edea3;
    border: 1px solid rgba(78,222,163,0.3); padding: 2px 10px;
    border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
}
.pr-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.comment { display: flex; gap: 14px; align-items: flex-start; }
.avatar-bot, .avatar-user {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(173,198,255,0.1); border: 1px solid rgba(173,198,255,0.3);
    flex-shrink: 0; font-weight: 700; font-size: 12px; color: #adc6ff;
}
.avatar-user { background: rgba(78,222,163,0.1); border-color: rgba(78,222,163,0.3); color: #4edea3; }
.bubble {
    flex: 1; background: rgba(22,27,34,0.7); backdrop-filter: blur(8px);
    border: 1px solid #30363d; border-top-left-radius: 0;
    border-radius: 10px; padding: 16px;
}
.bubble-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.inline-code { background: #0b0e16; color: #adc6ff; padding: 1px 6px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.diff-box { background: #0b0e16; border: 1px solid #30363d; border-radius: 6px; overflow: hidden; }
.diff-box > div { padding: 6px 10px; }
.chip-approve {
    background: rgba(78,222,163,0.15); color: #4edea3;
    border: 1px solid rgba(78,222,163,0.3); padding: 6px 14px;
    border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer;
    transition: all .2s;
}
.chip-approve:hover { background: rgba(78,222,163,0.25); }
.chip-neutral {
    background: rgba(255,255,255,0.03); color: #c1c6d7;
    border: 1px solid #30363d; padding: 6px 14px;
    border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .2s;
}
.chip-neutral:hover { border-color: #414755; color: #fff; }

/* Integrations */
.integrations {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px;
}
.int-chip {
    display: flex; align-items: center; gap: 10px;
    background: rgba(22,27,34,0.6); border: 1px solid #30363d;
    padding: 12px 20px; border-radius: 999px;
    color: #c1c6d7; font-weight: 600; font-size: 14px;
    transition: all .2s;
}
.int-chip:hover { border-color: #adc6ff; color: #fff; transform: translateY(-2px); }
.int-chip .material-symbols-outlined { font-size: 18px; color: #adc6ff; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item {
    background: rgba(22,27,34,0.5); border: 1px solid #30363d; border-radius: 10px;
    padding: 0; overflow: hidden; transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(173,198,255,0.3); }
.faq-item summary {
    padding: 18px 22px; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    color: #fff; font-weight: 600; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { color: #8b90a0; font-size: 20px; font-weight: 400; transition: transform .3s; }
.faq-item[open] .plus { transform: rotate(45deg); color: #adc6ff; }
.faq-item p { padding: 0 22px 20px; color: #c1c6d7; font-size: 14px; line-height: 1.7; }

/* CTA card */
.cta-card {
    position: relative; padding: 64px 32px;
    background: linear-gradient(180deg, rgba(22,27,34,0.8), rgba(13,17,23,0.9));
    border: 1px solid #30363d; border-radius: 20px; overflow: hidden;
    backdrop-filter: blur(12px);
}
.cta-glow {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 140%; height: 300px;
    background: radial-gradient(ellipse at center, rgba(75,142,255,0.2), transparent 70%);
    pointer-events: none;
}

@media print {
    .app-sidebar,
    .app-header,
    .toast-container {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
