/* CSS Variables */
:root {
    --bg-primary: #0a0a0a;
    --text-primary: #e8e8e8;
    --text-secondary: #888;
    --text-inverse: #0a0a0a;
    --accent: #ff6420;
    --accent-hover: #ff8040;
    --border: #2a2a2a;
    --input-border: #2a2a2a;
    --input-border-focus: #ff6420;
    --button-bg: #ff6420;
    --button-bg-hover: #ff8040;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-family: 'VT323', monospace;
}

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

h1 a:hover {
    color: var(--accent-hover);
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, sans-serif;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 4rem 0 1.5rem;
    letter-spacing: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    text-transform: uppercase;
    color: var(--text-secondary);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--accent);
    font-family: 'Inter', -apple-system, sans-serif;
}

p {
    margin-bottom: 1rem;
    font-family: 'Inter', -apple-system, sans-serif;
}

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

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

/* Layout */
body {
    max-width: 52rem;
    margin: 0 auto;
    padding: 3rem 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

nav a {
    margin-left: 2.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.2s ease;
}

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

/* Hero section */
.hero {
    margin: 4rem 0 6rem;
    text-align: center;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem;
    max-width: 40rem;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, sans-serif;
}

.cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
}

/* Lists */
ul {
    list-style: none;
    margin-bottom: 2rem;
}

li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

li:before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

/* Footer */
footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Forms */
form {
    margin: 2rem 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--input-border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: inherit;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--input-border-focus);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

button {
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

button:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.form-group {
    margin-bottom: 2rem;
}

.optional {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
}

/* Options section */
.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.option {
    padding: 2rem;
    border: 2px solid var(--border);
    position: relative;
}

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

.option h3 {
    margin: 0 0 1rem;
    text-transform: none;
    color: var(--text-primary);
}

.option ul {
    margin: 1.5rem 0;
}

.option .cta {
    width: 100%;
    text-align: center;
}

/* Badges */
.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

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

/* Mission section */
.mission {
    margin: 4rem 0;
}

/* CLI today section */
.cli-today {
    margin: 4rem 0;
}

/* Screenshot */
.screenshot {
    margin: 5rem 0;
    text-align: center;
}

.screenshot img {
    width: 100%;
    height: auto;
    border: 2px solid var(--border);
    border-radius: 0;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav a {
        margin-left: 0;
        margin-right: 2rem;
    }
}