/* ==========================================================================
   Landing Page Redesign — Design Tokens & Base
   Spec: docs/superpowers/specs/2026-04-08-landing-page-redesign-design.md
   ========================================================================== */

:root {
    /* Raw palette (never used directly in components) */
    --db-black: #0A0A0A;
    --db-charcoal: #111111;
    --db-dark: #1A1A1A;
    --db-border: #222222;
    --db-border-mid: #333333;
    --db-muted: #555555;
    --db-ash: #888888;
    --db-silver: #999999;
    --db-light-bg: #F3F3F3;
    --db-lighter-bg: #F9F9F9;
    --db-white: #FFFFFF;

    /* Accent */
    --db-coral: #F71EC7;
    --db-coral-10: rgba(247, 30, 199, 0.10);
    --db-coral-20: rgba(247, 30, 199, 0.20);
    --db-coral-04: rgba(247, 30, 199, 0.04);
    --db-coral-glow: 0 8px 30px rgba(247, 30, 199, 0.3);
    --db-lime: #BBFFA0;
    --db-lime-bright: #D6FF7C;
    --db-lime-soft: #C7FFB6;
    --db-lime-10: rgba(187, 255, 160, 0.10);
    --db-lime-12: rgba(187, 255, 160, 0.12);
    --db-lime-14: rgba(187, 255, 160, 0.14);
    --db-lime-18: rgba(187, 255, 160, 0.18);
    --db-lime-22: rgba(185, 255, 128, 0.22);
    --db-lime-glow: 0 18px 40px rgba(179, 255, 123, 0.18);

    /* ===== Semantic theme tokens (dark default) ===== */
    --t-bg: #0A0A0A;
    --t-bg-elevated: #111111;
    --t-bg-card: #1A1A1A;
    --t-bg-card-hover: #222222;
    --t-bg-input: #2A2A2A;
    --t-border: #222222;
    --t-border-mid: #333333;
    --t-text: #FFFFFF;
    --t-text-secondary: #999999;
    --t-text-muted: #888888;
    --t-text-faint: #666666;
    --t-overlay: rgba(0, 0, 0, 0.5);
    --t-overlay-heavy: rgba(0, 0, 0, 0.65);
    --t-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    --t-card-hover-shadow: 0 8px 40px rgba(255, 255, 255, 0.06);
    --t-glass-bg: rgba(255, 255, 255, 0.04);
    --t-glass-border: rgba(255, 255, 255, 0.08);
    --t-scrollbar: rgba(255, 255, 255, 0.1);
    --t-node-bg: #1A1A1A;
    --t-node-content: #2A2A2A;
    --t-node-border: #333333;
    --t-line-color: #666666;
    --t-anchor-fill: #555555;
    --t-anchor-stroke: #888888;
    --t-nav-link: #999999;
    --t-nav-link-hover: #FFFFFF;
    --t-nav-cta-bg: #FFFFFF;
    --t-nav-cta-text: #0A0A0A;
    --t-nav-scrolled-bg: rgba(10, 10, 10, 0.85);
    --t-tools-label-bg: rgba(0, 0, 0, 0.7);
    --t-tools-label-text: #CCCCCC;
    --t-technique-prompt-bg: rgba(247, 30, 199, 0.06);
    --t-technique-prompt-border: rgba(247, 30, 199, 0.15);
    --t-technique-output-bg: rgba(247, 30, 199, 0.03);
    --t-technique-output-border: rgba(247, 30, 199, 0.10);
    --t-cta-secondary-border: #333333;
    --t-cta-secondary-hover: #555555;
    --t-footer-link: #666666;
    --t-footer-link-hover: #999999;
    /* Transition for smooth theme switching */
    --t-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Animation */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
}

/* ===== Light theme override ===== */
html[data-theme="light"] {
    --t-bg: #FFFFFF;
    --t-bg-elevated: #F9F9F9;
    --t-bg-card: #FFFFFF;
    --t-bg-card-hover: #F3F3F3;
    --t-bg-input: #F3F3F3;
    --t-border: #E5E5E5;
    --t-border-mid: #D4D4D4;
    --t-text: #111111;
    --t-text-secondary: #555555;
    --t-text-muted: #777777;
    --t-text-faint: #999999;
    --t-overlay: rgba(255, 255, 255, 0.5);
    --t-overlay-heavy: rgba(255, 255, 255, 0.65);
    --t-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --t-card-hover-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    --t-glass-bg: rgba(0, 0, 0, 0.03);
    --t-glass-border: rgba(0, 0, 0, 0.08);
    --t-scrollbar: rgba(0, 0, 0, 0.15);
    --t-node-bg: #FFFFFF;
    --t-node-content: #F3F3F3;
    --t-node-border: #D4D4D4;
    --t-line-color: #BBBBBB;
    --t-anchor-fill: #CCCCCC;
    --t-anchor-stroke: #999999;
    --t-nav-link: #555555;
    --t-nav-link-hover: #111111;
    --t-nav-cta-bg: #111111;
    --t-nav-cta-text: #FFFFFF;
    --t-nav-scrolled-bg: rgba(255, 255, 255, 0.9);
    --t-tools-label-bg: rgba(255, 255, 255, 0.9);
    --t-tools-label-text: #333333;
    --t-technique-prompt-bg: rgba(247, 30, 199, 0.04);
    --t-technique-prompt-border: rgba(247, 30, 199, 0.12);
    --t-technique-output-bg: rgba(247, 30, 199, 0.02);
    --t-technique-output-border: rgba(247, 30, 199, 0.08);
    --t-cta-secondary-border: #D4D4D4;
    --t-cta-secondary-hover: #BBBBBB;
    --t-footer-link: #777777;
    --t-footer-link-hover: #333333;
}

