:root {
    --bg-color: #080B16;
    --text-color: #ffffff;
    --button-color: #E50539;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    padding-left: 5px;
    margin-left: -17px;
}

.hamburger-menu {
    cursor: pointer;
    z-index: 1001;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger-icon span:first-child {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon span:last-child {
    bottom: 0;
}

.hamburger-icon.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

.menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-color: rgba(8, 11, 22, 0.9);
    padding: 80px 20px 20px;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.menu.active {
    left: 0;
}

.menu ul {
    list-style: none;
    text-align: left;
}

.menu ul li {
    margin: 15px 0;
}

.menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
}

.menu ul li a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.hero {
    padding: 150px 0 60px; /* Reduced bottom padding */
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta {
    margin-top: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--button-color);
    color: var(--text-color);
    padding: 16px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(229, 5, 57, 0.2);
    min-width: 280px;
}

.download-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.download-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(229, 5, 57, 0.3);
}

.content {
    padding: 40px 0 60px;
    flex: 1;
}

.markdown-content {
    padding: 10px 0;
}

.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.markdown-content h1 {
    font-size: 2.2rem;
}

.markdown-content h2 {
    font-size: 1.8rem;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content p {
    margin-bottom: 20px;
}

.markdown-content ul, 
.markdown-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.markdown-content a {
    color: var(--text-color);
    text-decoration: underline;
}

.markdown-content a:hover {
    opacity: 0.8;
}

.markdown-content code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3px 5px;
    border-radius: 3px;
    font-family: monospace;
}

.markdown-content pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.markdown-content blockquote {
    border-left: 4px solid var(--button-color);
    padding-left: 15px;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 20px;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    text-align: left;
}

.markdown-content table th {
    background-color: rgba(255, 255, 255, 0.1);
}

.markdown-content table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    opacity: 0.8;
}

/* Scroll to Top Button */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--button-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    z-index: 999;
}

#scroll-to-top:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .download-btn {
        min-width: 260px;
        padding: 15px 40px;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 14px 35px;
        min-width: 240px;
        font-size: 1rem;
    }
    
    .markdown-content h1 {
        font-size: 1.8rem;
    }
    
    .markdown-content h2 {
        font-size: 1.5rem;
    }
    
    .markdown-content h3 {
        font-size: 1.3rem;
    }
    
    #scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 130px 0 50px;
    }
    
    .cta {
        margin-top: 30px;
    }
    
    .download-btn {
        min-width: 220px;
        font-size: 0.95rem;
        padding: 13px 30px;
    }
    
    .footer-nav ul {
        flex-direction: column;
    }
    
    .footer-nav ul li {
        margin: 8px 0;
    }
    
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .download-btn {
        padding: 12px 25px;
        min-width: 200px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}