/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Satoshi';
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/satoshi@5.0.0/files/satoshi-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/satoshi@5.0.0/files/satoshi-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: deepskyblue;
    --accent-color: #ffc107;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-gray: #f5f5f5;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 18px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.navbar-menu::before,
.navbar-menu::after {
    display: none !important;
}

.navbar-menu li {
    list-style: none !important;
}

.navbar-menu li::before,
.navbar-menu li::after,
.navbar-menu li::marker {
    display: none !important;
    content: none !important;
}

.navbar-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 4rem 2rem !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 800px !important;
    color: var(--text-light) !important;
}

.hero h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-description {
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
    color: var(--text-light) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Table of Contents */
.toc {
    background-color: var(--bg-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem auto;
    max-width: 1200px;
}

.toc ol {
    list-style: decimal;
    padding-left: 2rem;
    margin: 0;
}

.toc li {
    margin: 0.75rem 0;
    line-height: 1.6;
    list-style-position: outside;
}

.toc li::marker {
    color: var(--accent-color);
    font-weight: 700;
}

.toc a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Styling */
section {
    margin-bottom: 4rem;
    scroll-margin-top: 80px;
}

/* Headings */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    line-height: 1.2 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid var(--primary-color) !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-dark) !important;
}

/* Paragraphs */
p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Lists */
ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style: none;
}

ul li, ol li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
    font-size: 1.1rem;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

ul li::marker,
ol li::marker {
    display: none !important;
}

/* Images */
picture {
    display: block;
    margin: 2rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Table Container */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-light);
    font-size: 1rem;
}

thead {
    background-color: var(--primary-color);
    color: var(--text-light);
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: var(--bg-gray);
}

tbody td {
    padding: 1rem;
    font-size: 1rem;
}

/* Cards */
.card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light) !important;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-light) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

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

.footer-section ul::before,
.footer-section ul::after {
    display: none !important;
}

.footer-section li {
    margin: 0.5rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.footer-section li::before,
.footer-section li::after,
.footer-section li::marker {
    display: none !important;
    content: none !important;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light) !important;
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        margin: 0.5rem 0;
    }

    .navbar-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 1.1rem !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .container {
        padding: 2rem 1rem;
    }

    .toc {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    p, ul li, ol li {
        font-size: 1rem;
    }
}