/* Smooth transition when switching themes */
html[data-theme="light"] body,
html:not([data-theme]) body {
    transition: var(--t-transition);
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Scroll-triggered Entrance Animations
   ========================================================================== */

.lr-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.lr-animate.lr-visible {
    opacity: 1;
    transform: translateY(0);
}

.lr-animate.lr-delay-1 { transition-delay: 0.1s; }
.lr-animate.lr-delay-2 { transition-delay: 0.2s; }
.lr-animate.lr-delay-3 { transition-delay: 0.3s; }
.lr-animate.lr-delay-4 { transition-delay: 0.4s; }

/* Scale variant for cards */
.lr-animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.lr-animate-scale.lr-visible {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Focus States (Accessibility)
   ========================================================================== */

*:focus-visible {
    outline: 2px solid var(--db-coral);
    outline-offset: 2px;
}

/* Hide old navigation when new navbar is present */
.lr-navbar ~ .navigation-section,
section.navigation-section.show-for-large-up.desktop {
    display: none !important;
}

/* ==========================================================================
   Navbar — Monochrome Redesign
   ========================================================================== */

/* Navbar — simple flex: logo left, everything else right */
.lr-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    transition: background-color 0.3s ease;
}

.lr-navbar.lr-navbar--scrolled {
    background-color: var(--t-nav-scrolled-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lr-navbar__logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lr-navbar__logo img {
    height: 22px;
    width: auto;
}

html[data-theme="light"] .lr-navbar__logo img {
    filter: invert(1);
}

.lr-navbar__links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.lr-navbar__link {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--t-nav-link);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--duration-fast) var(--ease-smooth);
    white-space: nowrap;
}

.lr-navbar__link:hover {
    color: var(--t-nav-link-hover);
}

.lr-navbar__link--signin {
    color: var(--t-text-muted);
}

/* CTA — rounded, coral accent */
.lr-navbar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    margin-left: 16px;
    background-color: var(--db-coral);
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 24px;
    transition: transform var(--duration-fast) ease, filter var(--duration-fast) ease;
}

.lr-navbar__cta:hover {
    background-color: #ffffff;
    color: var(--db-coral);
}

.lr-navbar__cta:active {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .lr-navbar__links {
        display: none;
    }

    .lr-navbar__cta {
        display: none;
    }

    .lr-navbar {
        padding: 12px 20px;
    }
}

/* Navbar dropdown menus */
.lr-navbar__dropdown {
    position: relative;
}

.lr-navbar__link--has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lr-navbar__chevron {
    transition: transform 0.2s ease;
}

.lr-navbar__dropdown:hover .lr-navbar__chevron {
    transform: rotate(180deg);
}

.lr-navbar__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(8px);
    display: none;
    padding: 20px;
    background: var(--t-bg-card);
    border: 1px solid var(--t-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    min-width: 520px;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lr-navbar__dropdown:hover .lr-navbar__dropdown-menu {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Invisible bridge between link and dropdown to prevent flicker */
.lr-navbar__dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    display: none;
}

.lr-navbar__dropdown:hover::after {
    display: block;
}

.lr-navbar__dropdown-col {
    flex: 1;
    min-width: 220px;
}

.lr-navbar__dropdown-heading {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--t-text-faint);
    margin-bottom: 12px;
    padding: 0 8px;
}

.lr-navbar__dropdown-item {
    display: block;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.lr-navbar__dropdown-item:hover {
    background: var(--t-bg-card-hover);
}

.lr-navbar__dropdown-title {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--t-text);
    margin-bottom: 2px;
}

.lr-navbar__dropdown-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--t-text-muted);
    line-height: 1.4;
}

/* Spacer to offset fixed navbar */
.lr-navbar-spacer {
    height: 60px;
}

