/* website/assets/css/style.css - Ledger Editorial Design System & Live Workflow Demo */

:root {
    /* Color Palette */
    --bg-paper: #FAF7F0;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #F3EFE6;
    --border-paper: #EFEAE1;
    --border-subtle: #E2DBD0;
    
    --accent-forest: #2D5A27;
    --accent-forest-hover: #23481F;
    --accent-forest-light: #EBF3EA;
    
    --accent-rust: #C05C3B;
    --accent-rust-hover: #A64B2E;
    --accent-rust-light: #FBF0EB;

    --text-primary: #2C2C2C;
    --text-secondary: #5A554C;
    --text-muted: #8C8578;
    
    --status-success: #2D5A27;
    --status-error: #C05C3B;

    /* Typography */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(44, 44, 44, 0.04);
    --shadow-md: 0 8px 24px rgba(44, 44, 44, 0.08);
    --shadow-lg: 0 16px 36px rgba(44, 44, 44, 0.12);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   DARK OPERATIONS MODE (Phase 4, Item 10 - WCAG AA Contrast Tuned)
   ------------------------------------------------------------- */
[data-theme="dark"] {
    --bg-paper: #181920;
    --bg-card: #22232B;
    --bg-card-subtle: #2A2B34;
    --border-paper: #33343E;
    --border-subtle: #3E3F4B;

    /* Brightened Accents for 5.5:1+ Contrast on Dark Surfaces */
    --accent-forest: #5CB854;
    --accent-forest-hover: #6EC766;
    --accent-forest-light: #1B381A;

    --accent-rust: #E67E58;
    --accent-rust-hover: #F08E6A;
    --accent-rust-light: #3D221A;

    --text-primary: #F2F0EA;
    --text-secondary: #B8B4AA;
    --text-muted: #8C8578;

    --status-success: #5CB854;
    --status-error: #E67E58;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.65);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-paper);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 600;
}

a {
    color: var(--accent-forest);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-rust);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-container {
    flex: 1;
}

.section {
    padding: 5rem 0;
}

.section-highlight {
    background-color: var(--bg-card-subtle);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.text-center { text-align: center; }
.text-forest { color: var(--accent-forest) !important; }
.text-rust { color: var(--accent-rust) !important; }
.mb-4 { margin-bottom: 1.5rem; }

/* Badges & Pills */
.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    background-color: var(--accent-forest-light);
    color: var(--accent-forest);
    margin-bottom: 1rem;
}

.badge-accent {
    background-color: var(--accent-rust-light);
    color: var(--accent-rust);
}

/* -------------------------------------------------------------
   FLOATING ACTION BUTTON THEME TOGGLE (Phase 4, Item 10)
   ------------------------------------------------------------- */
.theme-toggle-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.theme-toggle-fab:hover {
    transform: scale(1.08);
    border-color: var(--accent-forest);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .theme-toggle-fab:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.theme-toggle-fab .sun-icon, .theme-toggle-fab .moon-icon {
    width: 20px;
    height: 20px;
}

[data-theme="dark"] .sun-icon {
    display: block;
}
[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon, :root:not([data-theme="dark"]) .sun-icon {
    display: none;
}
[data-theme="light"] .moon-icon, :root:not([data-theme="dark"]) .moon-icon {
    display: block;
}

/* -------------------------------------------------------------
   ANNOUNCEMENT BAR (Phase 1, Item 1)
   ------------------------------------------------------------- */
.announcement-bar {
    background-color: var(--accent-forest-light);
    color: var(--accent-forest);
    border-bottom: 1px solid rgba(45, 90, 39, 0.15);
    padding: 0.55rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 101;
}

.announcement-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 auto;
}

.announcement-icon {
    stroke: var(--accent-forest);
    flex-shrink: 0;
}

.announcement-text {
    color: var(--text-primary);
}

.announcement-link {
    color: var(--accent-forest);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.announcement-link:hover {
    color: var(--accent-rust);
}

.announcement-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.announcement-close:hover {
    color: var(--accent-rust);
    background-color: rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------
   LIVE SYSTEM STATUS BADGE (FOOTER ONLY - Phase 1, Item 2)
   ------------------------------------------------------------- */
.brand-group {
    display: flex;
    align-items: center;
}

.footer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background-color: var(--accent-forest-light);
    border: 1px solid rgba(45, 90, 39, 0.18);
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--accent-forest);
    margin-top: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-forest);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background-color: var(--accent-forest);
    opacity: 0.4;
    animation: statusPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* -------------------------------------------------------------
   FAQ ACCORDION (Phase 2, Item 3)
   ------------------------------------------------------------- */
.faq-accordion-card {
    padding: 1.5rem;
}

.faq-card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-sm);
    background-color: var(--bg-paper);
    overflow: hidden;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item.active {
    border-color: var(--accent-forest);
    background-color: var(--bg-card);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--accent-forest);
}

