/* ──────────────────────────────────────────────────────────────
   3D GEN STUDIO  —  Marketing Site
   Design System: "Technical Atelier" v2
────────────────────────────────────────────────────────────── */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
    --surface:           #060c1a;
    --surface-low:       #0a1428;
    --surface-mid:       #0f1c38;
    --surface-high:      #172040;
    --surface-bright:    #1f2d52;

    --primary:           #4dffee;
    --primary-dim:       rgba(77, 255, 238, 0.15);
    --primary-glow:      rgba(77, 255, 238, 0.25);
    --secondary:         #c084fc;
    --secondary-dim:     rgba(192, 132, 252, 0.15);
    --amber:             #fbbf24;
    --green:             #34d399;
    --red:               #f87171;

    --text-primary:      #e8eeff;
    --text-secondary:    #8895b8;
    --text-muted:        #4d5f88;

    --border:            rgba(255, 255, 255, 0.07);
    --border-bright:     rgba(77, 255, 238, 0.2);

    --font-head:         'Space Grotesk', sans-serif;
    --font-body:         'Inter', sans-serif;
    --font-mono:         'JetBrains Mono', monospace;

    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;

    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container:   1240px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ─────────────────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-sub.max500 { max-width: 500px; }

.section-header.center { text-align: center; margin-bottom: 3.5rem; }
.section-header.center .section-sub { margin: 0 auto; max-width: 540px; }
.section-header { margin-bottom: 3.5rem; }

.gradient-text {
    background: linear-gradient(130deg, var(--primary) 10%, var(--secondary) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn.compact { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn.lg { padding: 0.85rem 1.75rem; font-size: 0.9375rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2dd4bf 100%);
    color: #041825;
}
.btn-primary:hover {
    box-shadow: 0 0 24px var(--primary-glow), 0 4px 12px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border-bright);
}
.btn-outline:hover {
    background: var(--primary-dim);
}

/* ── Pulse dot ──────────────────────────────────────────────── */
.pulse-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50%       { transform: scale(1.2); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    height: 60px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    background: rgba(6, 12, 26, 0.85);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(6, 12, 26, 0.97);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: var(--primary-dim);
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    color: var(--primary);
}

.nav-center {
    display: flex;
    gap: 0.25rem;
}

.nav-item {
    padding: 0.35rem 0.85rem;
    font-size: 0.875rem;
    font-family: var(--font-head);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid var(--border-bright);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

/* ════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 0 6rem;
}

/* Animated grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(77, 255, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 255, 238, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    pointer-events: none;
}

/* Glow blobs */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.glow-1 {
    width: 700px; height: 700px;
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(77, 255, 238, 0.08) 0%, transparent 70%);
    animation: driftA 14s ease-in-out infinite alternate;
}

.glow-2 {
    width: 600px; height: 600px;
    bottom: -150px; right: -100px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
    animation: driftB 18s ease-in-out infinite alternate;
}

.glow-3 {
    width: 400px; height: 400px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(77, 255, 238, 0.05) 0%, transparent 70%);
}

@keyframes driftA {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, 50px) scale(1.1); }
}
@keyframes driftB {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-60px, -40px) scale(1.15); }
}

/* Hero layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero text */
.hero-text { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.09em;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid var(--border-bright);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
}

.hero-headline {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.03em;
}

/* Hero visual / mockup */
.hero-visual {
    perspective: 1200px;
}

.mockup-frame {
    background: var(--surface-low);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(77, 255, 238, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(-8deg) rotateX(4deg) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out);
    position: relative;
    overflow: visible;
}

.mockup-frame:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateZ(0);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: var(--surface-mid);
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mockup-dots {
    display: flex;
    gap: 5px;
}

