/* VetHub v2 — Unified platform stylesheet */

:root {
    --primary: #1b5e20;
    --primary-light: #4c956c;
    --primary-dark: #0d3311;
    --primary-muted: #e8f5e9;
    --accent: #ff8f00;
    --accent-light: #ffe0b2;
    --text: #1a1a2e;
    --text-secondary: #5f6368;
    --text-muted: #9e9e9e;
    --bg: #f5f7fa;
    --bg-card: #ffffff;
    --border: #e0e4e8;
    --border-light: #f0f2f5;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --transition: 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* NAVBAR */
.navbar { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.navbar-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 1.35rem; font-weight: 700; }
.navbar-brand:hover { color: #fff; text-decoration: none; }
.navbar-brand .icon { font-size: 1.5rem; }
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-nav a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; transition: all var(--transition); }
.navbar-nav a:hover { color: #fff; background: rgba(255,255,255,0.12); text-decoration: none; }
.navbar-nav a.active { color: #fff; background: rgba(255,255,255,0.18); }
.nav-section-label { color: rgba(255,255,255,0.5); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 14px 2px; margin-top: 4px; }
.navbar-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 4px 8px; border-radius: var(--radius-sm); }
.navbar-toggle:hover { background: rgba(255,255,255,0.1); }

/* SEARCH */
.search-section { background: linear-gradient(135deg, var(--primary) 0%, #2e7d32 100%); padding: 20px 24px 24px; }
.search-container { max-width: 720px; margin: 0 auto; position: relative; }
.search-form { display: flex; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.search-input { flex: 1; padding: 14px 20px; border: none; font-size: 1rem; color: var(--text); outline: none; background: transparent; }
.search-input::placeholder { color: var(--text-muted); }
.search-btn { padding: 14px 24px; background: var(--accent); color: #fff; border: none; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background var(--transition); white-space: nowrap; }
.search-btn:hover { background: #e67700; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); z-index: 100; max-height: 320px; overflow-y: auto; display: none; }
.search-suggestions.active { display: block; }
.suggestion-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; cursor: pointer; transition: background var(--transition); border-bottom: 1px solid var(--border-light); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.selected { background: var(--primary-muted); }
.suggestion-item .sugg-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.suggestion-item .sugg-icon.product { background: #e3f2fd; color: #1565c0; }
.suggestion-item .sugg-icon.ingredient { background: #f3e5f5; color: #7b1fa2; }
.suggestion-item .sugg-icon.manufacturer { background: #fff3e0; color: #e65100; }
.suggestion-item .sugg-icon.job { background: #e8f5e9; color: #2e7d32; }
.suggestion-item .sugg-text { flex: 1; min-width: 0; }
.suggestion-item .sugg-name { font-size: 0.9rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-item .sugg-meta { font-size: 0.78rem; color: var(--text-muted); }
.suggestion-header { padding: 8px 20px 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: #fafafa; }
.suggestion-more { padding: 10px 20px; text-align: center; font-size: 0.85rem; color: var(--primary); font-weight: 500; cursor: pointer; border-top: 1px solid var(--border-light); }
.suggestion-more:hover { background: var(--primary-muted); }

/* MAIN */
main { max-width: 1200px; margin: 0 auto; padding: 32px 24px; min-height: calc(100vh - 200px); }

/* KPI CARDS */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 36px; }
.kpi-card { background: var(--bg-card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; border: 1px solid var(--border-light); transition: all var(--transition); }
.kpi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kpi-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.kpi-icon.green { background: #e8f5e9; color: #2e7d32; }
.kpi-icon.blue { background: #e3f2fd; color: #1565c0; }
.kpi-icon.orange { background: #fff3e0; color: #e65100; }
.kpi-icon.purple { background: #f3e5f5; color: #7b1fa2; }
.kpi-icon.teal { background: #e0f2f1; color: #00695c; }
.kpi-icon.red { background: #fce4ec; color: #c62828; }
.kpi-icon.amber { background: #fff8e1; color: #f57f17; }
.kpi-icon.cyan { background: #e0f7fa; color: #00838f; }
.kpi-number { font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.kpi-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }

/* BADGES */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.badge-primary { background: var(--primary-muted); color: var(--primary); }
.badge-accent { background: var(--accent-light); color: #e65100; }
.badge-egypt { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }
.badge-gray { background: #f5f5f5; color: #616161; }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-purple { background: #f3e5f5; color: #7b1fa2; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-species { background: #e8f5e9; color: #1b5e20; }
.badge-species-livestock { background: #fff8e1; color: #f57f17; }
.badge-species-poultry { background: #fce4ec; color: #c62828; }
.badge-species-equine { background: #e8eaf6; color: #283593; }
.badge-species-companion { background: #f3e5f5; color: #7b1fa2; }
.badge-species-aquatic { background: #e0f7fa; color: #00695c; }
.badge-doc-spc { background: #e8eaf6; color: #283593; }
.badge-doc-article { background: #fce4ec; color: #c62828; }
.badge-doc-vmd { background: #e0f7fa; color: #00695c; }
.badge-doc-manufacturer { background: #fff3e0; color: #e65100; }
.badge-job { background: #e8f5e9; color: #2e7d32; }
.badge-sector { background: #e0f7fa; color: #00838f; }

/* SECTIONS */
.section-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; flex-shrink: 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-header .section-title { margin-bottom: 0; }

/* CARDS */
.card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.card-title { font-size: 0.95rem; font-weight: 600; color: var(--primary); }

/* PRODUCT GRID */
.product-grid, .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.product-card, .entity-card { background: var(--bg-card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); display: block; text-decoration: none; color: var(--text); transition: all var(--transition); border: 1px solid var(--border-light); }
.product-card:hover, .entity-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--primary-light); text-decoration: none; color: var(--text); }
.product-card .card-name, .entity-card .card-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.product-card .card-sub, .entity-card .card-sub { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; }
.product-card .card-meta, .entity-card .card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* MFR CARDS */
.mfr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mfr-card { background: var(--bg-card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 12px; transition: all var(--transition); border: 1px solid var(--border-light); }
.mfr-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; color: var(--text); }
.mfr-avatar { width: 40px; height: 40px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.mfr-info { min-width: 0; flex: 1; }
.mfr-info h4 { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfr-info .count { font-size: 0.78rem; color: var(--text-secondary); }

/* JOB CARDS */
.job-card { background: var(--bg-card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); display: block; transition: all var(--transition); border: 1px solid var(--border-light); border-left: 4px solid var(--primary-light); }
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--text); border-left-color: var(--primary); }
.job-card .job-title { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.job-card .job-company { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-bottom: 6px; }
.job-card .job-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.78rem; color: var(--text-secondary); }

/* DETAIL LAYOUT */
.detail-header { margin-bottom: 28px; }
.detail-header h1 { font-size: 1.7rem; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.detail-header .subtitle { font-size: 1rem; color: var(--text-secondary); }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.detail-main { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.detail-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* INFO TABLE */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border-light); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 10px 0; font-size: 0.9rem; vertical-align: top; }
.info-table td:first-child { font-weight: 600; color: var(--text-secondary); width: 130px; padding-right: 16px; }

/* DESCRIPTION */
.description { font-size: 0.92rem; line-height: 1.75; color: var(--text); white-space: pre-line; padding: 16px; background: #fafbfc; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }

/* FACTS */
.fact-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.fact-group-title { font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fact-item { background: #fafbfc; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 8px; font-size: 0.88rem; line-height: 1.65; border: 1px solid var(--border-light); }
.fact-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.75rem; color: var(--text-muted); }

/* DOSAGE TABLE */
.dosage-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.dosage-table thead tr { background: var(--primary-muted); }
.dosage-table th { padding: 8px 12px; text-align: left; font-weight: 600; color: var(--primary); }
.dosage-table td { padding: 8px 12px; border-bottom: 1px solid var(--border-light); color: var(--text); line-height: 1.5; }
.dosage-table tbody tr:hover { background: #fafbfc; }

/* CONFIDENCE */
.confidence-bar { display: inline-flex; align-items: center; gap: 6px; }
.confidence-bar .bar { width: 40px; height: 4px; border-radius: 2px; background: #e0e0e0; overflow: hidden; }
.confidence-bar .bar-fill { height: 100%; border-radius: 2px; }
.confidence-bar .bar-fill.high { background: #4caf50; }
.confidence-bar .bar-fill.medium { background: #ff9800; }
.confidence-bar .bar-fill.low { background: #f44336; }

/* CROSS-LINKS */
.cross-link-section { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--border); }
.cross-link-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cross-link-card { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 8px; }
.cross-link-card .cl-title { font-size: 0.88rem; font-weight: 600; color: #166534; }
.cross-link-card .cl-meta { font-size: 0.78rem; color: #16a34a; margin-top: 4px; }
.cross-link-card.job-link { background: #eff6ff; border-color: #bfdbfe; }
.cross-link-card.job-link .cl-title { color: #1e40af; }
.cross-link-card.job-link .cl-meta { color: #2563eb; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: all var(--transition); }
.pagination a { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; }
.pagination .ellipsis { color: var(--text-muted); background: none; border: none; }

/* FILTERS */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; padding: 14px 16px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-light); }
.filters label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.filters select { padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; background: #fff; color: var(--text); cursor: pointer; }

/* BREADCRUMB */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* EMPTY / ERROR */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.5; }
.empty-state h2 { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.error-state { text-align: center; padding: 60px 20px; color: #c62828; }

/* POPULAR SEARCHES */
.popular-searches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.popular-searches a { font-size: 0.82rem; padding: 4px 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; color: var(--text-secondary); text-decoration: none; }
.popular-searches a:hover { background: var(--primary-muted); color: var(--primary); border-color: var(--primary-light); text-decoration: none; }

/* SEARCH TABS */
.search-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.search-tab { padding: 6px 14px; border-radius: 20px; background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); text-decoration: none; font-size: 0.85rem; font-weight: 500; }
.search-tab:hover { background: var(--primary-muted); color: var(--primary); text-decoration: none; }
.search-tab.active { background: var(--primary); color: #fff; }

/* SEARCH RESULT GROUPS */
.result-group { margin-bottom: 28px; }
.result-group-title { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px; }
.result-group-title .count { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

/* FOOTER */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.6); text-align: center; padding: 28px 24px; font-size: 0.82rem; margin-top: 60px; }
footer a { color: rgba(255,255,255,0.8); }
footer a:hover { color: #fff; }
footer .footer-stats { display: flex; justify-content: center; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
footer .footer-stats span { display: flex; align-items: center; gap: 4px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { flex-direction: row; flex-wrap: wrap; }
    .sidebar-card { flex: 1; min-width: 200px; }
}
@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--primary-dark); padding: 8px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 999; }
    .navbar-nav a { padding: 12px 24px; border-radius: 0; }
    .navbar-toggle { display: block; }
    main { padding: 20px 16px; }
    .search-section { padding: 16px 16px 20px; }
    .search-form { flex-direction: column; }
    .search-btn { border-radius: 0 0 var(--radius) var(--radius); padding: 12px; }
    .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
    .kpi-card { padding: 12px; gap: 10px; }
    .kpi-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .kpi-number { font-size: 1.2rem; }
    .product-grid, .card-grid, .mfr-grid { grid-template-columns: 1fr; }
    .detail-main { padding: 20px 16px; }
    .detail-header h1 { font-size: 1.3rem; }
    .detail-sidebar { flex-direction: column; }
    .filters { flex-direction: column; align-items: stretch; }
    .filters select { width: 100%; }
    footer .footer-stats { flex-direction: column; gap: 8px; }
    /* Fix horizontal overflow on mobile: make wide tables scrollable, collapse grids */
    table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .clinical-grid, .result-grid, .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
    .container { padding-left: 12px; padding-right: 12px; }
    pre, code, .code-block { white-space: pre-wrap; word-break: break-word; }
    img, video, iframe { max-width: 100%; height: auto; }
}

/* Extra-small phones (<=414px): tighten spacing to kill residual overflow */
@media (max-width: 414px) {
    main { padding: 16px 10px; }
    .search-section { padding: 12px 10px 16px; }
    .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
    h1, .detail-header h1 { font-size: 1.2rem; }
    .btn, button, input, select { font-size: 16px; } /* prevents iOS zoom-on-focus */
}

/* DROPDOWN MENUS */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 4px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background var(--transition);
}
.dropdown-menu a:hover { background: var(--bg-light); text-decoration: none; color: var(--primary); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ═══ HERO SECTION ═══ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0d3311 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin-bottom: 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero h1 .emoji { font-size: 2.4rem; }
.hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}
.hero-btn-primary {
    background: #fff;
    color: var(--primary);
}
.hero-btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
}
.hero-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.5rem; font-weight: 700; }
.hero-stat-label { font-size: 0.75rem; opacity: 0.7; margin-top: 2px; }

/* HERO RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 32px 24px; }
    .hero h1 { font-size: 1.5rem; }
    .hero h1 .emoji { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; }
    .hero-btn { justify-content: center; }
    .hero-stats { gap: 16px; justify-content: center; }
    .hero-stat-num { font-size: 1.2rem; }
}
