:root {
    --bg-dark: #050505;
    --card-bg: #0A0E17;
    --accent: #1A56DB; /* The blue from the video buttons */
    --accent-glow: rgba(26, 86, 219, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
a { text-decoration: none; color: var(--text-main); }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.nav-brand { font-size: 1.5rem; font-weight: 700; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 30px; /* Pill shape from the video */
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover { box-shadow: 0 0 15px var(--accent-glow); }

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; }

/* Grid & Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
    transform: translateY(-5px);
}
.card h3 { margin-top: 0; font-size: 1.5rem; }
.card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Login Page Specifics */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-box {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
    max-width: 400px;
}
.login-box input {
    width: 100%;
    padding: 14px;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white;
    box-sizing: border-box;
}
.error-text { color: #ff4444; margin-top: 1rem; font-size: 0.9rem; }
/* Document View Styling */
.document-view {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.document-view h2 { color: var(--accent); margin-top: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.document-view ul { margin-bottom: 1.5rem; color: var(--text-muted); }
.document-view li { margin-bottom: 0.5rem; }
.document-view strong { color: white; }