.faq-icon {
    stroke: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    stroke: var(--accent-forest);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1rem 0.85rem 1rem;
}

.faq-answer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* -------------------------------------------------------------
   COMPARISON MATRIX SECTION (Phase 2, Item 4)
   ------------------------------------------------------------- */
.section-comparison {
    background-color: var(--bg-paper);
    padding: 5rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-paper);
    padding: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    text-align: center;
}

.comparison-table thead th {
    position: sticky;
    top: 72px; /* Set offset to sit cleanly below the 72px sticky header */
    z-index: 10;
    background-color: var(--bg-card);
    padding: 1.25rem 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-subtle);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.feature-col-head {
    text-align: left !important;
    padding-left: 1.75rem !important;
    width: 40%;
}

.brand-col-head {
    width: 15%;
}

.brand-col-head.highlight-col {
    background-color: var(--accent-forest-light) !important;
    color: var(--accent-forest);
    border-bottom-color: var(--accent-forest) !important;
}

.brand-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--accent-forest);
    color: #FFFFFF;
    font-size: 0.95rem;
}

[data-theme="dark"] .brand-badge {
    color: #181920;
    font-weight: 700;
}

.comparison-table tbody td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border-paper);
    vertical-align: middle;
}

.feature-name {
    text-align: left;
    padding-left: 1.75rem !important;
}

.feature-name strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.feature-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.highlight-cell {
    background-color: var(--accent-forest-light);
}

.check-icon {
    stroke: var(--accent-forest);
}

.muted-check {
    stroke: var(--text-muted);
}

.cross-icon {
    stroke: var(--accent-rust);
    opacity: 0.6;
}

/* -------------------------------------------------------------
   ROLE FILTER COMPONENT (Phase 3, Item 5)
   ------------------------------------------------------------- */
.role-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.role-filter-badge {
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-paper);
    color: var(--text-secondary);
    padding: 0.45rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.role-filter-badge:hover {
    border-color: var(--accent-forest);
    color: var(--accent-forest);
}