/* Theme toggle button */
.lr-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--t-border-mid);
    border-radius: 50%;
    background: transparent;
    color: var(--t-text-secondary);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.lr-theme-toggle:hover {
    color: var(--t-text);
    border-color: var(--t-text-muted);
    transform: scale(1.05);
}

.lr-theme-toggle:active {
    transform: scale(0.95);
}

/* Dark mode: show sun icon, hide moon */
.lr-theme-toggle__icon--sun { display: block; }
.lr-theme-toggle__icon--moon { display: none; }

/* Light mode: show moon icon, hide sun */
html[data-theme="light"] .lr-theme-toggle__icon--sun { display: none; }
html[data-theme="light"] .lr-theme-toggle__icon--moon { display: block; }

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */

.lr-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(178, 255, 120, 0.15), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(84, 204, 255, 0.14), transparent 26%),
        linear-gradient(180deg, var(--t-bg) 0%, color-mix(in srgb, var(--t-bg) 84%, #06110d 16%) 100%);
    padding: 118px 40px 72px;
}

.lr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.09;
    pointer-events: none;
}

.lr-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.lr-hero__headlines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 54px;
}

.lr-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--db-lime-22);
    background: rgba(14, 20, 18, 0.74);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--db-lime);
}

.lr-hero__title-lockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 18px;
    align-items: start;
}

.lr-hero__left h1,
.lr-hero__right h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.9vw, 108px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--t-text);
    margin: 0;
}

.lr-hero__right h1 {
    font-size: clamp(38px, 5.7vw, 88px);
}

.lr-hero__right {
    text-align: right;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.lr-hero__content-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: start;
    margin-top: 26px;
}

.lr-hero__content-main {
    max-width: 52ch;
}

.lr-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 500;
    line-height: 1.45;
    color: var(--t-text-secondary);
    max-width: 42ch;
    margin: 0;
}

.lr-hero__body {
    margin: 18px 0 0;
    max-width: none;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--t-text-muted);
}

.lr-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lr-hero__btn-primary,
.lr-hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.lr-hero__btn-primary {
    background: var(--db-lime-bright);
    color: #10140f;
    box-shadow: var(--db-lime-glow);
}

.lr-hero__btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--t-text);
}

.lr-hero__btn-primary:hover,
.lr-hero__btn-secondary:hover {
    transform: translateY(-1px);
}

.lr-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.lr-hero__meta-item {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lr-hero__meta-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
    color: var(--t-text);
}

.lr-hero__meta-item span {
    display: block;
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: var(--t-text-muted);
}

.lr-hero__sidecard {
    max-width: 260px;
    width: 100%;
    margin-top: 0;
    position: static;
    justify-self: end;
    align-self: start;
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(18, 25, 22, 0.94), rgba(10, 14, 13, 0.9));
    border: 1px solid var(--db-lime-12);
    box-shadow: none;
}

.lr-hero__sidecard-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--db-lime);
}

.lr-hero__sidecard-title {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
    color: var(--t-text);
}

.lr-hero__sidecard-copy {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: var(--t-text-muted);
}

.lr-hero__sidecard-steps {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.lr-hero__sidecard-steps span {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--t-text-secondary);
}

.lr-hero__flow-shell {
    position: relative;
    padding: 56px 26px 26px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(10, 12, 11, 0.8), rgba(8, 10, 10, 0.94)),
        radial-gradient(circle at top left, var(--db-lime-10), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 50px 90px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lr-hero__flow-badge {
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--db-lime-10);
    border: 1px solid var(--db-lime-18);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--db-lime-soft);
}

/* Hero flow container — holds draggable nodes + SVG connecting lines */
.lr-hero__flow {
    height: 760px;
    background:
        radial-gradient(circle at 20% 18%, var(--db-lime-10), transparent 22%),
        linear-gradient(180deg, rgba(12, 16, 15, 0.88), rgba(7, 9, 9, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* SVG connecting lines layer */
.lr-hero__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.lr-hero__lines path {
    fill: none;
    stroke: color-mix(in srgb, var(--t-line-color) 72%, #8bff9c 28%);
    stroke-width: 1.4;
    stroke-linecap: round;
    opacity: 0.95;
}

.lr-hero__lines circle {
    fill: var(--db-lime);
    stroke: rgba(5, 8, 7, 0.92);
    stroke-width: 1.5;
    opacity: 0.92;
}

/* Node card — Weave-style tile */
.lr-node {
    position: absolute;
    display: inline-flex;
    flex-direction: column;
    width: var(--node-width, 16rem);
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    background: color-mix(in srgb, var(--t-node-bg) 88%, #0c1310 12%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .lr-node {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Larger/active node */
.lr-node--active {
    border-color: rgba(187, 255, 160, 0.32);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32), 0 0 0 1px var(--db-lime-10);
}

/* Extra-large node (input node in 1-to-many layouts) */
.lr-node--xl {}

.lr-node--xl .lr-node__content,
.lr-node--xl .lr-node__content--large {
    height: var(--node-content-height, 24rem);
}

.lr-node:active {
    cursor: grabbing;
    z-index: 10;
}

.lr-node:hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
    transform: translateY(-3px);
}

html[data-theme="light"] .lr-node:hover {
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.14);
}

/* Node header — compact label bar */
.lr-node__header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
}

.lr-node__type {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--t-text-secondary);
    text-transform: uppercase;
}

.lr-node__model {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--t-text-faint);
    text-transform: uppercase;
}

