:root {
    /* Theme extracted from app screenshot */
    --bg-main: #020617;     /* Deepest Void Blue/Black */
    --bg-secondary: #0f172a; /* Slate 900 */
    --bg-card: #1e293b;      /* Slate 800 */
    --text-primary: #f8fafc; /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    
    /* Accents */
    --accent-primary: #38bdf8; /* Sky 400 - Bright Pop */
    --accent-secondary: #818cf8; /* Indigo 400 */
    --border-color: #334155; /* Slate 700 */
    --border-hover: #475569;
    
    --button-bg: #0f172a;
    --button-hover: #1e293b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Pattern (Dot Grid) */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.github-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 60px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.highlight {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    margin-bottom: 50px;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-primary);
    color: var(--bg-main);
    padding: 14px 40px;
    border-radius: 99px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(255, 255, 255, 0.3);
}

.hero-image {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    color: var(--text-secondary);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area */
    object-position: top; /* Anchors image to the top (so title bar isn't cut off) */
    display: block;
}

.placeholder-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Features */
.features {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Downloads */
.downloads-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.download-card {
    background-color: rgba(15, 23, 42, 0.5); /* Semi-transparent */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.download-card:hover {
    border-color: var(--border-hover);
}

.download-card.recommended {
    border: 1px solid var(--accent-primary);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, rgba(2, 6, 23, 0) 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-badge {
    background-color: var(--accent-primary);
    color: var(--bg-main);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.download-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 48px;
}

.specs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.spec-item .value {
    font-weight: 600;
    font-size: 0.9rem;
}

.os-group {
    margin-bottom: 24px;
}

.os-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.os-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: var(--text-secondary);
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dl-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.dl-btn.primary {
    background-color: var(--accent-primary);
    color: var(--bg-main);
    font-weight: 700;
}

.dl-btn.primary:hover {
    filter: brightness(1.1);
}

.dl-btn.primary-standard {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.dl-btn.primary-standard:hover {
    border-color: var(--text-secondary);
}

.dl-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.dl-btn.secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.internet-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(56, 189, 248, 0.1);
    padding: 10px;
    border-radius: 6px;
}

.requirements-box {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    background: rgba(129, 140, 248, 0.1);
    padding: 10px;
    border-radius: 6px;
}

/* Warnings */
.mac-warning {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.mac-warning h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fbbf24; /* Amber */
}

.mac-warning pre {
    background: #000;
    padding: 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Contribute */
.contribute-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.contribute-content h2 {
    margin-bottom: 20px;
}

.code-block {
    background: #000;
    display: inline-block;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.code-block code {
    color: var(--accent-primary);
}

.branch-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .download-grid { grid-template-columns: 1fr; }
    .hero-image { height: 250px; }
}