/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    color: #f1f5f9;
}

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

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    color: inherit;
}

/* Header */
.header {
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .icon {
    width: 2rem;
    height: 2rem;
    color: #60a5fa;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

.github-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #475569;
    background: transparent;
    color: #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.github-btn:hover {
    background: #374151;
    color: white;
}

/* Hero Section */
.hero {
    padding: 5rem 1rem;
    text-align: center;
}

.hero .container {
    max-width: 64rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
}

.btn-outline:hover {
    background: #374151;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
    background: rgba(30, 41, 59, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 32rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: background 0.2s ease;
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.7);
}

.feature-header {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.feature-icon.blue {
    color: #60a5fa;
}

.feature-icon.purple {
    color: #a78bfa;
}

.feature-icon.green {
    color: #34d399;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    color: #cbd5e1;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* Screenshot section */
.screenshot-section {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.screenshot {
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.screenshot-caption {
    color: #94a3b8;
    margin-top: 1rem;
}

/* Open Source Section */
.open-source {
    padding: 5rem 1rem;
    text-align: center;
}

.open-source .container {
    max-width: 64rem;
}

.open-source .section-description {
    margin-bottom: 3rem;
}

.community-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.community-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.community-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
}

.community-icon.blue {
    color: #60a5fa;
}

.community-icon.yellow {
    color: #fbbf24;
}

.community-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.community-description {
    color: #cbd5e1;
}

/* CTA Section */
.cta {
    padding: 5rem 1rem;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    text-align: center;
}

.cta .container {
    max-width: 64rem;
}

.cta .section-description {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    background: #0f172a;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #60a5fa;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu (hidden for now, can be added later) */
@media (max-width: 767px) {
    .nav {
        display: none;
    }
}