@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap');

:root {
    --bg-color: #0A0F0C;
    --primary-color: #00FF9C;
    --highlight-color: #FFB000;
    --text-color: #00FF9C;
    --text-secondary: #8FA396;
    --error-color: #FF4D4D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-image: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'JetBrains Mono', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 40px;
}

/* Subtle CRT scanline overlay at 2% opacity */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.02;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--highlight-color);
}

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

.btn {
    display: inline-block;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'JetBrains Mono', Courier, monospace;
    position: relative;
    transition: none;
}

.btn:hover {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
}

.btn:hover::before {
    content: "[ ";
    position: absolute;
    left: -15px;
    color: var(--highlight-color);
}

.btn:hover::after {
    content: " ]";
    position: absolute;
    right: -15px;
    color: var(--highlight-color);
}

.btn.secondary {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn.secondary:hover {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
}

.terminal-window {
    border: 1px solid var(--primary-color);
    margin-bottom: 40px;
    background: var(--bg-color);
}

.title-bar {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 2px 10px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.container {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}

header .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav a {
    margin: 0 10px;
    color: var(--text-secondary);
}

nav a:hover {
    color: var(--highlight-color);
}

nav a::before {
    content: "";
}

nav a:hover::before {
    content: "> ";
    color: var(--highlight-color);
}

.section-padding {
    padding: 30px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}
.section-title::before {
    content: "~/ ";
    color: var(--text-secondary);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

/* Hero Shell */
.hero-content {
    padding: 40px 30px;
}
.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    min-height: 3rem; /* Prevents jumping during typewriter */
}

.fake-shell {
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--text-secondary);
    font-size: 0.95rem;
    color: var(--primary-color);
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1em;
    background: var(--primary-color);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.shell-output {
    margin-top: 10px;
    color: var(--text-secondary);
}
.shell-output div {
    margin-top: 4px;
}
.latency {
    color: var(--highlight-color);
    float: right;
}

/* Cards */
.card, .pricing-card, .faq-item {
    border: 1px solid var(--text-secondary);
    padding: 20px;
    background: transparent;
    transition: none;
}
.card:hover, .pricing-card:hover, .faq-item:hover {
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border: 1px solid var(--highlight-color);
}

.status-ok { color: var(--primary-color); font-weight: bold; }
.status-warn { color: var(--highlight-color); font-weight: bold; }
.status-err { color: var(--error-color); font-weight: bold; }

.card h3, .pricing-card h3, .faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-card .price {
    font-size: 1.8rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

ul {
    list-style: none;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

ul li::before {
    content: "[-] ";
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    header .nav-bar { flex-direction: column; gap: 15px; align-items: flex-start; }
    nav { display: flex; flex-direction: column; gap: 10px; }
    nav a { margin: 0; }
}
