/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6600;
    --primary-dark: #E55A00;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #f5f5f5;
    --text: #333;
    --grey: #666;
    --border: #e0e0e0;
    --accent-blue: #0066ff;
    --danger: #dc3545;
    --success: #28a745;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

/* ============= NAVIGATION ============= */
nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 60px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--grey);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-dark);
}

/* ============= BUTTONS ============= */
.btn, button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small {
    padding: 6px 14px;
    font-size: 13px;
}

/* ============= FORMS ============= */
input, select, textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.form-group {
    margin-bottom: 16px;
}

/* ============= HERO ============= */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--primary);
    background: none !important;
}

.hero p {
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============= CONTAINER ============= */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= SECTIONS ============= */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

/* ============= HEADINGS ============= */
h2 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin-top: 20px; margin-bottom: 15px; }
h4 { color: var(--dark); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
p  { margin-bottom: 15px; line-height: 1.8; color: var(--text); }
ul, ol { margin-bottom: 20px; margin-left: 30px; }
li { margin-bottom: 10px; line-height: 1.8; }

/* ============= FEATURES GRID ============= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

.feature-item h4 {
    color: var(--primary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    color: var(--grey);
    font-size: 14px;
}

.feature-box {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

.feature-box h3 { margin-top: 0; color: var(--dark); }
.feature-box p  { margin-bottom: 0; font-size: 14px; color: var(--grey); }

/* ============= CARDS ============= */
.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.card h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

/* ============= STATS ROW ============= */
.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--grey);
    margin-top: 4px;
}

/* ============= BADGE ============= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-safe     { background: #d4edda; color: #155724; }
.badge-low      { background: #d1ecf1; color: #0c5460; }
.badge-medium   { background: #fff3cd; color: #856404; }
.badge-high     { background: #f8d7da; color: #721c24; }
.badge-critical { background: #721c24; color: #fff; }
.badge-unknown  { background: #e2e3e5; color: #383d41; }
.badge-pending  { background: #fff3cd; color: #856404; }

/* ============= TABLES ============= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

tr:hover {
    background: #fafafa;
}

/* ============= DASHBOARD TABS ============= */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--grey);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-button:hover {
    color: var(--text);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============= EMPTY STATE ============= */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--grey);
}

/* ============= FOOTER ============= */
footer {
    background: var(--dark);
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
    .stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .nav-container { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}

