:root {
    --bg-color: #030712;
    --card-bg: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-color: #a78bfa;
    --accent-glow: rgba(167, 139, 250, 0.4);
    --terminal-bg: #1e1e2e;
    --terminal-border: #313244;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

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

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    animation: fadeIn 1s ease-out 0.2s both;
    line-height: 1.6;
}

.terminal-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.terminal {
    background-color: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
}

.terminal-header {
    background-color: #11111b;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid var(--terminal-border);
}

.dots {
    display: flex;
    gap: 8px;
}

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

.dot.red {
    background-color: #f38ba8;
}

.dot.yellow {
    background-color: #f9e2af;
}

.dot.green {
    background-color: #a6e3a1;
}

.terminal-content {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    min-height: 400px;
}

.demo-gif {
    width: 100%;
    height: auto;
    display: block;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 99px;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.1s both;
}

.features {
    padding: 10rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.3);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.copy-section {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.code-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9375rem;
    color: var(--accent-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

.code-block:hover {
    background: rgba(255, 255, 255, 0.06);
}

.code-block code {
    user-select: all;
}

.copy-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }
}