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

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


.nav-menu li {
    margin-bottom: 0 !important;
}
:root {
    --primary: steelblue;
    --accent: violet;
    --text-dark: #1f2937;
    --text-light: #ffffff;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* Navigation Styles */
nav {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none !important;
    align-items: center;
}

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

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

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

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

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

/* Hero Section */
.hero {
    position: relative !important;
    background: linear-gradient(135deg, steelblue 0%, #6366f1 100%) !important;
    color: var(--text-light) !important;
    padding: 6rem 2rem !important;
    text-align: center !important;
    overflow: hidden !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: var(--text-light) !important;
}

.hero p {
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.95 !important;
    color: var(--text-light) !important;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 4rem 2rem;
}

section:nth-child(even) {
    background: var(--bg-white);
}

section:nth-child(odd) {
    background: var(--bg-light);
}

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

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 3rem 0 1.5rem 0 !important;
    color: var(--primary) !important;
    line-height: 1.3 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 2rem 0 1rem 0 !important;
    color: var(--text-dark) !important;
    line-height: 1.3 !important;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Table of Contents */
.toc {
    background: var(--bg-white);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.toc-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.toc-list li {
    margin: 0.75rem 0;
    list-style: none !important;
}

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

.toc-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.3s;
}

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

/* Content Cards */
.content-card {
    background: var(--bg-white);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

ul li, ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
    list-style: none !important;
}

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

ul li::before {
    content: '+' !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

ol {
    counter-reset: item;
}

ol li::before {
    content: counter(item) '.' !important;
    counter-increment: item !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
}

/* Remove markers from nav and footer */
nav ul,
nav ul li,
footer ul,
footer ul li {
    list-style: none !important;
}

nav ul li::before,
nav ul li::after,
nav ul li::marker,
footer ul li::before,
footer ul li::after,
footer ul li::marker {
    display: none !important;
    content: none !important;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 600px;
}

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

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

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

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

picture {
    display: block;
    margin: 2rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem !important;
    background: var(--accent) !important;
    color: var(--text-light) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.btn:hover {
    background: #9333ea !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138,43,226,0.3);
}

.btn-primary {
    background: var(--primary) !important;
}

.btn-primary:hover {
    background: #4169e1 !important;
}

/* Footer */
footer {
    background: #1f2937;
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
}

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

.footer-section h3 {
    color: var(--text-light) !important;
    margin-bottom: 1rem !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
}

.footer-links li {
    margin-bottom: 0.75rem;
    list-style: none !important;
}

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

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

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }

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

    .hero p {
        font-size: 1.125rem !important;
    }

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

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

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

    section {
        padding: 2.5rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

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

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

    .hero {
        padding: 4rem 1.5rem !important;
    }

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

    .btn {
        width: 100%;
        padding: 0.875rem 2rem !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
