/* miris.tech --- Inflated 3D Game Tech Wonderland */
/* Retro-futuristic palette + diagonal sections + spring physics */

:root {
    --purple-dark: #1A0A30;
    --blue-dark: #0A2040;
    --electric-violet: #8040E0;
    --hot-pink: #E040A0;
    --neon-cyan: #40E0D0;
    --marble-white: #E8E0D8;
    --bright-text: #F0E8FF;
    --spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.7;
    color: var(--bright-text);
    background: var(--purple-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise overlay (subtle digital texture) */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.4) 0 1px, transparent 1px 2px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 1px, transparent 1px 3px);
}

/* Section base */
.section {
    position: relative;
    padding: 120px 6vw;
    min-height: 60vh;
}

.section + .section {
    margin-top: -4vh;
}

/* Diagonal clip-paths */
.diagonal-down {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.diagonal-up {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

/* HERO --------------------------------------------------------- */
.section-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--blue-dark) 100%);
    padding: 80px 6vw 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-floor {
    position: absolute;
    bottom: -20%;
    left: -20%;
    right: -20%;
    height: 60%;
    background-image:
        linear-gradient(rgba(128, 64, 224, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 224, 208, 0.18) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(700px) rotateX(60deg);
    transform-origin: 50% 100%;
    mask-image: linear-gradient(to bottom, transparent 0%, black 50%, transparent 100%);
}

.scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(64, 224, 208, 0) 0px,
        rgba(64, 224, 208, 0) 3px,
        rgba(64, 224, 208, 0.04) 3px,
        rgba(64, 224, 208, 0.04) 4px
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6vw;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.eyebrow {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--neon-cyan);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    opacity: 0.85;
}

.eyebrow-pink { color: var(--hot-pink); }
.eyebrow-violet { color: var(--electric-violet); }
.eyebrow-cyan { color: var(--neon-cyan); }

/* Logotype with inflated 3D glitch */
.logotype {
    position: relative;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.95;
    color: var(--bright-text);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    transform: scale(1.3);
    opacity: 0;
    animation: logo-slam 0.8s var(--spring) 0.15s forwards;
}

@keyframes logo-slam {
    0% { transform: scale(1.3); opacity: 0; }
    60% { opacity: 1; }
    100% { transform: scale(1.0); opacity: 1; }
}

.logo-main {
    position: relative;
    display: inline-block;
    background: linear-gradient(180deg, #FFFFFF 0%, #C8B8FF 60%, #8040E0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 2px 0 rgba(64, 224, 208, 0.0),
        0 4px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 6px 0 rgba(128, 64, 224, 0.35))
            drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.logo-glitch {
    position: absolute;
    inset: 0;
    display: inline-block;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
}

.logotype.is-glitching .logo-glitch {
    opacity: 1;
}

.logo-glitch--r {
    color: var(--hot-pink);
    transform: translate(-3px, 0);
    animation: glitch-r 0.18s steps(2, jump-none);
}

.logo-glitch--b {
    color: var(--neon-cyan);
    transform: translate(3px, 0);
    animation: glitch-b 0.18s steps(2, jump-none);
}

.logotype.is-glitching .logo-glitch--r { animation: glitch-r 0.18s steps(2, jump-none); }
.logotype.is-glitching .logo-glitch--b { animation: glitch-b 0.18s steps(2, jump-none); }

@keyframes glitch-r {
    0%   { transform: translate(0, 0); clip-path: inset(0 0 80% 0); }
    25%  { transform: translate(-4px, 1px); clip-path: inset(40% 0 30% 0); }
    50%  { transform: translate(-2px, -1px); clip-path: inset(70% 0 5% 0); }
    100% { transform: translate(-3px, 0); clip-path: inset(0 0 90% 0); }
}

@keyframes glitch-b {
    0%   { transform: translate(0, 0); clip-path: inset(70% 0 0 0); }
    25%  { transform: translate(4px, -1px); clip-path: inset(20% 0 50% 0); }
    50%  { transform: translate(2px, 1px); clip-path: inset(0 0 70% 0); }
    100% { transform: translate(3px, 0); clip-path: inset(80% 0 0 0); }
}

.tagline {
    font-size: clamp(15px, 1.2vw, 19px);
    color: var(--bright-text);
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 540px;
}

/* Buttons (inflated 3D) */
.btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn {
    position: relative;
    font-family: 'Archivo Black', sans-serif;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--bright-text);
    border: none;
    cursor: pointer;
    padding: 18px 32px;
    border-radius: 20px;
    transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-out);
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-violet) 0%, var(--hot-pink) 100%);
    box-shadow:
        0 8px 24px rgba(128, 64, 224, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        inset 0 -3px 6px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow:
        0 14px 36px rgba(128, 64, 224, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.18) 0%, rgba(64, 224, 208, 0.08) 100%);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(64, 224, 208, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    color: var(--neon-cyan);
}

