:root {
    --bg-color: #000000;
    --surface-color: #0a0a0a;
    --border-color: #333333;
    --text-primary: #ededed;
    --text-secondary: #888888;
    --accent: #eee;
    --accent-hover: #fff;
    --accent-dark: #111;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --blue-neon: #0070f3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background-color: var(--blue-neon);
    color: #fff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 48px;
    width: auto;
    display: block;
    max-width: 250px;
    object-fit: contain;
}

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

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

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

.nav-links .btn-primary-small {
    color: #000;
    background: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.nav-links .btn-primary-small:hover {
    background: #e0e0e0;
    color: #000;
}

/* Buttons */
.btn-primary {
    background-color: #fff;
    color: #000;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e0e0e0;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--surface-color);
    border-color: var(--text-secondary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top center, #111 0%, #000 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Typography Utilities */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.text-center {
    text-align: center;
}

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

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #555;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Screenshots Section */
.screenshots-section {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.screenshot-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.screenshot-card:hover {
    border-color: #555;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tutorial Section */
.tutorial-section {
    padding: 80px 0 120px;
    text-align: center;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.terminal {
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #111;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.terminal-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.btn-close {
    background: #333;
}

.btn-min {
    background: #333;
}

.btn-max {
    background: #333;
}

.window-title {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    pointer-events: none;
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Menlo', 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.terminal-body .comment {
    color: #666;
}

.terminal-body .command {
    color: #fff;
    font-weight: 500;
}

.terminal-body .success {
    color: var(--text-secondary);
    margin-top: 10px;
    display: block;
}

.terminal-body code {
    color: #aaa;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 24px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}