/* Intelligence Suite - interactive platform page */
.is-page {
    background: #020617;
}

.is-page main {
    padding-bottom: 5rem;
}

/* Hero */
.is-hero {
    position: relative;
    padding: calc(var(--navbar-offset, 4.25rem) + 1.25rem) 0 2.5rem;
    overflow: hidden;
}

.is-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 20% 0%, rgba(34, 211, 238, 0.14), transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 15%, rgba(124, 58, 237, 0.12), transparent 50%);
    pointer-events: none;
}

.is-hero .container {
    position: relative;
}

.is-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .is-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
    }
}

.is-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5eead4;
    margin: 0 0 0.85rem;
}

.is-hero-copy h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #f8fafc;
    margin: 0 0 1rem;
}

.is-lead {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 1.5rem;
    max-width: 36rem;
}

.is-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.is-hero-panel {
    position: relative;
    min-height: 280px;
    border-radius: 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.22);
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(34, 211, 238, 0.08), transparent 65%),
        linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.is-mesh-viz {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-mesh-core {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.45);
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
    animation: is-core-pulse 3s ease-in-out infinite;
}

.is-mesh-core::before {
    content: "SUITE";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #22d3ee;
}

.is-mesh-orbit {
    position: absolute;
    border: 1px dashed rgba(148, 163, 184, 0.25);
    border-radius: 50%;
    animation: is-orbit-spin 24s linear infinite;
}

.is-mesh-orbit-1 { width: 200px; height: 200px; }
.is-mesh-orbit-2 { width: 260px; height: 260px; animation-duration: 32s; animation-direction: reverse; }

.is-mesh-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
    animation: is-node-blink 2.5s ease-in-out infinite;
}

.is-mesh-node:nth-child(1) { top: 8%; left: 50%; animation-delay: 0s; }
.is-mesh-node:nth-child(2) { top: 50%; right: 6%; animation-delay: 0.6s; background: #a78bfa; box-shadow: 0 0 12px rgba(167, 139, 250, 0.7); }
.is-mesh-node:nth-child(3) { bottom: 10%; left: 18%; animation-delay: 1.2s; }
.is-mesh-node:nth-child(4) { top: 22%; left: 12%; animation-delay: 0.3s; background: #4ade80; box-shadow: 0 0 12px rgba(74, 222, 128, 0.6); }

.is-mesh-labels {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.is-mesh-labels span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
}

@keyframes is-core-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(34, 211, 238, 0.2); }
    50% { transform: scale(1.04); box-shadow: 0 0 45px rgba(34, 211, 238, 0.35); }
}

@keyframes is-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes is-node-blink {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

.is-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .is-stats { grid-template-columns: repeat(4, 1fr); }
}

.is-stat {
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.55);
    text-align: center;
}

.is-stat strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #5eead4;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.is-stat span {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
}

/* Lifecycle explorer */
.is-lifecycle {
    padding: 3rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.is-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.is-section-head h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
}

.is-section-head p {
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
    font-size: 1rem;
}

.is-stage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.is-stage-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.is-stage-tab:hover {
    border-color: rgba(34, 211, 238, 0.4);
    color: #cbd5e1;
}

.is-stage-tab.is-active {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    transform: translateY(-1px);
}

.is-stage-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transition: opacity 0.25s ease;
}

.is-stage-detail.is-fading {
    opacity: 0.4;
}

@media (min-width: 768px) {
    .is-stage-detail {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
        padding: 1.75rem 2rem;
    }
}

.is-stage-meta h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
}

.is-stage-meta p {
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.is-stage-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 0.5rem;
}

.is-stage-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.is-module-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
    color: #e2e8f0;
}

.is-module-chip.is-primary {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.1);
    color: #ddd6fe;
}

.is-stage-outcomes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.is-stage-outcomes li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.is-stage-outcomes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
}

/* Platform components */
.is-platform {
    padding: 1rem 0 3rem;
}

.is-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.is-filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.is-filter-btn.is-active,
.is-filter-btn:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.08);
}

.is-component-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .is-component-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .is-component-grid { grid-template-columns: repeat(3, 1fr); }
}

.is-component-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s, opacity 0.3s;
    overflow: hidden;
}

.is-component-card:not(.is-hidden):hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.is-component-card.is-hidden {
    display: none;
}

.is-component-card.is-roadmap {
    cursor: default;
}

.is-component-card.is-roadmap:hover {
    transform: none;
    box-shadow: none;
}

.is-component-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.is-component-badge.is-live {
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.1);
}

.is-component-badge.is-soon {
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.08);
}

.is-component-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

.is-component-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.is-component-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.is-component-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 1rem;
    flex: 1;
}

.is-component-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #22d3ee;
}

.is-component-card.is-roadmap .is-component-link {
    color: #64748b;
}

/* Agent pods */
.is-agents {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.is-agent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .is-agent-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .is-agent-grid { grid-template-columns: repeat(4, 1fr); }
}

.is-agent-card {
    padding: 1.15rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.is-agent-card:hover,
.is-agent-card.is-expanded {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-2px);
}

.is-agent-icon {
    width: 2rem;
    height: 2rem;
    color: #22d3ee;
    margin-bottom: 0.65rem;
}

.is-agent-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.is-agent-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
}

.is-agent-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    max-height: 2.8em;
    overflow: hidden;
    transition: max-height 0.3s ease, color 0.2s;
}

.is-agent-card.is-expanded p,
.is-agent-card:hover p {
    max-height: 8em;
    color: #94a3b8;
}

/* CTA band */
.is-cta {
    padding: 0 0 1rem;
}

.is-cta-inner {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(124, 58, 237, 0.12), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
    box-shadow: 0 0 48px rgba(34, 211, 238, 0.08);
}

.is-cta-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #f1f5f9;
}

.is-cta-inner > p {
    color: #94a3b8;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

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

/* Light mode */
[data-theme="light"] body.home-deep-tech.is-page {
    background: var(--bg-primary);
}

[data-theme="light"] .is-hero-copy h1,
[data-theme="light"] .is-section-head h2,
[data-theme="light"] .is-stage-meta h3,
[data-theme="light"] .is-component-card h3,
[data-theme="light"] .is-agent-card h4,
[data-theme="light"] .is-cta-inner h2 {
    color: var(--text-primary);
}

[data-theme="light"] .is-lead,
[data-theme="light"] .is-section-head p,
[data-theme="light"] .is-stage-meta p,
[data-theme="light"] .is-component-card p,
[data-theme="light"] .is-cta-inner > p {
    color: var(--text-secondary);
}

[data-theme="light"] .is-stat,
[data-theme="light"] .is-stage-detail,
[data-theme="light"] .is-component-card,
[data-theme="light"] .is-agent-card,
[data-theme="light"] .is-hero-panel {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-color: var(--border);
}

[data-theme="light"] .is-stage-tab,
[data-theme="light"] .is-filter-btn {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="light"] .is-stage-outcomes li {
    color: var(--text-secondary);
}

[data-theme="light"] .is-cta-inner {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    .is-mesh-core,
    .is-mesh-orbit,
    .is-mesh-node {
        animation: none !important;
    }
}
