/* ===== METANTEL — Dark Technical Aesthetic ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --text-primary: #e8e8ef;
    --text-secondary: #9a9ab0;
    --text-muted: #5c5c72;
    --accent-blue: #4a9eff;
    --accent-cyan: #00e5c8;
    --accent-purple: #a855f7;
    --accent-orange: #ff8c42;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --glow-blue: rgba(74, 158, 255, 0.15);
    --glow-cyan: rgba(0, 229, 200, 0.15);
    --glow-purple: rgba(168, 85, 247, 0.15);
    --glow-orange: rgba(255, 140, 66, 0.15);
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
    padding: 0.8rem 3rem;
    background: rgba(10, 10, 15, 0.92);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand::after {
    content: none;
}

.nav-logo {
    height: 52px;
    width: auto;
    display: block;
}

.nav.scrolled .nav-logo {
    height: 44px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05);
}

.hero-bg-image.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 12s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(74, 158, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 229, 200, 0.06) 0%, transparent 60%),
        linear-gradient(180deg,
            rgba(10, 10, 15, 0.55) 0%,
            rgba(10, 10, 15, 0.4) 40%,
            rgba(10, 10, 15, 0.6) 70%,
            rgba(10, 10, 15, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 4rem 3rem;
    background: rgba(10, 10, 15, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.5s forwards;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 200, 0.4);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.8s 0.9s forwards;
}

.hero-cta:hover {
    background: rgba(0, 229, 200, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 200, 0.15);
}

.hero-cta .arrow {
    transition: transform 0.3s;
}

.hero-cta:hover .arrow {
    transform: translateY(3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 7rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.8;
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 280px;
}

.project-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: opacity 0.5s ease;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

.project-card:hover .project-card-bg {
    opacity: 0.3;
}

.project-card-content {
    position: relative;
    z-index: 2;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.project-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.project-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    text-transform: none;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary) !important;
    backdrop-filter: blur(10px);
}

.project-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0;
    color: var(--text-primary);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.project-card:hover .project-footer {
    color: var(--accent-cyan);
}

.project-footer .arrow {
    transition: transform 0.3s;
}

.project-card:hover .project-footer .arrow {
    transform: translateX(5px);
}

/* ===== VISION SECTION ===== */
.vision-section {
    position: relative;
    padding: 8rem 3rem;
    text-align: center;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(74, 158, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 229, 200, 0.04) 0%, transparent 50%);
}

.vision-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.vision-content .section-label {
    margin-bottom: 1.5rem;
}

.vision-content .section-title {
    margin-bottom: 2rem;
}

.vision-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

/* ===== TECH STRIP ===== */
.tech-strip {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 3rem;
}

.tech-strip-inner {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-logo {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.85;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.footer-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-cyan);
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-page {
    padding: 10rem 1.5rem 5rem;
}

.privacy-container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2rem 2.25rem;
}

.privacy-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.privacy-container h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.privacy-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.privacy-container h2 {
    margin-top: 2rem;
    margin-bottom: 0.7rem;
    font-size: 1.22rem;
}

.privacy-container h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
    color: var(--text-primary);
}

.privacy-container p,
.privacy-container li {
    color: var(--text-secondary);
    line-height: 1.85;
}

.privacy-container ul {
    margin: 0.4rem 0 1rem 1.2rem;
}

.privacy-container a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.privacy-container a:hover {
    text-decoration: underline;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-hero {
    padding: 10rem 3rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.3s;
}

.product-back:hover {
    color: var(--accent-cyan);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-detail-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-detail-tagline {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.04em;
}

.product-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
}

.product-section {
    margin-bottom: 3rem;
}

.product-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.product-section ul {
    list-style: none;
    padding: 0;
}

.product-section ul li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.product-section ul li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.product-highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.product-highlight-box h3 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HAMBURGER MENU ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo {
        height: 44px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s var(--transition-smooth);
        border-left: 1px solid var(--border-subtle);
    }

    .nav-links.open {
        right: 0;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .project-card {
        padding: 1.8rem;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .footer-meta {
        flex-direction: column;
        gap: 0.4rem;
    }

    .vision-section {
        padding: 5rem 1.5rem;
    }

    .product-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .product-body {
        padding: 0 1.5rem 4rem;
    }

    .privacy-page {
        padding-top: 8rem;
    }

    .privacy-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .tech-strip-inner {
        gap: 2rem;
    }
}

/* ===== IMAGE GALLERY (Application Showcase grid) ===== */
.product-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.product-image-gallery .gallery-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 9 / 19.5;
    justify-self: center;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    object-fit: cover;
    display: block;
}

.product-image-gallery .gallery-image:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 229, 200, 0.2);
}

/* ===== SCREENSHOT MARQUEE (auto-scroll, used on product & claim pages) ===== */
.screenshot-marquee {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 1.5rem 0 2rem;
}

.screenshot-marquee::before,
.screenshot-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.screenshot-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 10%, transparent);
}

.screenshot-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 10%, transparent);
}

.screenshot-marquee-track {
    display: inline-flex;
    gap: 1rem;
    min-width: max-content;
    animation: screenshotScroll 40s linear infinite;
    align-items: flex-end;
    will-change: transform;
}

.screenshot-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes screenshotScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.screenshot-thumb {
    width: clamp(112px, 8.5vw, 138px);
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.screenshot-thumb:nth-child(even) {
    transform: translateY(-12px);
}

/* ===== PRODUCT TABLE ===== */
.product-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.product-table th,
.product-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.product-table th {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(0, 0, 0, 0.2);
}

.product-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.product-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== PLAYSTORE BUTTON ===== */
.playstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 200, 0.4);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s var(--transition-smooth);
}