.role-filter-badge.active {
    background-color: var(--accent-forest);
    color: #FFFFFF;
    border-color: var(--accent-forest);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .role-filter-badge.active {
    color: #181920;
}

.role-row {
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.role-row.highlighted {
    background-color: var(--accent-forest-light) !important;
}

.role-row.dimmed {
    opacity: 0.35;
}

.gov-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}
.gov-full { background: #1E293B; color: #FFFFFF; }
.gov-high { background: #3730A3; color: #FFFFFF; }
.gov-medium { background: var(--accent-rust-light); color: var(--accent-rust); }
.gov-standard { background: var(--accent-forest-light); color: var(--accent-forest); }
.gov-restricted { background: #FEF3C7; color: #92400E; }

[data-theme="dark"] .gov-full { background: #2D3748; color: #F7FAFC; }
[data-theme="dark"] .gov-high { background: #4338CA; color: #EEF2FF; }
[data-theme="dark"] .gov-restricted { background: #78350F; color: #FEF3C7; }

/* -------------------------------------------------------------
   VERTICAL TIMELINE COMPONENT (Phase 3, Item 6 - changelog.php)
   ------------------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background-color: var(--border-subtle);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-paper);
    border: 3px solid var(--accent-forest);
    box-shadow: 0 0 0 4px var(--bg-paper);
    transition: var(--transition);
}

.timeline-item:first-child .timeline-dot {
    background-color: var(--accent-forest);
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.version-title {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.version-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.tag-feature {
    background-color: var(--accent-forest-light);
    color: var(--accent-forest);
}

.tag-fix {
    background-color: var(--accent-rust-light);
    color: var(--accent-rust);
}

.tag-security {
    background-color: #E2E8F0;
    color: #1E293B;
}

[data-theme="dark"] .tag-security {
    background-color: #334155;
    color: #F1F5F9;
}

/* -------------------------------------------------------------
   HELP CENTER COMPONENT (Phase 4, Item 7 - help.php)
   ------------------------------------------------------------- */
.help-search-box {
    position: relative;
    max-width: 580px;
    margin: 1.5rem auto 0 auto;
}

.help-search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.help-search-input:focus {
    outline: none;
    border-color: var(--accent-forest);
    box-shadow: var(--shadow-md);
}

.search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    stroke: var(--text-muted);
}

.help-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
}

.help-cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.cat-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.6rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.cat-btn:hover {
    background-color: var(--bg-paper);
    color: var(--accent-forest);
}

.cat-btn.active {
    background-color: var(--accent-forest-light);
    color: var(--accent-forest);
    font-weight: 700;
}

.help-content-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.help-article-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.article-title {
    font-size: 1.4rem;
    margin: 0.5rem 0 0.75rem 0;
}

.article-snippet {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-body {
    background-color: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.help-steps {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.help-steps li {
    margin-bottom: 0.4rem;
}

/* -------------------------------------------------------------
   INTERACTIVE ROI CALCULATOR (Phase 4, Item 8 - index.php)
   ------------------------------------------------------------- */
.roi-card {
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-lg);
}

.roi-slider-group {
    margin-bottom: 2.5rem;
}

.slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.slider-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.team-size-display {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-forest);
    background-color: var(--accent-forest-light);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-sm);
}

.roi-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-subtle);
    outline: none;
    accent-color: var(--accent-forest);
    cursor: pointer;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.roi-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.roi-metric-box {
    background-color: var(--bg-paper);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.roi-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 8px;
    margin: 0 auto 0.75rem auto;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.metric-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-paper);
    border-bottom: 1px solid var(--border-paper);
    padding: 1.1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: var(--accent-forest);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
}

[data-theme="dark"] .logo-icon {
    color: #181920;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-forest);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-forest);
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-forest);
    color: #FFFFFF;
}

[data-theme="dark"] .btn-primary {
    color: #181920;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-forest-hover);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background-color: var(--bg-card-subtle);
    color: var(--accent-forest);
    border-color: var(--accent-forest);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-forest);
    border-color: var(--accent-forest);
}

.btn-outline:hover {
    background-color: var(--accent-forest-light);
}

.btn-lg {
    padding: 0.85rem 1.8rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 5rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-sub {
    padding: 4.5rem 0 2rem 0;
    text-align: center;
    background-color: var(--bg-paper);
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* Preview Card Stack */
.hero-preview {
    position: relative;
}

.card-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.preview-header {
    background: var(--border-paper);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-subtle);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background-color: #E76F51; }
.dot.yellow { background-color: #F4A261; }
.dot.green { background-color: #2A9D8F; }

.preview-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: auto;
}

.preview-body {
    padding: 1.5rem;
}

.mock-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mock-stat {
    background: var(--bg-paper);
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-paper);
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.mock-task-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mock-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-paper);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-forest);
    font-size: 0.875rem;
}

.mock-task-item.active-item {
    border-left-color: var(--accent-rust);
    background: var(--accent-rust-light);
}

.mock-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-escalated { background: var(--accent-rust-light); color: var(--accent-rust); }
.status-in-progress { background: var(--accent-forest-light); color: var(--accent-forest); }
.status-done { background: var(--bg-card-subtle); color: var(--accent-forest); }

/* -------------------------------------------------------------
   TRUST WHEEL SECTION (.section-trust)
   ------------------------------------------------------------- */
.section-trust {
    padding: 5rem 0;
    background-color: var(--bg-paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3.5rem;
    align-items: center;
}

.trust-heading {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.trust-card {
    background-color: var(--accent-forest-light);
    border: 2px solid var(--accent-forest);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--accent-forest);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.4s ease;
}

[data-theme="dark"] .trust-icon-box {
    color: #181920;
}

.trust-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-card-divider {
    height: 1px;
    background-color: var(--border-subtle);
    margin: 1rem 0 1.25rem 0;
}

.trust-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3.2rem;
    transition: opacity 0.3s ease;
}

.trust-card-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-forest);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.4s ease;
}