/* Node content area — image fills the card */
.lr-node__content {
    overflow: hidden;
    height: var(--node-content-height, 10rem);
}

.lr-node__content--large {
    height: var(--node-content-height, 14rem);
}

.lr-node__content--text {
    height: var(--node-content-height, 10rem);
    padding: 0 14px 14px;
    overflow: hidden;
    background: transparent;
}

.lr-node__content--text p {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--t-text-muted);
    line-height: 1.55;
    margin: 0;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lr-node__content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--t-node-content);
    display: block;
    pointer-events: none;
}

/* Connection anchor dots */
.lr-node__anchor {
    position: absolute;
    width: 11px;
    height: 11px;
    background: var(--db-lime);
    border: 2px solid rgba(9, 14, 12, 0.94);
    border-radius: 50%;
    z-index: 3;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lr-node--active .lr-node__anchor {
    background: var(--db-lime-bright);
    border-color: rgba(9, 14, 12, 0.94);
}

.lr-node__anchor--in {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.lr-node__anchor--out {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 1024px) {
    .lr-hero__headlines {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lr-hero__title-lockup {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lr-hero__right {
        text-align: left;
        justify-content: flex-start;
    }

    .lr-hero__content-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lr-hero__meta {
        grid-template-columns: 1fr;
    }

    .lr-hero__sidecard {
        max-width: 100%;
        justify-self: stretch;
    }

    .lr-hero__flow {
        height: 560px;
    }
}

@media (max-width: 768px) {
    .lr-hero {
        padding: 80px 20px 38px;
    }

    .lr-hero__headlines {
        margin-bottom: 32px;
    }

    .lr-hero__flow-shell {
        padding: 52px 14px 14px;
        border-radius: 26px;
    }

    .lr-hero__flow {
        height: 420px;
        border-radius: 20px;
    }

    .lr-hero__subtitle,
    .lr-hero__body {
        max-width: 100%;
    }

    .lr-hero__sidecard {
        max-width: 100%;
    }

    .lr-hero__actions,
    .lr-hero__btn-primary,
    .lr-hero__btn-secondary {
        width: 100%;
    }
}

/* ==========================================================================
   Section 2: AI Models Scroll
   ========================================================================== */

.lr-models {
    position: relative;
    background-color: var(--t-bg-elevated);
    color: var(--t-text);
}

/* The scroll container provides the tall scrollable area.
   The sticky layer pins the background + headline while
   the model names scroll through. */
.lr-models__scroll-container {
    position: relative;
}

.lr-models__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.lr-models__bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lr-models__bg-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 0;
}

.lr-models__bg-item.lr-models__bg-item--active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 1;
}

.lr-models__bg-item img,
.lr-models__bg-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lr-models__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 2;
}

/* The headline sits inside the sticky layer */
.lr-models__headline-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    max-width: 500px;
    margin-left: 40px;
}

/* The content area holds both the sticky layer and the
   scrolling model names list. The list controls the
   total scroll height of the section. */
.lr-models__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* The model names list sits OUTSIDE the sticky element,
   flowing naturally in the scroll container.
   This is what makes scroll triggers fire. */
.lr-models__list {
    position: relative;
    z-index: 5;
    pointer-events: auto;
    margin-left: 60%;
    padding-top: 30vh;
    padding-bottom: 20vh;
}

.lr-models__headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 16px 0;
}

.lr-models__subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--t-text-secondary);
    max-width: 400px;
}

.lr-models__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lr-models__name {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    color: var(--t-text);
    transition: color 0.2s ease;
    cursor: default;
    line-height: 0.92;
    padding: 5vh 0;
}

/* First and last items need less padding */
.lr-models__name:first-child {
    padding-top: 0;
}

.lr-models__name:last-child {
    padding-bottom: 0;
}

.lr-models__name--active {
    color: var(--db-coral);
}

.lr-models__top-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--db-black) 0%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .lr-models__content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 24px;
    }

    .lr-models__scroll-container {
        height: 300vh;
    }
}