.btn-ghost:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.32) 0%, rgba(64, 224, 208, 0.16) 100%);
}

.btn-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover .btn-glow { opacity: 1; }

.meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-chip {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(128, 64, 224, 0.18);
    color: var(--bright-text);
    border: 1px solid rgba(128, 64, 224, 0.4);
    opacity: 0.85;
}

/* Hero sculpture (inflated marble sphere with orbits) */
.hero-sculpture {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
    perspective: 800px;
}

.sphere {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #FFFFFF 0%, #EFE6F0 22%, #C8B6CC 55%, #8870A0 100%),
        radial-gradient(circle at 70% 70%, rgba(128, 64, 224, 0.8) 0%, transparent 50%);
    background-blend-mode: multiply;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 -20px 40px rgba(64, 32, 96, 0.5),
        inset 0 10px 30px rgba(255, 255, 255, 0.2);
    animation: sphere-rotate 22s linear infinite;
    overflow: hidden;
}

.sphere-marble {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 60% 30% at 30% 25%, rgba(255,255,255,0.6), transparent 70%),
        radial-gradient(ellipse 80% 30% at 70% 60%, rgba(128, 64, 224, 0.4), transparent 70%),
        repeating-linear-gradient(118deg, transparent 0 8px, rgba(255,255,255,0.07) 8px 9px),
        repeating-linear-gradient(28deg, transparent 0 12px, rgba(128, 64, 224, 0.18) 12px 13px);
    mix-blend-mode: overlay;
}

.sphere-highlight {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 30%;
    height: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 65%);
    filter: blur(2px);
}

.sphere-shadow {
    position: absolute;
    bottom: -8%;
    left: 12%;
    width: 76%;
    height: 12%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

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

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(64, 224, 208, 0.35);
    pointer-events: none;
}

.orbit-1 {
    inset: 6%;
    transform: rotateX(70deg);
    animation: orbit-rotate 18s linear infinite;
}

.orbit-2 {
    inset: 0%;
    transform: rotateX(70deg) rotateZ(40deg);
    border-color: rgba(224, 64, 160, 0.35);
    animation: orbit-rotate 28s linear infinite reverse;
}