.trust-card-link:hover {
    opacity: 0.85;
}

/* Pagination Dots */
.trust-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.pag-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-subtle);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pag-dot.active {
    width: 28px;
    border-radius: var(--radius-full);
    background-color: var(--accent-forest);
}

/* Right Column: Rotating Wheel Diagram */
.trust-wheel-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-container {
    position: relative;
    width: 440px;
    height: 440px;
    margin: 0 auto;
}

.wheel-svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-dashed-circle {
    stroke: var(--border-subtle);
    stroke-dasharray: 6 6;
    stroke-width: 1.5;
    fill: none;
}

.wheel-dashed-circle-inner {
    stroke: var(--border-subtle);
    stroke-dasharray: 4 4;
    stroke-width: 1;
    fill: none;
}

.wheel-spoke {
    stroke: var(--border-subtle);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    transition: stroke 0.4s ease, stroke-width 0.4s ease, stroke-dasharray 0.4s ease;
}

.wheel-spoke.active {
    stroke-width: 3.5;
    stroke-dasharray: none;
}

.wheel-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
}

.center-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.center-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.wheel-nodes-wrapper {
    position: absolute;
    inset: 0;
}

.wheel-node-item {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 15;
    transition: transform 0.3s ease;
}

.node-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin-top: -32px;
    margin-left: -32px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.wheel-node-item.active .node-btn {
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: scale(1.18);
}

[data-theme="dark"] .wheel-node-item.active .node-btn {
    color: #181920;
}

.wheel-node-item.active .node-label {
    font-weight: 700;
    color: var(--text-primary);
}

.wheel-node-item.active .node-glow {
    opacity: 0.35;
    transform: scale(1.35);
}

/* Features Grid */
.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-paper);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-subtle);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-forest { background: var(--accent-forest-light); color: var(--accent-forest); }
.icon-rust { background: var(--accent-rust-light); color: var(--accent-rust); }

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Feature Details Page Layout */
.feature-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-paper);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.detail-grid.reverse {
    grid-template-columns: 1fr;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.paragraph {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.detail-bullets {
    list-style: none;
    margin-top: 1rem;
}

.detail-bullets li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.detail-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-forest);
    font-weight: bold;
}

.card-box {
    background: var(--bg-paper);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.rust-border-box {
    border-left: 4px solid var(--accent-rust);
}

/* Table Styling */
.roles-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.custom-table th, .custom-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-paper);
}

.custom-table th {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background: var(--bg-paper);
}

