/* ColdStore ERP — Minimalist Enterprise Theme (Apple & AntD Inspired) */
:root {
    --bg-page: #ffffff;
    --bg-section: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --border-subtle: #f3f4f6;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --brand-teal: #1a8a9e;
    --brand-teal-hover: #157384;
    --brand-teal-light: #f0fdfa;
    --brand-navy: #0e2f47;
    --brand-cyan: #06b6d4;
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 15px;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-wide {
    max-width: 1360px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid transparent;
}

.badge-green { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.badge-blue { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.badge-yellow { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.badge-teal { background: #f0fdfa; border-color: #99f6e4; color: #0f766e; }
.badge-purple { background: #faf5ff; border-color: #e9d5ff; color: #7e22ce; }
.badge-red { background: #fef2f2; border-color: #fecaca; color: #dc2626; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-teal);
    color: #ffffff;
    border: 1px solid var(--brand-teal);
}

.btn-primary:hover {
    background: var(--brand-teal-hover);
    border-color: var(--brand-teal-hover);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

/* Top Announcement Strip */
.top-announcement {
    background: var(--brand-navy);
    color: #ffffff;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-phone {
    color: #ffffff;
}

.top-phone:hover {
    color: var(--brand-cyan);
}

/* Header Navbar */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-svg {
    width: 30px;
    height: 30px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-text .by {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

.nav-item:hover {
    color: var(--brand-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding: 48px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.hero-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.category-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-teal);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-headline {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-lead {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* App Frame Mockup (Clean Apple Style) */
.app-screenshot-frame {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1040px;
    margin: 0 auto;
}

.app-frame-bar {
    background: #f3f4f6;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-dots { display: flex; gap: 6px; }
.app-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }

.app-title-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.app-status-badge {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
}

.app-ui-layout {
    display: block;
    min-height: 280px;
}

.app-view-body {
    padding: 14px 18px;
    background: #ffffff;
}

.app-panel {
    display: none;
}

.app-panel.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Real App Top Navigation Header */
.real-app-header {
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.app-brand-tag {
    font-size: 10.5px;
    font-weight: 800;
    background: #1e293b;
    padding: 2px 7px;
    border-radius: 4px;
    color: var(--brand-cyan);
    letter-spacing: 0.05em;
}

.app-top-nav {
    display: flex;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 500;
    color: #94a3b8;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.app-top-nav::-webkit-scrollbar {
    display: none;
}

.app-top-nav span {
    cursor: pointer;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.app-top-nav span:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.app-top-nav span.active {
    background: rgba(26, 138, 158, 0.3);
    color: #38bdf8;
    font-weight: 700;
}

.app-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #cbd5e1;
}

.season-pill {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Dashboard Section Cards (Ant Design Card Styling) */
.dash-section-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.dash-sec-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

/* 1. Fruit Flow Overview 6 Grid */
.overview-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.flow-card {
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 72px;
}

.flow-green { background: #e6f4ea; border: 1px solid #a7f3d0; color: #047857; }
.flow-blue { background: #e8f0fe; border: 1px solid #bfdbfe; color: #1d4ed8; }
.flow-amber { background: #fef7e0; border: 1px solid #fde68a; color: #b45309; }
.flow-purple { background: #f3e8ff; border: 1px solid #e9d5ff; color: #6b21a8; }
.flow-pink { background: #fce7f3; border: 1px solid #fbcfe8; color: #be185d; }

.flow-num { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.flow-lbl { font-size: 10px; font-weight: 600; margin-top: 4px; opacity: 0.85; }

/* 2. Business Entities & Processing Status */
.entities-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.entity-mini {
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.entity-cyan { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.entity-red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.entity-orange { background: #fff7ed; border-color: #ffedd5; color: #c2410c; }
.entity-purple { background: #faf5ff; border-color: #e9d5ff; color: #7e22ce; }
.entity-sky { background: #f0f9ff; border-color: #bae6fd; color: #0369a1; }
.entity-emerald { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }

.e-num { font-size: 18px; font-weight: 800; }
.e-lbl { font-size: 10px; font-weight: 600; opacity: 0.8; }

/* 3. Crate Management 3-Column */
.crate-mgmt-3col {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
}

.crate-col {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crate-col-purple { border-left: 4px solid #8b5cf6; }
.crate-col-blue { border-left: 4px solid #3b82f6; }
.crate-col-amber { border-left: 4px solid #f59e0b; }

.col-head { font-size: 11px; font-weight: 700; text-align: center; margin-bottom: 2px; }

.stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 8px;
    text-align: center;
}

.sb-val { font-size: 16px; font-weight: 800; }
.sb-lbl { font-size: 9.5px; color: var(--text-muted); font-weight: 500; }

.bin-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.bin-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pill-row { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.p-badge { font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 99px; }
.p-green { background: #d1fae5; color: #047857; }
.p-blue { background: #dbeafe; color: #1d4ed8; }
.p-amber { background: #fef3c7; color: #b45309; }
.p-slate { background: #e2e8f0; color: #334155; }
.bin-sub { font-size: 9px; color: var(--text-muted); margin-top: 3px; font-weight: 600; }

/* 4. Chamber Cards Grid */
.chamber-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.chamber-card-real {
    background: linear-gradient(135deg, rgba(107, 203, 119, 0.12) 0%, rgba(107, 203, 119, 0.04) 100%);
    border: 1px solid rgba(107, 203, 119, 0.3);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ch-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #1e293b; }
.ch-type { font-size: 10px; font-style: italic; color: #64748b; }
.ch-metrics { display: flex; justify-content: space-between; font-size: 9.5px; color: #475569; }
.ch-big-val { font-size: 10px; color: #64748b; margin: 2px 0; }
.ch-big-val strong { font-size: 16px; color: #16a34a; font-weight: 800; display: block; }
.ch-details { font-size: 9.5px; color: #334155; display: flex; flex-direction: column; gap: 2px; }
.btn-seal { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; font-size: 9px; font-weight: 700; border-radius: 4px; cursor: pointer; padding: 1px 4px; margin-left: 4px; }
.ch-prog-row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.ch-bar { flex: 1; height: 6px; background: #dcfce7; border-radius: 3px; overflow: hidden; }
.ch-fill { height: 100%; background: #16a34a; border-radius: 3px; }
.ch-pct { font-size: 9.5px; font-weight: 700; color: #15803d; }
.ch-mvmt { border-top: 1px dashed #bbf7d0; margin-top: 4px; padding-top: 4px; }
.mvmt-title { font-size: 9px; font-weight: 700; color: #166534; }
.mvmt-stats { display: flex; justify-content: space-between; font-size: 9px; color: #334155; margin-top: 2px; }

/* 5. Real Ant Design Table Styling */
.table-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.table-actions { display: flex; gap: 6px; align-items: center; }
.table-search-input { border: 1px solid #cbd5e1; border-radius: 4px; padding: 4px 8px; font-size: 11px; width: 220px; }
.btn-tbl-action { font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 4px; cursor: pointer; border: none; }
.btn-pdf { background: #2563eb; color: #ffffff; }
.btn-excel { background: #16a34a; color: #ffffff; }

.table-responsive-wrapper { overflow-x: auto; }
.real-antd-table { width: 100%; border-collapse: collapse; font-size: 10.5px; text-align: left; }
.real-antd-table th { background: #fafafa; color: #475569; font-weight: 700; padding: 6px 8px; border: 1px solid #f0f0f0; text-align: center; }
.real-antd-table td { padding: 6px 8px; border: 1px solid #f0f0f0; text-align: center; color: #1e293b; }
.real-antd-table td:first-child { text-align: left; }
.cell-tag { font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; display: inline-block; }
.tag-green { background: #d1fae5; color: #047857; }
.tag-pink { background: #fce7f3; color: #be185d; }
.cell-link { color: #2563eb; font-weight: 600; cursor: pointer; }

/* Form Mockup Styling (FruitReceiptForm.jsx) */
.real-form-mock {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-teal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3px;
}

.margin-top-sm { margin-top: 6px; }

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.f-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.f-group label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.f-group input {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 11.5px;
    color: var(--text-primary);
    font-weight: 600;
}

/* QCM & Invoice Summary Cards */
.qcm-summary-card {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.qcm-meta-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 11.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.q-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 12px;
}

.q-grid .lbl { color: var(--text-muted); }
.q-grid strong { color: var(--text-primary); }

.clean-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.clean-table th {
    background: #ffffff;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.clean-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.panel-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.panel-heading-row h3 {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.app-frame-footer {
    background: #f9fafb;
    padding: 10px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.link-demo { color: var(--brand-teal); font-weight: 600; }
.link-demo:hover { text-decoration: underline; }

/* Stats Bar */
.stats-bar {
    background: var(--brand-navy);
    color: #ffffff;
    padding: 32px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-cyan);
    display: block;
    line-height: 1.1;
}

.stat-desc {
    font-size: 13px;
    color: #cbd5e1;
    margin-top: 4px;
    display: block;
}

/* Capabilities Section */
.section {
    padding: 72px 0;
}

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

.section-title-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-teal);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title-center h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-title-center p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Premium Feature Cards */
.premium-feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.premium-feature-card.reverse {
    direction: rtl;
}

.premium-feature-card.reverse .pfc-content,
.premium-feature-card.reverse .pfc-graphic {
    direction: ltr;
}

.pfc-content {
    display: flex;
    flex-direction: column;
}

.pfc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-teal);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(10, 148, 163, 0.2);
}

.pfc-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.pfc-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.pfc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pfc-list li {
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.pfc-list i.icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.pfc-list i.icon-check::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pfc-graphic {
    position: relative;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfc-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.pfc-green { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.pfc-purple { background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); }

.pfc-mock-window {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.mw-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
    text-align: center;
}

.mw-body {
    padding: 24px;
}

.mw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.mw-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mw-row .lbl { color: #64748b; }
.mw-row .val { color: #0f172a; font-weight: 500; text-align: right; }
.mw-row .val.strong { font-weight: 700; color: #0f172a; }
.mw-row.mw-total { margin-top: 8px; padding-top: 16px; border-top: 2px dashed #e2e8f0; border-bottom: none; font-size: 16px; }

/* Grid 4 */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.gc-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-teal);
    display: block;
    margin-bottom: 10px;
}

.grid-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.grid-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CTA Box */
.cta-box {
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-details {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.det-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}

.det-item span { color: #94a3b8; flex-shrink: 0; }
.det-item strong { color: #ffffff; text-align: right; overflow-wrap: anywhere; word-break: break-word; }

/* Footer */
.footer {
    background: #091724;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer-container {
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.f-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.f-svg { width: 28px; height: 28px; }

.f-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.f-text {
    font-size: 13px;
    color: #64748b;
    max-width: 360px;
}

.f-col h4 {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 16px;
}

.f-col a { display: block; margin-bottom: 8px; }
.f-col a:hover { color: #ffffff; }

.footer-bottom {
    background: #040d16;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #64748b;
}

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

.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 992px) {
    .app-ui-layout { grid-template-columns: 1fr; }
    .app-sidebar { flex-direction: row; overflow-x: auto; }
    .metric-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .dashboard-row-2, .crate-flow-row, .chamber-cards-mini-grid { grid-template-columns: 1fr; }
    .form-row-3, .form-row-4 { grid-template-columns: 1fr 1fr; }
    .feature-block, .feature-block.reverse { grid-template-columns: 1fr; gap: 24px; direction: ltr; }
    .grid-4, .stats-container { grid-template-columns: repeat(2, 1fr); }
    .cta-box { grid-template-columns: 1fr; padding: 32px; }
    .footer-container { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
    .top-announcement { display: none; }
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-headline { font-size: 28px; }
    .metric-grid-6, .form-row-3, .form-row-4, .grid-4, .stats-container, .q-grid { grid-template-columns: 1fr; }
    .footer-bottom-container { flex-direction: column; gap: 8px; text-align: center; }
}
