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

:root {
    --color-bg: #0a0a0b;
    --color-bg-secondary: #111113;
    --color-bg-card: #18181b;
    --color-bg-card-hover: #1f1f23;
    --color-text: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-border: #27272a;
    --color-border-light: #3f3f46;
    --color-accent: #f59e0b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --container-padding: 24px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--color-text);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.platform-badge {
    background: var(--color-bg-card);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: white;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
    border-color: var(--color-border-light);
}

/* Screenshot Section */
.screenshot-section {
    padding: 0 0 80px;
}

.screenshot-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    max-width: 900px;
    margin: 0 auto;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.features h2, .download h2, .why-section h2, .about-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.download-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-text-secondary);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-version {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
}

.btn-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.btn-sublabel {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.why-content {
    max-width: 720px;
    margin: 0 auto;
}

.why-lead {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 32px;
    color: var(--color-text);
}

.why-text p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.why-text strong {
    color: var(--color-text);
}

.why-text code {
    background: var(--color-bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
}

.why-text ul {
    margin: 20px 0 20px 24px;
    color: var(--color-text-secondary);
}

.why-text li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-text strong {
    color: var(--color-text);
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.about-link:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-light);
    color: var(--color-text);
}

.about-link svg {
    width: 18px;
    height: 18px;
}

/* Support Section */
.support-section {
    padding: 60px 0 100px;
}

.support-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.support-card p {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-coffee {
    background: var(--color-accent);
    color: #000;
    padding: 14px 32px;
    font-weight: 600;
}

.btn-coffee:hover {
    background: #d97706;
    color: #000;
    transform: translateY(-1px);
}

.coffee-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features, .download, .why-section, .about-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .about-links {
        flex-direction: column;
    }

    .about-link {
        justify-content: center;
    }
}
