/* ==========================================================================
   DashboardFox Global Styles
   Shared across all pages - variables, reset, components, accessibility
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Primary (darkened for WCAG AA — 5.2:1 on white) */
    --color-primary: #2563eb;
    --color-primary-dark: #1e4fbd;
    --color-primary-soft: rgba(37, 99, 235, 0.08);
    
    /* Colors - Accent (darkened for WCAG AA — 4.8:1 white-on-accent) */
    --color-accent: #d63520;
    --color-accent-hover: #b52010;
    --color-accent-soft: rgba(214, 53, 32, 0.08);
    
    /* Colors - Text (darkened for better contrast) */
    --color-text: #1a2836;
    --color-text-secondary: #3d4f61;
    --color-text-muted: #546478;
    
    /* Colors - Backgrounds */
    --color-bg: #ffffff;
    --color-bg-subtle: #E8F4F8;
    --color-bg-muted: #e4f0f5;
    --color-surface: #ffffff;
    
    /* Colors - Borders (slightly darker for definition) */
    --color-border: #c5d8e2;
    --color-border-subtle: #daeaf0;
    /* Badge background darkened from #c5d8e2 to #b0c8d6 to achieve 4.5:1 contrast with #546478 at small text sizes */
    --color-badge-bg: #b0c8d6;
    
    /* Colors - Semantic (darkened for WCAG AA — 5.2:1 on white, 4.6:1 on bg-subtle) */
    --color-success: #14753a;
    --color-success-soft: rgba(20, 117, 58, 0.08);
    --color-warning: #d63520;
    --color-warning-soft: rgba(214, 53, 32, 0.08);
    
    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(32, 49, 68, 0.05);
    --shadow-md: 0 4px 12px rgba(32, 49, 68, 0.08);
    --shadow-lg: 0 12px 32px rgba(32, 49, 68, 0.12);
    --shadow-accent: 0 8px 24px rgba(214, 53, 32, 0.3);
    --shadow-primary: 0 8px 24px rgba(37, 99, 235, 0.25);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-sans); 
    background: var(--color-bg); 
    color: var(--color-text); 
    line-height: 1.7; 
    font-size: 17px; 
    -webkit-font-smoothing: antialiased; 
}