@keyframes orbit-rotate {
    from { transform: rotateX(70deg) rotateZ(0deg); }
    to   { transform: rotateX(70deg) rotateZ(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow:
        0 0 16px rgba(64, 224, 208, 0.8),
        inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.orbit-dot-1 {
    top: 6%;
    left: 50%;
    background: radial-gradient(circle, #fff 0%, var(--neon-cyan) 100%);
    animation: orbit-dot-1 18s linear infinite;
}

.orbit-dot-2 {
    bottom: 12%;
    right: 8%;
    background: radial-gradient(circle, #fff 0%, var(--hot-pink) 100%);
    animation: orbit-dot-2 28s linear infinite reverse;
}

@keyframes orbit-dot-1 {
    from { transform: rotate(0deg) translateX(180px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

@keyframes orbit-dot-2 {
    from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--bright-text);
    opacity: 0.5;
    letter-spacing: 0.2em;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    animation: scroll-pulse 1.8s var(--ease-out) infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
    50%      { transform: scaleY(1.0); transform-origin: top; opacity: 1; }
}

/* STACK SECTION ------------------------------------------------ */
.section-stack {
    background: linear-gradient(170deg, var(--blue-dark) 0%, #1A1240 100%);
    padding-top: 160px;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 72px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--bright-text);
    margin-bottom: 16px;
    text-shadow: 0 4px 0 rgba(128, 64, 224, 0.45),
                 0 8px 24px rgba(0, 0, 0, 0.4);
}

.section-lede {
    font-size: clamp(15px, 1.2vw, 19px);
    color: var(--bright-text);
    opacity: 0.8;
    max-width: 640px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    position: relative;
    padding: 32px 28px;
    border-radius: 26px;
    background: linear-gradient(145deg, #2a1a4a 0%, #18102a 100%);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s var(--spring), box-shadow 0.4s var(--ease-out);
    transform: translateY(20px);
    opacity: 0;
}

.card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 48px rgba(128, 64, 224, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.12),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
}

.card-1:hover { box-shadow: 0 20px 48px rgba(128, 64, 224, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.12); }
.card-2:hover { box-shadow: 0 20px 48px rgba(224, 64, 160, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.12); }
.card-3:hover { box-shadow: 0 20px 48px rgba(64, 224, 208, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.12); }

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.card-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--bright-text);
    margin-bottom: 12px;
}

.card-body {
    font-size: 15px;
    color: var(--bright-text);
    opacity: 0.78;
    margin-bottom: 18px;
}

.card-code {
    display: inline-block;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(64, 224, 208, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(64, 224, 208, 0.3);
}

/* SHOWCASE SECTION --------------------------------------------- */
.section-showcase {
    background: linear-gradient(175deg, #18102a 0%, var(--purple-dark) 100%);
    padding-top: 160px;
}

.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--bright-text);
    font-size: 15px;
    opacity: 0.85;
    border-bottom: 1px dashed rgba(128, 64, 224, 0.18);
}

.feature-list code {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--neon-cyan);
    background: rgba(64, 224, 208, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.bullet {
    color: var(--hot-pink);
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

/* Showcase stage */
.showcase-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 800px;
}

.stage-platform {
    position: absolute;
    bottom: 18%;
    left: 10%;
    right: 10%;
    height: 8%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(128, 64, 224, 0.4) 0%, transparent 70%);
    filter: blur(8px);
}

.primitive {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0) scale(0);
    width: 50%;
    height: 50%;
    transition: transform 0.6s var(--spring), opacity 0.4s ease;
    opacity: 0;
    transform-style: preserve-3d;
}

.primitive.is-active {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    animation: float-bob 4s ease-in-out infinite;
}

@keyframes float-bob {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50%      { transform: translate(-50%, -10%) scale(1.02); }
}

/* Cube */
.primitive-cube {
    transform-style: preserve-3d;
}

.primitive-cube.is-active {
    animation: cube-spin 8s linear infinite, float-bob 4s ease-in-out infinite;
}

@keyframes cube-spin {
    from { transform: translate(-50%, 0) rotateX(20deg) rotateY(0deg); }
    to   { transform: translate(-50%, 0) rotateX(20deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, #F0E8F0 0%, #C0B0D0 100%);
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.4),
        inset 0 -4px 8px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(128, 64, 224, 0.3);
    background-image:
        radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.6), transparent 50%),
        repeating-linear-gradient(118deg, transparent 0 6px, rgba(128, 64, 224, 0.15) 6px 7px),
        repeating-linear-gradient(28deg, transparent 0 8px, rgba(0, 0, 0, 0.05) 8px 9px);
}

.cube-face--front  { transform: translateZ(70px); }
.cube-face--back   { transform: translateZ(-70px) rotateY(180deg); }
.cube-face--right  { transform: rotateY(90deg) translateZ(70px); }
.cube-face--left   { transform: rotateY(-90deg) translateZ(70px); }
.cube-face--top    { transform: rotateX(90deg) translateZ(70px); }
.cube-face--bottom { transform: rotateX(-90deg) translateZ(70px); }

/* Pill */
.primitive-pill .pill-marble {
    width: 100%;
    height: 60%;
    margin: 20% 0;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 30% 30%, #FFFFFF 0%, #C8B0E0 50%, #8050B0 100%);
    box-shadow:
        inset 0 8px 16px rgba(255, 255, 255, 0.4),
        inset 0 -8px 16px rgba(0, 0, 0, 0.2),
        0 12px 32px rgba(128, 64, 224, 0.45);
    background-image:
        radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.7), transparent 40%),
        repeating-linear-gradient(108deg, transparent 0 8px, rgba(224, 64, 160, 0.12) 8px 9px);
}

/* Disc */
.primitive-disc .disc-marble {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #FFFFFF 0%, #B0E0D8 40%, #40A098 100%);
    box-shadow:
        inset 0 12px 24px rgba(255, 255, 255, 0.35),
        inset 0 -10px 24px rgba(0, 0, 0, 0.25),
        0 14px 36px rgba(64, 224, 208, 0.5);
    background-image:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.8), transparent 40%),
        repeating-linear-gradient(48deg, transparent 0 10px, rgba(64, 224, 208, 0.15) 10px 11px);
}

