/* ПОЛИДОМЕН Production — Dark Theme */
:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-alt: #0f0f18;
    --border: #1a1a2e;
    --accent: #00d4ff;
    --accent-dim: #0099bb;
    --conf-high: #00ff88;
    --conf-mid: #ffaa00;
    --conf-low: #ff4444;
    --text: #e0e0e0;
    --text-sec: #888;
    --text-dim: #777;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.8; }
h1,h2,h3,h4 { font-weight: 600; letter-spacing: -0.02em; }

/* ═══════════ GATE OVERLAY ═══════════ */
#gate-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(5, 5, 10, 0.97);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(20px);
}
#gate-overlay.hidden { display: none; }
.gate-container {
    max-width: 480px; width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 120px rgba(0,212,255,0.04);
}
.gate-brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem; font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}
.gate-subtitle {
    font-size: 0.7rem; color: var(--text-dim);
    letter-spacing: 0.3em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.gate-divider {
    height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 2rem 1.5rem;
}
.gate-message {
    font-size: 0.85rem; color: var(--text-sec);
    line-height: 1.7; margin-bottom: 2rem;
}
.gate-tabs {
    display: flex; gap: 0; margin-bottom: 1.5rem;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
}
.gate-tab {
    flex: 1; padding: 0.6rem 1rem;
    background: transparent; border: none;
    color: var(--text-sec); font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
    font-family: inherit;
}
.gate-tab + .gate-tab { border-left: 1px solid var(--border); }
.gate-tab.active { background: var(--accent); color: #000; }
.gate-form { display: flex; flex-direction: column; gap: 0.75rem; }
.gate-form input, .gate-form textarea {
    padding: 0.7rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text); font-size: 0.85rem;
    font-family: inherit;
    transition: border-color .2s;
}
.gate-form input:focus, .gate-form textarea:focus {
    outline: none; border-color: var(--accent);
}
.gate-form textarea { resize: vertical; min-height: 60px; }
.gate-submit {
    padding: 0.75rem; border: none; border-radius: var(--radius);
    background: var(--accent); color: #000;
    font-weight: 600; font-size: 0.85rem;
    cursor: pointer; transition: opacity .2s;
    font-family: inherit;
}
.gate-submit:hover { opacity: 0.85; }
.gate-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.gate-note {
    font-size: 0.72rem; color: var(--text-dim);
    line-height: 1.5; margin-top: 0.25rem;
}
.gate-footer {
    margin-top: 2rem; padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.gate-lang-btn {
    background: none; border: none; color: var(--text-dim);
    font-size: 0.72rem; cursor: pointer; padding: 0.2rem 0.4rem;
    font-family: 'JetBrains Mono', monospace;
}
.gate-lang-btn:hover { color: var(--accent); }
.gate-success {
    background: rgba(0,255,136,0.1);
    border: 1px solid var(--conf-high);
    border-radius: var(--radius);
    padding: 1rem; color: var(--conf-high);
    font-size: 0.85rem;
}
.gate-error {
    background: rgba(255,68,68,0.1);
    border: 1px solid var(--conf-low);
    border-radius: var(--radius);
    padding: 0.6rem; color: var(--conf-low);
    font-size: 0.8rem; margin-bottom: 0.5rem;
}

/* Nav user status */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.user-name-label {
    font-size: 0.75rem; color: var(--conf-high);
    font-family: 'JetBrains Mono', monospace;
}
.btn-logout {
    padding: 0.25rem 0.6rem;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-sec); font-size: 0.7rem;
    border-radius: 4px; cursor: pointer;
    transition: all .2s; font-family: inherit;
}
.btn-logout:hover { border-color: var(--conf-low); color: var(--conf-low); }
.mono { font-family: 'JetBrains Mono', 'Fira Code', monospace; }

/* ════════════ NAV ════════════ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem; height: 56px;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
    padding: 0.4rem 0.9rem; border-radius: 6px;
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-sec); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text); background: rgba(0,212,255,0.08);
}
.nav-links a.active { color: var(--accent); }

/* Language toggle */
.lang-toggle {
    display: flex; gap: 0; margin-left: 1rem;
    border: 1px solid var(--border); border-radius: 6px;
    overflow: hidden;
}
.lang-btn {
    padding: 0.35rem 0.75rem; border: none;
    background: transparent;
    color: var(--text-sec); font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    line-height: 1;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--border); }
