/* ── Model Page Hero ── */
.model-hero {
    padding: 140px 24px 80px;
    background: #0a0a0a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

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

.model-hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.model-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.model-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255,255,255,0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-hero-tagline {
    font-size: 20px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.model-hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 36px;
}

.model-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.model-hero .btn-hero {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.model-hero .btn-hero-primary {
    background: #ffffff;
    color: #0a0a0a;
}

.model-hero .btn-hero-primary:hover {
    background: rgba(255,255,255,0.88);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

/* Hero chat input (shared with home) */
.model-hero .hero-input-title { font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 14px; text-align: center; }
.model-hero .hero-chat-input { max-width: 520px; margin: 32px auto 0; width: 100%; }
.model-hero .hero-input-box {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 12px 12px 12px 18px; transition: all 0.2s; backdrop-filter: blur(8px);
}
.model-hero .hero-input-box:focus-within {
    border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.model-hero .hero-input-box textarea {
    flex:1; border:none; background:transparent; resize:none; outline:none;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Inter',Roboto,sans-serif;
    font-size:16px; color:#fff; line-height:1.5; max-height:120px; min-height:24px; padding:0;
}
.model-hero .hero-input-box textarea::placeholder { color: rgba(255,255,255,0.35); }
.model-hero .hero-send-btn {
    width:36px; height:36px; border-radius:50%; background:#fff; border:none;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    cursor:pointer; transition:all .15s; color:#0a0a0a;
}
.model-hero .hero-send-btn:disabled { opacity:.15; cursor:not-allowed; }
.model-hero .hero-send-btn:not(:disabled):hover { opacity:.85; transform:scale(1.05); }
.model-hero .hero-send-btn svg { width:16px; height:16px; }

/* Meta pills */
.model-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.model-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.model-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
}

.model-meta-item strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

/* ── Key Features ── */
.model-features {
    padding: 80px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.model-features-inner {
    max-width: 900px;
    margin: 0 auto;
}

.model-section-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 36px;
}

.model-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.model-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.15s;
}

.model-feature-item:hover {
    border-color: var(--text);
}

.model-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-feature-icon svg {
    width: 16px;
    height: 16px;
    color: var(--text);
}

.model-feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 8px;
}

@media (max-width: 640px) {
    .model-features-grid { grid-template-columns: 1fr; }
}

/* ── Capability Table ── */
.model-capabilities {
    padding: 80px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.model-capabilities-inner {
    max-width: 900px;
    margin: 0 auto;
}

.model-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.model-table th,
.model-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.model-table th {
    font-weight: 600;
    color: var(--text-tertiary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-secondary);
}

.model-table td:first-child {
    font-weight: 600;
    color: var(--text);
}

.model-table td:last-child {
    color: var(--text-secondary);
}

.model-table tr:last-child td {
    border-bottom: none;
}

.model-table tbody tr {
    background: var(--bg);
    transition: background 0.1s;
}

.model-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.cap-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.cap-badge.best { background: #0a0a0a; color: #ffffff; }
.cap-badge.excellent { background: #e8e8e8; color: #111; }
.cap-badge.very-good { background: #f0f0f0; color: #444; }
.cap-badge.not-supported { background: #fef2f2; color: #991b1b; }

/* ── Model FAQ ── */
.model-faq {
    padding: 80px 24px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

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

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

.model-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
}

.model-faq-question svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--text-tertiary);
}

.model-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.model-faq-item.open .model-faq-question svg {
    transform: rotate(180deg);
    color: var(--text);
}

.model-faq-item.open .model-faq-answer {
    max-height: 300px;
}

.model-faq-answer-inner {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Model CTA ── */
.model-cta {
    padding: 80px 24px;
    text-align: center;
    background: #0a0a0a;
    color: #fff;
    border-top: none;
}

.model-cta h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.model-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 28px;
}

.model-cta .btn-hero-primary {
    background: #ffffff;
    color: #0a0a0a;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.model-cta .btn-hero-primary:hover {
    background: rgba(255,255,255,0.88);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}