/* ==========================================================================
   Section 3: Professional Tools
   ========================================================================== */

.lr-tools {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, var(--db-lime-14), transparent 32%),
        radial-gradient(circle at 85% 30%, rgba(95, 184, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #050706 0%, #0a0d0c 100%);
    padding: 110px 40px 100px;
}

.lr-tools::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 22px 22px;
    opacity: 0.18;
    pointer-events: none;
}

.lr-tools__shell {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.lr-tools__copy {
    color: var(--db-white);
}

.lr-tools__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--db-lime-18);
    border-radius: 999px;
    background: rgba(8, 15, 11, 0.78);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--db-lime);
}

.lr-tools__copy h2 {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: clamp(40px, 5.2vw, 74px);
    font-weight: 800;
    line-height: 0.98;
    color: var(--db-white);
    max-width: 10ch;
}

.lr-tools__lede {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--db-lime-bright);
    max-width: 16ch;
}

.lr-tools__body {
    margin: 22px 0 0;
    max-width: 42ch;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.76);
}

.lr-tools__pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.lr-tools__pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84);
}

.lr-tools__benefits {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.lr-tools__benefit {
    display: grid;
    gap: 4px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.lr-tools__benefit strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
    color: var(--db-white);
}

.lr-tools__benefit span {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.lr-tools__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.lr-tools__stat {
    padding: 16px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lr-tools__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--db-white);
}

.lr-tools__stat span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.66);
}

.lr-tools__visual {
    position: relative;
    min-height: 760px;
    padding: 34px 22px 44px;
}

.lr-tools__main-shot,
.lr-tools__mini-shot {
    overflow: hidden;
    border: 1px solid var(--db-lime-18);
    border-radius: 28px;
    background: rgba(8, 11, 11, 0.92);
    box-shadow:
        0 36px 80px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.lr-tools__main-shot {
    position: relative;
    width: min(760px, 100%);
    margin-left: auto;
}

.lr-tools__main-shot img,
.lr-tools__mini-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.lr-tools__shot-caption {
    display: grid;
    gap: 8px;
    padding: 22px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(11, 14, 14, 0.2), rgba(11, 14, 14, 0.92));
}

.lr-tools__shot-kicker {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--db-lime);
}

.lr-tools__shot-caption strong {
    font-family: var(--font-display);
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.02;
    color: var(--db-white);
}

.lr-tools__shot-caption p {
    margin: 0;
    max-width: 44ch;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.lr-tools__stack {
    position: absolute;
    width: clamp(180px, 24vw, 300px);
}

.lr-tools__stack--top {
    top: 0;
    left: 0;
}

.lr-tools__stack--middle {
    top: 32%;
    left: -4%;
}

.lr-tools__stack--bottom {
    right: 0;
    bottom: 10%;
}

.lr-tools__mini-shot {
    transform: rotate(-3deg);
}

.lr-tools__stack--middle .lr-tools__mini-shot {
    transform: rotate(-1deg);
}

.lr-tools__stack--bottom .lr-tools__mini-shot {
    transform: rotate(4deg);
}

.lr-tools__mini-copy {
    display: grid;
    gap: 4px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lr-tools__mini-copy strong {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1;
    color: var(--db-white);
}

.lr-tools__mini-copy span {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.66);
}

.lr-tools__path {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.lr-tools__path span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid var(--db-lime-18);
    background: rgba(8, 15, 11, 0.72);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--db-lime-soft);
}

