/* Axis Health - Auditory Science & Acoustic Ergonomics */
:root {
    --ax-teal: #0f766e;
    --ax-teal-dark: #134e4a;
    --ax-teal-light: #14b8a6;
    --ax-amber: #d97706;
    --ax-amber-light: #f59e0b;
    --ax-amber-soft: #fef3c7;
    --ax-bg: #f0fdfa;
    --ax-card-bg: #ffffff;
    --ax-text: #0f172a;
    --ax-muted: #475569;
    --ax-border: #ccfbf1;
    --ax-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
    --ax-radius: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--ax-bg);
    color: var(--ax-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ax-teal-dark);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--ax-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ax-amber);
}

.ax-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.ax-topbar {
    background-color: var(--ax-teal-dark);
    color: #99f6e4;
    font-size: 13px;
    padding: 6px 0;
}

.ax-topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ax-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--ax-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ax-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.ax-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ax-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--ax-teal) 0%, var(--ax-amber-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.ax-logo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ax-teal-dark);
    letter-spacing: -0.5px;
}

.ax-logo-subtitle {
    font-size: 11px;
    color: var(--ax-amber);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    display: block;
}

.ax-nav-menu {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}

.ax-nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--ax-text);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.ax-nav-link:hover, .ax-nav-link.active {
    color: var(--ax-teal);
    background-color: #e6fffa;
}

.ax-nav-cta {
    background: linear-gradient(135deg, var(--ax-teal) 0%, var(--ax-amber) 100%);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

/* Hero */
.ax-hero {
    background: linear-gradient(180deg, #ccfbf1 0%, var(--ax-bg) 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid var(--ax-border);
}

.ax-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.ax-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid var(--ax-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--ax-teal);
    font-weight: 600;
    margin-bottom: 18px;
}

.ax-hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.ax-hero-lead {
    font-size: 18px;
    color: var(--ax-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.ax-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ax-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ax-btn-primary {
    background-color: var(--ax-teal);
    color: #ffffff;
}

.ax-btn-primary:hover {
    background-color: var(--ax-teal-light);
    color: #ffffff;
}

.ax-btn-secondary {
    background-color: #ffffff;
    color: var(--ax-teal);
    border: 1px solid var(--ax-border);
}

.ax-btn-secondary:hover {
    background-color: #f1f5f9;
}

.ax-hero-card {
    background-color: #ffffff;
    border-radius: var(--ax-radius);
    padding: 28px;
    border: 1px solid var(--ax-border);
    box-shadow: var(--ax-shadow);
}

.ax-hero-card h3 {
    font-size: 19px;
    margin-bottom: 14px;
    color: var(--ax-teal);
}

.ax-hero-card p {
    font-size: 14px;
    color: var(--ax-muted);
    margin-bottom: 16px;
}

/* Dosimeter Component */
.ax-dosi-box {
    background: #ffffff;
    border-radius: var(--ax-radius);
    border: 1px solid var(--ax-border);
    padding: 32px;
    box-shadow: var(--ax-shadow);
    margin: 40px 0;
}

.ax-dosi-header {
    text-align: center;
    margin-bottom: 24px;
}

.ax-dosi-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.ax-dosi-header p {
    color: var(--ax-muted);
    font-size: 15px;
}

.ax-slider-control {
    margin-bottom: 24px;
    text-align: center;
}

.ax-slider {
    width: 100%;
    max-width: 500px;
    accent-color: var(--ax-teal);
    height: 8px;
}

.ax-db-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--ax-teal-dark);
    margin-top: 8px;
}

.ax-dosi-result {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.ax-dosi-result-title {
    font-size: 18px;
    font-weight: 700;
    color: #115e59;
    margin-bottom: 8px;
}

.ax-dosi-result-text {
    font-size: 15px;
    color: #134e4a;
    line-height: 1.6;
}

/* Grid & Cards */
.ax-section {
    padding: 50px 0;
}

.ax-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.ax-section-header h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.ax-section-header p {
    color: var(--ax-muted);
    font-size: 16px;
}

.ax-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ax-card {
    background-color: #ffffff;
    border-radius: var(--ax-radius);
    overflow: hidden;
    border: 1px solid var(--ax-border);
    box-shadow: 0 2px 12px rgba(15, 118, 110, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ax-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

.ax-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ax-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #ccfbf1;
    color: var(--ax-teal-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ax-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ax-card p {
    font-size: 14px;
    color: var(--ax-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.ax-card-footer {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ax-muted);
}

/* Article Detail */
.ax-article-wrap {
    padding: 45px 0 60px;
}

.ax-article-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}

.ax-article-body {
    background-color: #ffffff;
    border-radius: var(--ax-radius);
    padding: 40px;
    border: 1px solid var(--ax-border);
    box-shadow: 0 2px 14px rgba(15, 118, 110, 0.03);
}

.ax-article-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: var(--ax-muted);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ax-border);
    padding-bottom: 14px;
}

.ax-article-body h1 {
    font-size: 32px;
    margin-bottom: 24px;
}

.ax-article-body h2 {
    font-size: 22px;
    margin: 32px 0 16px;
    color: var(--ax-teal);
    border-left: 4px solid var(--ax-amber-light);
    padding-left: 12px;
}

.ax-article-body p {
    margin-bottom: 18px;
    color: #334155;
    line-height: 1.8;
}

.ax-article-body ul, .ax-article-body ol {
    margin: 18px 0 22px 24px;
    color: #334155;
}

.ax-article-body li {
    margin-bottom: 10px;
}

.ax-callout {
    background: #fefce8;
    border-left: 4px solid var(--ax-amber-light);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
    color: #854d0e;
    font-size: 15px;
}

/* Sidebar */
.ax-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ax-widget {
    background-color: #ffffff;
    border-radius: var(--ax-radius);
    padding: 24px;
    border: 1px solid var(--ax-border);
}

.ax-widget h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--ax-teal);
    border-bottom: 2px solid var(--ax-border);
    padding-bottom: 8px;
}

.ax-data-list {
    list-style: none;
}

.ax-data-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--ax-border);
    font-size: 14px;
}

