/* ===== INTER FONT ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Inter-700.woff2') format('woff2'); }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; font-weight: 400; color: #111827; background: #f9fafb; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: normal; }
/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 768px; }
.container-form { max-width: 960px; }
.text-center { text-align: center; }

.section { padding: 80px 0; }
.section-black { padding: 56px 0; }
.section-light { background: #ffffff; border-top: 1px solid #f3f4f6; padding-top: 32px; padding-bottom: 64px; }
.section-gray { background: #f9fafb; }
.section-dark { background: #0a0a0a; color: #ffffff; }
.section-darker { background: #111827; color: #ffffff; border-top: 1px solid #1f2937; }
.section-black { background: #000000; color: #ffffff; border-top: 1px solid #1f2937; }

.section-title { font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: #4b5563; max-width: 768px; margin: 0 auto 64px; font-size: 1.125rem; }
@media(min-width: 768px) { .section-title { font-size: 2.25rem; } }

.grid { display: grid; gap: 48px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; align-items: center; gap: 64px; }
.grid-2-spotlight { grid-template-columns: 1fr; gap: 64px; align-items: stretch; }
@media(min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-2-spotlight { grid-template-columns: repeat(2, 1fr); }
}

/* ===== BUTTONS ===== */
.btn { display: inline-block; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; transition: background-color .15s, box-shadow .15s; font-family: inherit; text-align: center; }
/* Even glow all the way around */
.btn-primary { background: #2563eb; color: #ffffff; box-shadow: 0 0 20px 0 rgba(59, 130, 246, .45); }
.btn-primary:hover { background: #3b82f6; box-shadow: 0 0 24px 2px rgba(59, 130, 246, .55); }
.btn-primary:disabled { background: #6b7280; cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 12px 32px; font-size: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #60a5fa; font-weight: 600; margin-top: 32px; transition: color .15s; }
.link-arrow:hover { color: #93c5fd; }
.link-arrow i { font-size: .9em; }
.link-blue { color: #60a5fa; }
.link-blue:hover { text-decoration: underline; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; background: #0a0a0a; color: #ffffff; padding: 16px 24px; border-bottom: 1px solid #1f2937; z-index: 50; }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 56px; width: auto; }

/* ===== HERO ===== */
.hero { position: relative; background: #000000; color: #ffffff; padding: 128px 24px 64px; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 10; }

/* Mobile: text left-aligned at natural width; portal pinned to right edge, overlaps behind */
.hero-text { text-align: left; position: relative; z-index: 10; }
.hero-text h1 { font-size: 2rem; font-weight: 700; line-height: normal; margin-bottom: 20px; }
.hero-text p { font-size: .9375rem; color: #d1d5db; margin-bottom: 28px; line-height: 1.5; }

/* Portal pinned flush to right edge, vertically centered, behind text */
.hero-bg { position: absolute; top: 36%; right: 0; transform: translateY(-50%); pointer-events: none; z-index: 1; width: 70%; max-width: 320px; }
.hero-bg img { width: 100%; height: auto; clip-path: inset(4px); }
.hero-spacer { display: none; }

/* Tablet+ : portal as background centered, text on left half */
@media(min-width: 768px) {
    .hero { padding: 144px 24px 128px; }
    .hero-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
    .hero-text h1 { font-size: 3.75rem; }
    .hero-text p { font-size: 1.25rem; line-height: 1.625; }
    .hero-bg { position: absolute; inset: 0; top: 0; right: 0; transform: none; width: 100%; max-width: none; display: flex; align-items: center; justify-content: center; }
    .hero-bg img { width: 65%; }
    .hero-spacer { display: block; height: 420px; }
}

/* ===== FEATURE CARDS ===== */
.card { background: #ffffff; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: box-shadow .15s; }
.card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.card-feature { padding: 24px; text-align: center; }
.card-feature img { height: 96px; width: auto; margin: 0 auto 24px; object-fit: contain; }
.card-feature h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.card-feature p { color: #4b5563; line-height: 1.625; font-size: .9375rem; }
.section-gray .card { background: #ffffff; border-color: #e5e7eb; }

/* ===== SPOTLIGHT (MODELS) ===== */
.section-light h2 { font-size: 1.875rem; font-weight: 700; color: #111827; margin-bottom: 24px; }
@media(min-width: 768px) { .section-light h2 { font-size: 2.25rem; } }
.lead { color: #4b5563; font-size: 1.125rem; margin-bottom: 24px; line-height: 1.625; }
.callout { background: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; padding: 24px; margin-top: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.callout-header { display: flex; align-items: center; margin-bottom: 12px; gap: 12px; }
.callout-icon { background: #2563eb; color: #ffffff; border-radius: 9999px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .15); flex-shrink: 0; }
.callout-icon i { color: #ffffff; font-size: 1rem; }
.callout h4 { font-weight: 700; font-size: 1.125rem; color: #111827; }
.callout p { color: #374151; line-height: 1.625; }

.model-stack { display: flex; flex-direction: column; gap: 32px; height: 100%; justify-content: space-between; }
.model-card { background: #f9fafb; border: 1px solid #e5e7eb; padding: 32px; border-radius: 16px; display: flex; align-items: center; gap: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: box-shadow .15s; height: 100%; }
.model-card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.model-card p { font-size: .875rem; color: #4b5563; }
.model-logo { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.model-logo-lg { width: 115px; height: 115px; margin-left: -12px; }
.model-logo-md { width: 105px; height: 105px; }
.model-logo-sm { width: 86px; height: 86px;    margin-right: 20px; }

/* ===== CHECK LIST ===== */
.section-dark h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 32px; }
@media(min-width: 768px) { .section-dark h2 { font-size: 2.25rem; } }
.check-list { display: flex; flex-direction: column; gap: 24px; color: #d1d5db; }
.check-list li { display: flex; align-items: flex-start; gap: 16px; }
.check-list li i { color: #60a5fa; margin-top: 6px; flex-shrink: 0; font-size: 1.125rem; }

/* ===== INTEGRATION GRID (larger cards & icons) ===== */
.integration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(min-width: 768px) { .integration-grid { grid-template-columns: repeat(3, 1fr); } }
.integration-card { background: #1f2937; padding: 32px 16px; border-radius: 8px; text-align: center; border: 1px solid #374151; transition: border-color .15s; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.integration-card:hover { border-color: #3b82f6; }
.integration-card i { font-size: 3rem; margin-bottom: 16px; }
.integration-card p { font-size: .9375rem; font-weight: 600; }

/* ===== SECURITY BANNER ===== */
.security-banner { background: #eff6ff; border-top: 1px solid #dbeafe; border-bottom: 1px solid #dbeafe; padding: 48px 24px; }
.security-banner-icon { font-size: 2.25rem; color: #2563eb; margin-bottom: 16px; }
.security-banner h2 { font-size: 1.5rem; font-weight: 700; color: #111827; margin-bottom: 12px; }
.security-banner p { color: #4b5563; font-size: 1.125rem; }
.security-banner .underline { text-decoration: underline; text-decoration-color: #3b82f6; text-decoration-thickness: 4px; text-underline-offset: 2px; }
@media(min-width: 768px) { .security-banner h2 { font-size: 1.875rem; } }

/* ===== SECURITY DETAILS (larger cards & icons) ===== */
.section-darker h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 16px; }
.section-darker h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
@media(min-width: 768px) { .section-darker h2 { font-size: 2.25rem; } }
.muted { color: #9ca3af; max-width: 768px; margin: 0 auto 16px; font-size: 1.125rem; line-height: 1.625; }
.accent { color: #60a5fa; max-width: 768px; margin: 0 auto; font-size: 1.125rem; font-weight: 600; line-height: 1.625; }
.security-grid { margin-top: 64px; max-width: 1152px; margin-left: auto; margin-right: auto; gap: 32px; margin-bottom: 80px; }
.security-card { background: #1f2937; border: 1px solid #374151; padding: 40px 32px; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); transition: border-color .15s; min-height: 220px; }
.security-card:hover { border-color: #3b82f6; }
.security-card i { font-size: 2.5rem; color: #60a5fa; margin-bottom: 24px; display: block; }
.security-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.security-card p { color: #9ca3af; font-size: .9375rem; line-height: 1.625; }

/* ===== FILTER LIST (3 cols x 3 rows) ===== */
.filter-section { padding-top: 64px; border-top: 1px solid #1f2937; }
.filter-section h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; text-align: center; }
@media(min-width: 768px) { .filter-section h3 { font-size: 1.875rem; } }
.filter-section .muted { text-align: center; max-width: 672px; margin-bottom: 48px; }
.filter-list { display: grid; grid-template-columns: 1fr; gap: 16px 32px; max-width: 896px; margin: 0 auto; color: #d1d5db; }
@media(min-width: 640px) { .filter-list { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 768px) { .filter-list { grid-template-columns: repeat(3, 1fr); } }
.filter-list > div { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.filter-list i { color: #ef4444; font-size: 1.125rem; flex-shrink: 0; }

/* ===== FORM ===== */
.section-black h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 24px; }
@media(min-width: 768px) { .section-black h2 { font-size: 2.25rem; } }
.section-black .muted { margin-bottom: 40px; }
.demo-form { background: #111827; padding: 32px; border-radius: 12px; border: 1px solid #1f2937; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
@media(min-width: 768px) { .form-grid { grid-template-columns: repeat(3, 1fr); } }
.form-field label { display: block; font-size: .875rem; font-weight: 500; color: #9ca3af; margin-bottom: 8px; }
.form-field input { width: 100%; background: #000000; border: 1px solid #374151; color: #ffffff; border-radius: 4px; padding: 12px 16px; font-family: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.form-field input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.form-field-extra { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-submit-row { text-align: center; margin-top: 8px; }
.form-status { font-size: .9375rem; margin-top: 16px; min-height: 1.25em; text-align: center; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }
.form-note { font-size: .8125rem; color: #9ca3af; margin-top: 16px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-note i { color: #6b7280; }

/* ===== FOOTER ===== */
.footer { background: #ffffff; padding: 0 24px 48px; overflow: hidden; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.footer-portal { height: 375px; width: auto; object-fit: contain; margin-top: -48px; margin-bottom: -40px; position: relative; z-index: 0; }
@media(min-width: 768px) { .footer-portal { height: 500px; margin-top: -80px; margin-bottom: -64px; } }
.footer-logo { position: relative; z-index: 10; }
.footer-logo img { height: 80px; width: auto; margin-bottom: 16px; }
.footer-slogan { font-size: 1.125rem; color: #4b5563; font-weight: 700; letter-spacing: .025em; margin-bottom: 32px; position: relative; z-index: 10; }

.footer-columns { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 32px 40px; margin-bottom: 40px; position: relative; z-index: 10; }
@media(min-width: 768px) { .footer-columns { gap: 32px 96px; } }

.footer-col { display: flex; flex-direction: column; align-items: center; }
@media(min-width: 768px) { .footer-col { align-items: flex-start; } }
.footer-col h4 { font-size: 1.125rem; color: #4b5563; font-weight: 700; letter-spacing: .025em; margin-bottom: 12px; }
.footer-col a { display: block; font-size: .875rem; color: #4b5563; transition: color .15s; margin-bottom: 8px; }
.footer-col a:last-child { margin-bottom: 0; }
.footer-col a:hover { color: #2563eb; }

.footer-copy { font-size: .75rem; color: #9ca3af; text-align: center; position: relative; z-index: 10; }