@media (max-width: 1024px) {
    .lr-tools {
        padding: 88px 28px 80px;
    }

    .lr-tools__shell {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .lr-tools__copy h2,
    .lr-tools__lede {
        max-width: none;
    }

    .lr-tools__visual {
        min-height: auto;
        padding: 0 0 74px;
    }

    .lr-tools__main-shot {
        width: 100%;
        margin-left: 0;
    }

    .lr-tools__stack {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
    }

    .lr-tools__stack--top,
    .lr-tools__stack--middle,
    .lr-tools__stack--bottom {
        margin-top: 18px;
    }

    .lr-tools__mini-shot,
    .lr-tools__stack--middle .lr-tools__mini-shot,
    .lr-tools__stack--bottom .lr-tools__mini-shot {
        transform: none;
    }

    .lr-tools__path {
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .lr-tools {
        padding: 64px 20px 60px;
    }

    .lr-tools__body {
        font-size: 16px;
    }

    .lr-tools__benefits,
    .lr-tools__stats,
    .lr-tools__path {
        grid-template-columns: 1fr;
    }

    .lr-tools__visual {
        padding-bottom: 0;
    }

    .lr-tools__path {
        position: static;
        margin-top: 18px;
    }

    .lr-tools__main-shot,
    .lr-tools__mini-shot {
        border-radius: 22px;
    }
}

/* ==========================================================================
   Section 4: Workflow → Technique
   ========================================================================== */

.lr-technique {
    position: relative;
    padding: 108px 40px;
    background:
        radial-gradient(circle at 16% 24%, var(--db-coral-10), transparent 22%),
        radial-gradient(circle at 82% 18%, var(--db-lime-10), transparent 22%),
        linear-gradient(180deg, #0b0d0c 0%, #0a0a0a 100%);
    overflow: hidden;
}

.lr-technique::before {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%),
        rgba(10, 12, 11, 0.46);
    pointer-events: none;
}

.lr-technique__intro {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--t-text-muted);
    margin: 0 0 18px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.lr-technique__toggle-line {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 34px;
    flex-wrap: wrap;
}

.lr-technique__toggle-text {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    margin: 0;
}

.lr-technique__toggle-text--workflow {
    font-weight: 300;
    color: var(--t-text-faint);
    transition: color 0.3s ease;
}

.lr-technique__toggle-text--technique {
    font-weight: 400;
    font-style: italic;
    color: var(--t-text);
    transition: color 0.3s ease;
}

.lr-technique--workflow .lr-technique__toggle-text--workflow {
    color: var(--t-text);
}

.lr-technique--workflow .lr-technique__toggle-text--technique {
    color: var(--t-text-faint);
}

.lr-technique__toggle {
    width: 64px;
    height: 34px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 17px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lr-technique__toggle:focus-visible {
    outline: 2px solid var(--db-coral);
    outline-offset: 2px;
}

.lr-technique__toggle-knob {
    width: 28px;
    height: 28px;
    background: linear-gradient(180deg, #ffffff, #d8d8d8);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.lr-technique--workflow .lr-technique__toggle-knob {
    transform: translateX(-30px);
}

.lr-technique--workflow .lr-technique__toggle {
    border-color: rgba(187, 255, 160, 0.18);
}

.lr-technique__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.lr-technique__prompt {
    background:
        linear-gradient(180deg, rgba(247, 30, 199, 0.07), rgba(247, 30, 199, 0.03)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(247, 30, 199, 0.14);
    border-radius: 22px;
    padding: 28px;
}

.lr-technique__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--t-text);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.lr-technique__prompt-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: color-mix(in srgb, var(--t-text-muted) 82%, white 18%);
    line-height: 1.75;
    margin: 0;
}

.lr-technique__run-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #101010;
    cursor: pointer;
    background: var(--db-coral);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 999px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.lr-technique__run-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.lr-technique__output,
.lr-technique__workflow-view {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 24px;
}

.lr-technique__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.lr-technique__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(187, 255, 160, 0.08);
    border: 1px solid rgba(187, 255, 160, 0.12);
    color: var(--db-lime-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lr-technique__output-stage {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    min-height: 340px;
}

.lr-technique__output-image {
    width: 100%;
    border-radius: 18px;
    background: var(--t-bg-input);
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.lr-technique__output-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    color: var(--t-text);
    font-size: 12px;
    font-weight: 700;
}

.lr-technique__output-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.lr-technique__meta-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.lr-technique__meta-kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t-text-faint);
}

.lr-technique__meta-value {
    font-size: 15px;
    line-height: 1.3;
    color: var(--t-text);
}

.lr-technique__workflow-view {
    display: none;
    min-height: 438px;
}

.lr-technique__workflow-canvas {
    position: relative;
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(187, 255, 160, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(6, 8, 8, 0.82), rgba(10, 12, 12, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lr-technique__workflow-node {
    position: absolute;
    min-width: 150px;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.lr-technique__workflow-node--input {
    border-color: rgba(247, 30, 199, 0.18);
}

.lr-technique__workflow-node--output {
    border-color: rgba(187, 255, 160, 0.18);
}

.lr-technique__workflow-node-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t-text);
}

.lr-technique__workflow-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(247, 30, 199, 0.32), rgba(187, 255, 160, 0.42));
    transform-origin: left center;
    box-shadow: 0 0 14px rgba(187, 255, 160, 0.12);
}

.lr-technique__workflow-line--a {
    left: 178px;
    top: 110px;
    width: 88px;
}

.lr-technique__workflow-line--b {
    left: 178px;
    top: 110px;
    width: 120px;
    transform: rotate(31deg);
}

.lr-technique__workflow-line--c {
    left: 408px;
    top: 154px;
    width: 108px;
}

.lr-technique__workflow-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.lr-technique__workflow-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--t-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.lr-technique--workflow .lr-technique__output {
    display: none;
}

.lr-technique--workflow .lr-technique__workflow-view {
    display: flex;
}

@media (max-width: 768px) {
    .lr-technique {
        padding: 72px 20px;
    }

    .lr-technique__content {
        grid-template-columns: 1fr;
    }

    .lr-technique__toggle-line {
        gap: 16px;
    }

    .lr-technique__output-meta {
        grid-template-columns: 1fr;
    }

    .lr-technique__workflow-canvas {
        min-height: 360px;
    }

    .lr-technique__workflow-node--input {
        left: 20px !important;
        top: 24px !important;
    }

    .lr-technique__workflow-node--process-a {
        left: 20px !important;
        top: 112px !important;
    }

    .lr-technique__workflow-node--process-b {
        left: 20px !important;
        top: 200px !important;
    }

    .lr-technique__workflow-node--output {
        left: 20px !important;
        top: 288px !important;
    }

    .lr-technique__workflow-line {
        display: none;
    }
}

/* ==========================================================================
   Section 5: Bento Grid Restyle (Monochrome)
   ========================================================================== */

.ai-showcase-section {
    background-color: var(--t-bg) !important;
}

/* Restyle showcase title to monochrome */
.ai-showcase-section .showcase-title {
    color: var(--t-text) !important;
}

.ai-showcase-section .showcase-title em {
    color: var(--t-text) !important;
    font-style: normal !important;
    -webkit-text-fill-color: var(--t-text) !important;
    background: none !important;
}

.ai-showcase-section .showcase-subtitle {
    color: var(--t-text-muted) !important;
}

.bento-grid .bento-item {
    border: 1px solid var(--db-border);
}

.bento-grid .bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.06);
}

