@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --bg-dark: #020617;
    --card-bg: #0f172a;
    --border-color: #1e293b;
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.2);
    --success: #10b981;
    --accent: #f59e0b;
    --danger: #ef4444;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --nav-height: 70px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Effect */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 1) 100%),
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
}

/* Navbar */
nav {
    height: var(--nav-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 80px) 5% 80px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-pill {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-pill span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-pill span:last-child {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Sections */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Code Block */
.code-container {
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 40px;
}

.code-header {
    background: #161b22;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.code-header .lang {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'IBM Plex Mono', monospace;
}

.code-window {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
}

/* Minimal syntax highlighting */
.code-window .keyword { color: #ff7b72; }
.code-window .string { color: #a5d6ff; }
.code-window .comment { color: #8b949e; }
.code-window .func { color: #d2a8ff; }

/* Screenshots Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    padding: 16px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    padding-left: 60px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
}

.timeline-content {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.timeline-time {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

/* Footer */
/* Terminal Components */
.terminal-window {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.terminal-header {
    background: #161b22;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
/* Footer */
footer {
    padding: 60px 5%;
    background: rgba(2, 6, 23, 0.5);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Evidence Categories */
.evidence-category {
    margin-bottom: 60px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.category-title i {
    color: var(--primary);
    font-size: 1.2rem;
}

.category-title h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.t-dots {
    display: flex;
    gap: 6px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-body {
    padding: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e6edf3;
    overflow-x: auto;
}

.t-input {
    margin-bottom: 15px;
}

.t-prompt {
    color: var(--success);
    font-weight: 600;
    margin-right: 8px;
}

.t-cmd {
    color: var(--primary);
}

.t-output {
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 5px;
    white-space: pre-wrap;
    border-left: 2px solid var(--border-color);
}

.t-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}

/* Tab System */
.tab-container {
    margin-top: 40px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.tab {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
}

.tab.active {
    background: var(--primary-glow);
    color: var(--primary);
}

.tab-content {
    display: none;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero { padding-top: 120px; }
    h1 { font-size: 2.5rem; }
}