.playstore-btn:hover {
    background: rgba(0, 229, 200, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 28px rgba(0, 229, 200, 0.15);
    color: var(--accent-cyan);
}

.playstore-btn .arrow {
    transition: transform 0.3s;
    font-style: normal;
}

.playstore-btn:hover .arrow {
    transform: translate(3px, -3px);
}

/* ===== STATUS VARIANTS ===== */
.status-live {
    background: rgba(0, 229, 200, 0.08) !important;
    border-color: rgba(0, 229, 200, 0.3) !important;
    color: var(--accent-cyan) !important;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(10, 10, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.contact-email {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #fff;
}

/* ===== PRODUCT LINK CARDS ===== */
.product-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.product-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s var(--transition-smooth);
    position: relative;
}

.product-link-card:hover {
    border-color: rgba(0, 229, 200, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-link-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-link-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-link-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.product-link-card:hover .product-link-arrow {
    color: var(--accent-cyan);
    transform: translateX(4px);
}


/* ============================================================
   PRODUCT PAGE THEMES
   Applied via data-theme="<slug>" on <body>
   Each theme overrides CSS variables and adds a colored
   product-hero band so every page feels distinct.
   ============================================================ */

/* ── Shared product-hero band ── */
.product-hero-band {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}

.product-hero {
    position: relative;
    overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   ELENCHUS — Warm cream / academic parchment
───────────────────────────────────────────────────────────── */
[data-theme="elenchus"] {
    --bg-primary: #f6f1e6;
    --bg-secondary: #efe7d4;
    --bg-card: #fdf9ef;
    --bg-card-hover: #f8f1df;
    --text-primary: #181308;
    --text-secondary: #4a402d;
    --text-muted: #95896d;
    --border-subtle: rgba(80, 60, 20, 0.12);
    --accent-cyan: #4f46e5;
    --glow-cyan: rgba(79, 70, 229, 0.14);
}

[data-theme="elenchus"] .nav {
    background: rgba(246, 241, 230, 0.88);
    border-bottom: 1px solid rgba(80, 60, 20, 0.1);
}

[data-theme="elenchus"] .nav.scrolled {
    background: rgba(246, 241, 230, 0.97);
}

[data-theme="elenchus"] .nav-links a {
    color: #4a402d;
}

[data-theme="elenchus"] .nav-links a:hover {
    color: #181308;
}

[data-theme="elenchus"] .nav-links a::after {
    background: #4f46e5;
}

[data-theme="elenchus"] .product-hero {
    background: linear-gradient(135deg, #efe5d0 0%, #f6f1e6 50%, #ede2cb 100%);
}

[data-theme="elenchus"] .product-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="elenchus"] .product-back { color: #95896d; }
[data-theme="elenchus"] .product-back:hover { color: #4f46e5; }
[data-theme="elenchus"] .product-detail-tagline { color: #95896d; }

[data-theme="elenchus"] .product-highlight-box {
    background: #fdf9ef;
    border-color: rgba(79, 70, 229, 0.18);
    box-shadow: 0 2px 16px rgba(60, 40, 10, 0.06);
}

[data-theme="elenchus"] .product-highlight-box h3 { color: #4f46e5; }

[data-theme="elenchus"] .product-section ul li::before { color: #4f46e5; }

[data-theme="elenchus"] .product-table-wrapper {
    background: #fdf9ef;
    border-color: rgba(80,60,20,0.1);
}

[data-theme="elenchus"] .product-table th { color: #4f46e5; background: rgba(79,70,229,0.06); }
[data-theme="elenchus"] .product-table td { color: #4a402d; }
[data-theme="elenchus"] .product-table th,
[data-theme="elenchus"] .product-table td { border-bottom-color: rgba(80,60,20,0.08); }

[data-theme="elenchus"] .product-link-card {
    background: #fdf9ef;
    border-color: rgba(80,60,20,0.1);
}

[data-theme="elenchus"] .product-link-card:hover { border-color: rgba(79,70,229,0.3); }
[data-theme="elenchus"] .product-link-label { color: #181308; }
[data-theme="elenchus"] .product-link-desc { color: #4a402d; }
[data-theme="elenchus"] .product-link-arrow { color: #95896d; }
[data-theme="elenchus"] .product-link-card:hover .product-link-arrow { color: #4f46e5; }

[data-theme="elenchus"] .playstore-btn {
    border-color: rgba(79,70,229,0.4);
    color: #4f46e5;
}

[data-theme="elenchus"] .playstore-btn:hover {
    background: rgba(79,70,229,0.08);
    border-color: #4f46e5;
    box-shadow: 0 0 28px rgba(79,70,229,0.15);
}

[data-theme="elenchus"] .screenshot-marquee::before {
    background: linear-gradient(to right, var(--bg-primary) 10%, transparent);
}

[data-theme="elenchus"] .screenshot-marquee::after {
    background: linear-gradient(to left, var(--bg-primary) 10%, transparent);
}

[data-theme="elenchus"] .footer {
    border-top-color: rgba(80,60,20,0.1);
}

[data-theme="elenchus"] .modal-content {
    background: rgba(246,241,230,0.97);
    border-color: rgba(80,60,20,0.12);
}

/* ─────────────────────────────────────────────────────────────
   FLOW CONSOLE — Deep indigo developer tool
───────────────────────────────────────────────────────────── */
[data-theme="flow-console"] {
    --bg-primary: #0c0a1e;
    --bg-secondary: #110f28;
    --bg-card: #18153a;
    --bg-card-hover: #1f1c46;
    --text-primary: #e8e6ff;
    --text-secondary: #9b97cc;
    --text-muted: #5c5888;
    --border-subtle: rgba(139, 92, 246, 0.12);
    --accent-cyan: #a78bfa;
    --glow-cyan: rgba(167, 139, 250, 0.15);
}

[data-theme="flow-console"] .nav {
    background: rgba(12, 10, 30, 0.8);
    border-bottom: 1px solid rgba(139,92,246,0.15);
}

[data-theme="flow-console"] .nav.scrolled {
    background: rgba(12, 10, 30, 0.95);
}

[data-theme="flow-console"] .nav-links a::after { background: #a78bfa; }

[data-theme="flow-console"] .product-hero {
    background: linear-gradient(135deg, #0c0a1e 0%, #1a1040 100%);
}

[data-theme="flow-console"] .product-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="flow-console"] .product-back { color: #5c5888; }
[data-theme="flow-console"] .product-back:hover { color: #a78bfa; }
[data-theme="flow-console"] .product-detail-tagline { color: #5c5888; }

[data-theme="flow-console"] .product-highlight-box {
    background: #18153a;
    border-color: rgba(139,92,246,0.2);
}

[data-theme="flow-console"] .product-highlight-box h3 { color: #a78bfa; }
[data-theme="flow-console"] .product-section ul li::before { color: #a78bfa; }

[data-theme="flow-console"] .product-table-wrapper {
    background: #18153a;
    border-color: rgba(139,92,246,0.15);
}

[data-theme="flow-console"] .product-table th { color: #a78bfa; background: rgba(139,92,246,0.07); }
[data-theme="flow-console"] .product-table td { color: #9b97cc; }
[data-theme="flow-console"] .product-table th,
[data-theme="flow-console"] .product-table td { border-bottom-color: rgba(139,92,246,0.1); }

[data-theme="flow-console"] .product-link-card {
    background: #18153a;
    border-color: rgba(139,92,246,0.15);
}

[data-theme="flow-console"] .product-link-card:hover { border-color: rgba(167,139,250,0.4); }
[data-theme="flow-console"] .product-link-arrow { color: #5c5888; }
[data-theme="flow-console"] .product-link-card:hover .product-link-arrow { color: #a78bfa; }

[data-theme="flow-console"] .footer { border-top-color: rgba(139,92,246,0.12); }

/* ─────────────────────────────────────────────────────────────
   FOUNDRY — Rich warm amber
───────────────────────────────────────────────────────────── */
[data-theme="foundry"] {
    --bg-primary: #faf6f0;
    --bg-secondary: #f3ece0;
    --bg-card: #ffffff;
    --bg-card-hover: #fdf9f4;
    --text-primary: #1a1208;
    --text-secondary: #5a4a2e;
    --text-muted: #a08c6a;
    --border-subtle: rgba(120, 80, 20, 0.1);
    --accent-cyan: #b45309;
    --glow-cyan: rgba(180, 83, 9, 0.12);
}

[data-theme="foundry"] .nav {
    background: rgba(250, 246, 240, 0.88);
    border-bottom: 1px solid rgba(120,80,20,0.1);
}

[data-theme="foundry"] .nav.scrolled {
    background: rgba(250, 246, 240, 0.97);
}

[data-theme="foundry"] .nav-links a { color: #5a4a2e; }
[data-theme="foundry"] .nav-links a:hover { color: #1a1208; }
[data-theme="foundry"] .nav-links a::after { background: #b45309; }

[data-theme="foundry"] .product-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #faf6f0 60%);
}

[data-theme="foundry"] .product-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180,83,9,0.1) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="foundry"] .product-back { color: #a08c6a; }
[data-theme="foundry"] .product-back:hover { color: #b45309; }
[data-theme="foundry"] .product-detail-tagline { color: #a08c6a; }

[data-theme="foundry"] .product-highlight-box {
    background: #fff;
    border-color: rgba(180,83,9,0.15);
    box-shadow: 0 2px 16px rgba(180,83,9,0.06);
}

[data-theme="foundry"] .product-highlight-box h3 { color: #b45309; }
[data-theme="foundry"] .product-section ul li::before { color: #b45309; }

[data-theme="foundry"] .product-table-wrapper {
    background: #fff;
    border-color: rgba(120,80,20,0.1);
}

[data-theme="foundry"] .product-table th { color: #b45309; background: rgba(180,83,9,0.05); }
[data-theme="foundry"] .product-table td { color: #5a4a2e; }
[data-theme="foundry"] .product-table th,
[data-theme="foundry"] .product-table td { border-bottom-color: rgba(120,80,20,0.08); }

[data-theme="foundry"] .product-link-card {
    background: #fff;
    border-color: rgba(120,80,20,0.1);
}

[data-theme="foundry"] .product-link-card:hover { border-color: rgba(180,83,9,0.3); }
[data-theme="foundry"] .product-link-label { color: #1a1208; }
[data-theme="foundry"] .product-link-desc { color: #5a4a2e; }
[data-theme="foundry"] .product-link-arrow { color: #a08c6a; }
[data-theme="foundry"] .product-link-card:hover .product-link-arrow { color: #b45309; }
[data-theme="foundry"] .footer { border-top-color: rgba(120,80,20,0.1); }
[data-theme="foundry"] .modal-content { background: rgba(250,246,240,0.95); border-color: rgba(120,80,20,0.1); }

/* ─────────────────────────────────────────────────────────────
   UZHUK — Sage parchment with engineering teal accent
───────────────────────────────────────────────────────────── */
[data-theme="uzhuk"] {
    --bg-primary: #eef0e8;
    --bg-secondary: #e4e8dc;
    --bg-card: #f7f8f1;
    --bg-card-hover: #eef1e5;
    --text-primary: #0e1a1c;
    --text-secondary: #3a4f4d;
    --text-muted: #7d8c83;
    --border-subtle: rgba(8, 90, 100, 0.12);
    --accent-cyan: #0e7490;
    --glow-cyan: rgba(14, 116, 144, 0.14);
}

[data-theme="uzhuk"] .nav {
    background: rgba(238, 240, 232, 0.88);
    border-bottom: 1px solid rgba(8, 90, 100, 0.1);
}

[data-theme="uzhuk"] .nav.scrolled { background: rgba(238, 240, 232, 0.97); }
[data-theme="uzhuk"] .nav-links a { color: #3a4f4d; }
[data-theme="uzhuk"] .nav-links a:hover { color: #0e1a1c; }
[data-theme="uzhuk"] .nav-links a::after { background: #0e7490; }

[data-theme="uzhuk"] .product-hero {
    background: linear-gradient(135deg, #e7ebde 0%, #eef0e8 50%, #dfe6d6 100%);
}

[data-theme="uzhuk"] .product-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,116,144,0.12) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="uzhuk"] .product-back { color: #7d8c83; }
[data-theme="uzhuk"] .product-back:hover { color: #0e7490; }
[data-theme="uzhuk"] .product-detail-tagline { color: #7d8c83; }

[data-theme="uzhuk"] .product-highlight-box {
    background: #f7f8f1;
    border-color: rgba(14,116,144,0.18);
    box-shadow: 0 2px 16px rgba(8,90,100,0.06);
}

[data-theme="uzhuk"] .product-highlight-box h3 { color: #0e7490; }
[data-theme="uzhuk"] .product-section ul li::before { color: #0e7490; }

[data-theme="uzhuk"] .product-table-wrapper { background: #f7f8f1; border-color: rgba(14,116,144,0.12); }
[data-theme="uzhuk"] .product-table th { color: #0e7490; background: rgba(14,116,144,0.06); }
[data-theme="uzhuk"] .product-table td { color: #3a4f4d; }
[data-theme="uzhuk"] .product-table th,
[data-theme="uzhuk"] .product-table td { border-bottom-color: rgba(14,116,144,0.1); }

[data-theme="uzhuk"] .product-link-card { background: #f7f8f1; border-color: rgba(14,116,144,0.12); }
[data-theme="uzhuk"] .product-link-card:hover { border-color: rgba(14,116,144,0.35); }
[data-theme="uzhuk"] .product-link-label { color: #0e1a1c; }
[data-theme="uzhuk"] .product-link-desc { color: #3a4f4d; }
[data-theme="uzhuk"] .product-link-arrow { color: #7d8c83; }
[data-theme="uzhuk"] .product-link-card:hover .product-link-arrow { color: #0e7490; }
[data-theme="uzhuk"] .footer { border-top-color: rgba(14,116,144,0.12); }
[data-theme="uzhuk"] .modal-content { background: rgba(238,240,232,0.97); border-color: rgba(14,116,144,0.14); }

/* ─────────────────────────────────────────────────────────────
   BLIND BIRD — Deep space navy
───────────────────────────────────────────────────────────── */
[data-theme="blind-bird"] {
    --bg-primary: #060b18;
    --bg-secondary: #0b1225;
    --bg-card: #101930;
    --bg-card-hover: #152038;
    --text-primary: #e2e8f8;
    --text-secondary: #7886a8;
    --text-muted: #3d4d6a;
    --border-subtle: rgba(99, 102, 241, 0.12);
    --accent-cyan: #6366f1;
    --glow-cyan: rgba(99, 102, 241, 0.15);
}

[data-theme="blind-bird"] .nav {
    background: rgba(6, 11, 24, 0.8);
    border-bottom: 1px solid rgba(99,102,241,0.15);
}

[data-theme="blind-bird"] .nav.scrolled { background: rgba(6, 11, 24, 0.96); }
[data-theme="blind-bird"] .nav-links a::after { background: #6366f1; }

[data-theme="blind-bird"] .product-hero {
    background: linear-gradient(135deg, #06091a 0%, #0d1535 100%);
}

[data-theme="blind-bird"] .product-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="blind-bird"] .product-back { color: #3d4d6a; }
[data-theme="blind-bird"] .product-back:hover { color: #6366f1; }
[data-theme="blind-bird"] .product-detail-tagline { color: #3d4d6a; }

[data-theme="blind-bird"] .product-highlight-box {
    background: #101930;
    border-color: rgba(99,102,241,0.2);
}

[data-theme="blind-bird"] .product-highlight-box h3 { color: #6366f1; }
[data-theme="blind-bird"] .product-section ul li::before { color: #6366f1; }

[data-theme="blind-bird"] .product-table-wrapper { background: #101930; border-color: rgba(99,102,241,0.15); }
[data-theme="blind-bird"] .product-table th { color: #6366f1; background: rgba(99,102,241,0.07); }
[data-theme="blind-bird"] .product-table td { color: #7886a8; }
[data-theme="blind-bird"] .product-table th,
[data-theme="blind-bird"] .product-table td { border-bottom-color: rgba(99,102,241,0.1); }

[data-theme="blind-bird"] .product-link-card { background: #101930; border-color: rgba(99,102,241,0.15); }
[data-theme="blind-bird"] .product-link-card:hover { border-color: rgba(99,102,241,0.4); }
[data-theme="blind-bird"] .product-link-arrow { color: #3d4d6a; }
[data-theme="blind-bird"] .product-link-card:hover .product-link-arrow { color: #6366f1; }
[data-theme="blind-bird"] .footer { border-top-color: rgba(99,102,241,0.12); }

/* ─────────────────────────────────────────────────────────────
   FRAMEWORK3 — Dark industrial (close to default, orange accent)
───────────────────────────────────────────────────────────── */
[data-theme="framework3"] {
    --accent-cyan: #ff8c42;
    --glow-cyan: rgba(255, 140, 66, 0.15);
}

[data-theme="framework3"] .nav-links a::after { background: #ff8c42; }

[data-theme="framework3"] .product-hero {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0e00 100%);
}

[data-theme="framework3"] .product-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,66,0.1) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="framework3"] .product-back:hover { color: #ff8c42; }
[data-theme="framework3"] .product-highlight-box h3 { color: #ff8c42; }
[data-theme="framework3"] .product-section ul li::before { color: #ff8c42; }
[data-theme="framework3"] .product-table th { color: #ff8c42; }
[data-theme="framework3"] .product-link-card:hover .product-link-arrow { color: #ff8c42; }
[data-theme="framework3"] .product-link-card:hover { border-color: rgba(255,140,66,0.3); }

/* ─────────────────────────────────────────────────────────────
   ARTEL — Warm canvas workspace
───────────────────────────────────────────────────────────── */
[data-theme="artel"] {
    --bg-primary: #f3ecd8;
    --bg-secondary: #ebe2c8;
    --bg-card: #fbf6e6;
    --bg-card-hover: #f5edd2;
    --text-primary: #1a1408;
    --text-secondary: #4f4226;
    --text-muted: #9a8a64;
    --border-subtle: rgba(120, 90, 30, 0.14);
    --accent-cyan: #c2410c;
    --glow-cyan: rgba(194, 65, 12, 0.14);
}

[data-theme="artel"] .nav {
    background: rgba(243, 236, 216, 0.88);
    border-bottom: 1px solid rgba(120, 90, 30, 0.12);
}

[data-theme="artel"] .nav.scrolled { background: rgba(243, 236, 216, 0.97); }
[data-theme="artel"] .nav-links a { color: #4f4226; }
[data-theme="artel"] .nav-links a:hover { color: #1a1408; }
[data-theme="artel"] .nav-links a::after { background: #c2410c; }

[data-theme="artel"] .product-hero {
    background: linear-gradient(135deg, #ece2c0 0%, #f3ecd8 50%, #e6dcbe 100%);
}

[data-theme="artel"] .product-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194,65,12,0.14) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="artel"] .product-back { color: #9a8a64; }
[data-theme="artel"] .product-back:hover { color: #c2410c; }
[data-theme="artel"] .product-detail-tagline { color: #9a8a64; }

[data-theme="artel"] .product-highlight-box {
    background: #fbf6e6;
    border-color: rgba(194,65,12,0.18);
    box-shadow: 0 2px 16px rgba(120,90,30,0.08);
}

[data-theme="artel"] .product-highlight-box h3 { color: #c2410c; }
[data-theme="artel"] .product-section ul li::before { color: #c2410c; }

[data-theme="artel"] .product-table-wrapper { background: #fbf6e6; border-color: rgba(120,90,30,0.12); }
[data-theme="artel"] .product-table th { color: #c2410c; background: rgba(194,65,12,0.06); }
[data-theme="artel"] .product-table td { color: #4f4226; }
[data-theme="artel"] .product-table th,
[data-theme="artel"] .product-table td { border-bottom-color: rgba(120,90,30,0.1); }

[data-theme="artel"] .product-link-card { background: #fbf6e6; border-color: rgba(120,90,30,0.12); }
[data-theme="artel"] .product-link-card:hover { border-color: rgba(194,65,12,0.32); }
[data-theme="artel"] .product-link-label { color: #1a1408; }
[data-theme="artel"] .product-link-desc { color: #4f4226; }
[data-theme="artel"] .product-link-arrow { color: #9a8a64; }
[data-theme="artel"] .product-link-card:hover .product-link-arrow { color: #c2410c; }

[data-theme="artel"] .website-btn {
    border-color: rgba(194,65,12,0.4);
    color: #c2410c;
}

[data-theme="artel"] .website-btn:hover {
    background: rgba(194,65,12,0.08);
    border-color: #c2410c;
    box-shadow: 0 0 28px rgba(194,65,12,0.15);
    color: #c2410c;
}

[data-theme="artel"] .footer { border-top-color: rgba(120,90,30,0.12); }
[data-theme="artel"] .modal-content { background: rgba(243,236,216,0.97); border-color: rgba(120,90,30,0.14); }

/* ── Website button (shared, used by Foundry, Artel, Flow Console etc.) ── */
.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 200, 0.4);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s var(--transition-smooth);
    margin-left: 0.75rem;
}

.website-btn:hover {
    background: rgba(0, 229, 200, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 28px rgba(0, 229, 200, 0.15);
    color: var(--accent-cyan);
}

.website-btn .arrow {
    transition: transform 0.3s;
    font-style: normal;
}

.website-btn:hover .arrow {
    transform: translate(3px, -3px);
}

[data-theme="foundry"] .website-btn {
    border-color: rgba(180,83,9,0.4);
    color: #b45309;
}

[data-theme="foundry"] .website-btn:hover {
    background: rgba(180,83,9,0.08);
    border-color: #b45309;
    box-shadow: 0 0 28px rgba(180,83,9,0.15);
    color: #b45309;
}

[data-theme="flow-console"] .website-btn {
    border-color: rgba(167,139,250,0.4);
    color: #a78bfa;
}

[data-theme="flow-console"] .website-btn:hover {
    background: rgba(167,139,250,0.1);
    border-color: #a78bfa;
    box-shadow: 0 0 28px rgba(167,139,250,0.15);
    color: #a78bfa;
}

/* ── project-id label on product pages ── */
.project-id {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ── status badge on light themes ── */
[data-theme="elenchus"] .status-live {
    background: rgba(79,70,229,0.1) !important;
    border-color: rgba(79,70,229,0.3) !important;
    color: var(--accent-cyan) !important;
}

[data-theme="foundry"] .status-live {
    background: rgba(180,83,9,0.1) !important;
    border-color: rgba(180,83,9,0.3) !important;
    color: var(--accent-cyan) !important;
}

[data-theme="uzhuk"] .status-live,
[data-theme="uzhuk"] .status-testing {
    background: rgba(14,116,144,0.1) !important;
    border-color: rgba(14,116,144,0.3) !important;
    color: var(--accent-cyan) !important;
}

[data-theme="artel"] .status-live {
    background: rgba(194,65,12,0.1) !important;
    border-color: rgba(194,65,12,0.3) !important;
    color: var(--accent-cyan) !important;
}

/* =============================================================
   PRODUCT HERO — split layout, orbs, lede, CTA row
   ============================================================= */
.product-hero {
    padding: 9rem 3rem 4rem;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.product-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.product-hero-text { max-width: 560px; }

.product-detail-title {
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 110%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-lede {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.product-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-cta-row .playstore-btn,
.product-cta-row .website-btn {
    margin-top: 0;
    margin-left: 0;
}

/* Floating orbs in hero background */
.product-hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    background: var(--accent-cyan);
    animation: orbFloat 14s ease-in-out infinite;
}

.orb-a { width: 320px; height: 320px; left: -120px; top: 10%; animation-delay: 0s; }
.orb-b { width: 240px; height: 240px; right: -80px; top: 60%; animation-delay: -4s; opacity: 0.3; }
.orb-c { width: 180px; height: 180px; left: 40%; bottom: -80px; animation-delay: -8s; opacity: 0.22; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-30px, 25px) scale(0.95); }
}

/* =============================================================
   MOCK UI — shared chrome
   ============================================================= */
.product-hero-mock {
    position: relative;
    z-index: 2;
    perspective: 1400px;
}

.mock {
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transform: rotateX(2deg) rotateY(-3deg);
    transition: transform 0.6s var(--transition-smooth);
    animation: mockFloat 8s ease-in-out infinite;
}

.mock:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-4px);
}

@keyframes mockFloat {
    0%, 100% { transform: rotateX(2deg) rotateY(-3deg) translateY(0); }
    50%      { transform: rotateX(2deg) rotateY(-3deg) translateY(-8px); }
}

.mock-chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--border-subtle);
}

.mock-chrome.dark  { background: rgba(255, 255, 255, 0.04); }
.mock-chrome.warm  { background: rgba(194, 65, 12, 0.06); }
.mock-chrome.teal  { background: rgba(14, 116, 144, 0.06); }

.mock-chrome .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
}

[data-theme="flow-console"] .mock-chrome .dot,
[data-theme="blind-bird"]   .mock-chrome .dot,
[data-theme="framework3"]   .mock-chrome .dot {
    background: rgba(255, 255, 255, 0.18);
}

.mock-chrome .dot:nth-child(1) { background: #ff5f57; opacity: 0.8; }
.mock-chrome .dot:nth-child(2) { background: #febc2e; opacity: 0.8; }
.mock-chrome .dot:nth-child(3) { background: #28c840; opacity: 0.8; }

.mock-url {
    margin-left: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* =============================================================
   MOCK — ARTEL (workspace)
   ============================================================= */
.mock-artel .mock-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 320px;
}

.mock-sidebar {
    padding: 0.9rem 0.7rem;
    background: rgba(120, 90, 30, 0.05);
    border-right: 1px solid var(--border-subtle);
}

.mock-ws-pill {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    padding: 0.35rem 0.5rem;
    background: rgba(194, 65, 12, 0.08);
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.mock-tree-row {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 0.35rem 0.5rem;
    border-radius: 5px;
    cursor: default;
}

.mock-tree-row.active {
    background: rgba(194, 65, 12, 0.1);
    color: var(--text-primary);
    font-weight: 500;
}

.mock-tree-row.sub {
    padding-left: 1.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.mock-canvas {
    padding: 1.2rem 1.5rem;
    position: relative;
}

.mock-doc-h {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
}

.mock-saved {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.mock-doc-line {
    height: 8px;
    background: rgba(120, 90, 30, 0.15);
    border-radius: 3px;
    margin-bottom: 0.55rem;
}

.mock-doc-line.w90 { width: 90%; }
.mock-doc-line.w85 { width: 85%; }
.mock-doc-line.w75 { width: 75%; }
.mock-doc-line.w60 { width: 60%; animation: pulseBar 2.4s ease-in-out infinite; }

@keyframes pulseBar {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 1; }
}

.mock-task-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.mock-chip {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.mock-chip.done  { background: rgba(34, 197, 94, 0.15);  color: #16a34a; }
.mock-chip.doing { background: rgba(194, 65, 12, 0.15);  color: var(--accent-cyan); }
.mock-chip.todo  { background: rgba(120, 90, 30, 0.12);  color: var(--text-muted); }

.mock-cursor {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--accent-cyan);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    animation: cursorBob 4s ease-in-out infinite;
}

.mock-cursor-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

@keyframes cursorBob {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(-12px, -6px); }
    50%      { transform: translate(8px, -10px); }
    75%      { transform: translate(-4px, 4px); }
}

/* =============================================================
   MOCK — ELENCHUS (phone with card stack)
   ============================================================= */
.mock-elenchus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    position: relative;
}

.mock-phone {
    width: 240px;
    height: 480px;
    background: #0c0a18;
    border-radius: 34px;
    border: 8px solid #1c1a28;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.mock-phone-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    border-radius: 12px;
    background: #050410;
    z-index: 3;
}

.mock-phone-screen {
    position: absolute;
    inset: 0;
    padding: 36px 12px 16px;
    background: linear-gradient(180deg, #efe8d4 0%, #fdf9ef 50%, #efe5d0 100%);
}

.mock-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.mock-card {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 14px;
    padding: 1rem 0.9rem;
    box-shadow: 0 16px 30px -10px rgba(20, 10, 0, 0.25);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.mock-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mock-card-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #4f46e5;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.mock-card-q {
    font-size: 0.78rem;
    color: #181308;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.mock-card-q em { font-style: italic; color: #4f46e5; }

.mock-card-opts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-opt {
    font-size: 0.7rem;
    color: #4a402d;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(80, 60, 20, 0.12);
    border-radius: 7px;
}

.mock-opt.focus {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.06);
    color: #4f46e5;
    font-weight: 500;
}

.mock-feynman {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    padding: 1rem 0.7rem;
    background: rgba(79, 70, 229, 0.06);
    border-radius: 10px;
}

.mock-mic {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #4f46e5;
    flex-shrink: 0;
    position: relative;
    animation: micPulse 1.6s ease-in-out infinite;
}

@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    50%      { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
}

.mock-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 26px;
}

.mock-wave span {
    width: 3px;
    background: #4f46e5;
    border-radius: 2px;
    animation: waveBar 1.1s ease-in-out infinite;
}

.mock-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.mock-wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.mock-wave span:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.mock-wave span:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.mock-wave span:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.mock-wave span:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.mock-wave span:nth-child(7) { height: 35%; animation-delay: 0.6s; }

@keyframes waveBar {
    0%, 100% { transform: scaleY(0.5); }
    50%      { transform: scaleY(1.2); }
}

.mock-kaizen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin: 0.5rem 0 1rem;
}

.mock-kz {
    background: rgba(79, 70, 229, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0.3rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #181308;
    font-weight: 600;
}

.mock-kz span {
    display: block;
    margin-top: 0.2rem;
    color: #4f46e5;
    font-size: 0.88rem;
}

.mock-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(79, 70, 229, 0.25);
    pointer-events: none;
}

.mock-orbit-1 {
    width: 360px; height: 360px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbSpin 30s linear infinite;
}

.mock-orbit-2 {
    width: 460px; height: 460px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbSpin 50s linear infinite reverse;
    opacity: 0.5;
}

@keyframes orbSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =============================================================
   MOCK — FLOW CONSOLE (node graph + terminal)
   ============================================================= */
.mock-flow {
    background: #110e2c !important;
    border-color: rgba(167, 139, 250, 0.2) !important;
}

.mock-flow-body {
    position: relative;
    height: 240px;
    background: radial-gradient(circle at 50% 50%, #1a1444 0%, #0c0a1e 100%);
}

.mock-graph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.edge {
    fill: none;
    stroke: rgba(167, 139, 250, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    animation: dashFlow 1.4s linear infinite;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -8; }
}

.packet {
    fill: #a78bfa;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8));
}

.mock-node {
    position: absolute;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    background: rgba(24, 21, 58, 0.9);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #e8e6ff;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    min-width: 78px;
    backdrop-filter: blur(8px);
}

.mock-node small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 400;
    color: #9b97cc;
    margin-top: 0.15rem;
}

.mock-node.hub {
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(167, 139, 250, 0.7);
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.35);
}

.mock-node.n1 { left: 4%;  top: 14%; }
.mock-node.n2 { left: 4%;  top: 60%; }
.mock-node.n3 { left: 42%; top: 38%; }
.mock-node.n4 { right: 4%; top: 14%; }
.mock-node.n5 { right: 4%; top: 60%; }

.mock-terminal {
    background: #06051a;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(167, 139, 250, 0.15);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #c4befa;
}

.mock-term-line { padding: 0.18rem 0; line-height: 1.5; }
.mock-term-line .prompt { color: #a78bfa; margin-right: 0.4rem; }
.mock-term-line .ok     { color: #4ade80; }

.caret {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: #a78bfa;
    vertical-align: -2px;
    animation: blink 1.2s steps(2) infinite;
}

/* =============================================================
   MOCK — FOUNDRY (forum threads)
   ============================================================= */
.mock-foundry-body {
    padding: 1rem 1.2rem 1.2rem;
    min-height: 320px;
}

.mock-thread-h {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mock-thread-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    background: rgba(180, 83, 9, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.mock-thread-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mock-post {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.mock-post.indent { margin-left: 2rem; }

.mock-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.72rem;
    color: white;
}

.mock-avatar.real  { background: linear-gradient(135deg, #b45309, #ea580c); }
.mock-avatar.alias { background: #5c5440; }
.mock-avatar.anon  { background: rgba(0,0,0,0.4); font-weight: 700; }

.mock-post-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.mock-post-meta .badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.badge.real-name { background: rgba(180, 83, 9, 0.15); color: var(--accent-cyan); }
.badge.alias     { background: rgba(120, 80, 20, 0.12); color: var(--text-muted); }
.badge.anon      { background: rgba(0, 0, 0, 0.1); color: var(--text-muted); }

.mock-post-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.35rem;
}

.mock-post-actions {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

/* =============================================================
   MOCK — UZHUK (CFD geometry → mesh → residuals)
   ============================================================= */
.mock-uzhuk-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.8rem;
    padding: 1rem;
    min-height: 320px;
}

.mock-uzhuk-panel {
    background: rgba(14, 116, 144, 0.04);
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    overflow: hidden;
}

.mock-uzhuk-panel.wide { grid-column: 1 / -1; }

.mock-uzhuk-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.mock-uzhuk-sub {
    color: var(--text-muted);
    font-size: 0.6rem;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
}

.airfoil {
    fill: rgba(14, 116, 144, 0.85);
    stroke: rgba(14, 90, 110, 1);
    stroke-width: 0.5;
}

.mesh-svg .mesh-cells {
    animation: meshReveal 2.4s ease-out forwards;
    opacity: 0;
}

@keyframes meshReveal {
    to { opacity: 1; }
}

.residuals .res {
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawRes 3s ease-out forwards;
}

.residuals .r-ux { stroke: #0e7490; animation-delay: 0s; }
.residuals .r-uy { stroke: #16a34a; animation-delay: 0.3s; }
.residuals .r-p  { stroke: #c2410c; animation-delay: 0.6s; }

@keyframes drawRes {
    to { stroke-dashoffset: 0; }
}

/* =============================================================
   MOCK — FRAMEWORK3 (sensor fusion → inference scene)
   ============================================================= */
.mock-fw3 {
    background: #0e0a05 !important;
    border-color: rgba(255, 140, 66, 0.25) !important;
}

.mock-fw3-body {
    display: grid;
    grid-template-columns: 110px 80px 1fr;
    height: 260px;
    background: radial-gradient(circle at 60% 60%, rgba(255,140,66,0.06), transparent 60%);
}

.mock-fw3-sensors {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.7rem 0.5rem;
    border-right: 1px solid rgba(255,140,66,0.1);
}

.mock-fw3-sensor {
    background: rgba(255,140,66,0.08);
    border: 1px solid rgba(255,140,66,0.15);
    border-radius: 6px;
    padding: 0.35rem 0.4rem;
    font-size: 0.7rem;
    color: #ffd5b3;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.mock-fw3-sensor small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: #b89072;
    font-weight: 400;
    margin-left: auto;
}

.dotpulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ff8c42;
    box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.6);
    animation: micPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.mock-fw3-sensor:nth-child(2) .dotpulse { animation-delay: 0.3s; }
.mock-fw3-sensor:nth-child(3) .dotpulse { animation-delay: 0.6s; }
.mock-fw3-sensor:nth-child(4) .dotpulse { animation-delay: 0.9s; }

.mock-fw3-fusion svg {
    width: 100%; height: 100%;
}

.fw3-edge {
    fill: none;
    stroke: rgba(255,140,66,0.35);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    animation: dashFlow 1.8s linear infinite;
}

.mock-fw3-scene {
    position: relative;
    background: #060300;
    overflow: hidden;
    border-left: 1px solid rgba(255,140,66,0.1);
}

.mock-fw3-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,140,66,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,140,66,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    transform: perspective(200px) rotateX(50deg) translateY(20px);
    transform-origin: bottom;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
}

.mock-fw3-box {
    position: absolute;
    border: 1.5px solid #ff8c42;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #ffd5b3;
    padding: 0.15rem 0.35rem;
    background: rgba(255,140,66,0.1);
    backdrop-filter: blur(2px);
}

.mock-fw3-box.b1 { left: 18%; top: 35%; width: 50px; height: 36px; animation: boxBob 3s ease-in-out infinite; }
.mock-fw3-box.b2 { left: 60%; top: 22%; width: 60px; height: 42px; animation: boxBob 3.6s ease-in-out infinite; animation-delay: 0.7s; }

@keyframes boxBob {
    0%, 100% { transform: translate(0,0); }
    50%      { transform: translate(2px, -3px); }
}

.mock-fw3-asset {
    position: absolute;
    bottom: 12%; left: 50%;
    transform: translateX(-50%);
    color: #ff8c42;
    font-size: 1.4rem;
    filter: drop-shadow(0 0 6px rgba(255,140,66,0.6));
}

.mock-fw3-path {
    position: absolute;
    bottom: 14%; left: 50%;
    width: 2px; height: 50%;
    background: linear-gradient(to top, #ff8c42 0%, transparent 90%);
    transform-origin: bottom;
    transform: translateX(-50%) rotate(-12deg);
    opacity: 0.6;
    animation: pathSwing 4s ease-in-out infinite;
}

@keyframes pathSwing {
    0%, 100% { transform: translateX(-50%) rotate(-12deg); }
    50%      { transform: translateX(-50%) rotate(8deg); }
}

.mock-fw3-meter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    background: rgba(255,140,66,0.06);
    border-top: 1px solid rgba(255,140,66,0.12);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #b89072;
}

.mock-fw3-meter b {
    color: #ff8c42;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* =============================================================
   MOCK — BLIND BIRD (tactical map)
   ============================================================= */
.mock-bb {
    background: #070b1c !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.mock-bb-body {
    display: grid;
    grid-template-columns: 1fr 140px;
    height: 320px;
}

.mock-bb-map {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #0d1535 0%, #060b18 100%);
    overflow: hidden;
}

.mock-bb-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.mock-bb-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}

.bb-links line {
    stroke: rgba(99,102,241,0.5);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    animation: dashFlow 2s linear infinite;
}

.bb-pings circle {
    fill: none;
    stroke: rgba(99,102,241,0.7);
    stroke-width: 1.5;
    animation: bbPing 2.4s ease-out infinite;
}

.bb-pings circle:nth-child(2) { animation-delay: 1.2s; }

@keyframes bbPing {
    0%   { r: 6; opacity: 1; }
    100% { r: 60; opacity: 0; }
}

.bb-asset {
    position: absolute;
    transform: translate(-50%, -50%);
    color: #c4cbff;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.bb-asset span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
    color: #7886a8;
    background: rgba(7,11,28,0.7);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    border: 1px solid rgba(99,102,241,0.2);
}

.bb-asset.hub {
    color: #6366f1;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(99,102,241,0.7));
}

.mock-bb-panel {
    background: #0a1024;
    border-left: 1px solid rgba(99,102,241,0.12);
    padding: 0.8rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mock-bb-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: #7886a8;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(99,102,241,0.1);
}

.bb-led {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}

.mock-bb-cat {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #6366f1;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: rgba(99,102,241,0.08);
    padding: 0.45rem 0.5rem;
    border-radius: 5px;
    border: 1px solid rgba(99,102,241,0.18);
}

.mock-bb-cat small {
    display: block;
    color: #7886a8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.2rem;
    line-height: 1.4;
}

/* =============================================================
   ECOSYSTEM SECTION
   ============================================================= */
.ecosystem-section h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ecosystem-section h2::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
    animation: micPulse 2s ease-in-out infinite;
}

.ecosystem-lede {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

.ecosystem-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.4rem 1.5rem 1.3rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, var(--glow-cyan), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ecosystem-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px -10px var(--glow-cyan);
}

.ecosystem-card:hover::before { opacity: 1; }

.ecosystem-card-from,
.ecosystem-card-to {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: rgba(0,0,0,0.04);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

[data-theme="flow-console"] .ecosystem-card-from,
[data-theme="flow-console"] .ecosystem-card-to,
[data-theme="blind-bird"]   .ecosystem-card-from,
[data-theme="blind-bird"]   .ecosystem-card-to,
[data-theme="framework3"]   .ecosystem-card-from,
[data-theme="framework3"]   .ecosystem-card-to {
    background: rgba(255,255,255,0.06);
}

.ecosystem-card-to {
    color: var(--accent-cyan);
    background: var(--glow-cyan);
}

.ecosystem-card-arrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.9rem 0;
}

.ecosystem-card-arrow .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    position: relative;
}

.ecosystem-card-arrow .line:last-child {
    background: linear-gradient(90deg, transparent, var(--accent-cyan));
}

.ecosystem-card-arrow .label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
    background: var(--bg-card);
}

.ecosystem-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.ecosystem-card-cta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* =============================================================
   EXPLORE THE STACK — pill row
   ============================================================= */
.explore-section h2 { margin-bottom: 1.2rem; }

.explore-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.explore-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem 0.55rem 0.7rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
}

.explore-pill:hover {
    border-color: var(--accent-cyan);
    background: var(--glow-cyan);
    transform: translateY(-2px);
}

.explore-icon {
    width: 26px; height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
}

[data-theme="flow-console"] .explore-icon,
[data-theme="blind-bird"]   .explore-icon,
[data-theme="framework3"]   .explore-icon { background: rgba(255,255,255,0.06); }

.explore-icon svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.explore-id {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* =============================================================
   GENERIC mock fallback (shouldn't normally render)
   ============================================================= */
.mock-generic {
    aspect-ratio: 4/3;
    background: radial-gradient(circle at 50% 50%, var(--glow-cyan), transparent 70%);
    border: 1px dashed var(--border-subtle) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.mock-generic-icon svg {
    width: 90px; height: 90px;
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: orbFloat 6s ease-in-out infinite;
}

/* =============================================================
   RESPONSIVE — collapse hero split on tablet/mobile
   ============================================================= */
@media (max-width: 1024px) {
    .product-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-hero-mock { order: 2; }
    .product-hero-text { order: 1; max-width: 100%; }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 7rem 1.5rem 3rem;
    }

    .mock { transform: none; animation: none; }

    .mock-elenchus { min-height: 360px; }
    .mock-phone { width: 200px; height: 410px; }

    .mock-artel .mock-body { grid-template-columns: 110px 1fr; }
    .mock-uzhuk-body { grid-template-columns: 1fr; }
    .mock-fw3-body   { grid-template-columns: 1fr; height: auto; }
    .mock-fw3-sensors {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(255,140,66,0.1);
    }
    .mock-fw3-fusion { display: none; }
    .mock-bb-body { grid-template-columns: 1fr; height: auto; }
    .mock-bb-map  { min-height: 240px; }

    .ecosystem-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Reveal animation (already exists, slight tweak for product page)
   ============================================================= */
.product-section.reveal {
    transform: translateY(24px);
}
