/* AI Ready VPS page styles */
.ai-page { background: var(--bg-1); color: var(--text-1); }
.ai-hero { position:relative; overflow:hidden; padding:96px 0 80px; background:radial-gradient(circle at 78% 48%,rgba(0,224,255,.11),transparent 30%),radial-gradient(circle at 16% 30%,rgba(43,66,160,.2),transparent 34%),linear-gradient(135deg,#08142c 0%,#030914 48%,#041827 100%); }
.ai-hero::before,.ai-section-grid::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.13; background-image:linear-gradient(rgba(0,224,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(0,224,255,.16) 1px,transparent 1px); background-size:40px 40px; mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 80%,transparent); }
.ai-hero .container,.ai-section-grid .container { position:relative; z-index:2; }
.ai-kicker { display:inline-flex; align-items:center; gap:8px; padding:7px 13px; border:1px solid rgba(0,224,255,.28); border-radius:999px; color:var(--cyan); background:rgba(0,224,255,.08); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ai-hero h1 { max-width:780px; margin:22px 0 18px; font-size:clamp(2.4rem,6vw,5rem); line-height:1.03; letter-spacing:-.04em; background:linear-gradient(135deg,#fff 15%,#bdefff 55%,#8b9cff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.ai-hero-copy { max-width:720px; color:var(--text-2); font-size:1.1rem; line-height:1.75; }
.ai-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.ai-breadcrumb { margin-bottom:26px; color:var(--text-4); font-size:13px; }
.ai-breadcrumb a { color:var(--cyan); text-decoration:none; }
.ai-hero-panel { position:relative; overflow:hidden; border:1px solid rgba(0,224,255,.34); border-radius:22px; background:rgba(6,18,36,.7); box-shadow:0 22px 70px rgba(0,0,0,.42),0 0 34px rgba(0,224,255,.08); }
.ai-hero-panel img { width:100%; height:285px; object-fit:cover; opacity:.9; mix-blend-mode:screen; }
.ai-hero-panel::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 25%,#071225 100%); }
.ai-hero-panel-content { position:absolute; left:24px; right:24px; bottom:22px; z-index:1; }
.ai-hero-panel-content strong { display:block; font-size:1.25rem; }
.ai-hero-panel-content span { color:var(--text-3); font-size:13px; }
.ai-section-grid { position:relative; overflow:hidden; }
.ai-section { padding:84px 0; }
/* Dark stripes: always dark in both themes */
.ai-dark-stripe { background:#060d1c; color:#fff; }
.ai-dark-stripe .ai-section-head h2 { color:#fff; }
.ai-dark-stripe .ai-section-head p { color:rgba(220,237,255,.72); }
.ai-section-light { background:#f4f8fc; color:#102039; }
body:not(.light-mode) .ai-section-light { background:#071225; color:var(--text-1); }
body:not(.light-mode) .ai-section-light .section-title,body:not(.light-mode) .ai-section-light h2,body:not(.light-mode) .ai-section-light h3 { color:var(--text-1); }
body:not(.light-mode) .ai-section-light .section-desc,body:not(.light-mode) .ai-section-light p { color:var(--text-3); }
.ai-section-light .section-title,.ai-section-light h2,.ai-section-light h3 { color:#102039; }
.ai-section-light .section-desc,.ai-section-light p { color:#53657d; }
.ai-section-head { max-width:680px; margin:0 auto 42px; text-align:center; }
.ai-section-head h2 { margin:10px 0 14px; font-size:clamp(1.9rem,3.8vw,2.8rem); }
.ai-section-head p { line-height:1.6; font-size:.95rem; max-width:580px; margin-left:auto; margin-right:auto; }
.ai-tier-card,.ai-template-card,.ai-info-card,.ai-price-card { height:100%; border:1px solid var(--border-mid); border-radius:18px; background:linear-gradient(145deg,var(--bg-3),var(--bg-2)); box-shadow:var(--shadow-sm); transition:transform .25s,border-color .25s,box-shadow .25s; }
.ai-tier-card:hover,.ai-template-card:hover,.ai-info-card:hover,.ai-price-card:hover { transform:translateY(-5px); border-color:rgba(0,224,255,.42); box-shadow:0 18px 42px rgba(0,0,0,.22); }
.ai-tier-card { padding:26px; display:flex; flex-direction:column; }
.ai-tier-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:14px; margin-bottom:20px; color:var(--cyan); background:rgba(0,224,255,.1); border:1px solid rgba(0,224,255,.22); font-size:24px; }
.ai-tier-card h3 { margin-bottom:10px; font-size:1.25rem; }
.ai-tier-card p { color:var(--text-3); line-height:1.65; }
.ai-tier-card .btn-secondary-svps { margin-top:auto; align-self:flex-start; }
.ai-badge-row { display:flex; flex-wrap:wrap; gap:7px; margin:16px 0; }
.ai-badge { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:700; color:var(--cyan); background:rgba(0,224,255,.08); border:1px solid rgba(0,224,255,.2); }
.ai-badge.violet { color:#b9b8ff; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
.ai-badge.green { color:#74e6ae; background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.25); }
.ai-table-wrap { overflow-x:auto; border:1px solid var(--border-mid); border-radius:16px; box-shadow:var(--shadow-sm); }
.ai-table { min-width:760px; margin:0; color:var(--text-2); }
.ai-table th { color:var(--cyan); background:rgba(0,224,255,.06); font-size:12px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
.ai-table td,.ai-table th { padding:16px 18px; border-color:var(--border); vertical-align:top; }
.ai-table tbody tr:hover { background:rgba(0,224,255,.04); }
.ai-table strong { color:var(--text-1); }
.ai-assistant { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:48px; align-items:center; padding:44px; border:1px solid rgba(99,102,241,.32); border-radius:24px; background:linear-gradient(135deg,rgba(31,42,87,.92),rgba(7,18,37,.96)); box-shadow:0 20px 60px rgba(0,0,0,.24); }
.ai-assistant h2 { margin:14px 0 16px; font-size:clamp(1.9rem,3.6vw,2.6rem); letter-spacing:-.02em; }
.ai-assistant p { color:var(--text-2); line-height:1.75; font-size:1.02rem; }
.ai-assistant ul { display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; padding:0; margin:26px 0; list-style:none; color:var(--text-2); font-size:.98rem; }
.ai-assistant li::before { content:"✓"; margin-right:8px; color:#74e6ae; font-weight:800; }
.ai-assistant-art { overflow:hidden; border-radius:18px; border:1px solid rgba(129,140,248,.38); background:#0a1225; }
.ai-assistant-art img { display:block; width:100%; height:auto; max-height:360px; object-fit:cover; }
/* CPU toggle — segmented control */
.ai-cpu-toggle { display:flex; gap:4px; max-width:620px; margin:0 auto 22px; padding:4px; border:1px solid var(--border-mid); border-radius:12px; background:rgba(255,255,255,.035); overflow:hidden; }
.ai-cpu-btn { flex:1; min-width:0; min-height:48px; padding:8px 10px; border:0; border-radius:8px; background:transparent; color:var(--text-3); font-size:12px; line-height:1.2; font-weight:800; cursor:pointer; transition:background .2s,color .2s; position:relative; }
.ai-cpu-btn + .ai-cpu-btn { border-left:0; }
.ai-cpu-btn:hover { color:var(--text-1); background:rgba(255,255,255,.06); }
.ai-cpu-btn.active { color:#fff; background:linear-gradient(135deg,#1463df,#087ea4); box-shadow:0 4px 12px rgba(0,98,255,.18); }
.ai-cpu-btn.active::after { content:""; position:absolute; left:50%; bottom:3px; transform:translateX(-50%); width:24px; height:2px; border-radius:2px; background:var(--cyan); }
.ai-cpu-btn:focus-visible { outline:2px solid var(--cyan); outline-offset:-2px; }
.ai-cpu-btn span { display:block; margin-top:3px; font-size:10px; font-weight:600; line-height:1.2; opacity:.7; white-space:nowrap; }
.ai-cpu-btn.active span { opacity:.9; }
.ai-selected-panel { max-width:800px; margin:0 auto 26px; padding:16px 18px; border:1px solid var(--border-mid); border-radius:14px; background:rgba(255,255,255,.035); }
.ai-selected-panel h3 { margin:0 0 7px; }
.ai-selected-panel p { margin:0; color:var(--text-3); line-height:1.45; font-size:13px; }
.ai-selected-panel .ai-callout { margin-bottom:0; }
.ai-callout { margin-top:18px; padding:14px 16px; border-left:3px solid var(--cyan); color:var(--text-3); background:rgba(0,224,255,.06); font-size:13px; line-height:1.6; }
.ai-filter-bar { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 auto 32px; }
.ai-filter { cursor:pointer; padding:10px 15px; border:1px solid var(--border-mid); border-radius:999px; background:transparent; color:var(--text-3); transition:.2s; }
.ai-filter:hover,.ai-filter.active { color:#fff; background:linear-gradient(135deg,#1463df,#087ea4); border-color:transparent; }
.ai-template-card { padding:22px; display:flex; flex-direction:column; }
.ai-template-card h3 { font-size:1.05rem; margin:4px 0 8px; }
.ai-template-card p { color:var(--text-3); font-size:13px; line-height:1.6; margin-bottom:0; }
.ai-template-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:18px 0; font-size:12px; }
.ai-template-meta span { padding:9px 10px; border-radius:9px; background:rgba(255,255,255,.04); color:var(--text-4); }
.ai-status-badge { display:inline-flex; padding:5px 9px; border-radius:999px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:#74e6ae; background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.24); }
.ai-status-badge.not-recommended { color:#fca5a5; background:rgba(239,68,68,.1); border-color:rgba(239,68,68,.24); }
.ai-status-badge.limited { color:#f6cf78; background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.24); }
.ai-status-badge.api-use { color:#b9b8ff; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
.ai-api-warning { margin:15px 0 18px; padding:11px 12px; border-left:3px solid #a78bfa; color:var(--text-3); background:rgba(129,140,248,.08); font-size:12px; line-height:1.55; }
.ai-matrix-status { display:inline-block; line-height:1.4; }
.ai-matrix-status.not-recommended { color:#fca5a5; }
.ai-matrix-status.limited { color:#f6cf78; }
.ai-matrix-status.api-use { color:#b9b8ff; }
.ai-template-meta strong { display:block; margin-top:3px; color:var(--text-2); font-size:12px; }
.ai-card-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }
.ai-card-actions a { font-size:12px; padding:9px 12px; }
.ai-price-card { position:relative; padding:22px; min-width:0; }
.ai-price-card.is-popular { border-color:rgba(0,224,255,.55); box-shadow:0 0 0 1px rgba(0,224,255,.18),0 18px 42px rgba(0,0,0,.24); }
.ai-popular-badge { position:absolute; top:14px; right:14px; padding:5px 8px; border-radius:999px; color:#08213a; background:#5eead4; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.ai-price-card-icon { width:44px; height:44px; display:grid; place-items:center; margin-bottom:16px; border-radius:12px; color:var(--cyan); background:rgba(0,224,255,.1); border:1px solid rgba(0,224,255,.24); }
.ai-price-card h3 { font-size:1.1rem; }
.ai-price { margin:20px 0; font-size:2rem; font-weight:800; color:var(--cyan); }
.ai-price small { font-size:12px; color:var(--text-4); font-weight:500; }
.ai-price-list { list-style:none; padding:0; margin:0 0 22px; color:var(--text-3); font-size:13px; line-height:1.85; }
.ai-price-card .btn-primary-svps { white-space:nowrap; font-size:12px; padding-left:10px; padding-right:10px; }
.ai-price-list strong { color:var(--text-1); }
.ai-category-hero { padding:66px 0 52px; background:linear-gradient(135deg,#071225,#08192c); }
.ai-category-hero h1 { margin:16px 0; font-size:clamp(2.2rem,5vw,4rem); }
.ai-category-hero p { max-width:760px; color:var(--text-2); line-height:1.75; font-size:1.05rem; }
.ai-warning { margin:22px 0; padding:15px 17px; border:1px solid rgba(245,158,11,.28); border-radius:12px; background:rgba(245,158,11,.08); color:#f6cf78; line-height:1.6; font-size:13px; }
.ai-form { padding:30px; border:1px solid var(--border-mid); border-radius:18px; background:linear-gradient(145deg,var(--bg-3),var(--bg-2)); }
.ai-form label { display:block; margin-bottom:7px; color:var(--text-2); font-size:13px; font-weight:700; }
.ai-form input,.ai-form select,.ai-form textarea { width:100%; padding:11px 12px; color:var(--text-1); background:rgba(255,255,255,.04); border:1px solid var(--border-mid); border-radius:9px; }
.ai-form textarea { min-height:120px; resize:vertical; }
.ai-form input:focus,.ai-form select:focus,.ai-form textarea:focus { outline:2px solid rgba(0,224,255,.35); border-color:var(--cyan); }
.ai-confirmation { display:none; padding:18px; margin-top:18px; border:1px solid rgba(34,197,94,.35); border-radius:12px; background:rgba(34,197,94,.08); color:#a6f1c7; line-height:1.6; }
.ai-confirmation.show { display:block; }
.ai-faq .accordion-item { background:var(--bg-3); border-color:var(--border-mid); }
.ai-faq .accordion-button { background:var(--bg-3); color:var(--text-1); }
.ai-faq .accordion-button:not(.collapsed) { background:rgba(0,224,255,.08); color:var(--cyan); }
.ai-faq .accordion-body { color:var(--text-3); background:var(--bg-3); }
body.light-mode .ai-section-light { background:#f4f8fc; }
body.light-mode .ai-cpu-toggle { background:#fff; border-color:rgba(10,38,75,.14); }
body.light-mode .ai-cpu-btn { color:#53657d; }
body.light-mode .ai-cpu-btn:hover { color:#102039; background:#eef4fa; }
body.light-mode .ai-cpu-btn.active { color:#fff; }
body.light-mode .ai-selected-panel { background:#fff; border-color:rgba(10,38,75,.14); }
body.light-mode .ai-selected-panel h3 { color:#102039; }
body.light-mode .ai-selected-panel p { color:#53657d; }
body.light-mode .ai-callout { color:#53657d; background:rgba(8,126,164,.06); }
body.light-mode .ai-template-meta span { background:#f4f8fc; color:#53657d; }
body.light-mode .ai-template-meta strong { color:#102039; }
body.light-mode .ai-table th { color:#087ea4; background:#eef4fa; }
body.light-mode .ai-table td { color:#53657d; }
body.light-mode .ai-api-warning { color:#53657d; background:rgba(99,102,241,.07); }
body.light-mode .ai-form input,body.light-mode .ai-form select,body.light-mode .ai-form textarea { color:#102039; background:#fff; border-color:rgba(10,38,75,.15); }
body.light-mode .ai-confirmation { color:#15803d; background:rgba(34,197,94,.08); }
body.light-mode .ai-tier-card,body.light-mode .ai-template-card,body.light-mode .ai-info-card,body.light-mode .ai-price-card,body.light-mode .ai-form { background:#fff; border-color:rgba(10,38,75,.13); box-shadow:0 2px 14px rgba(0,0,0,.06); }
body.light-mode .ai-template-card h3,body.light-mode .ai-tier-card h3,body.light-mode .ai-price-card h3 { color:#102039; }
body.light-mode .ai-template-card p,body.light-mode .ai-tier-card p { color:#53657d; }
body.light-mode .ai-table { color:#53657d; }
body.light-mode .ai-table strong { color:#102039; }
@media (max-width: 991px) { .ai-assistant { grid-template-columns:1fr; } }
@media (max-width: 575px) { .ai-hero { padding:64px 0; } .ai-section { padding:58px 0; } .ai-assistant { padding:22px; } .ai-assistant ul { grid-template-columns:1fr; } .ai-form { padding:20px; } }
@media (prefers-reduced-motion: reduce) { .ai-tier-card,.ai-template-card,.ai-info-card,.ai-price-card { transition:none; } }

@media (max-width:1199px) { .ai-cpu-btn { font-size:13px; padding-left:8px; padding-right:8px; } .ai-price-card .btn-primary-svps { white-space:normal; } }
@media (max-width:575px) { .ai-cpu-toggle { flex-direction:column; } .ai-cpu-btn { min-height:44px; } .ai-cpu-btn span { white-space:normal; } .ai-popular-badge { position:static; display:inline-block; margin-bottom:12px; } }

/* Hero network animation */
.ai-hero-network { position:absolute; inset:0; z-index:1; width:100%; height:100%; opacity:.86; pointer-events:none; }
.ai-hero-orbit { display:none; }
@media (prefers-reduced-motion: reduce) { .ai-hero-network { opacity:.5; } }
/* Disclaimer grid */
.ai-disclaimer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.ai-disclaimer-grid p { padding:14px 16px; border:1px solid var(--border-mid); border-radius:12px; background:rgba(255,255,255,.03); color:var(--text-3); font-size:13px; line-height:1.6; margin:0; }
body.light-mode .ai-disclaimer-grid p { background:#fff; border-color:rgba(10,38,75,.12); color:#53657d; }
.ai-assistant-art img + img { margin-top:12px; }
.ai-cpu-btn span { display:block; font-size:11px; font-weight:600; opacity:.7; margin-top:2px; }
.ai-cpu-btn.active span { opacity:.85; }
@media (prefers-reduced-motion: reduce) { .ai-hero-orbit { animation:none; } }

#ai-pricing-grid { width:100%; }
#pricing #ai-pricing-grid { max-width:1120px; margin:0 auto; }

.ai-custom-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.9fr); gap:36px; align-items:center; }
.ai-custom-images { display:grid; gap:14px; }
.ai-custom-images img { display:block; width:100%; max-height:260px; object-fit:cover; border:1px solid rgba(0,224,255,.24); border-radius:16px; box-shadow:0 16px 36px rgba(0,0,0,.18); }
.ai-highlight-message { padding:17px 18px; border-left:4px solid var(--cyan); border-radius:0 12px 12px 0; color:var(--text-1)!important; background:rgba(0,224,255,.08); font-weight:700; line-height:1.65; }
body.light-mode .ai-highlight-message { color:#102039!important; background:rgba(8,126,164,.08); }
@media (max-width:991px) { .ai-custom-layout { grid-template-columns:1fr; } }

/* Pricing section composition */
#pricing > .container { max-width:1180px; }
#pricing .ai-section-head { max-width:680px; margin-bottom:28px; }
#pricing .ai-section-head h2 { font-size:clamp(1.8rem,3.2vw,2.55rem); margin-bottom:10px; }
#pricing .ai-section-head p { max-width:620px; margin-left:auto; margin-right:auto; font-size:.94rem; line-height:1.6; }
#pricing .ai-cpu-toggle { max-width:620px; margin-bottom:18px; }
#pricing .ai-selected-panel { max-width:800px; padding:16px 18px; margin-bottom:24px; }
#pricing .ai-selected-panel h3 { font-size:1.18rem; }
#pricing .ai-selected-panel p { font-size:.8rem; line-height:1.45; }
#pricing .ai-selected-guidance { margin-top:8px; }
#pricing .ai-selected-panel .ai-callout { margin-top:8px; padding:8px 10px; font-size:.76rem; line-height:1.4; }
#pricing #ai-pricing-grid { max-width:1120px; margin:0 auto; }
#pricing .ai-price-card { min-height:318px; padding:21px; display:flex; flex-direction:column; }
#pricing .ai-price-card h3 { min-height:42px; margin-bottom:10px; font-size:1.02rem; line-height:1.25; }
#pricing .ai-price { margin:12px 0 14px; font-size:2rem; }
#pricing .ai-price-list { margin-bottom:18px; font-size:12px; line-height:1.7; }
#pricing .ai-price-card .btn-primary-svps { margin-top:auto; }
#pricing > .container > .ai-callout { max-width:900px; margin:24px auto 0; font-size:.82rem; }
@media (max-width:1199px) { #pricing > .container { max-width:1040px; } }
@media (max-width:991px) { #pricing > .container { max-width:760px; } }
@media (max-width:575px) { #pricing > .container { padding-left:20px; padding-right:20px; } #pricing .ai-selected-panel { padding:18px; } }

/* Single custom deployment image */
#custom-ai .ai-custom-images img { max-height: 520px; object-fit: cover; }
#custom-ai .ai-custom-panel { overflow:hidden; }
#custom-ai .ai-custom-beta-image { display:block; width:100%; height:auto; max-height:520px; object-fit:cover; }
.ai-faq .accordion { max-width:920px; margin:0 auto; }
.ai-faq .accordion-item + .accordion-item { border-top:0; }
.ai-faq .accordion-button { font-size:15px; font-weight:700; line-height:1.4; box-shadow:none; }
.ai-faq .accordion-body { font-size:14px; line-height:1.7; }
@media (max-width:575px) { #custom-ai .ai-custom-beta-image { min-height:220px; object-fit:cover; } }

/* Custom AI chat panel */
.ai-custom-panel { display:flex; flex-direction:column; border:1px solid rgba(0,224,255,.24); border-radius:20px; background:linear-gradient(160deg,rgba(10,22,43,.96),rgba(7,18,37,.98)); box-shadow:0 22px 60px rgba(0,0,0,.28); overflow:hidden; }
.ai-custom-panel-head { display:flex; align-items:center; gap:12px; padding:16px 20px; border-bottom:1px solid var(--border-mid); background:rgba(0,224,255,.04); }
.ai-custom-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:var(--cyan); background:rgba(0,224,255,.1); border:1px solid rgba(0,224,255,.24); font-size:20px; }
.ai-custom-panel-head strong { display:block; font-size:14px; color:var(--text-1); }
.ai-custom-panel-head span { display:block; font-size:11px; color:var(--text-4); }
.ai-custom-status { margin-left:auto; padding:4px 10px; border-radius:999px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:#74e6ae; background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.24); }
.ai-custom-panel-body { display:flex; flex-direction:column; gap:14px; padding:22px 20px; min-height:280px; }
.ai-chat-msg { max-width:82%; padding:12px 16px; border-radius:16px; font-size:13px; line-height:1.6; }
.ai-chat-msg p { margin:0; }
.ai-chat-user { align-self:flex-end; color:#fff; background:linear-gradient(135deg,#1463df,#087ea4); border-radius:16px 16px 4px 16px; }
.ai-chat-bot { align-self:flex-start; color:var(--text-2); background:rgba(255,255,255,.05); border:1px solid var(--border-mid); border-radius:16px 16px 16px 4px; }
.ai-custom-panel-foot { padding:16px 20px; border-top:1px solid var(--border-mid); background:rgba(0,224,255,.03); }
body.light-mode .ai-custom-panel { background:#fff; border-color:rgba(10,38,75,.13); box-shadow:0 8px 30px rgba(0,0,0,.08); }
body.light-mode .ai-custom-panel-head { background:#eef4fa; border-color:rgba(10,38,75,.1); }
body.light-mode .ai-custom-panel-head strong { color:#102039; }
body.light-mode .ai-custom-panel-head span { color:#53657d; }
body.light-mode .ai-custom-avatar { background:rgba(8,126,164,.1); border-color:rgba(8,126,164,.2); color:#087ea4; }
body.light-mode .ai-chat-bot { color:#53657d; background:#f4f8fc; border-color:rgba(10,38,75,.1); }
body.light-mode .ai-chat-user { color:#fff; }
body.light-mode .ai-custom-panel-foot { background:#f4f8fc; border-color:rgba(10,38,75,.1); }

/* Plan table */
.ai-plan-table-wrap { overflow-x:auto; border:1px solid var(--border-mid); border-radius:16px; box-shadow:var(--shadow-sm); }
.ai-plan-table { width:100%; min-width:760px; margin:0; border-collapse:collapse; color:var(--text-2); }
.ai-plan-table th { padding:14px 16px; color:var(--cyan); background:rgba(0,224,255,.06); font-size:12px; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; text-align:left; }
.ai-plan-table td { padding:14px 16px; border-top:1px solid var(--border); vertical-align:middle; font-size:14px; }
.ai-plan-table tbody tr { transition:background .2s; }
.ai-plan-table tbody tr:hover { background:rgba(0,224,255,.04); }
.ai-plan-table tbody tr.is-popular { background:rgba(0,224,255,.05); }
.ai-plan-table tbody tr.is-popular:hover { background:rgba(0,224,255,.08); }
.ai-plan-table td strong { color:var(--text-1); font-size:14px; }
.ai-popular-tag { display:inline-block; margin-left:8px; padding:2px 7px; border-radius:999px; color:#08213a; background:#5eead4; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; vertical-align:middle; }
.ai-price-cell { font-size:1.25rem; font-weight:800; color:var(--cyan); white-space:nowrap; }
.ai-price-cell small { font-size:11px; color:var(--text-4); font-weight:500; }
.ai-plan-btn { font-size:12px; padding:8px 14px; white-space:nowrap; }
body.light-mode .ai-plan-table th { color:#087ea4; background:#eef4fa; }
body.light-mode .ai-plan-table td { color:#53657d; }
body.light-mode .ai-plan-table td strong { color:#102039; }
body.light-mode .ai-plan-table tbody tr.is-popular { background:rgba(8,126,164,.05); }
body.light-mode .ai-plan-table-wrap { border-color:rgba(10,38,75,.13); }
/* Light mode: hovering a plan row turns it dark for clear feedback */
body.light-mode .ai-plan-table tbody tr:hover { background:#060d1c; }
body.light-mode .ai-plan-table tbody tr:hover td { color:rgba(220,237,255,.85); }
body.light-mode .ai-plan-table tbody tr:hover td strong { color:#fff; }
body.light-mode .ai-plan-table tbody tr.is-popular:hover { background:#0a1428; }
/* Light mode: hovering a price card turns it dark */
body.light-mode .ai-price-card:hover { background:linear-gradient(145deg,#0a1428,#060d1c); border-color:rgba(0,224,255,.42); box-shadow:0 18px 42px rgba(0,0,0,.22); }
body.light-mode .ai-price-card:hover h3 { color:#fff; }
body.light-mode .ai-price-card:hover .ai-price { color:var(--cyan); }
body.light-mode .ai-price-card:hover .ai-price small { color:var(--text-4); }
body.light-mode .ai-price-card:hover .ai-price-list { color:var(--text-3); }
body.light-mode .ai-price-card:hover .ai-price-list strong { color:var(--text-1); }
body.light-mode .ai-price-card:hover .ai-price-card-icon { background:rgba(0,224,255,.1); border-color:rgba(0,224,255,.24); color:var(--cyan); }
body.light-mode .ai-price-card:hover .ai-popular-badge { color:#08213a; background:#5eead4; }
/* Light mode: hovering a template card turns it dark */
body.light-mode .ai-template-card:hover { background:linear-gradient(145deg,#0a1428,#060d1c); border-color:rgba(0,224,255,.42); box-shadow:0 18px 42px rgba(0,0,0,.22); }
body.light-mode .ai-template-card:hover h3 { color:var(--text-1); }
body.light-mode .ai-template-card:hover p { color:var(--text-3); }
body.light-mode .ai-template-card:hover .ai-template-meta span { background:rgba(255,255,255,.04); color:var(--text-4); }
body.light-mode .ai-template-card:hover .ai-template-meta strong { color:var(--text-2); }
body.light-mode .ai-template-card:hover .ai-api-warning { color:var(--text-3); background:rgba(129,140,248,.08); }
body.light-mode .ai-template-card:hover .ai-status-badge { color:#74e6ae; background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.24); }
body.light-mode .ai-template-card:hover .ai-status-badge.not-recommended { color:#fca5a5; background:rgba(239,68,68,.1); border-color:rgba(239,68,68,.24); }
body.light-mode .ai-template-card:hover .ai-status-badge.limited { color:#f6cf78; background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.24); }
body.light-mode .ai-template-card:hover .ai-status-badge.api-use { color:#b9b8ff; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
/* Light mode: hovering a tier card turns it dark */
body.light-mode .ai-tier-card:hover { background:linear-gradient(145deg,#0a1428,#060d1c); border-color:rgba(0,224,255,.42); box-shadow:0 18px 42px rgba(0,0,0,.22); }
body.light-mode .ai-tier-card:hover h3 { color:var(--text-1); }
body.light-mode .ai-tier-card:hover p { color:var(--text-3); }
body.light-mode .ai-tier-card:hover .ai-tier-icon { background:rgba(0,224,255,.1); border-color:rgba(0,224,255,.22); color:var(--cyan); }
/* Light mode: template card text readability fixes */
body.light-mode .ai-template-card p { color:#53657d; }
body.light-mode .ai-template-card .ai-template-meta span { background:#f4f8fc; color:#53657d; }
body.light-mode .ai-template-card .ai-template-meta strong { color:#102039; }
body.light-mode .ai-template-card .ai-api-warning { color:#53657d; background:rgba(99,102,241,.07); }
body.light-mode .ai-template-card .ai-status-badge { color:#0b9b75; background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.24); }
body.light-mode .ai-template-card .ai-status-badge.not-recommended { color:#c5373a; background:rgba(239,68,68,.1); border-color:rgba(239,68,68,.24); }
body.light-mode .ai-template-card .ai-status-badge.limited { color:#9a6800; background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.24); }
body.light-mode .ai-template-card .ai-status-badge.api-use { color:#4f46e5; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
/* Light mode: price card text readability */
body.light-mode .ai-price-card h3 { color:#102039; }
body.light-mode .ai-price-card .ai-price { color:#087ea4; }
body.light-mode .ai-price-card .ai-price small { color:#53657d; }
body.light-mode .ai-price-card .ai-price-list { color:#53657d; }
body.light-mode .ai-price-card .ai-price-list strong { color:#102039; }
body.light-mode .ai-price-card .ai-price-card-icon { background:rgba(8,126,164,.1); border-color:rgba(8,126,164,.2); color:#087ea4; }
body.light-mode .ai-price-card .ai-popular-badge { color:#08213a; background:#5eead4; }
/* Light mode: tier card text readability */
body.light-mode .ai-tier-card h3 { color:#102039; }
body.light-mode .ai-tier-card p { color:#53657d; }
body.light-mode .ai-tier-card .ai-tier-icon { background:rgba(8,126,164,.1); border-color:rgba(8,126,164,.2); color:#087ea4; }
/* Light mode: info card text readability */
body.light-mode .ai-info-card h3 { color:#102039; }
body.light-mode .ai-info-card p { color:#53657d; }
/* Light mode: deployment matrix table readability */
body.light-mode .ai-matrix-table th { color:#087ea4; background:#eef4fa; }
body.light-mode .ai-matrix-table td { color:#53657d; }
body.light-mode .ai-matrix-table td strong { color:#102039; }
body.light-mode .ai-matrix-table tbody tr:hover { background:rgba(8,126,164,.04); }
/* Light mode: badge readability on light backgrounds */
body.light-mode .ai-badge { color:#087ea4; background:rgba(8,126,164,.08); border-color:rgba(8,126,164,.2); }
body.light-mode .ai-badge.violet { color:#4f46e5; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
body.light-mode .ai-badge.green { color:#0b9b75; background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.25); }
/* Light mode: filter bar readability */
body.light-mode .ai-filter { color:#53657d; border-color:rgba(10,38,75,.14); background:#fff; }
body.light-mode .ai-filter:hover { color:#102039; background:#eef4fa; border-color:rgba(10,38,75,.14); }
body.light-mode .ai-filter.active { color:#fff; background:linear-gradient(135deg,#1463df,#087ea4); border-color:transparent; }
/* Light mode: hero badges readability */
body.light-mode .ai-hero .ai-badge { color:var(--cyan); background:rgba(0,224,255,.08); border-color:rgba(0,224,255,.2); }
body.light-mode .ai-hero .ai-badge.violet { color:#b9b8ff; background:rgba(99,102,241,.1); border-color:rgba(129,140,248,.28); }
body.light-mode .ai-hero .ai-badge.green { color:#74e6ae; background:rgba(34,197,94,.1); border-color:rgba(34,197,94,.25); }
/* Light mode: hero stays dark so keep hero text dark-theme colored */
body.light-mode .ai-hero { background:radial-gradient(circle at 78% 48%,rgba(0,224,255,.11),transparent 30%),radial-gradient(circle at 16% 30%,rgba(43,66,160,.2),transparent 34%),linear-gradient(135deg,#08142c 0%,#030914 48%,#041827 100%); color:var(--text-1); }
body.light-mode .ai-hero h1 { background:linear-gradient(135deg,#fff 15%,#bdefff 55%,#8b9cff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
body.light-mode .ai-hero-copy { color:var(--text-2); }
body.light-mode .ai-hero .ai-kicker { color:var(--cyan); background:rgba(0,224,255,.08); border-color:rgba(0,224,255,.28); }
body.light-mode .ai-hero .ai-breadcrumb { color:var(--text-4); }
body.light-mode .ai-hero .ai-breadcrumb a { color:var(--cyan); }
body.light-mode .ai-hero-panel { background:rgba(6,18,36,.7); border-color:rgba(0,224,255,.34); }
body.light-mode .ai-hero-panel-content strong { color:#fff; }
body.light-mode .ai-hero-panel-content span { color:var(--text-3); }
@media (max-width:575px) { .ai-plan-table { min-width:0; } .ai-plan-table th,.ai-plan-table td { padding:10px 12px; font-size:13px; } }