.bento-grid .bento-play-btn,
.bento-grid .video-play-btn {
    background: var(--db-white) !important;
    color: var(--db-black) !important;
}

.bento-grid .bento-play-btn svg,
.bento-grid .video-play-btn svg {
    fill: var(--db-black) !important;
}

.bento-grid .bento-item:hover {
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.06) !important;
}

/* ==========================================================================
   Section 6: Product Carousel Restyle (Monochrome)
   ========================================================================== */

.product-carousel-section {
    background: var(--t-bg) !important;
}

.product-carousel-section .section-title .italic-accent,
.product-carousel-section .section-title em,
.product-carousel-section .section-title i {
    color: var(--t-text) !important;
    font-style: normal !important;
}

.product-carousel-section .panel {
    border-color: var(--db-dark) !important;
}

.product-carousel-section .panel:hover,
.product-carousel-section .panel.active {
    border-color: rgba(247, 30, 199, 0.3) !important;
}

/* ==========================================================================
   Section 7: Gallery Revamp
   ========================================================================== */

#gallery {
    position: relative;
    padding: 130px 40px 120px;
    background:
        radial-gradient(circle at 16% 12%, var(--db-lime-10), transparent 20%),
        radial-gradient(circle at 86% 22%, var(--db-coral-10), transparent 24%),
        linear-gradient(180deg, #090a09 0%, #0b0c0c 100%);
    overflow: hidden;
}

#gallery::before {
    content: '';
    position: absolute;
    inset: 36px 24px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 48%),
        rgba(10, 13, 12, 0.6);
    pointer-events: none;
}

#gallery .ig-header {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
    gap: 48px;
    align-items: end;
}

#gallery .ig-section-title {
    margin: 0;
    max-width: 7.4ch;
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 104px);
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--t-text);
    text-transform: uppercase;
}

#gallery .ig-section-title em {
    font-style: normal;
    color: var(--db-lime-soft);
    text-shadow: 0 0 28px rgba(187, 255, 160, 0.12);
}

#gallery .ig-section-subtitle {
    margin: 0;
    max-width: 34rem;
    justify-self: end;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.6;
    color: color-mix(in srgb, var(--t-text-muted) 78%, white 22%);
}

#gallery .ig-showcase {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(9, 11, 11, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#gallery .ig-sidebar {
    padding: 10px;
    height: 820px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(187, 255, 160, 0.05), transparent 18%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#gallery .ig-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12) !important;
}

#gallery .ig-sidebar-item {
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

#gallery .ig-sidebar-item:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

#gallery .ig-sidebar-item.active {
    background:
        linear-gradient(135deg, rgba(187, 255, 160, 0.11), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.035);
    border-color: rgba(187, 255, 160, 0.18);
    box-shadow: inset 0 0 0 1px rgba(187, 255, 160, 0.06);
}

#gallery .ig-sidebar-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

#gallery .ig-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery .ig-sidebar-category {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--db-lime-soft);
}

#gallery .ig-sidebar-title {
    font-size: 17px;
    line-height: 1.18;
    color: var(--t-text);
}

#gallery .ig-viewer {
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(247, 30, 199, 0.08), transparent 24%),
        radial-gradient(circle at left bottom, rgba(187, 255, 160, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#gallery .ig-slides {
    border-radius: 22px;
    overflow: hidden;
    background: rgba(8, 10, 10, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#gallery .ig-slide {
    min-height: 640px;
    background: #0a0b0b;
}

#gallery .ig-slide::after {
    background:
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.32) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.08));
}

