:root {
    --product-black: #08090d;
    --product-panel: #0f1118;
    --product-panel-light: #151823;
    --product-gold: #d7ad63;
    --product-gold-light: #f2d08b;
    --product-text: #f5f1e8;
    --product-muted: #a5a8b2;
    --product-line: rgba(215, 173, 99, 0.28);
    --product-radius: 2px;
}

.cinematic-theme {
    background: var(--product-black);
    color: var(--product-text);
    font-family: 'Inter', sans-serif;
    min-width: 320px;
}

.cinematic-theme .main-header {
    background: rgba(8, 9, 13, 0.94);
    border-bottom-color: rgba(215, 173, 99, 0.16);
}

.cinematic-theme .company-name,
.cinematic-theme .nav-link,
.cinematic-theme .dropdown-toggle {
    color: var(--product-text);
}

.cinematic-theme .nav-link:hover,
.cinematic-theme .dropdown-toggle:hover {
    color: var(--product-gold-light);
    background: rgba(215, 173, 99, 0.08);
}

.cinematic-theme .dropdown-menu {
    background: #10121a;
    border-color: var(--product-line);
}

.cinematic-theme .dropdown-section h3,
.cinematic-theme .dropdown-item h4 {
    color: var(--product-gold-light);
}

.cinematic-theme .dropdown-item p,
.cinematic-theme .dropdown-item span {
    color: var(--product-muted);
}

.cinematic-theme .dropdown-item:hover {
    background: rgba(215, 173, 99, 0.08);
}

.cinematic-theme .dropdown-item .item-icon {
    color: var(--product-gold);
}

.product-page {
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 9, 13, 0.88), rgba(8, 9, 13, 0.98)),
        radial-gradient(circle at 75% 8%, rgba(215, 173, 99, 0.13), transparent 32%),
        var(--product-black);
}