/* SVG base - prevent oversized icons */
svg {
    width: 1em;
    height: 1em;
    max-width: 100%;
    vertical-align: middle;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.skip-link { 
    position: absolute; 
    top: -100px; 
    left: 0; 
    background: var(--color-primary); 
    color: white; 
    padding: 8px 16px; 
    z-index: 1001; 
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus { top: 8px; left: 8px; }

/* Focus states for keyboard navigation */
.btn:focus-visible, 
.nav-link:focus-visible, 
.nav-trigger:focus-visible, 
a:focus-visible { 
    outline: 2px solid var(--color-primary); 
    outline-offset: 2px; 
    border-radius: var(--radius-sm); 
}
.faq-question:focus-visible { 
    outline: 2px solid var(--color-primary); 
    outline-offset: 2px; 
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { 
        animation-duration: 0.01ms !important; 
        animation-iteration-count: 1 !important; 
        transition-duration: 0.01ms !important; 
        scroll-behavior: auto !important; 
    }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: var(--header-height); 
    background: rgba(255,255,255,0.95); 
    -webkit-backdrop-filter: blur(12px); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--color-border-subtle); 
    z-index: 1000; 
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 0 24px; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    color: var(--color-text); 
    font-weight: 700; 
    font-size: 20px; 
}
.logo-img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { 
    padding: 10px 16px; 
    color: var(--color-text-secondary); 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 500; 
    border-radius: var(--radius-md); 
    transition: all 0.2s; 
}
.nav-link:hover { color: var(--color-text); background: var(--color-bg-muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Dropdown Navigation */
.nav-item { position: relative; }
.nav-trigger { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    padding: 10px 16px; 
    color: var(--color-text-secondary); 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 500; 
    border-radius: var(--radius-md); 
    transition: all 0.2s; 
    cursor: pointer; 
    background: none; 
    border: none; 
    font-family: var(--font-sans); 
}
.nav-trigger:hover { color: var(--color-text); background: var(--color-bg-muted); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .nav-trigger svg,
.nav-item .nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    min-width: 220px; 
    background: var(--color-surface); 
    border: 1px solid var(--color-border); 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-lg); 
    padding: 8px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(8px); 
    transition: all 0.2s; 
    z-index: 100; 
}
.nav-item:hover .nav-dropdown,
.nav-item .nav-trigger[aria-expanded="true"] + .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 14px; 
    color: var(--color-text-secondary); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 500; 
    border-radius: var(--radius-sm); 
    transition: all 0.15s; 
}
.nav-dropdown a:hover { background: var(--color-bg-muted); color: var(--color-text); }
.nav-dropdown-icon { 
    width: 36px; 
    height: 36px; 
    background: var(--color-primary-soft); 
    border-radius: var(--radius-sm); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--color-primary); 
    flex-shrink: 0; 
}
.nav-dropdown-icon svg { width: 18px; height: 18px; }
.nav-dropdown-text { display: flex; flex-direction: column; }
.nav-dropdown-title { color: var(--color-text); font-weight: 600; font-size: 14px; }
.nav-dropdown-desc { color: var(--color-text-muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.nav-dropdown-divider { height: 1px; background: var(--color-border-subtle); margin: 8px 0; }
.nav-dropdown-link { 
    display: block; 
    padding: 10px 14px; 
    color: var(--color-primary); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    border-radius: var(--radius-sm); 
    transition: all 0.15s; 
}
.nav-dropdown-link:hover { background: var(--color-primary-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 12px 24px; 
    font-family: var(--font-sans); 
    font-size: 16px; 
    font-weight: 600; 
    text-decoration: none; 
    border-radius: var(--radius-md); 
    border: none; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.btn-ghost { background: transparent; color: var(--color-text-secondary); }
.btn-ghost:hover { color: var(--color-text); background: var(--color-bg-muted); }
.btn-primary { background: var(--color-accent); color: white; }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-secondary { background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover { background: var(--color-bg-muted); border-color: var(--color-primary); }
.btn-blue { background: var(--color-primary); color: white; }
.btn-blue:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-primary); }
.btn-large { padding: 16px 32px; font-size: 17px; }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 100px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 750px; margin: 0 auto 60px; }
.section-label { 
    display: inline-block; 
    font-size: 14px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    color: var(--color-primary); 
    margin-bottom: 16px; 
}
.section-title { 
    font-size: clamp(36px, 4vw, 48px); 
    font-weight: 800; 
    line-height: 1.15; 
    letter-spacing: -0.02em; 
    margin-bottom: 20px; 
    text-wrap: balance; 
}
@supports not (text-wrap: balance) {
    .section-title { max-width: 24ch; margin-left: auto; margin-right: auto; }
}
.section-subtitle { font-size: 19px; color: var(--color-text-secondary); line-height: 1.6; }
.section-alt { background: var(--color-bg-subtle); }
.section-cta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Page Header (shared across subpages)
   -------------------------------------------------------------------------- */
.page-header { 
    padding: calc(var(--header-height) + 60px) 24px 60px; 
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-subtle) 100%); 
    text-align: center; 
}
.page-header-inner { max-width: 750px; margin: 0 auto; }
.page-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: var(--color-accent-soft); 
    color: var(--color-accent); 
    font-size: 14px; 
    font-weight: 600; 
    padding: 8px 16px; 
    border-radius: 100px; 
    margin-bottom: 20px; 
    border: 1px solid rgba(214, 53, 32, 0.2); 
}
.page-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.page-header h1 { 
    font-size: clamp(40px, 5vw, 56px); 
    font-weight: 800; 
    line-height: 1.1; 
    letter-spacing: -0.03em; 
    margin-bottom: 20px; 
    text-wrap: balance;
}
/* Fallback for browsers without text-wrap support */
@supports not (text-wrap: balance) {
    .page-header h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
}
.page-header p { font-size: 20px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 24px; }
.page-header-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Page badge variant - primary/blue */
.page-badge-primary { 
    background: var(--color-primary-soft); 
    color: var(--color-primary); 
    border-color: rgba(37, 99, 235, 0.2); 
}

/* Page badge variant - success/green */
.page-badge-success { 
    background: var(--color-success-soft); 
    color: var(--color-success); 
    border-color: rgba(20, 117, 58, 0.2); 
}

/* Page badge variant - dark */
.page-badge-dark { 
    background: var(--color-text); 
    color: white; 
    border-color: var(--color-text); 
}

/* Page badge variant - accent (orange) */
.page-badge-accent { 
    background: var(--color-accent-soft); 
    color: var(--color-accent); 
    border-color: rgba(214, 53, 32, 0.2); 
}