.mdot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mdot.red    { background: #ff5f57; }
.mdot.yellow { background: #febc2e; }
.mdot.green  { background: #28c840; }

.mockup-title {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.mockup-screen {
    line-height: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.mockup-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating stat cards */
.float-card {
    position: absolute;
    background: rgba(15, 28, 56, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transform-style: preserve-3d;
    transform: translateZ(20px);
    animation: floatBob 6s ease-in-out infinite;
}

.float-card-1 {
    bottom: -1.5rem;
    left: -2rem;
    min-width: 160px;
    animation-delay: 0s;
}

.float-card-2 {
    top: 2rem;
    right: -2rem;
    animation-delay: 3s;
}

@keyframes floatBob {
    0%, 100% { transform: translateZ(20px) translateY(0); }
    50%       { transform: translateZ(20px) translateY(-6px); }
}

.fc-label {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.fc-value {
    font-family: var(--font-head);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fc-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.fc-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.fc-status {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
}

.fc-status.running { color: var(--green); }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50%       { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}

/* ════════════════════════════════════════════════════════════
   PIPELINE STRIP
═══════════════════════════════════════════════════════════ */
.pipeline-strip {
    padding: 2rem 0;
    background: var(--surface-low);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pipeline-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.pipeline-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pipe-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pipe-icon {
    font-size: 0.5rem;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.pipe-img    { background: rgba(77, 255, 238, 0.15); color: var(--primary); }
.pipe-edit   { background: rgba(192, 132, 252, 0.15); color: var(--secondary); }
.pipe-mesh   { background: rgba(251, 191, 36, 0.15); color: var(--amber); }
.pipe-uv     { background: rgba(248, 113, 113, 0.15); color: var(--red); }
.pipe-tex    { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.pipe-export { background: rgba(77, 255, 238, 0.15); color: var(--primary); }

.pipe-arrow { color: var(--text-muted); opacity: 0.5; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   SHOWCASE
═══════════════════════════════════════════════════════════ */
.showcase-section {
    padding: 6rem 0 7rem;
}

.showcase-tabs {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    background: var(--surface-low);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.35rem;
    width: fit-content;
    margin: 0 auto 3rem;
}

.stab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

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

.stab.active {
    background: var(--surface-high);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.showcase-viewport { position: relative; }

.sview {
    display: none;
    animation: fadeSlide 0.4s var(--ease-out);
}

.sview.active { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: center; }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sview-caption h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.sview-caption p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.check {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sview-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
    transition: transform 0.4s var(--ease-out);
}

.sview-frame:hover { transform: scale(1.015); }

.sview-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ════════════════════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════════════════ */
.features-section {
    padding: 6rem 0 7rem;
    background: var(--surface-low);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.feat-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

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

.feat-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.feat-icon-wrap {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--ic) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--ic) 25%, transparent);
    display: flex; align-items: center; justify-content: center;
    color: var(--ic);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feat-card h3 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}

.feat-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Code snippet inside feat card */
.feat-code {
    margin-top: 1.5rem;
    background: var(--surface-low);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.9;
}

.token-key  { color: var(--secondary); }
.token-punc { color: var(--text-muted); }
.token-str  { color: var(--primary); }
.token-num  { color: var(--amber); }

/* ════════════════════════════════════════════════════════════
   WORKFLOW STEPS
═══════════════════════════════════════════════════════════ */
.workflow-section {
    padding: 6rem 0 7rem;
}

.steps-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--surface-mid);
    margin-left: 2rem;
    padding-left: 2.5rem;
    position: relative;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 3rem;
    position: relative;
}

.step:last-child { padding-bottom: 0; }

.step-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -2.75rem;
}

/* Connector dot on the timeline */
.step::before {
    content: '';
    position: absolute;
    left: -2.75rem;
    top: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    transform: translateX(-3px);
}

.step-content h4 {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    padding-top: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.step-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
    padding: 6rem 0 7rem;
    background: var(--surface-low);
    border-top: 1px solid var(--border);
}

.cta-card {
    background: var(--surface-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(77, 255, 238, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-body { position: relative; z-index: 1; }

.cta-body .section-eyebrow { margin-bottom: 1.25rem; }

.cta-headline {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-body > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.install-cmd {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    max-width: 600px;
    overflow: hidden;
}

.install-cmd code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.copy-btn {
    background: var(--surface-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    color: var(--primary);
    border-color: var(--border-bright);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 3.5rem;
}

.footer-brand .logo { margin-bottom: 0.875rem; }

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 220px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-group-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer-links-group a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.status-strip {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2.5s ease-in-out infinite;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-layout    { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text      { max-width: none; }
    .hero-visual    { display: flex; justify-content: center; }
    .mockup-frame   { max-width: 700px; transform: none; }
    .mockup-frame:hover { transform: none; }
    .float-card-1   { left: 0; }
    .float-card-2   { right: 0; }

    .features-grid  { grid-template-columns: 1fr 1fr; }
    .feat-large     { grid-column: 1 / -1; grid-row: auto; }

    .footer-layout  { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-center     { display: none; }
    .nav-right .btn-ghost { display: none; }

    .hero           { padding: 4rem 0 5rem; }
    .hero-headline  { font-size: clamp(2rem, 8vw, 3rem); }

    .sview.active   { grid-template-columns: 1fr; }
    .sview-caption  { order: 2; }
    .sview-frame    { order: 1; }

    .features-grid  { grid-template-columns: 1fr; }
    .feat-large     { grid-column: auto; grid-row: auto; }

    .steps-layout   { margin-left: 1rem; padding-left: 1.5rem; }

    .cta-card       { padding: 2.5rem 1.5rem; }

    .footer-layout  { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand   { grid-column: auto; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .pipeline-steps { gap: 0.5rem; }
    .pipe-arrow     { display: none; }
}

@media (max-width: 480px) {
    .hero-cta       { flex-direction: column; }
    .hero-cta .btn  { width: 100%; justify-content: center; }
    .cta-actions    { flex-direction: column; align-items: center; }
    .install-cmd    { width: 100%; }
    .float-card-1, .float-card-2 { display: none; }
    .showcase-tabs  { flex-wrap: wrap; }
}