.cinematic-hero,
.cinematic-overview,
.cinematic-features,
.cinematic-acquisition {
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.hero-grid,
.overview-grid {
    display: grid;
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.hero-left,
.hero-right,
.overview-info,
.system-card,
.acquisition-details {
    min-width: 0;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr) minmax(160px, 0.55fr);
}

.section-tag {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--product-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.cinematic-title,
.sub-headline {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}

.cinematic-title {
    max-width: 640px;
    color: var(--product-text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.cinematic-title span {
    color: var(--product-gold-light);
}

.cinematic-description,
.body-text,
.acquisition-details p {
    color: var(--product-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.cinematic-description {
    max-width: 650px;
    margin: 1.75rem 0 2rem;
}

.hero-buttons,
.hero-credentials,
.product-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--product-gold);
    border-radius: var(--product-radius);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-gold {
    background: var(--product-gold);
    color: #12100c;
}

.btn-outline {
    background: transparent;
    color: var(--product-gold-light);
}

.btn-gold:hover,
.btn-outline:hover {
    background: var(--product-gold-light);
    color: #12100c;
    transform: translateY(-2px);
}

.btn-gold:active,
.btn-outline:active {
    transform: translateY(0);
}

.btn-gold:focus-visible,
.btn-outline:focus-visible,
.cinematic-theme .btn-primary:focus-visible {
    outline: 2px solid var(--product-gold-light);
    outline-offset: 3px;
}

.hero-credentials {
    margin-top: 2rem;
    color: var(--product-muted);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.hero-credentials .separator {
    color: var(--product-gold);
}

.hero-right {
    width: 100%;
}

.corner-bracket-frame {
    position: relative;
    padding: 1rem;
    background: var(--product-panel);
    border: 1px solid var(--product-line);
}

.corner-bracket-frame::before,
.corner-bracket-frame::after {
    position: absolute;
    width: 42px;
    height: 42px;
    content: '';
    pointer-events: none;
}

.corner-bracket-frame::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--product-gold);
    border-left: 2px solid var(--product-gold);
}

.corner-bracket-frame::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--product-gold);
    border-bottom: 2px solid var(--product-gold);
}

.frame-content {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #050609;
}

.frame-content img,
.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-content img {
    min-height: 100%;
    object-position: center;
}

.compact-frame {
    max-width: 460px;
    width: 100%;
}

.sub-headline {
    max-width: 720px;
    color: var(--product-text);
    font-size: clamp(1.8rem, 3.5vw, 3.1rem);
    line-height: 1.2;
}

.body-text {
    margin-top: 1.25rem;
}

.stats-counter-column {
    display: grid;
    gap: 1rem;
}

.stat-box {
    padding: 1rem 0;
    border-top: 1px solid var(--product-line);
}

.stat-number {
    display: block;
    color: var(--product-gold-light);
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.4rem;
}

.stat-label {
    display: block;
    margin-top: 0.25rem;
    color: var(--product-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cinematic-features {
    background: linear-gradient(180deg, transparent, rgba(215, 173, 99, 0.035), transparent);
}

.features-header {
    margin-bottom: 2.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.system-card {
    min-width: 0;
    padding: 1.25rem;
    background: rgba(15, 17, 24, 0.9);
    border: 1px solid rgba(215, 173, 99, 0.16);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.system-card:hover {
    border-color: var(--product-line);
    transform: translateY(-4px);
}

.card-media {
    aspect-ratio: 16 / 9;
    margin-bottom: 1.2rem;
    overflow: hidden;
    background: var(--product-panel-light);
}

.system-card h3 {
    margin-bottom: 0.6rem;
    color: var(--product-text);
    font-size: 1.05rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.system-card p {
    color: var(--product-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.callout-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(215, 173, 99, 0.13), rgba(15, 17, 24, 0.95));
}

.callout-card .btn-gold {
    align-self: flex-start;
    margin-top: 2rem;
}

.tech-ticker-strip {
    padding: 1.15rem 0;
    overflow: hidden;
    border-top: 1px solid var(--product-line);
    border-bottom: 1px solid var(--product-line);
    background: #0b0d12;
}

.ticker-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    color: var(--product-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.ticker-items span:nth-child(even) {
    color: var(--product-gold);
}

.cinematic-acquisition {
    background: radial-gradient(circle at 50% 0, rgba(215, 173, 99, 0.1), transparent 50%);
}

.acquisition-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--product-panel);
    border: 1px solid var(--product-line);
}

.acquisition-details p {
    max-width: 800px;
    margin-top: 1.25rem;
}

.acquisition-details,
.acquisition-details .sub-headline {
    overflow-wrap: anywhere;
}

.acquisition-details strong {
    color: var(--product-gold-light);
}

.acquisition-action {
    white-space: nowrap;
}

.cinematic-footer {
    padding: 2rem 0;
    background: #050609;
    border-top: 1px solid rgba(215, 173, 99, 0.16);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--product-muted);
    font-size: 0.8rem;
}

.footer-content p {
    margin: 0;
}

.footer-content strong,
.footer-content a {
    color: var(--product-gold-light);
}

.footer-content a {
    text-decoration: none;
}

/* Compatibility styles for the original Learnflow product page. */
.product-hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 7rem 0;
    text-align: center;
}

.product-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--product-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-hero h1 {
    margin-bottom: 1rem;
    color: var(--product-text);
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
}

.product-hero h1 span {
    color: var(--product-gold-light);
}

.product-subtitle {
    margin-bottom: 1.25rem;
    color: var(--product-text);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
}

.product-description {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--product-muted);
    font-size: 1.05rem;
}

.product-actions {
    justify-content: center;
}

.product-actions a {
    text-decoration: none;
}

.product-credit {
    margin-top: 4rem;
    color: var(--product-muted);
    font-size: 0.9rem;
}

.product-credit strong {
    color: var(--product-text);
}

@media (max-width: 900px) {
    .hero-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-right,
    .compact-frame {
        max-width: 680px;
        margin: 0 auto;
        width: 100%;
    }

    .stats-counter-column {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acquisition-box {
        gap: 2rem;
    }
}

@media (hover: none) {
    .system-card:hover,
    .btn-gold:hover,
    .btn-outline:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .cinematic-hero,
    .cinematic-overview,
    .cinematic-features,
    .cinematic-acquisition {
        padding: 5rem 0;
    }

    .hero-buttons,
    .product-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons a,
    .product-actions a {
        width: 100%;
    }

    .hero-credentials {
        line-height: 1.7;
    }

    .stats-counter-column,
    .cards-grid,
    .acquisition-box {
        grid-template-columns: 1fr;
    }

    .acquisition-action {
        white-space: normal;
    }

    .acquisition-box {
        gap: 1.5rem;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-hero {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .cinematic-hero,
    .cinematic-overview,
    .cinematic-features,
    .cinematic-acquisition {
        padding: 4rem 0;
    }

    .section-tag {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }

    .cinematic-title {
        font-size: 2.35rem;
        line-height: 1.12;
    }

    .sub-headline {
        font-size: 1.75rem;
    }

    .cinematic-description,
    .body-text,
    .acquisition-details p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .corner-bracket-frame {
        padding: 0.65rem;
    }

    .corner-bracket-frame::before,
    .corner-bracket-frame::after {
        width: 28px;
        height: 28px;
    }

    .ticker-items {
        justify-content: flex-start;
        font-size: 0.6rem;
        line-height: 1.6;
    }

    .system-card {
        padding: 1rem;
    }

    .card-media {
        margin-bottom: 1rem;
    }

    .acquisition-box {
        padding: 1.4rem;
    }

    .hero-credentials {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .hero-credentials .separator {
        display: none;
    }
}