.lang-btn:hover { background: rgba(0,212,255,0.08); color: var(--text); }
.lang-btn.active {
    background: var(--accent); color: #000;
}

/* ════════════ PAGES ════════════ */
main { padding-top: 56px; min-height: 100vh; }
.page { display: none; }
.page.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ════════════ LANDING ════════════ */
.hero {
    position: relative;
    height: calc(100vh - 56px);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
#hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; opacity: 0.22;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 2rem;
}
.hero-content h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem; font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 40px rgba(0,212,255,0.3);
}
.hero-content p {
    font-size: 1.15rem; color: var(--text-sec);
    max-width: 520px; margin: 0 auto 2rem;
}
.hero-content .subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem; color: var(--text-dim);
    margin-top: -0.5rem; margin-bottom: 1.5rem;
}
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem; border-radius: 6px;
    background: var(--accent); color: #000;
    font-weight: 600; font-size: 0.95rem;
    transition: all .2s; cursor: pointer; border: none;
}
.btn-primary:hover { background: #33ddff; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,212,255,0.3); }
.btn-secondary {
    display: inline-block;
    padding: 0.55rem 1.4rem; border-radius: 6px;
    background: transparent; color: var(--accent);
    font-weight: 500; font-size: 0.85rem;
    border: 1px solid var(--accent); transition: all .2s; cursor: pointer;
}
.btn-secondary:hover { background: rgba(0,212,255,0.1); }

.stats-row {
    display: flex; justify-content: center; gap: 2rem;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(0,212,255,0.02) 100%);
}
.stat-card {
    text-align: center; padding: 2rem 3rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .2s, border-color .2s;
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.stat-number {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.8rem; font-weight: 700;
    color: var(--accent);
}
.stat-label {
    display: block; margin-top: 0.25rem;
    font-size: 0.85rem; color: var(--text-sec);
    text-transform: uppercase; letter-spacing: 0.1em;
}

.landing-section {
    max-width: 1100px; margin: 0 auto;
    padding: 4rem 2rem;
}
.landing-section h2 {
    font-size: 1.6rem; margin-bottom: 2rem;
    text-align: center;
}
.accuracy-content {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
    align-items: center;
}
#accuracy-chart { width: 100%; max-height: 360px; }
.accuracy-metrics {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
}
.metric-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.metric-row:last-child { border-bottom: none; }
.metric-label { color: var(--text-sec); font-size: 0.85rem; }
.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem; font-weight: 600; color: var(--accent);
}
.metric-unit { color: var(--text-sec); font-size: 0.75rem; margin-left: 0.25rem; }

.cae-icons { display: flex; justify-content: center; gap: 2rem; }
.cae-card {
    width: 180px; padding: 2rem 1.5rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); text-align: center;
    transition: all .2s;
}
.cae-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cae-card .cae-icon {
    font-size: 2rem; margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace; color: var(--accent);
}
.cae-card .cae-name { font-weight: 600; font-size: 1rem; }
.cae-card .cae-ext { color: var(--text-sec); font-size: 0.8rem; margin-top: 0.25rem; }

footer {
    text-align: center; padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim); font-size: 0.8rem;
}

/* ════════════ PREDICTOR ════════════ */
.predict-layout {
    display: grid;
    grid-template-columns: 250px 1fr 480px;
    gap: 0; min-height: calc(100vh - 56px);
}
.predict-sidebar {
    padding: 1.5rem; overflow-y: auto;
    border-right: 1px solid var(--border);
    background: var(--bg-card);
    max-height: calc(100vh - 56px);
}
.predict-sidebar h3 {
    font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-sec);
    margin-bottom: 0.75rem; margin-top: 1.5rem;
}
.predict-sidebar h3:first-child { margin-top: 0; }
.search-input {
    width: 100%; padding: 0.6rem 0.8rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text);
    font-size: 0.85rem; outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-dim); }