#gallery .ig-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery .ig-caption {
    margin-top: 16px;
    padding: 22px 24px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(10, 12, 12, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

#gallery .ig-caption-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--t-text);
}

#gallery .ig-caption-desc {
    margin: 0;
    max-width: 54ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--t-text-muted);
}

#gallery .ig-caption-expand {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--t-text);
}

#gallery .ig-caption-expand:hover {
    background: rgba(187, 255, 160, 0.08);
    border-color: rgba(187, 255, 160, 0.16);
}

@media (max-width: 1024px) {
    #gallery {
        padding: 96px 24px 88px;
    }

    #gallery::before {
        inset: 20px 12px;
    }

    #gallery .ig-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #gallery .ig-section-subtitle {
        justify-self: start;
    }

    #gallery .ig-showcase {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    #gallery .ig-sidebar {
        height: auto;
        max-height: 340px;
    }

    #gallery .ig-slide {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    #gallery {
        padding: 84px 16px 72px;
    }

    #gallery .ig-showcase {
        gap: 16px;
        padding: 14px;
        border-radius: 22px;
    }

    #gallery .ig-sidebar {
        padding: 8px;
        border-radius: 18px;
    }

    #gallery .ig-sidebar-item {
        padding: 10px;
    }

    #gallery .ig-sidebar-thumb {
        width: 58px;
        height: 58px;
        border-radius: 12px;
    }

    #gallery .ig-slide {
        min-height: 320px;
    }

    #gallery .ig-caption {
        padding: 18px;
    }
}

/* ==========================================================================
   Section 8: Featured Apps Restyle (Monochrome)
   ========================================================================== */

.featured-apps-section {
    background: var(--t-bg) !important;
}

.featured-apps-section .section-title {
    color: var(--t-text) !important;
}

.featured-apps-section .section-title .italic-accent,
.featured-apps-section .section-title em,
.featured-apps-section .section-title i {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--t-text) !important;
    color: var(--t-text) !important;
    font-style: normal !important;
}

.featured-apps-section::before {
    display: none !important;
}

.featured-apps-section .app-tile,
.featured-apps-section .app-card {
    background: var(--t-glass-bg) !important;
    border: 1px solid var(--t-glass-border) !important;
    border-radius: 16px !important;
}

.featured-apps-section .app-tile:hover,
.featured-apps-section .app-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(247, 30, 199, 0.15) !important;
}

.featured-apps-section .app-tile .app-name,
.featured-apps-section .app-card .app-name {
    color: var(--t-text) !important;
}

.featured-apps-section .app-tile .app-description,
.featured-apps-section .app-card .app-description {
    color: var(--t-text-muted) !important;
}

/* ==========================================================================
   Section 9: CTA + Footer
   ========================================================================== */

.lr-cta {
    background-color: var(--t-bg);
    padding: 100px 40px 60px;
    text-align: center;
}

.lr-cta__headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    color: var(--t-text);
    margin: 0 0 16px 0;
}

.lr-cta__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--t-text-muted);
    margin: 0 0 36px 0;
}

.lr-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.lr-cta__btn-primary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 28px;
    background-color: var(--db-coral);
    color: var(--db-white);
    text-decoration: none;
    transition: filter var(--duration-fast) ease,
                box-shadow var(--duration-fast) ease,
                transform var(--duration-fast) ease;
}

.lr-cta__btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: var(--db-coral-glow);
}

.lr-cta__btn-primary:active {
    transform: scale(0.98);
    transition-duration: 100ms;
}

.lr-cta__btn-secondary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 36px;
    border-radius: 28px;
    background: transparent;
    color: var(--t-text);
    border: 1px solid var(--t-cta-secondary-border);
    text-decoration: none;
    transition: border-color var(--duration-fast) ease,
                transform var(--duration-fast) ease;
}

.lr-cta__btn-secondary:hover {
    border-color: var(--t-cta-secondary-hover);
}

.lr-cta__btn-secondary:active {
    transform: scale(0.98);
    transition-duration: 100ms;
}

#footerElem {
    background-color: var(--t-bg) !important;
    border-top: 1px solid var(--t-border) !important;
}

#footerElem .footer__ul a,
#footerElem .footer__list a {
    color: var(--t-footer-link) !important;
    transition: color 0.2s ease;
}

#footerElem .footer__ul a:hover,
#footerElem .footer__list a:hover {
    color: var(--t-footer-link-hover) !important;
}

@media (max-width: 768px) {
    .lr-cta {
        padding: 60px 20px 40px;
    }
}
