:root {
    --bg-dark: #050505;
    --bg-darker: #000000;
    --text-primary: #e0e0e0;
    --text-secondary: #94a3b8;
    --accent-primary: #FF4D4D;
    /* Red */
    --accent-secondary: #00E5CC;
    /* Teal */
    --accent-danger: #ff0055;
    --accent-warning: #ffcc00;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 77, 77, 0.15);
    /* Red tinted border */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 77, 77, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 77, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 157, 0.1);
    opacity: 0.4;
    animation: scanline 8s linear infinite;
    z-index: 100;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

/* Typography & Utils */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

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

.mono {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary,
.btn-primary-sm {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary-sm:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
}

.btn-primary-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-secondary {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: var(--accent-secondary);
    border-bottom: 1px solid var(--accent-secondary);
}

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

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-primary);
    animation: blink 2s infinite;
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* Terminal Styles */
.terminal-snippet {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 450px;
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

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

.output {
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

.output.green {
    color: var(--accent-primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 0 30px rgba(255, 77, 77, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

/* Section Common */
section {
    padding: 100px 0;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

/* Glass Cards */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
}

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

.card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.warning {
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-warning);
}

.danger {
    background: rgba(255, 0, 85, 0.1);
    color: var(--accent-danger);
}

.info {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-secondary);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.feature-content h3 {
    color: var(--accent-primary);
    margin-bottom: 8px;
}

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

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #000;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.card-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.card-header .description {
    font-size: 0.9rem;
    margin-top: 5px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.features-list li strong {
    color: #fff;
}

.full-width {
    width: 100%;
    text-align: center;
    border-radius: 4px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-sm {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-left p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-right {
    text-align: right;
    max-width: 400px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 20px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplified for this demo */

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }

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

    .terminal-snippet {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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