.ax-data-list li:last-child {
    border-bottom: none;
}

.ax-data-list span {
    color: var(--ax-muted);
}

.ax-data-list strong {
    color: var(--ax-teal-dark);
}

.ax-sidebar-links {
    list-style: none;
}

.ax-sidebar-links li {
    padding: 8px 0;
    border-bottom: 1px solid #f0fdfa;
}

.ax-sidebar-links a {
    color: var(--ax-teal);
    font-size: 14px;
    font-weight: 500;
}

.ax-sidebar-links a:hover {
    color: var(--ax-amber);
}

/* Footer */
.ax-footer {
    background-color: #042f2e;
    color: #ccfbf1;
    padding: 55px 0 25px;
    margin-top: 60px;
    border-top: 4px solid var(--ax-amber-light);
}

.ax-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.ax-footer h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 16px;
}

.ax-footer p {
    font-size: 14px;
    color: #99f6e4;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ax-footer-links {
    list-style: none;
}

.ax-footer-links li {
    margin-bottom: 10px;
}

.ax-footer-links a {
    color: #99f6e4;
    font-size: 14px;
}

.ax-footer-links a:hover {
    color: #fef3c7;
}

.ax-footer-entity {
    background-color: #115e59;
    border: 1px solid #14b8a6;
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: #ffffff;
}

.ax-footer-entity strong {
    color: #fef3c7;
    display: block;
    margin-bottom: 6px;
}

.ax-footer-bottom {
    border-top: 1px solid #134e4a;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #5eead4;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 992px) {
    .ax-hero-grid, .ax-article-grid {
        grid-template-columns: 1fr;
    }
    .ax-grid-3, .ax-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ax-grid-3, .ax-footer-grid {
        grid-template-columns: 1fr;
    }
    .ax-nav-menu {
        display: none;
    }
}