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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Nav ── */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 24px;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}
.nav-brand {
    font-size: 18px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.03em;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: #2563eb; }
.nav-btn {
    background: #2563eb !important;
    color: white !important;
    padding: 7px 18px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}
.nav-btn:hover { background: #1d4ed8 !important; }

/* ── Shared ── */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 120px 24px 80px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: center;
}
.hero-text { flex: 1; color: white; }
.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    text-align: left;
}
.tagline {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}
.hero-buttons { display: flex; gap: 12px; margin-bottom: 16px; }
.hero-buttons .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: white;
    color: #2563eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    width: auto;
    border: none;
}
.hero-buttons .btn-primary:hover { background: #f0f4ff; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-ghost {
    display: inline-block;
    padding: 14px 28px;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-note { font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-visual { flex: 1; max-width: 480px; }

/* ── Mockup Window ── */
.mockup-dashboard, .preview-window {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.mock-header {
    background: #334155;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #eab308; }
.mock-dot.green { background: #22c55e; }
.mock-title { color: rgba(255,255,255,0.6); font-size: 12px; margin-left: 8px; }
.mock-body { padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mock-stat {
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}
.mock-stat.blue { background: rgba(37,99,235,0.15); border-left: 3px solid #2563eb; }
.mock-stat.green { background: rgba(34,197,94,0.15); border-left: 3px solid #22c55e; }
.mock-stat.orange { background: rgba(249,115,22,0.15); border-left: 3px solid #f97316; }
.mock-stat.red { background: rgba(239,68,68,0.15); border-left: 3px solid #ef4444; }
.mock-stat-num { display: block; font-size: 16px; font-weight: 800; color: white; }
.mock-stat-label { font-size: 9px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.mock-charts { display: flex; gap: 12px; }
.mock-chart {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}
.mock-bar-group { display: flex; gap: 6px; align-items: flex-end; height: 60px; justify-content: center; margin-bottom: 6px; }
.mock-bar { width: 16px; background: #2563eb; border-radius: 3px 3px 0 0; }
.mock-chart-label { font-size: 10px; color: rgba(255,255,255,0.4); }
.mock-donut { width: 56px; height: 56px; margin: 0 auto 6px; position: relative; }
.mock-donut-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #2563eb;
    border-top-color: #22c55e;
    border-right-color: #f97316;
}

/* ── Features ── */
.features-section { padding: 80px 24px; background: #f9fafb; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 28px 22px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* ── Preview ── */
.preview-section { padding: 80px 24px; }
.preview-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.preview-tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}
.preview-tab.active { background: #2563eb; color: white; border-color: #2563eb; }
.preview-window { max-width: 900px; margin: 0 auto; }
.preview-content { display: none; padding: 16px; }
.preview-content.active { display: block; }
.mock-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.mock-search-bar {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    flex: 1;
}
.mock-toolbar-btns { display: flex; gap: 6px; }
.mock-pill {
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 600;
}
.mock-pill.accent { background: #2563eb; color: white; }
.mock-pill.small { padding: 3px 10px; font-size: 11px; }
.mock-filter-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; flex-wrap: wrap; }
.mock-filter {
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.mock-chip {
    padding: 4px 10px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 11px;
    font-weight: 600;
}
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-table td {
    padding: 8px 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
}
.status-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.status-badge.available { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-badge.disposed { background: rgba(239,68,68,0.15); color: #ef4444; }
.status-badge.checked { background: rgba(249,115,22,0.15); color: #f97316; }
.mock-pagination { text-align: center; color: rgba(255,255,255,0.3); font-size: 12px; padding: 10px 0 4px; }
.mock-report-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mock-report-tile {
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mock-report-tile strong { font-size: 12px; color: rgba(255,255,255,0.7); }
.mock-report-tile span { font-size: 11px; color: rgba(255,255,255,0.4); }
.mock-timeline { display: flex; flex-direction: column; gap: 4px; }
.mock-date-header {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    padding: 8px 0 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-entry {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.entry-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.mock-entry div { flex: 1; }
.mock-entry strong { display: block; font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 600; }
.entry-meta { display: block; font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.entry-time { font-size: 12px; color: rgba(255,255,255,0.3); flex-shrink: 0; }

/* ── How It Works ── */
.how-section { padding: 80px 24px; background: #f9fafb; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.step {
    text-align: center;
    max-width: 240px;
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: #6b7280; line-height: 1.6; }
.step-arrow { font-size: 28px; color: #d1d5db; margin-top: 10px; }

/* ── Pricing ── */
.pricing-section { padding: 80px 24px; }
.pricing-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pricing-card {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px 24px;
    flex: 1;
    min-width: 190px;
    max-width: 220px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: #2563eb; box-shadow: 0 8px 32px rgba(37,99,235,0.15); }
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price { font-size: 40px; font-weight: 800; color: #111827; margin-bottom: 20px; }
.price span { font-size: 16px; font-weight: 500; color: #6b7280; }
.pricing-card ul { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-card li {
    padding: 6px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}
.pricing-card li::before { content: "✓ "; color: #22c55e; font-weight: 700; }
.pricing-card .btn-primary {
    display: block;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.pricing-card .btn-primary:hover { background: #1d4ed8; }

/* ── CTA ── */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    text-align: center;
}
.cta-section h2 { color: white; font-size: 30px; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }
.cta-section .btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: #2563eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
}
.cta-section .btn-primary:hover { background: #f0f4ff; }

/* ── Landing Container (signup page) ── */
.landing-container {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    background: #f9fafb;
}
.landing-container .landing-card {
    max-width: 420px;
    width: 100%;
}

/* ── Login ── */
.login-section {
    padding: 80px 24px;
    background: #f9fafb;
}
.login-section .landing-card {
    max-width: 420px;
    margin: 0 auto;
}
.landing-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.landing-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}
.subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 500;
}
.form-container.active { display: block; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f9fafb;
    color: #111827;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: white;
}
.btn-primary {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-secondary {
    width: 100%;
    padding: 13px;
    background: white;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}
.btn-secondary:hover { background: #eff6ff; }
.message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
}
.message.show { display: block; }
.message.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.message.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 24px 10px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
    background: #111827;
}
.site-footer a { color: #d1d5db; text-decoration: underline; }
.site-footer a:hover { color: white; }

/* ── Contact Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-dialog {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 440px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: left;
}
.modal-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    width: auto;
    padding: 12px 24px;
}
.modal-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.modal-success.active {
    display: block;
}
.modal-success-icon {
    font-size: 48px;
    margin-bottom: 12px;
    color: #22c55e;
}
.modal-success h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.modal-success p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}
.modal-success .btn-primary {
    width: auto;
    display: inline-block;
    padding: 10px 24px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .mock-report-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .top-nav { padding: 0 16px; }
    .nav-links a:not(.nav-btn) { display: none; }
    .hero { padding: 90px 20px 60px; }
    .hero-inner { flex-direction: column; gap: 32px; }
    .hero-text h1 { font-size: 30px; text-align: center; }
    .tagline { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-note { text-align: center; }
    .hero-visual { max-width: 100%; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }
    .pricing-cards { flex-direction: column; align-items: center; }
    .preview-tabs { flex-wrap: wrap; }
    .mock-toolbar { flex-direction: column; }
    .mock-toolbar-btns { flex-wrap: wrap; }
    .mock-filter-row { flex-wrap: wrap; }
    .mock-table { font-size: 11px; }
    .mock-table th, .mock-table td { padding: 6px 4px; }
    h2 { font-size: 26px; }
}