/* Page header note (success text below description) */
.page-header-note { 
    font-size: 15px; 
    color: var(--color-success); 
}
.page-header-note svg { 
    width: 16px; 
    height: 16px; 
    vertical-align: middle; 
    margin-right: 4px; 
}
/* --------------------------------------------------------------------------
   Security Bar (shared component)
   -------------------------------------------------------------------------- */
.security-bar { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    background: var(--color-success-soft); 
    border: 1px solid rgba(20, 117, 58, 0.15); 
    border-radius: var(--radius-md); 
    padding: 14px 24px; 
    flex-wrap: wrap; 
    text-align: center; 
}
.security-bar svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; }
.security-bar span { font-size: 16px; color: var(--color-text-secondary); }
.security-bar a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.security-bar a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   FAQ (shared component)
   -------------------------------------------------------------------------- */
.faq-grid { max-width: 850px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { 
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 28px 0; 
    background: none; 
    border: none; 
    cursor: pointer; 
    text-align: left; 
    font-family: var(--font-sans); 
    font-size: 18px; 
    font-weight: 600; 
    color: var(--color-text); 
}
.faq-question:hover { color: var(--color-primary); }
.faq-question svg { 
    width: 26px; 
    height: 26px; 
    color: var(--color-text-muted); 
    transition: transform 0.3s; 
    flex-shrink: 0; 
    margin-left: 16px; 
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { 
    display: none; 
    padding-bottom: 28px; 
    font-size: 16px; 
    color: var(--color-text-secondary); 
    line-height: 1.7; 
}
.faq-item.open .faq-answer { display: block; }



/* --------------------------------------------------------------------------
   Final CTA (shared component)
   -------------------------------------------------------------------------- */
.final-cta { 
    background: linear-gradient(135deg, #1e4a8a 0%, #152d4a 100%); 
    color: white; 
    padding: 100px 24px;
    position: relative; 
    overflow: hidden; 
}
.final-cta-inner { 
    display: grid; 
    grid-template-columns: 1fr auto; 
    gap: 60px; 
    align-items: center; 
    max-width: var(--max-width); 
    margin: 0 auto; 
}
.final-cta-content { max-width: 600px; }
.final-cta-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: var(--color-accent); 
    color: white; 
    font-size: 14px; 
    font-weight: 600; 
    padding: 10px 18px; 
    border-radius: 100px; 
    margin-bottom: 24px; 
    box-shadow: 0 4px 12px rgba(214, 53, 32, 0.3); 
}
.final-cta-badge-icon { width: 18px; height: 18px; flex-shrink: 0; }
.final-cta h2 { 
    font-size: clamp(32px, 4vw, 44px); 
    font-weight: 800; 
    margin-bottom: 16px; 
    line-height: 1.15; 
    text-wrap: balance; 
}
@supports not (text-wrap: balance) {
    .final-cta h2 { max-width: 22ch; }
}
.final-cta-content > p { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 32px; line-height: 1.6; }
.final-cta-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.final-cta .btn-primary { background: white; color: #1e4a8a; }
.final-cta .btn-primary:hover { background: var(--color-bg-muted); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.final-cta .btn-ghost { color: white; border: 1px solid rgba(255,255,255,0.3); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.final-cta-note { font-size: 15px; color: rgba(255,255,255,0.92); }
.final-cta-note svg { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }
.final-cta-values { 
    display: flex; 
    gap: 24px; 
    margin-top: 32px; 
    padding-top: 24px; 
    border-top: 1px solid rgba(255,255,255,0.15); 
}
.final-cta-value { font-size: 14px; color: rgba(255,255,255,0.87); display: flex; align-items: center; gap: 8px; }
.final-cta-value svg { width: 16px; height: 16px; color: rgba(255,255,255,0.7); }
.final-cta-mascot img {
    width: 100%;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

@media (min-width: 768px) {
    .final-cta-mascot img {
        max-width: 320px;
    }
}


/* --------------------------------------------------------------------------
   Mid-page CTA
   -------------------------------------------------------------------------- */
.mid-cta { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: var(--color-bg-subtle); 
    border: 1px solid var(--color-border); 
    border-radius: var(--radius-xl); 
    padding: 32px 40px; 
    margin-top: 60px; 
    margin-bottom: 60px; 
    gap: 24px;
    flex-wrap: wrap;
}
.mid-cta-content h3 { 
    font-size: 22px; 
    font-weight: 700; 
    margin-bottom: 4px; 
}
.mid-cta-content p { 
    font-size: 16px; 
    color: var(--color-text-secondary); 
    margin: 0; 
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--color-bg-subtle); border-top: 1px solid var(--color-border); padding: 70px 24px 40px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 16px; color: var(--color-text-secondary); margin-top: 18px; line-height: 1.6; max-width: 260px; }
.footer-brand-email { margin-top: 12px; }
.footer-brand-email a { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.footer-brand-email a:hover { text-decoration: underline; }
.footer-col h4 { 
    font-size: 14px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: var(--color-text-muted); 
    margin-bottom: 18px; 
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 16px; color: var(--color-text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-primary); }

/* Legal Links Bar */
.footer-legal { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    padding: 24px 0; 
    border-top: 1px solid var(--color-border); 
    border-bottom: 1px solid var(--color-border); 
    margin-bottom: 24px; 
}
.footer-legal a { font-size: 14px; color: var(--color-text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--color-primary); }
.footer-legal-sep { color: var(--color-border); font-size: 14px; }

/* Sub-footer */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 0; }
.footer-company { display: flex; align-items: center; }
.footer-company-link { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 14px; 
    color: var(--color-text-muted); 
    text-decoration: none; 
    transition: color 0.2s; 
}
.footer-company-link:hover { color: var(--color-primary); }
.footer-company-link strong { font-weight: 600; color: var(--color-text-secondary); }
.footer-company-link:hover strong { color: var(--color-primary); }
.footer-company-logo { height: 32px; width: auto; opacity: 0.75; }
.footer-company-link:hover .footer-company-logo { opacity: 1; }
.footer-copyright { font-size: 14px; color: var(--color-text-muted); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--color-text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--color-primary); }
.footer-social svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Utility: Strikethrough pricing
   -------------------------------------------------------------------------- */
s { color: var(--color-text-muted); font-weight: 400; margin-right: 4px; }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --------------------------------------------------------------------------
   Responsive - Global
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
    .final-cta-buttons { justify-content: center; }
    .final-cta-values { justify-content: center; flex-wrap: wrap; }
    .final-cta-mascot { display: none; }
}

@media (max-width: 768px) {
    .mid-cta { 
        flex-direction: column; 
        text-align: center; 
        padding: 28px 24px; 
    }
}

@media (max-width: 1215px) {
    .nav { display: none; }
    .security-bar { flex-direction: column; gap: 8px; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-legal { gap: 4px 12px; padding: 20px 0; }
    .footer-legal-sep { display: none; }
    .footer-legal a { padding: 4px 0; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-company { justify-content: center; }
}

/* Skip Link - duplicate block removed; canonical definition above */

/* --------------------------------------------------------------------------
   Browser Chrome
   -------------------------------------------------------------------------- */
.browser-chrome {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 0 0 1px var(--color-border);
}

.browser-chrome-bar {
    background: #f1f3f5;
    border-bottom: 1px solid #dde1e6;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dde1e6;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    background: white;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 400px;
    margin: 0 auto;
}

.browser-url svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.5;
}

.browser-content {
    background: var(--color-text);
    line-height: 0;
}

.browser-content video {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .builder-video-header h2 {
        font-size: 22px;
    }
    .browser-url {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-item-compare { display: none; }
}

/* ── Self-Hosted Callout (used on Security, Features, Integrations) ── */
.self-hosted-callout {
    background: var(--color-text);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    color: white;
}
.self-hosted-callout h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.self-hosted-callout p {
    font-size: 17px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 24px;
}
.self-hosted-features { display: flex; gap: 24px; flex-wrap: wrap; }
.self-hosted-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    opacity: 0.9;
}
.self-hosted-features span svg { width: 18px; height: 18px; color: var(--color-success); }
.self-hosted-callout .btn-primary { background: white; color: var(--color-text); }
.self-hosted-callout .btn-primary:hover {
    background: var(--color-bg-muted);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.self-hosted-price { text-align: center; }
.self-hosted-price .amount { font-size: 48px; font-weight: 800; display: block; }
.self-hosted-price .note { font-size: 15px; opacity: 0.7; }

@media (max-width: 1024px) {
    .self-hosted-callout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .self-hosted-features { justify-content: center; }
    .self-hosted-price { margin-top: 24px; }
}

@media (max-width: 768px) {
    .self-hosted-callout { padding: 32px; }
}