.polymer-list {
    margin-top: 0.75rem; max-height: 300px;
    overflow-y: auto;
}
.polymer-item {
    padding: 0.5rem 0.6rem; cursor: pointer;
    border-radius: 4px; font-size: 0.82rem;
    display: flex; justify-content: space-between;
    transition: background .15s;
}
.polymer-item:hover { background: rgba(0,212,255,0.06); }
.polymer-item.active { background: rgba(0,212,255,0.12); color: var(--accent); }
.polymer-item .tg-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem; color: var(--text-dim);
}
.family-group { margin-bottom: 0.5rem; }
.family-label {
    font-size: 0.7rem; text-transform: uppercase;
    color: var(--text-dim); letter-spacing: 0.08em;
    padding: 0.4rem 0.6rem; margin-top: 0.5rem;
}

/* Processing controls */
.control-group { margin-bottom: 1rem; }
.control-label {
    display: block; font-size: 0.78rem;
    color: var(--text-sec); margin-bottom: 0.3rem;
}
.control-select, .control-range-wrap {
    width: 100%;
}
.control-select select {
    width: 100%; padding: 0.45rem 0.6rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 4px; color: var(--text);
    font-size: 0.8rem; cursor: pointer; outline: none;
}
.control-select select:focus { border-color: var(--accent); }
.range-row { display: flex; align-items: center; gap: 0.5rem; }
input[type="range"] {
    flex: 1; -webkit-appearance: none; appearance: none;
    height: 4px; background: var(--border); border-radius: 2px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px;
    border-radius: 50%; background: var(--accent);
    cursor: pointer; border: none;
}
.range-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem; color: var(--accent);
    min-width: 40px; text-align: right;
}

/* Results */
.predict-main {
    padding: 1.5rem 2rem; overflow-y: auto;
    max-height: calc(100vh - 56px);
}
.predict-title {
    font-size: 1.4rem; margin-bottom: 0.25rem;
}
.predict-subtitle { color: var(--text-sec); font-size: 0.85rem; margin-bottom: 1.5rem; }
.property-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.prop-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.2rem 1.4rem;
    transition: border-color .2s;
}
.prop-card:hover { border-color: rgba(0,212,255,0.3); }
.prop-label {
    font-size: 0.78rem; color: var(--text-sec);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.prop-value-row { display: flex; align-items: baseline; gap: 0.5rem; }
.prop-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.7rem; font-weight: 600; color: var(--text);
}
.prop-unit {
    font-size: 0.8rem; color: var(--text-dim);
}
.prop-secondary {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem; color: var(--text-sec);
    margin-top: 0.1rem;
}
.confidence-bar {
    margin-top: 0.6rem; height: 4px;
    background: var(--border); border-radius: 2px;
    overflow: hidden; position: relative;
}
.confidence-fill {
    height: 100%; border-radius: 2px;
    transition: width .6s ease;
}
.confidence-fill.high { background: var(--conf-high); }
.confidence-fill.mid { background: var(--conf-mid); }
.confidence-fill.low { background: var(--conf-low); }
.prop-conditions {
    margin-top: 0.4rem; font-size: 0.68rem;
    color: var(--text-dim); font-style: italic;
}
.prop-card-full { grid-column: 1 / -1; }

/* Export row */
.export-row {
    display: flex; gap: 0.75rem; margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* 3D panel — WIDER */
.predict-3d {
    border-left: 1px solid var(--border);
    background: var(--bg-card);
    display: flex; flex-direction: column;
    max-height: calc(100vh - 56px);
}
#polymer-3d {
    flex: 1; min-height: 400px;
    cursor: grab;
}
#polymer-3d:active { cursor: grabbing; }
.chain-info {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
}
.chain-info .info-row {
    display: flex; justify-content: space-between;
    padding: 0.3rem 0;
}
.chain-info .info-value {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
}

/* ════════════ DESIGNER ════════════ */
.design-layout {
    max-width: 1100px; margin: 0 auto;
    padding: 2rem;
}
.design-controls {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
    margin-bottom: 2rem;
}
.design-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}
.slider-group { }
.slider-label {
    display: flex; justify-content: space-between;
    margin-bottom: 0.5rem;
}
.slider-name { font-size: 0.85rem; color: var(--text-sec); }
.slider-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem; color: var(--accent);
}
.slider-group input[type="range"] { width: 100%; }
.design-actions { text-align: center; margin-top: 1.5rem; }

