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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --purple-glow: #7c3aed;
    --purple-bright: #a855f7;
    --purple-dim: #581c87;
    --text: #e2e8f0;
    --text-muted: #64748b;
    --border: rgba(124, 58, 237, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.glow-orb-1 {
    background: var(--purple-glow);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.glow-orb-2 {
    background: #6366f1;
    bottom: -300px;
    left: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

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

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 22px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-glow);
    transition: width 0.2s;
}

.nav-links a:hover::after {
    width: 100%;
}

.github-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.github-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--purple-glow);
}

.github-btn svg {
    width: 18px;
    height: 18px;
}

.github-stars {
    background: rgba(124, 58, 237, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-bright);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: block;
    width: fit-content;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-bright);
    margin-bottom: 24px;
}

.hero-logo {
    display: block;
    height: 120px;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.9)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.5));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.9)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(124, 58, 237, 1)) drop-shadow(0 0 100px rgba(124, 58, 237, 0.7));
    }
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a855f7 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.install-btn {
    padding: 5px 15px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-glow) 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
}

.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.6);
}

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

.btn-secondary:hover {
    border-color: var(--purple-glow);
    background: rgba(124, 58, 237, 0.1);
}

.terminal {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 0 80px rgba(124, 58, 237, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red {
    background: #ef4444;
}

.terminal-dot.yellow {
    background: #eab308;
}

.terminal-dot.green {
    background: #22c55e;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    height: 225px;
}

.terminal-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.terminal-prompt {
    color: var(--purple-bright);
    margin-right: 12px;
    user-select: none;
}

.terminal-command {
    color: var(--text);
}

.terminal-output {
    color: var(--text-muted);
    padding-left: 24px;
}

.terminal-success {
    color: #22c55e;
}

.terminal-url {
    color: var(--purple-bright);
    text-decoration: underline;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--purple-bright);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features {
    padding: 160px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--purple-bright);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    padding-left: 24px;
    margin-left: -24px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0) 0%, transparent 100%);
    transition: all 0.3s ease;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row:hover {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
    border-left-color: var(--purple-glow);
}

.feature-row:hover .feature-keyword {
    color: var(--purple-bright);
}

.feature-row:hover h3 {
    color: #fff;
}

.feature-keyword {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 140px;
    padding-top: 4px;
    transition: color 0.3s;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
}

.feature-content h3 .feature-emoji {
    font-size: 28px;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}

.tunnel-illustration {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.demo {
    padding: 160px 0;
    position: relative;
}

.tunnel-illustration img {
    width: 100%;
    display: block;
}

.how-it-works {
    padding: 160px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-line {
    position: absolute;
    left: 28px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--purple-glow), var(--purple-dim));
}

.step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--purple-glow);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: var(--purple-bright);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.step-content {
    flex: 1;
    width: 100%;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.step-code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--purple-bright);
    display: inline-block;
}

.use-cases {
    padding: 160px 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.use-case-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.use-case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.use-case-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.cta {
    padding: 160px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.footer-logo img {
    height: 36px;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.6));
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 14px;
}

.install-commands-container {
    width: 100%
}

.install-buttons-container {
    display: flex;
    flex-wrap: wrap-reverse;
    width: 100%;
}

.install-commands-container code.step-code {
    border-top-left-radius: 0!important;
}

.link {
    color: var(--purple-bright);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

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

    .terminal {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 48px;
    }

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

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .terminal {
        text-align: left;
    }

    .terminal-body {
        font-size: 12px;
    }

    .section-title {
        font-size: 36px;
    }

    .feature-row {
        flex-direction: column;
        gap: 12px;
        padding-left: 16px;
        margin-left: -16px;
    }

    .feature-row:hover {
        padding-left: 16px;
    }

    .feature-keyword {
        min-width: auto;
        font-size: 12px;
    }

    .feature-content h3 {
        font-size: 20px;
    }

    .feature-content p {
        font-size: 15px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .use-case-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .steps-line {
        display: none;
    }
}
