/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1a1a2e; line-height: 1.6; background: #fff; }
a { color: #1a5276; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 100; }
header nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 1.3rem; font-weight: 700; color: #1a1a2e; }
.logo span { color: #1a5276; }
.logo:hover { text-decoration: none; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #444; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #1a5276; text-decoration: none; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after { display: block; background: #333; height: 2px; width: 24px; position: relative; transition: 0.3s; }
.nav-toggle-label span::before,
.nav-toggle-label span::after { content: ''; position: absolute; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

/* Buttons */
.btn { display: inline-block; background: #1a5276; color: #fff; padding: 10px 24px; border-radius: 6px; font-size: 0.95rem; font-weight: 600; border: 2px solid #1a5276; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn:hover { background: #13405d; border-color: #13405d; text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: #1a5276; }
.btn-outline:hover { background: #1a5276; color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; max-width: 720px; margin: 0 auto 20px; color: #1a1a2e; }
.hero-sub { font-size: 1.1rem; color: #555; max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.email-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.email-form input { flex: 1; padding: 12px 16px; border: 1px solid #ccc; border-radius: 6px; font-size: 0.95rem; }
.email-form input:focus { outline: none; border-color: #1a5276; }
.hint { font-size: 0.82rem; color: #888; margin-top: 10px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #f7f9fb; }
.section h2 { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: #555; max-width: 600px; margin: 0 auto 40px; font-size: 1.05rem; }

/* Problem cards */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 32px 24px; text-align: center; }
.problem-number { font-size: 2rem; font-weight: 800; color: #1a5276; margin-bottom: 8px; }
.problem-card p { color: #555; font-size: 0.95rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.feature-card { background: #f7f9fb; border: 1px solid #e8ecf0; border-radius: 8px; padding: 32px 24px; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #1a1a2e; }
.feature-card p { color: #555; font-size: 0.92rem; line-height: 1.6; }

/* Compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 700px; margin: 0 auto; }
.compare-card { padding: 28px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; }
.compare-card h4 { margin-bottom: 14px; font-size: 1.05rem; }
.compare-card ul { list-style: none; }
.compare-card li { padding: 6px 0; color: #555; font-size: 0.93rem; border-bottom: 1px solid #f0f0f0; }
.compare-card li:last-child { border-bottom: none; }
.compare-highlight { border-color: #1a5276; background: #f0f6fa; }
.compare-highlight h4 { color: #1a5276; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pricing-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 36px 28px; text-align: center; position: relative; }
.pricing-featured { border: 2px solid #1a5276; }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #1a5276; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.price { font-size: 2.2rem; font-weight: 800; color: #1a1a2e; margin-bottom: 4px; }
.price span { font-size: 0.9rem; font-weight: 400; color: #888; }
.price-target { font-size: 0.88rem; color: #888; margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card li { padding: 8px 0; font-size: 0.9rem; color: #444; border-bottom: 1px solid #f0f0f0; }
.pricing-card li:last-child { border-bottom: none; }
.pricing-note { text-align: center; margin-top: 28px; color: #888; font-size: 0.9rem; }

/* CTA Section */
.section-cta { text-align: center; background: #1a5276; color: #fff; padding: 64px 0; }
.section-cta h2 { color: #fff; }
.section-cta p { color: #c8dae8; margin-bottom: 28px; font-size: 1.05rem; }
.section-cta .btn { background: #fff; color: #1a5276; border-color: #fff; }
.section-cta .btn:hover { background: #e8ecf0; }

/* Demo Page */
.demo-section { padding: 60px 0 80px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.demo-info h1 { font-size: 2rem; margin-bottom: 16px; }
.demo-info p { color: #555; font-size: 1.05rem; margin-bottom: 28px; }
.demo-benefits { list-style: none; }
.demo-benefits li { padding: 10px 0; color: #444; font-size: 0.95rem; border-bottom: 1px solid #f0f0f0; }
.demo-form-wrap { background: #f7f9fb; border: 1px solid #e0e0e0; border-radius: 8px; padding: 36px; }
.demo-form h2 { font-size: 1.3rem; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: #333; }
.form-group input,
.form-group select { width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 0.95rem; background: #fff; }
.form-group input:focus,
.form-group select:focus { outline: none; border-color: #1a5276; }
.form-message { margin-top: 16px; padding: 12px; border-radius: 6px; font-size: 0.9rem; text-align: center; }
.form-message.success { background: #e8f5e9; color: #2e7d32; }
.form-message.error { background: #fce4ec; color: #c62828; }

/* Dashboard */
.dashboard { padding-bottom: 60px; }
.dash-header { background: #1a5276; color: #fff; padding: 32px 0; margin-bottom: 28px; }
.dash-header h1 { font-size: 1.6rem; margin-bottom: 4px; }
.dash-subtitle { color: #a8c8dc; font-size: 0.95rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.metric-card { background: #f7f9fb; border: 1px solid #e0e0e0; border-radius: 8px; padding: 24px; text-align: center; }
.metric-value { font-size: 1.8rem; font-weight: 800; color: #1a5276; }
.metric-label { font-size: 0.85rem; color: #888; margin-top: 4px; }
.dash-section { margin-bottom: 32px; }
.dash-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.dash-section h2 { font-size: 1.2rem; text-align: left; margin-bottom: 16px; }
.dash-filters { display: flex; gap: 10px; }
.dash-filters select { padding: 6px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 0.85rem; background: #fff; }
.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.dash-table th { text-align: left; padding: 10px 12px; background: #f7f9fb; border-bottom: 2px solid #e0e0e0; color: #555; font-weight: 600; white-space: nowrap; }
.dash-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.dash-table tr:hover { background: #fafbfc; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.badge-critical { background: #fce4ec; color: #c62828; }
.badge-high { background: #fff3e0; color: #e65100; }
.badge-medium { background: #fff8e1; color: #f57f17; }
.badge-low { background: #e8f5e9; color: #2e7d32; }

/* Status */
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.status-dispatched { background: #e3f2fd; color: #1565c0; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-scheduled { background: #f3e5f5; color: #7b1fa2; }
.status-triaged { background: #fff8e1; color: #f57f17; }
.status-completed { background: #e0e0e0; color: #555; }

.dash-cta { text-align: center; margin-top: 40px; padding: 28px; background: #f7f9fb; border-radius: 8px; color: #555; }

/* Footer */
footer { border-top: 1px solid #e0e0e0; padding: 28px 0; text-align: center; color: #888; font-size: 0.85rem; }
footer p { margin: 4px 0; }

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle-label { display: block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e0e0e0; padding: 16px 20px; gap: 16px; }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .hero h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    .email-form { flex-direction: column; }
    .problem-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: 1fr; gap: 32px; }
    .dash-section-header { flex-direction: column; align-items: flex-start; }
    .dash-filters { flex-wrap: wrap; }
}
