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

:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border: #27272a;
    --purple: #a855f7;
    --purple-dim: rgba(168, 85, 247, 0.15);
    --blue: #3b82f6;
    --green: #22c55e;
    --orange: #f97316;
    --pink: #ec4899;
    --teal: #14b8a6;
    --gradient: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--purple-dim);
    color: var(--purple);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3);
}

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

.btn-secondary:hover {
    background: var(--border);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    max-width: 560px;
}

.app-window {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.window-controls {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-content {
    padding: 24px;
}

.kanban-preview {
    display: flex;
    gap: 16px;
}

.kanban-column {
    flex: 1;
    min-width: 120px;
}

.column-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.kanban-card {
    background: var(--bg-tertiary);
    border-radius: 8px;
    height: 48px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
}

.kanban-card.active {
    border-color: var(--orange);
    background: rgba(249, 115, 22, 0.1);
}

.kanban-card.done {
    border-color: var(--green);
    background: rgba(34, 197, 94, 0.1);
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: var(--bg-secondary);
}

.features h2, .download h2, .requirements-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

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

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-tertiary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.purple { background: var(--purple-dim); color: var(--purple); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.feature-icon.green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.feature-icon.orange { background: rgba(249, 115, 22, 0.15); color: var(--orange); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.15); color: var(--pink); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--teal); }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* Download Section */
.download {
    padding: 120px 24px;
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

@media (max-width: 600px) {
    .download-card {
        flex-direction: column;
        text-align: center;
    }
}

.download-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.download-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-details .version {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.download-details .requirements {
    font-size: 12px;
    color: var(--text-tertiary);
}

.download-alternatives {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.download-alternatives a {
    color: var(--purple);
    text-decoration: none;
}

.download-alternatives a:hover {
    text-decoration: underline;
}

/* Requirements Section */
.requirements-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.requirements-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .requirements-grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

.requirement {
    text-align: center;
}

.requirement h4 {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 8px;
}

.requirement p {
    font-size: 16px;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .nav-links {
        gap: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .features h2, .download h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
    }
}
