:root {
    --primary: #FC6D26;
    --secondary: #554488;
    --background: #1C1C1C;
    --text: #E1E1E1;
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

header {
    background: linear-gradient(45deg, #554488, #FC6D26);
    padding: 80px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto;
}

.features, .downloads, .usage {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: white;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.usage, .downloads {
    background: rgba(255, 255, 255, 0.02);
}

.code-block {
    /* background: #2d2d2d; */
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-size: 0.8em;
}

.code-block pre[class*="language-"] {
    background: #2d2d2d;
    padding: 20px;
    margin: 0;
}
.code-block code[class*="language-"] {
    background: none;
    color: inherit;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #E24329;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.download-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.download-card h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.windows-download {
    text-align: left;
    margin-top: 15px;
}

.windows-download .windows-list {
    margin: 15px 0;
}

.windows-download .list-item {
    margin-bottom: 15px;
}

.windows-download h5 {
    color: #bbb;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.windows-download ul {
    list-style: none;
    margin-left: 15px;
}

.windows-download ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.windows-download ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.windows-download a {
    font-size: 0.8rem;
    text-decoration: none;
    color: rgb(132, 132, 132);
    position: relative;
    padding-right: 1.2em;
}

.windows-download a::after {
    content: "↗";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary);
}

.windows-download a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.checksum {
    font-family: monospace;
    font-size: 0.7rem;
    color: #888;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 10px;
    word-break: break-all;
}

.changelog {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0;
}

.security-section {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.security-section p {
    color: var(--text);
    margin-bottom: 20px;
}

.security-section em {
    color: var(--primary);
    font-style: normal;
    font-weight: 500;
}

.security-section a {
    font-size: 0.8rem;
    text-decoration: none;
    color: rgb(132, 132, 132);
    position: relative;
    padding-right: 1.2em;
}

.security-section a::after {
    content: "↗";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary);
}

.security-section a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.windows-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.list-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 20px;
}

.list-item h5 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 12px;
}

.list-item ul {
    list-style: none;
}

.list-item ul li {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.list-item ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.changelog-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
}

.version-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.changelog-list {
    list-style: none;
}

.changelog-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.changelog-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* .disclaimer {
    padding: 40px auto 10px 0;
} */

.disclaimer h3 {
    font-size: 1.2rem;
    color: rgb(132, 132, 132);
    margin-top: 20px;
}

.disclaimer h4 {
    font-size: 1rem;
    line-height: 2rem;
    color: rgb(132, 132, 132);
    margin-top: 30px;
}

.disclaimer p {
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: rgb(132, 132, 132);
}

.disclaimer a {
    font-size: 0.8rem;
    text-decoration: none;
    color: rgb(132, 132, 132);
}

.disclaimer-list {
    list-style: none;
}

.disclaimer-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.8rem;
    color: rgb(132, 132, 132);
}

.disclaimer-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.download-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: #6a559a;
}

.docker-command {
    background: #2d2d2d;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    font-family: monospace;
    text-align: left;
}

.disclaimer {
    max-width: 966px;
    margin: 20px auto 20px auto;
}

footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid, .download-grid {
        grid-template-columns: 1fr;
    }
}