.badge-admin { background: #E2E8F0; color: #1E293B; }
.badge-manager { background: #E0E7FF; color: #3730A3; }
.badge-lead { background: var(--accent-rust-light); color: var(--accent-rust); }
.badge-member { background: var(--accent-forest-light); color: var(--accent-forest); }
.badge-guest { background: #FEF3C7; color: #92400E; }

/* Gallery / Screenshots Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-paper);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-forest);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    background: var(--bg-card-subtle);
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .image-wrapper img {
    transform: scale(1.03);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 90, 39, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.zoom-icon {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
}

.card-caption {
    padding: 1.25rem;
}

.card-caption h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.card-caption p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

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

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 1001;
    max-width: 90vw;
    max-height: 85vh;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    padding: 1rem 1.5rem;
    background: var(--bg-paper);
    font-size: 0.95rem;
    color: var(--text-primary);
    border-top: 1px solid var(--border-paper);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-primary);
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1002;
}

/* Contact Page Form */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-paper);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.required {
    color: var(--accent-rust);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-forest);
    box-shadow: 0 0 0 3px var(--accent-forest-light);
}

.error-text {
    display: block;
    font-size: 0.8rem;
    color: var(--status-error);
    margin-top: 0.35rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: var(--accent-forest-light);
    color: var(--accent-forest);
    border: 1px solid rgba(45, 90, 39, 0.2);
}

.alert-error {
    background-color: var(--accent-rust-light);
    color: var(--accent-rust);
    border: 1px solid rgba(192, 92, 59, 0.2);
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-paper);
}

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-link {
    font-weight: 600;
    font-size: 0.95rem;
}

.highlight-card {
    background: var(--accent-forest-light);
    border-color: rgba(45, 90, 39, 0.2);
}

/* About Page Founder Profile */
.profile-card-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-paper);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-forest-light);
    color: var(--accent-forest);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-forest);
}

.profile-name { font-size: 1.6rem; }
.profile-role {
    font-size: 0.9rem;
    color: var(--accent-rust);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}
.profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.profile-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* 404 Error Page */
.error-section {
    padding: 8rem 0;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* CTA Box */
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-sm);
}

.cta-title {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.site-footer {
    background: var(--bg-card-subtle);
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 320px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-forest);
}

.footer-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-email {
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-paper);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .wheel-container {
        width: 360px;
        height: 360px;
    }

    .wheel-node-item[data-index="0"] { top: 32px !important; left: 180px !important; }
    .wheel-node-item[data-index="1"] { top: 106px !important; left: 308px !important; }
    .wheel-node-item[data-index="2"] { top: 254px !important; left: 308px !important; }
    .wheel-node-item[data-index="3"] { top: 328px !important; left: 180px !important; }
    .wheel-node-item[data-index="4"] { top: 254px !important; left: 52px !important; }
    .wheel-node-item[data-index="5"] { top: 106px !important; left: 52px !important; }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-paper);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        display: none;
        box-shadow: var(--shadow-md);
    }

    .site-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .comparison-table thead th {
        top: 66px;
        font-size: 0.95rem;
        padding: 0.85rem 0.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .roi-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .announcement-text {
        font-size: 0.8rem;
    }

    .theme-toggle-fab {
        bottom: 16px;
        left: 16px;
        width: 42px;
        height: 42px;
    }

    .theme-toggle-fab .sun-icon, .theme-toggle-fab .moon-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .wheel-container {
        width: 300px;
        height: 300px;
    }

    .node-btn {
        width: 40px;
        height: 40px;
    }

    .node-label {
        font-size: 0.65rem;
    }

    .wheel-node-item[data-index="0"] { top: 26px !important; left: 150px !important; }
    .wheel-node-item[data-index="1"] { top: 88px !important; left: 257px !important; }
    .wheel-node-item[data-index="2"] { top: 212px !important; left: 257px !important; }
    .wheel-node-item[data-index="3"] { top: 328px !important; left: 150px !important; }
    .wheel-node-item[data-index="4"] { top: 212px !important; left: 43px !important; }
    .wheel-node-item[data-index="5"] { top: 88px !important; left: 43px !important; }
}