.stage-controls {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.ctrl {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 12px 18px;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    color: var(--bright-text);
    background: linear-gradient(145deg, #2A1A4A 0%, #18102A 100%);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s var(--spring), box-shadow 0.4s ease;
}

.ctrl:hover {
    transform: translateY(-3px) scale(1.05);
}

.ctrl.is-active {
    background: linear-gradient(145deg, var(--electric-violet) 0%, var(--hot-pink) 100%);
    box-shadow:
        0 10px 24px rgba(224, 64, 160, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* SPECS SECTION ------------------------------------------------ */
.section-specs {
    background: linear-gradient(165deg, var(--purple-dark) 0%, #100822 100%);
    padding-top: 160px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.spec-block {
    text-align: center;
    padding: 32px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(128, 64, 224, 0.15) 0%, rgba(10, 32, 64, 0.4) 100%);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.06);
    transition: transform 0.4s var(--spring);
}

.spec-block:hover {
    transform: translateY(-6px) scale(1.03);
}

.spec-num {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1;
    color: var(--bright-text);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 4px 0 rgba(64, 224, 208, 0.3);
}

.spec-label {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--bright-text);
    opacity: 0.75;
    text-transform: lowercase;
}

/* Terminal */
.terminal {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #0A0418;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(128, 64, 224, 0.25);
}

.term-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #1a1030 0%, #0e081e 100%);
    border-bottom: 1px solid rgba(128, 64, 224, 0.25);
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3),
                inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}
.term-dot-r { background: #ff5f56; }
.term-dot-y { background: #ffbd2e; }
.term-dot-g { background: #27c93f; }

.term-title {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--bright-text);
    opacity: 0.6;
    margin-left: 12px;
}

.term-body {
    padding: 20px 22px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--bright-text);
}

.term-line {
    margin: 0;
}

.term-out {
    color: var(--neon-cyan);
    opacity: 0.85;
}

.prompt {
    color: var(--hot-pink);
    margin-right: 8px;
}

.cursor {
    display: inline-block;
    background: var(--neon-cyan);
    color: var(--neon-cyan);
    width: 9px;
    height: 16px;
    vertical-align: text-bottom;
    animation: cursor-blink 1s steps(2) infinite;
}

@keyframes cursor-blink {
    50% { opacity: 0; }
}

.typed::after {
    content: '|';
    color: var(--neon-cyan);
    animation: cursor-blink 1s steps(2) infinite;
    margin-left: 1px;
}

.typed.is-done::after { content: ''; }

/* FOOTER ------------------------------------------------------- */
.section-footer {
    background: linear-gradient(180deg, #100822 0%, #050310 100%);
    padding: 140px 6vw 80px;
    text-align: center;
    min-height: auto;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-mark {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--bright-text);
    margin-bottom: 12px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--electric-violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-tag {
    font-size: 16px;
    color: var(--bright-text);
    opacity: 0.7;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.footer-link {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--neon-cyan);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: transform 0.4s var(--spring), background 0.3s ease;
}

.footer-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(64, 224, 208, 0.12);
}

.footer-fineprint {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: var(--bright-text);
    opacity: 0.45;
    letter-spacing: 0.05em;
}

/* RESPONSIVE --------------------------------------------------- */
@media (max-width: 900px) {
    .hero-inner,
    .showcase-inner {
        grid-template-columns: 1fr;
    }

    .hero-sculpture,
    .showcase-stage {
        max-width: 360px;
        margin-top: 30px;
    }

    .section {
        padding: 100px 5vw;
    }

    @keyframes orbit-dot-1 {
        from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
        to   { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
    }

    @keyframes orbit-dot-2 {
        from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
        to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
    }
}

@media (max-width: 560px) {
    .section { padding: 80px 5vw; }
    .btn { padding: 14px 22px; font-size: 13px; }
    .section-title { font-size: clamp(28px, 7vw, 44px); }
}
