/* ═══════════════════════════════════════════════════════════
   VEHICLE SPECIFICATIONS PAGE
   ═══════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-eyebrow {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
form.btn-form {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
    transition: all 0.18s ease;
    cursor: pointer;
}
form.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
}
form.btn-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
form.btn-form.btn-large button {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.18s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.feature-hero {
    padding: 9rem 2rem 4rem;
    background: var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.feature-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.feature-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1.25rem;
}

.hero-accent {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.feature-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FIELD CATEGORIES
   ═══════════════════════════════════════════════════════════ */
.fields-section {
    padding: 5rem 2rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fields-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.fields-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.fields-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.field-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.15s, transform 0.15s;
}

.field-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

.field-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.field-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   API EXAMPLE
   ═══════════════════════════════════════════════════════════ */
.api-example-section {
    padding: 5rem 2rem;
    background: var(--bg);
}

.api-example-inner {
    max-width: 860px;
    margin: 0 auto;
}

.api-example-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.api-example-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.code-dot.red    { background: #ef4444; }
.code-dot.yellow { background: #eab308; }
.code-dot.green  { background: #22c55e; }

.code-title {
    margin-left: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', 'Monaco', monospace;
}

.code-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-body pre {
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.82rem;
    line-height: 1.75;
    text-align: left;
    color: var(--text-bright);
}

.code-comment { color: var(--text-subtle); }
.code-string  { color: #3fb950; }
.code-key     { color: #79c0ff; }
.code-number  { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.cta {
    padding: 8rem 2rem;
    background: var(--bg-elevated);
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq {
    padding: 8rem 2rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-top: 1px solid var(--border);
    padding: 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--text-bright); }

.faq-item p {
    padding: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.faq-item p code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.faq-item p a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
    background: var(--bg-deep);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-text {
    color: var(--text-subtle);
    font-size: 0.82rem;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS & RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.feature-hero .section-eyebrow { animation: fadeInUp 0.4s ease-out 0.1s both; }
.feature-hero h1               { animation: fadeInUp 0.4s ease-out 0.2s both; }
.feature-hero p                { animation: fadeInUp 0.4s ease-out 0.3s both; }
.feature-hero-actions          { animation: fadeInUp 0.4s ease-out 0.4s both; }

@media (max-width: 768px) {
    .feature-hero { padding: 7rem 1.25rem 3rem; }
    .fields-section,
    .api-example-section,
    .cta,
    .faq { padding: 5rem 1.25rem; }
}