.results-table-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.results-table {
    width: 100%; border-collapse: collapse;
    font-size: 0.85rem;
}
.results-table th {
    background: #0d0d15; padding: 0.8rem 1rem;
    text-align: left; font-weight: 600;
    color: var(--text-sec); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1;
}
.results-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
}
.results-table tr:nth-child(even) { background: var(--bg-card-alt); }
.results-table tr:hover { background: rgba(0,212,255,0.04); }
.results-table .mono-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}
.results-table .action-link {
    color: var(--accent); cursor: pointer;
    font-size: 0.8rem;
}
.results-table .action-link:hover { text-decoration: underline; }

/* ════════════ COMPARE ════════════ */
.compare-layout {
    max-width: 1100px; margin: 0 auto;
    padding: 2rem;
}
.compare-select {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    margin-bottom: 2rem; align-items: center;
}
.compare-chip {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.8rem; border-radius: 20px;
    background: rgba(0,212,255,0.1); border: 1px solid var(--accent);
    font-size: 0.82rem; color: var(--accent);
}
.compare-chip .remove-chip {
    cursor: pointer; font-size: 0.9rem;
    opacity: 0.6; transition: opacity .2s;
}
.compare-chip .remove-chip:hover { opacity: 1; }
.compare-add {
    padding: 0.4rem 0.8rem; border-radius: 20px;
    background: var(--bg-card); border: 1px solid var(--border);
    font-size: 0.82rem; color: var(--text-sec); cursor: pointer;
    transition: border-color .2s;
}
.compare-add:hover { border-color: var(--accent); }
.compare-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: start;
}
#radar-chart { width: 100%; max-height: 420px; }
.compare-table-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: auto; max-height: 500px;
}

/* ════════════ TEMPERATURE ════════════ */
.temp-layout {
    max-width: 1000px; margin: 0 auto; padding: 2rem;
}
.temp-select-row {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 2rem;
}
.temp-select-row select {
    flex: 1; max-width: 300px;
    padding: 0.6rem 0.8rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text);
    font-size: 0.9rem; cursor: pointer; outline: none;
}
.temp-select-row select:focus { border-color: var(--accent); }
.temp-chart-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
}
#temp-chart { width: 100%; max-height: 450px; }
.regime-legend {
    display: flex; justify-content: center; gap: 1.5rem;
    margin-top: 1rem; font-size: 0.78rem;
}
.regime-dot {
    display: inline-block; width: 10px; height: 10px;
    border-radius: 50%; margin-right: 0.3rem;
    vertical-align: middle;
}

/* ════════════ LOADING / EMPTY ════════════ */
.loading {
    text-align: center; padding: 3rem;
    color: var(--text-dim);
}
.spinner {
    display: inline-block; width: 28px; height: 28px;
    border: 3px solid var(--border); border-top-color: var(--accent);
    border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
    text-align: center; padding: 4rem 2rem;
    color: var(--text-dim);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.3; }

/* ════════════ COUNT-UP ════════════ */
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.counting { animation: countPulse .3s ease; }

/* ════════════ STAGGERED FADE-IN ════════════ */
.stagger-in { opacity: 0; transform: translateY(12px); animation: staggerFade .4s ease forwards; }
.stagger-in:nth-child(1) { animation-delay: 0s; }
.stagger-in:nth-child(2) { animation-delay: 0.08s; }
.stagger-in:nth-child(3) { animation-delay: 0.16s; }
.stagger-in:nth-child(4) { animation-delay: 0.24s; }
.stagger-in:nth-child(5) { animation-delay: 0.32s; }
.stagger-in:nth-child(6) { animation-delay: 0.40s; }
.stagger-in:nth-child(7) { animation-delay: 0.48s; }
.stagger-in:nth-child(8) { animation-delay: 0.56s; }
@keyframes staggerFade {
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════ SCROLLBAR ════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ════════════ CAPABILITIES ════════════ */
.capabilities-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem; margin-top: 2rem;
}
.cap-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.8rem 1.5rem;
    transition: all .2s;
}
.cap-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-2px); }
.cap-card .cap-icon {
    font-size: 1.6rem; margin-bottom: 0.8rem; display: block;
}
.cap-card h3 {
    font-size: 1rem; margin-bottom: 0.5rem; color: var(--text);
    text-transform: none; letter-spacing: 0;
}
.cap-card p {
    font-size: 0.82rem; color: var(--text-sec); line-height: 1.5;
}

