/* ====================================
   CSS VARIABLES & TOKENS
   ==================================== */
:root {
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: #121212;
    --border-color: #222;

    --text-main: #f8f9fa;
    --text-muted: #8b949e;

    --accent-primary: #00f0ff;
    /* Neon Cyan (Tech vibe) */
    --accent-primary-glow: rgba(0, 240, 255, 0.4);
    --accent-purple: #7000ff;

    --success: #3fb950;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --transition: all 0.3s ease;
}

/* ====================================
   RESET & BASE
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.mono-title {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-success {
    color: var(--success);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px var(--accent-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-primary-glow);
    background-color: #33f3ff;
}

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

.btn-secondary:hover {
    background-color: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: #000;
}

/* ====================================
   HEADER
   ==================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo-bracket {
    color: var(--text-muted);
}

.logo-text {
    color: var(--accent-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:not(.btn):hover {
    color: var(--text-main);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: 0;
    perspective: 1000px;
    transform: rotateX(60deg) translateY(-100px) scale(2);
    transform-origin: top center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-primary-glow);
    color: var(--accent-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    max-width: 900px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Terminal Mockup */
.terminal-mockup {
    width: 100%;
    max-width: 700px;
    background-color: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.dot.green {
    background-color: #27c93f;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.prompt {
    color: var(--accent-purple);
}

.blink {
    animation: blinker 1s linear infinite;
}

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

/* ====================================
   HOW IT WORKS (STEPS)
   ==================================== */
.steps-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.step-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-primary-glow);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.step-card p {
    color: var(--text-muted);
}

/* ====================================
   FOOTER
   ==================================== */
.site-footer {
    padding: 80px 0 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
    padding-bottom: 80px;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-cta p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    background-color: #000;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

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