/*
    SLAtech SharedUI — Hub & Agent landing page styles (PR-B1.7).

    Extracted from Verticals/SLAtech.Med/Pages/Ru/Index.cshtml inline <style>
    block. Used by Agent landings across all 9 verticals × 3 langs (27 pages)
    which previously referenced these classes without including the styles —
    pre-existing architectural bug surfaced post-2026-05-21 deploy review.

    Theming: hardcoded #0284c7 (Med blue) replaced by var(--brand-primary)
    token. Each vertical's Pages/{Lang}/_ViewStart.cshtml sets
    ViewData["VerticalBrandColor"], _SharedLayout writes it into :root.

    Hub Index pages (Med Ru + Edu Ru) currently carry duplicated inline
    <style> blocks — left in place for B1.7 (inline > external precedence,
    no conflict). Future cleanup task: remove duplicated inline blocks.
*/

.hub-page { font-family: 'Inter', -apple-system, sans-serif; color: #1f2937; line-height: 1.5; }
.hub-page a { text-decoration: none; }

/* Hero */
.hub-hero-section { padding: 64px 0 48px; background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%); position: relative; overflow: hidden; }
.hub-hero-content { text-align: center; max-width: 760px; margin: 0 auto; }
.hub-hero-container { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 32px; }
.hub-hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: white; border: 1px solid #e0e7ff; border-radius: 20px; font-size: 13px; font-weight: 500; color: #4f46e5; margin-bottom: 28px; }
.hub-hero-badge .ti { font-size: 14px; }
.hub-hero-content h1,
.hub-hero-container h1 { font-size: 60px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 20px; color: #0f172a; }
.hub-hero-content h1 span,
.hub-hero-container h1 span { background: linear-gradient(135deg, var(--brand-primary, #0284c7) 0%, #4f46e5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hub-hero-sub { font-size: 19px; color: #4b5563; line-height: 1.5; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hub-hero-container > p { font-size: 19px; color: #4b5563; line-height: 1.5; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hub-hero-buttons { display: flex; gap: 12px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }
.hub-btn { padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: all 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.hub-btn-primary { background: #0f172a; color: white; }
.hub-btn-primary:hover { background: #1e293b; transform: translateY(-1px); color: white; }
.hub-btn-secondary { background: white; color: #1f2937; border: 1px solid #e5e7eb; }
.hub-btn-secondary:hover { border-color: var(--brand-primary, #0284c7); color: var(--brand-primary, #0284c7); }

/* Browser frame */
.hub-showcase { position: relative; margin: 0 auto; max-width: 1080px; padding: 0 16px; }
.hub-browser { background: white; border-radius: 16px 16px 0 0; box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05); overflow: hidden; }
.hub-browser-bar { padding: 12px 20px; background: #f8fafc; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e5e7eb; }
.hub-browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.hub-browser-dot:nth-child(1) { background: #fc6058; }
.hub-browser-dot:nth-child(2) { background: #fdbc40; }
.hub-browser-dot:nth-child(3) { background: #34c749; }
.hub-browser-url { flex: 1; padding: 4px 12px; background: white; border-radius: 4px; font-size: 12px; color: #6b7280; margin-left: 16px; border: 1px solid #e5e7eb; }
.hub-browser-content { background: white; min-height: 480px; display: grid; grid-template-columns: 1fr 1fr; }

.hub-clinic-page { padding: 48px; background: #fff; border-right: 1px solid #f1f5f9; }
.hub-clinic-page h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: #0f172a; }
.hub-clinic-page p { color: #6b7280; margin-bottom: 16px; font-size: 14px; line-height: 1.6; }
.hub-clinic-stat { background: #f8fafc; padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-size: 13px; color: #4b5563; display: flex; align-items: center; gap: 10px; }
.hub-clinic-stat .ti { color: var(--brand-primary, #0284c7); font-size: 16px; }

.hub-chat { padding: 24px; background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%); display: flex; flex-direction: column; }
.hub-chat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #e0f2fe; }
.hub-chat-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-primary, #0284c7); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.hub-chat-title { font-size: 14px; font-weight: 600; color: #0f172a; }
.hub-chat-status { font-size: 12px; color: #10b981; display: flex; align-items: center; gap: 4px; }
.hub-chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.hub-chat-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.hub-chat-msg { padding: 10px 14px; border-radius: 12px; max-width: 80%; font-size: 13px; line-height: 1.5; }
.hub-chat-msg-user { background: var(--brand-primary, #0284c7); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.hub-chat-msg-bot { background: white; color: #1f2937; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

/* Generic section */
.hub-section { padding: 96px 0; }
.hub-section-light { background: #f8fafc; }
.hub-section-dark { background: #0f172a; color: white; }
.hub-section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.hub-section-head h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; color: #0f172a; }
.hub-section-dark .hub-section-head h2 { color: white; }
.hub-section-head p { font-size: 18px; color: #4b5563; line-height: 1.55; }
.hub-section-dark .hub-section-head p { color: rgba(255,255,255,0.7); }
.hub-eyebrow { display: inline-block; padding: 4px 12px; background: #e0e7ff; color: #4f46e5; border-radius: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }

/* Multilingual feature card */
.hub-multilingual { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hub-ml-content h3 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; color: #0f172a; line-height: 1.15; }
.hub-ml-content p { font-size: 16px; color: #4b5563; line-height: 1.6; }
.hub-ml-examples { display: flex; flex-direction: column; gap: 10px; }
.hub-ml-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: white; border: 1px solid #e5e7eb; border-radius: 10px; transition: all 0.2s; }
.hub-ml-row:hover { border-color: var(--brand-primary, #0284c7); transform: translateX(4px); }
.hub-ml-flag { font-size: 11px; font-weight: 700; color: #9ca3af; letter-spacing: 0.08em; min-width: 28px; }
.hub-ml-text { color: #1f2937; font-size: 14px; flex: 1; }
.hub-ml-row[dir="rtl"] .hub-ml-text { direction: rtl; text-align: right; }

/* Two products grid */
.hub-products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hub-product-card { background: white; border: 2px solid #e5e7eb; border-radius: 20px; padding: 40px; transition: all 0.2s; }
.hub-product-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.hub-product-card-featured { border-color: #4f46e5; background: linear-gradient(180deg, #fff 0%, #faf5ff 100%); }
.hub-product-tag { display: inline-block; padding: 4px 10px; background: #f0f9ff; color: var(--brand-primary, #0284c7); border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.hub-product-card-featured .hub-product-tag { background: #ede9fe; color: #4f46e5; }
.hub-product-card h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: #0f172a; }
.hub-product-card > p { font-size: 15px; color: #4b5563; line-height: 1.55; margin-bottom: 24px; }
.hub-product-bullets { list-style: none; padding: 0; margin-bottom: 28px; }
.hub-product-bullets li { padding: 8px 0; padding-left: 32px; position: relative; color: #1f2937; font-size: 14px; }
.hub-product-bullets li::before { content: ''; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: #ecfdf5; border-radius: 50%; }
.hub-product-bullets li::after { content: '\2713'; position: absolute; left: 6px; top: 7px; color: #10b981; font-weight: 700; font-size: 12px; }
.hub-product-pricing { display: flex; align-items: baseline; gap: 8px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.hub-product-price { font-size: 28px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.hub-product-price-sub { font-size: 14px; color: #6b7280; }

/* Stats */
.hub-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hub-stat { text-align: center; }
.hub-stat-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hub-stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 12px; line-height: 1.5; }

/* Engineering features grid */
.hub-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.hub-feature-card { background: white; border-radius: 16px; padding: 32px; border: 1px solid #e5e7eb; transition: all 0.2s; }
.hub-feature-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.hub-feature-card-large { grid-column: span 2; }
.hub-feature-icon { width: 48px; height: 48px; background: #f0f9ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.hub-feature-icon .ti { color: var(--brand-primary, #0284c7); font-size: 24px; }
.hub-feature-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.hub-feature-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.hub-feature-card p { color: #6b7280; font-size: 15px; line-height: 1.55; }

/* FAQ */
.hub-faq-list { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.hub-faq-item { border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; background: white; overflow: hidden; }
.hub-faq-item summary { padding: 20px 24px; font-size: 16px; font-weight: 600; color: #0f172a; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.hub-faq-item summary::-webkit-details-marker { display: none; }
.hub-faq-item summary::after { content: ''; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.2s; flex-shrink: 0; }
.hub-faq-item[open] summary::after { transform: rotate(180deg); }
.hub-faq-content { padding: 0 24px 20px; color: #4b5563; font-size: 15px; line-height: 1.6; }

/* CTA */
.hub-cta-section { padding: 96px 0; background: linear-gradient(135deg, var(--brand-primary, #0284c7) 0%, #4f46e5 100%); color: white; text-align: center; }
.hub-cta-container { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.hub-cta-section h2 { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hub-cta-section p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hub-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hub-cta-btn-primary { background: white; color: var(--brand-primary, #0284c7); padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.hub-cta-btn-primary:hover { color: var(--brand-primary, #0284c7); transform: translateY(-1px); }
.hub-cta-btn-secondary { background: rgba(255,255,255,0.15); color: white; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.hub-cta-btn-secondary:hover { color: white; background: rgba(255,255,255,0.22); }

/* Responsive */
@media (max-width: 900px) {
    .hub-hero-content h1,
    .hub-hero-container h1 { font-size: 40px; }
    .hub-section-head h2 { font-size: 32px; }
    .hub-cta-section h2 { font-size: 36px; }
    .hub-products-grid, .hub-features-grid, .hub-multilingual { grid-template-columns: 1fr; }
    .hub-feature-card-large { grid-column: span 1; }
    .hub-stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
    .hub-browser-content { grid-template-columns: 1fr; }
    .hub-clinic-page { display: none; }
}
