@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables for Colors and Spacing --- */
:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;

    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-600: #4f46e5;

    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;

    --font-main: 'Inter', sans-serif;
    --container-max: 1280px;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--slate-50);
    color: var(--slate-800);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    line-height: 1.6;
}

.container-sm {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section{
    margin: 0 20px;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--slate-900);
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--slate-800);
    padding: 96px 0;
    text-align: center;
}

.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--slate-900), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge {
    background-color: rgba(30, 58, 138, 0.5);
    color: var(--blue-400);
    border: 1px solid rgba(29, 78, 216, 0.5);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    max-width: 768px;
    margin: 0 auto 16px auto;
}

.hero-text {
    color: var(--slate-400);
    max-width: 672px;
    margin: 0 auto;
}

/* --- Main Content Area --- */
.main-content {
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    gap: 96px;
}

/* --- Cards --- */
.card {
    background-color: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.icon-blue {
    background-color: var(--blue-50);
    color: var(--blue-600);
}

.icon-indigo {
    background-color: var(--indigo-50);
    color: var(--indigo-600);
}

.icon-emerald {
    background-color: var(--emerald-50);
    color: var(--emerald-600);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.card-text {
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

/* --- Section Deep Dive --- */
.section-box {
    background-color: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
}

.section-header {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.list-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.list-title i {
    color: var(--blue-500);
    margin-right: 12px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--slate-600);
    background-color: var(--slate-50);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--slate-100);
}

.feature-item i {
    margin-top: 2px;
    margin-right: 12px;
    font-size: 1.125rem;
}

.text-emerald {
    color: var(--emerald-500);
}

.text-blue {
    color: var(--blue-500);
}

/* --- Monitoring & Compliance --- */
.info-card {
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.bg-blue-light {
    background-color: var(--blue-50);
    border: 1px solid var(--blue-100);
}

.bg-indigo-light {
    background-color: var(--indigo-50);
    border: 1px solid var(--indigo-100);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.info-title i {
    margin-right: 12px;
}

.info-text {
    color: var(--slate-700);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* --- Vulnerability Section --- */
.vuln-section {
    background-color: var(--slate-900);
    color: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.glow-effect {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.2);
    filter: blur(40px);
}

.vuln-content {
    position: relative;
    z-index: 10;
    flex: 2;
}

.vuln-action {
    position: relative;
    z-index: 10;
    flex: 1;
}

.vuln-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.vuln-title i {
    color: var(--blue-400);
    margin-right: 16px;
    font-size: 1.875rem;
}

.vuln-desc {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.commit-box {
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.commit-title {
    color: var(--slate-200);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.commit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--slate-400);
}

.commit-list li {
    display: flex;
    align-items: flex-start;
}

.commit-list i {
    color: var(--emerald-400);
    margin-top: 4px;
    margin-right: 12px;
}

.report-box {
    background-color: var(--slate-800);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--slate-700);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.report-icon {
    width: 64px;
    height: 64px;
    background-color: var(--slate-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: var(--blue-400);
    font-size: 1.5rem;
}

.report-label {
    color: var(--slate-400);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.report-text {
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--blue-600);
    color: white;
    font-family: monospace;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--blue-500);
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-box,
    .info-card,
    .vuln-section {
        padding: 48px;
    }

    .vuln-section {
        flex-direction: row;
        align-items: center;
    }

    .vuln-content {
        padding-right: 48px;
        margin-bottom: 0;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}