/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --dark-950: #0a0e1a;
    --dark-900: #0f1419;
    --dark-800: #1a1f2e;
    --dark-700: #252b3b;
    --dark-600: #374151;
    --dark-500: #6b7280;
    --dark-400: #9ca3af;
    --dark-300: #d1d5db;
    --dark-200: #e5e7eb;
    --dark-100: #f3f4f6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-950);
    color: var(--dark-100);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: var(--dark-900);
    border-bottom: 1px solid var(--dark-800);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(15, 20, 25, 0.8);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-300);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-github {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-800);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-github:hover {
    background: var(--dark-700);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, var(--dark-950) 0%, var(--dark-900) 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-300);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Hero Slider */
.hero-slider {
    margin: 3rem 0;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: var(--primary);
    border-color: white;
    width: 14px;
    height: 14px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--dark-800);
    color: var(--dark-100);
    border: 1px solid var(--dark-700);
}

.btn-secondary:hover {
    background: var(--dark-700);
    border-color: var(--primary);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--dark-400);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--dark-900);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-100);
}

.feature-card p {
    color: var(--dark-400);
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: var(--dark-950);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    aspect-ratio: 16/10;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-500);
    gap: 1rem;
}

.screenshot-placeholder svg {
    opacity: 0.3;
}

.screenshot-placeholder p {
    font-weight: 600;
    color: var(--dark-400);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.download-card {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.download-card p {
    color: var(--dark-400);
    margin-bottom: 2rem;
}

.download-buttons {
    margin-bottom: 1.5rem;
}

.download-info {
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-700);
}

.download-info p {
    color: var(--dark-500);
    font-size: 0.875rem;
    margin: 0;
}

.install-steps {
    background: var(--dark-800);
    border: 1px solid var(--dark-700);
    border-radius: 1rem;
    padding: 3rem;
}

.install-steps h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.install-steps ol {
    list-style-position: inside;
    color: var(--dark-300);
    line-height: 2;
}

.install-steps li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--dark-700);
}

.install-steps li:last-child {
    border-bottom: none;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: var(--dark-900);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--dark-800);
    background: var(--dark-950);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--dark-900);
    border-top: 1px solid var(--dark-800);
    padding: 2rem 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-text {
    color: var(--dark-400);
    font-size: 0.875rem;
}

.footer-text p {
    margin: 0.25rem 0;
}

.footer-text .disclaimer {
    color: var(--warning);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--dark-800);
    color: var(--dark-300);
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.email-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--dark-800);
    color: var(--dark-300);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}

.email-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.disclaimer {
    color: var(--warning) !important;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .slider-track {
        height: 350px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .download-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
.feature-card:nth-child(9) { animation-delay: 0.9s; }
