/* content of styles.css */
:root {
    /* Colors - Zinc/Slate Theme */
    --bg: #FAFAFA;
    /* Zinc-50 */
    --bg-card: #FFFFFF;

    --text-main: #0F172A;
    /* Slate-900 */
    --text-muted: #475569;
    /* Slate-600 */
    --text-light: #94A3B8;
    /* Slate-400 */

    --primary: #0F172A;
    /* Slate-900 */
    --primary-fg: #FFFFFF;

    --accent: #6366f1;
    /* Indigo-500 */
    --accent-light: #e0e7ff;
    /* Indigo-100 */

    --border: #e2e8f0;
    /* Slate-200 */

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1100px;

    /* Shapes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    max-width: 20ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

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

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    max-width: 65ch;
    line-height: 1.7;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    background: var(--accent-light);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

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

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

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

/* Header */
.site-header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(250, 250, 250, 0.85);
    /* Matches bg var */
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: none;
    /* Hidden on mobile by default */
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .nav-links a {
        font-weight: 500;
        color: var(--text-muted);
        font-size: 0.95rem;
    }

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

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

/* Hero */
.hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
    text-align: center;
}

.hero .sub-headline {
    font-size: 1.35rem;
    margin: var(--spacing-md) auto;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* Feature Split Sections */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-split.reversed {
    direction: rtl;
    /* simple hack for swapping columns, reset strict direction in children */
}

.feature-split.reversed>* {
    direction: ltr;
}

.feature-content h2 {
    font-size: 2.25rem;
}

.feature-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    min-height: 400px;
    /* Placeholder height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stack Diagram Styled as Card */
.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.stack-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: monospace;
}

.stack-item {
    border: 1px solid var(--border);
    padding: 1.5rem 3rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.2s;
}

.stack-item:hover {
    transform: translateY(-2px);
}

.stack-item.veagent {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
}

.stack-item .text {
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-sans);
}

.stack-item .status {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.arrow {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Stats/Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.comp-item {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.comp-item:hover {
    border-color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.comp-item.highlight {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
}

.comp-item.highlight h3,
.comp-item.highlight p {
    color: var(--primary-fg);
    opacity: 1;
}

.comp-item h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.comp-item p {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-full);
    margin: 0 auto 1rem auto;
    background-color: var(--border);
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--border);
}

.team-member .name {
    margin-bottom: 0.25rem;
}

.social-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.social-link:hover {
    color: #0077b5;
    /* LinkedIn Color */
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg);
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Footer */
footer {
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    background: white;
}

/* Responsive */
@media (max-width: 900px) {

    .feature-split,
    .feature-split.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
        /* Reset for mobile */
    }

    .feature-visual {
        min-height: 250px;
        order: -1;
        /* Visual first on mobile often looks better, or leave as is */
    }

    :root {
        --container-width: 100%;
        --spacing-md: 1.5rem;
        --spacing-xl: 4rem;
    }
}