/* ════════════ DOMEN EXPANSION ════════════ */
.domen-expansion {
    text-align: center; padding: 1.5rem 2rem;
    font-size: 0.82rem; color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}

/* ════════════ SCHEDULE BANNER ════════════ */
.schedule-banner {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: var(--radius);
    padding: 0.8rem 1.5rem;
    text-align: center;
    font-size: 0.85rem; color: var(--accent);
    margin: 0 auto; max-width: 600px;
}

/* ════════════ FEEDBACK ════════════ */
.feedback-section {
    max-width: 700px; margin: 3rem auto 0;
    padding: 2rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.feedback-section h3 {
    font-size: 1rem; margin-bottom: 1rem;
    text-transform: none; letter-spacing: 0;
}
.feedback-row {
    display: flex; gap: 0.75rem; margin-bottom: 1rem;
    align-items: stretch;
}
.feedback-row select {
    padding: 0.6rem 0.8rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text);
    font-size: 0.85rem; cursor: pointer; outline: none;
}
.feedback-row textarea {
    flex: 1; padding: 0.6rem 0.8rem; min-height: 60px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text);
    font-size: 0.85rem; outline: none; resize: vertical;
    font-family: 'Inter', sans-serif;
}
.feedback-row textarea:focus,
.feedback-row select:focus { border-color: var(--accent); }
.feedback-help {
    font-size: 0.78rem; color: var(--text-dim);
    text-align: center; margin-top: 0.75rem;
    font-style: italic;
}

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1200px) {
    .predict-layout { grid-template-columns: 240px 1fr; }
    .predict-3d { display: none; }
}
@media (max-width: 1024px) {
    .accuracy-content { grid-template-columns: 1fr; }
    .design-grid { grid-template-columns: 1fr 1fr; }
    .compare-content { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .predict-layout { grid-template-columns: 1fr; }
    .predict-sidebar {
        max-height: none; border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .stats-row { flex-direction: column; align-items: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .property-cards { grid-template-columns: 1fr; }
    .design-grid { grid-template-columns: 1fr; }
    .nav-links a { padding: 0.3rem 0.5rem; font-size: 0.75rem; }
    .cae-icons { flex-direction: column; align-items: center; }
    .lang-toggle { margin-left: 0.5rem; }
    .capabilities-grid { grid-template-columns: 1fr; }
}

/* ════════════ TOOLTIP ════════════ */
.tooltip-trigger { position: relative; cursor: help; }
.tooltip-trigger::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 6px); left: 50%;
    transform: translateX(-50%); white-space: nowrap;
    padding: 0.4rem 0.7rem; border-radius: 4px;
    background: #1a1a2e; border: 1px solid var(--border);
    font-size: 0.72rem; color: var(--text-sec);
    opacity: 0; pointer-events: none; transition: opacity .2s;
    z-index: 10;
}
.tooltip-trigger:hover::after { opacity: 1; }

/* ════════════ NOTIFICATIONS ════════════ */
.toast {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    padding: 0.8rem 1.2rem; border-radius: 6px;
    background: var(--bg-card); border: 1px solid var(--border);
    font-size: 0.85rem; z-index: 200;
    animation: slideUp .3s ease;
}
.toast.error { border-color: var(--conf-low); color: var(--conf-low); }
.toast.success { border-color: var(--conf-high); color: var(--conf-high); }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ════════════ AD WARNING ════════════ */
.ad-warning {
    background: rgba(255,170,0,0.08);
    border: 1px solid rgba(255,170,0,0.3);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    font-size: 0.82rem; color: var(--conf-mid);
    margin-top: 1rem;
}
