:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #6e6e80;
    --accent-color: #000000; /* OpenAI often uses strict black/white */
    --border-color: #e5e5e5;
    --surface-color: #f9f9f9;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Merriweather', serif; /* Keep for distinctiveness if needed, but primary is sans */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: 18px; /* Slightly larger base font size */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

h1 {
    font-size: 4rem; /* Huge Hero Type */
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

/* Header */
.site-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.site-header.scrolled {
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 66px; /* Increased size by 50% */
    width: auto;
    display: block;
    /* High contrast to clean up JPG artifacts, Grayscale for purity */
    filter: invert(1) grayscale(100%) contrast(150%);
    mix-blend-mode: multiply;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 32px;
    }
    .nav-links a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-primary);
    }
    .nav-links a:hover {
        color: var(--text-secondary);
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

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

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 640px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

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

/* Sections Common */
section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    display: block;
    color: var(--text-secondary);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
}

@media (min-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(300px, auto);
    }
    .bento-span-2 {
        grid-column: span 2;
    }
    .bento-span-3 {
        grid-column: span 3;
    }
}

.bento-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Speed Demo Section */
.speed-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: start;
}

@media (min-width: 992px) {
    .speed-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.chart-container {
    margin-top: 40px;
}

.bar-chart-item {
    margin-bottom: 24px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.bar-track {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--text-primary);
    border-radius: 4px;
}

.bar-fill.secondary {
    background: #ccc;
}

/* Terminal Demo */
.terminal-window {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.terminal-header {
    background: #2a2a2a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a4a4a;
}

.latency-meter {
    font-size: 0.8rem;
    color: #aaa;
    font-variant-numeric: tabular-nums;
}

.highlight-latency {
    color: #10a37f; /* Green for speed */
    font-weight: bold;
}

.terminal-body {
    height: 360px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.terminal-line {
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.terminal-line.system { color: #666; }
.terminal-line.user { color: #fff; }
.terminal-line.ai { color: #10a37f; }

.terminal-input-area {
    padding: 16px;
    background: #222;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #333;
}

.terminal-prompt { color: #666; }

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    flex-grow: 1;
    outline: none;
}

/* Customer Stories (Video Cards) */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.story-card {
    cursor: pointer;
    group: story;
}

.story-media {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.story-media img, .story-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.story-card:hover .story-media img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    opacity: 0.9;
    transition: transform 0.3s;
}

.story-card:hover .play-icon {
    transform: scale(1.1);
}

.story-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.story-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

/* Footer */
.site-footer {
    padding: 80px 0 40px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

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

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

/* Utilities */
.text-center { text-align: center; }
.mb-large { margin-bottom: 80px; }
.hidden { display: none; }

