/* ============================================
   IRANCheat Team — landing page
   Animated hero, product showcase & motion UI
   ============================================ */

.landing-page {
    position: relative;
    overflow-x: hidden;
    padding-bottom: 0;
}

.landing-page header,
.landing-page footer {
    position: relative;
    z-index: 5;
}

.landing-page footer {
    position: relative;
    bottom: auto;
    margin-top: 56px;
}

.landing {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 40px;
    min-height: 0;
}

.landing .accent {
    color: var(--accent-green);
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green-dim), var(--accent-green));
    box-shadow: 0 0 12px rgba(61, 255, 122, 0.55);
    pointer-events: none;
}

/* ---------- Cursor glow ---------- */

/*
   One soft light that trails the pointer. It is a plain radial gradient (no
   filter, no blend mode) so the compositor can move it without repainting
   anything behind it.
*/

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 480px;
    height: 480px;
    margin: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle closest-side,
        rgba(61, 255, 122, 0.11),
        rgba(61, 255, 122, 0.045) 55%,
        rgba(61, 255, 122, 0) 100%
    );
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.5s ease;
}

.cursor-glow.on {
    opacity: 1;
}

/* Touch devices and narrow screens skip it entirely. */
@media (hover: none), (pointer: coarse), (max-width: 999px) {
    .cursor-glow {
        display: none;
    }
}

/* ---------- Decorative background ---------- */

.fx-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fx-grid {
    position: absolute;
    inset: -25%;
    background-image:
        linear-gradient(rgba(61, 255, 122, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 255, 122, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
    animation: gridDrift 26s linear infinite;
}

.fx-orb {
    position: absolute;
    width: 46vmax;
    height: 46vmax;
    border-radius: 50%;
    /* No blur filter: the gradient is already soft, and dropping the filter
       keeps two huge blurred layers off the compositor. */
    opacity: 0.2;
    will-change: transform;
}

.fx-orb-a {
    top: -16%;
    left: -10%;
    background: radial-gradient(circle, #3dff7a 0%, transparent 65%);
    animation: orbFloat 19s ease-in-out infinite alternate;
}

.fx-orb-b {
    right: -12%;
    bottom: -20%;
    background: radial-gradient(circle, #1f7a3f 0%, transparent 65%);
    animation: orbFloat 23s ease-in-out infinite alternate-reverse;
}

.fx-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(61, 255, 122, 0.05), transparent);
    animation: scanDown 11s linear infinite;
}

.fx-particles span {
    position: absolute;
    bottom: -12px;
    left: var(--x);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 9px var(--accent-green);
    opacity: 0.55;
    animation: particleRise var(--t) linear infinite;
    animation-delay: var(--d);
}

/* ---------- Hero ---------- */

.hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 46px;
    padding: 24px 0 10px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid var(--border-line);
    border-radius: 999px;
    background: rgba(61, 255, 122, 0.05);
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
}

.eyebrow-sep {
    color: var(--accent-green-dim);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 0 rgba(61, 255, 122, 0.6);
    animation: pulseRing 2s ease-out infinite;
}

.hero-title {
    margin: 0 0 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2.5rem, 6.2vw, 4.6rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--accent-green);
    text-shadow: 0 0 34px rgba(61, 255, 122, 0.35);
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    /* Keep the duplicated text out of the accessibility tree. */
    content: attr(data-text) / "";
    position: absolute;
    inset: 0;
    color: var(--accent-green);
    opacity: 0.7;
    pointer-events: none;
}

.glitch::before {
    clip-path: inset(0 0 62% 0);
    animation: glitchTop 5.5s steps(2) infinite;
}

.glitch::after {
    clip-path: inset(58% 0 0 0);
    color: var(--accent-amber);
    animation: glitchBottom 6.2s steps(2) infinite;
}

.hero-sub {
    max-width: 54ch;
    margin: 0 0 12px;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-fa {
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.9;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    padding: 13px 22px;
    border: 1px solid var(--border-line-strong);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #05140a;
    box-shadow: 0 12px 34px rgba(61, 255, 122, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 16px 44px rgba(61, 255, 122, 0.3);
    color: #05140a;
}

.btn-ghost {
    color: var(--text-dim);
}

.btn-ghost:hover {
    background: rgba(61, 255, 122, 0.06);
    color: var(--accent-green);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    animation: btnShine 3.8s ease-in-out infinite;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-line);
}

.meta-label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
}

.hero-meta strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-primary);
}

.hero-meta strong.ok {
    color: var(--accent-green);
}

.hero-meta strong.warn {
    color: var(--accent-amber);
}

/* ---------- Hero terminal ---------- */

.hero-terminal {
    position: relative;
    border: 1px solid var(--border-line);
    border-radius: 10px;
    background: rgba(10, 14, 10, 0.82);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(61, 255, 122, 0.06);
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.hero-terminal:hover {
    border-color: var(--border-line-strong);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(61, 255, 122, 0.1);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-line);
    background: rgba(21, 27, 20, 0.9);
    border-radius: 10px 10px 0 0;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 9px;
    height: 9px;
}

.terminal-title {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
}

.terminal-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}

.terminal-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: blink 1.4s steps(1) infinite;
}

.terminal-screen {
    position: relative;
    overflow: hidden;
    padding: 22px 20px 26px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.95;
    color: var(--text-dim);
}

.terminal-screen::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -30%;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(61, 255, 122, 0.055), transparent);
    animation: scanDown 7s linear infinite;
    pointer-events: none;
}

.term-line {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.term-out {
    opacity: 0;
    animation: termIn 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

.term-line .ok,
.tag-ok {
    color: var(--accent-green);
}

.tag-ok {
    font-weight: 700;
}

.term-progress {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid rgba(61, 255, 122, 0.09);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
}

.progress-row {
    display: grid;
    grid-template-columns: 62px 1fr 36px;
    align-items: center;
    gap: 9px;
}

.progress-row + .progress-row {
    margin-top: 9px;
}

.progress-row > span {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
}

.progress-row > b {
    color: var(--accent-green);
    font-size: 0.56rem;
    font-weight: 600;
    text-align: right;
}

.progress {
    height: 4px;
    border-radius: 99px;
    background: rgba(61, 255, 122, 0.1);
    overflow: hidden;
}

.progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-green-dim), var(--accent-green));
    box-shadow: 0 0 10px rgba(61, 255, 122, 0.5);
    animation: growBar 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 3.2s;
}

/* ---------- Ticker ---------- */

.ticker {
    position: relative;
    overflow: hidden;
    margin: 44px 0 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-line);
    border-bottom: 1px solid var(--border-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    animation: marquee var(--ticker-duration, 32s) linear infinite;
}

.ticker span {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.ticker b {
    color: var(--accent-green-dim);
    font-weight: 400;
}

/* ---------- Stats ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 46px 0 0;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(21, 27, 20, 0.9), rgba(10, 14, 10, 0.9));
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 255, 122, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover {
    border-color: var(--border-line-strong);
}

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

.stat-value {
    display: block;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent-green);
    text-shadow: 0 0 24px rgba(61, 255, 122, 0.22);
}

.stat-label {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
}

/* ---------- Sections ---------- */

.section-block {
    margin-top: 96px;
}

.block-head {
    max-width: 660px;
    margin-bottom: 32px;
}

.block-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
}

.block-title {
    margin: 0 0 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 3.4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.block-sub {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- Features ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 24px 22px 26px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(21, 27, 20, 0.85), rgba(10, 14, 10, 0.92));
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 255, 122, 0.09), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-line-strong);
    background: linear-gradient(180deg, rgba(25, 33, 24, 0.95), rgba(10, 14, 10, 0.95));
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: rgba(61, 255, 122, 0.05);
    color: var(--accent-green);
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px) rotate(-4deg);
    box-shadow: 0 0 22px rgba(61, 255, 122, 0.18);
}

.feature-card h4 {
    margin: 0 0 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card p {
    margin: 0 0 16px;
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.75;
}

.feature-tag {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid rgba(61, 255, 122, 0.16);
    border-radius: 3px;
    color: var(--accent-green-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.54rem;
    letter-spacing: 0.14em;
}

/* ---------- Capability cards ---------- */

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cap-card {
    position: relative;
    overflow: hidden;
    padding: 22px 22px 24px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(21, 27, 20, 0.88), rgba(10, 14, 10, 0.94));
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cap-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 255, 122, 0.08), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cap-card:hover {
    border-color: var(--border-line-strong);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

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

.cap-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(61, 255, 122, 0.1);
}

.cap-index {
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
}

.cap-head h4 {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.cap-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cap-list li {
    position: relative;
    padding: 6px 0 6px 17px;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cap-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-green-dim);
    font-family: 'JetBrains Mono', monospace;
}

/* Small tag for items that are announced but not live yet. */
.soon {
    display: inline-block;
    margin-inline-start: 2px;
    padding: 1px 7px 2px;
    border: 1px solid rgba(61, 255, 122, 0.35);
    border-radius: 999px;
    background: rgba(61, 255, 122, 0.08);
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    vertical-align: 1px;
    white-space: nowrap;
}

/* ---------- Product showcase ---------- */

.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.show-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px 22px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(21, 27, 20, 0.9), rgba(10, 14, 10, 0.95));
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.show-card:hover {
    border-color: var(--border-line-strong);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.show-card.featured {
    border-color: var(--border-line-strong);
    box-shadow: 0 0 44px rgba(61, 255, 122, 0.09);
}

.show-ribbon {
    position: absolute;
    top: 14px;
    right: -34px;
    width: 130px;
    padding: 4px 0;
    transform: rotate(38deg);
    background: var(--accent-green);
    color: #05140a;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.show-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.show-index {
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
}

.show-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.54rem;
    letter-spacing: 0.12em;
}

.show-state i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 7px var(--accent-green);
}

.show-card h4 {
    margin: 0 0 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 800;
}

.show-type {
    margin: 0 0 18px;
    color: var(--text-dim);
    font-size: 0.75rem;
}

.show-list {
    flex: 1;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.show-list li {
    position: relative;
    padding: 7px 0 7px 18px;
    border-bottom: 1px dashed rgba(61, 255, 122, 0.09);
    color: var(--text-dim);
    font-size: 0.8rem;
}

.show-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
}

.show-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.show-link span {
    transition: transform 0.25s ease;
}

.show-link:hover span {
    transform: translateX(4px);
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 12px;
}

.step {
    padding: 22px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    background: rgba(16, 20, 15, 0.72);
}

.step-num {
    display: inline-block;
    margin-bottom: 14px;
    color: transparent;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.7rem;
    font-weight: 800;
    -webkit-text-stroke: 1px var(--accent-green-dim);
    letter-spacing: -0.02em;
}

.step h4 {
    margin: 0 0 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
}

.step p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.75;
}

.step code {
    padding: 1px 5px;
    border: 1px solid rgba(61, 255, 122, 0.18);
    border-radius: 3px;
    background: rgba(61, 255, 122, 0.05);
    color: var(--accent-green);
    font-size: 0.76rem;
}

.step-line {
    position: relative;
    align-self: center;
    width: 46px;
    height: 1px;
    overflow: hidden;
    background: rgba(61, 255, 122, 0.16);
}

.step-line i {
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: stepPulse 2.6s linear infinite;
}

/* ---------- FAQ ---------- */

.faq-block .block-head {
    margin-bottom: 22px;
}

.faq {
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(16, 20, 15, 0.62);
}

.faq details {
    border-bottom: 1px solid rgba(61, 255, 122, 0.08);
}

.faq details:last-child {
    border-bottom: 0;
}

.faq summary {
    position: relative;
    padding: 18px 48px 18px 20px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.faq details[open] summary {
    color: var(--accent-green);
    background: rgba(61, 255, 122, 0.03);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--text-dim);
    font-size: 0.87rem;
    line-height: 1.85;
    animation: faqOpen 0.3s ease;
}

/* ---------- CTA ---------- */

.cta {
    position: relative;
    overflow: hidden;
    margin-top: 96px;
    padding: 54px 32px;
    border: 1px solid var(--border-line-strong);
    border-radius: 10px;
    background:
        radial-gradient(600px circle at 50% 0%, rgba(61, 255, 122, 0.09), transparent 70%),
        rgba(16, 20, 15, 0.85);
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 255, 122, 0.14), transparent 65%);
    filter: blur(20px);
    animation: ctaGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

.cta h3 {
    margin: 0 0 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 3.4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta p {
    margin: 0 0 26px;
    color: var(--text-dim);
    font-size: 0.94rem;
}

.cta .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

/* ---------- Reveal & tilt ---------- */

/*
   Every reveal animates the individual `translate` / `scale` / `rotate`
   properties instead of `transform`, so the pointer tilt on the cards
   (which owns `transform`) keeps working after the entrance finishes.
*/

.reveal {
    opacity: 0;
}

.reveal.in {
    animation: revealRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 90ms);
}

.reveal-left.in {
    animation-name: revealLeft;
}

.reveal-right.in {
    animation-name: revealRight;
}

.reveal-up.in {
    animation-name: revealRise;
}

.reveal-pop.in {
    animation-name: revealPop;
}

.feature-grid,
.cap-grid,
.stats {
    perspective: 1300px;
}

/* Cards fly in from below with a 3D fold and a stagger. */
.feature-grid > .reveal.in,
.cap-grid > .reveal.in,
.stats > .reveal.in {
    animation: revealCard 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 110ms);
}

/* A single light sweep runs along the top of the card as it lands. */
.feature-grid > .reveal.in::before {
    animation: cardLine 1.15s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 110ms + 160ms) both;
}

/* Cards fan out a little as they land, so a grid never reads as one block. */
.feature-grid > .reveal:nth-child(odd),
.cap-grid > .reveal:nth-child(odd) {
    --dx: -22px;
}

.feature-grid > .reveal:nth-child(even),
.cap-grid > .reveal:nth-child(even) {
    --dx: 22px;
}

.stats > .reveal:nth-child(1) { --dx: -18px; }
.stats > .reveal:nth-child(2) { --dx: 0px; }
.stats > .reveal:nth-child(3) { --dx: 18px; }

@keyframes cardLine {
    0% { transform: scaleX(0); opacity: 0.15; }
    55% { opacity: 1; }
    100% { transform: scaleX(1); opacity: 0.35; }
}

/* ---------- Section headings wipe in ---------- */

.block-head.reveal-wipe {
    opacity: 1;
}

.block-head.reveal-wipe.in {
    animation: none;
}

.block-head .block-kicker,
.block-head .block-sub {
    transition:
        opacity 0.65s ease,
        translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.block-head .block-kicker {
    opacity: 0;
    translate: -26px 0;
}

.block-head .block-sub {
    opacity: 0;
    translate: 0 20px;
    transition-delay: 0.42s;
}

.block-head.in .block-kicker {
    opacity: 1;
    translate: 0 0;
}

.block-head.in .block-sub {
    opacity: 1;
    translate: 0 0;
}

/*
   Headings are split into words by landing.js. Each word rises on its own,
   which reads as one smooth wipe but only touches opacity / translate, so the
   compositor can carry it without a single extra layout pass.
*/

.block-title .word,
.cta h3 .word {
    display: inline-block;
    opacity: 0;
    translate: 0 0.62em;
    rotate: -0.4deg;
    transition:
        opacity 0.5s ease,
        translate 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        rotate 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--wi, 0) * 62ms + 120ms);
}

.block-head.in .block-title .word,
.cta.in h3 .word {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
}

/* Accent line that draws itself under the kicker. */
.block-head .block-kicker::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    margin-top: 9px;
    background: linear-gradient(90deg, var(--accent-green), transparent);
    box-shadow: 0 0 12px rgba(61, 255, 122, 0.5);
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.block-head.in .block-kicker::after {
    width: 128px;
}

/* ---------- Hero title wipe ---------- */

.hero-title .line {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.hero-title .line:last-child {
    transition-delay: 0.3s;
}

.hero-copy.in .hero-title .line {
    clip-path: inset(0 0 0 0);
}

/* ---------- Background parallax ---------- */

.fx-grid {
    translate: 0 var(--py, 0px);
}

.fx-orb-a {
    translate: 0 calc(var(--py, 0px) * -0.55);
}

.fx-orb-b {
    translate: 0 calc(var(--py, 0px) * 0.4);
}

.fx-scan {
    translate: 0 calc(var(--py, 0px) * 0.25);
}

/* ---------- Keyframes ---------- */

@keyframes gridDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(48px, 48px, 0); }
}

@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(6%, 8%, 0) scale(1.12); }
}

@keyframes scanDown {
    from { transform: translateY(-120%); }
    to { transform: translateY(420%); }
}

@keyframes particleRise {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.55; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-105vh); opacity: 0; }
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(61, 255, 122, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(61, 255, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 255, 122, 0); }
}

@keyframes glitchTop {
    0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
    90% { transform: translate(-3px, -2px); opacity: 0.7; }
    92% { transform: translate(3px, 1px); opacity: 0.5; }
    94% { transform: translate(-2px, 0); opacity: 0.6; }
    96% { transform: translate(0, 0); opacity: 0; }
}

@keyframes glitchBottom {
    0%, 84%, 100% { transform: translate(0, 0); opacity: 0; }
    86% { transform: translate(3px, 2px); opacity: 0.6; }
    88% { transform: translate(-3px, -1px); opacity: 0.45; }
    90% { transform: translate(2px, 0); opacity: 0.55; }
    92% { transform: translate(0, 0); opacity: 0; }
}

@keyframes btnShine {
    0%, 55% { left: -60%; }
    80%, 100% { left: 130%; }
}

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

@keyframes growBar {
    from { width: 0; }
    to { width: var(--w); }
}

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

@keyframes stepPulse {
    from { left: -40%; }
    to { left: 110%; }
}

@keyframes ctaGlow {
    from { opacity: 0.55; transform: translateX(-50%) scale(1); }
    to { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

@keyframes revealRise {
    from { opacity: 0; translate: 0 58px; scale: 0.95; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes revealLeft {
    from { opacity: 0; translate: -90px 0; scale: 0.95; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes revealRight {
    from { opacity: 0; translate: 90px 0; scale: 0.95; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes revealPop {
    0% { opacity: 0; translate: 0 34px; scale: 0.68; rotate: -2deg; }
    62% { opacity: 1; translate: 0 -8px; scale: 1.04; rotate: 0.6deg; }
    100% { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
}

@keyframes revealCard {
    0% {
        opacity: 0;
        translate: var(--dx, 0px) 112px;
        scale: 0.82;
        rotate: x 28deg;
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        translate: 0 0;
        scale: 1;
        rotate: x 0deg;
    }
}

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

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .block-head.reveal-wipe {
        opacity: 1;
    }

    .reveal.in,
    .feature-grid > .reveal.in,
    .cap-grid > .reveal.in,
    .stats > .reveal.in {
        animation: none;
        opacity: 1;
    }

    .block-head .block-kicker,
    .block-head .block-title,
    .block-head .block-sub,
    .block-title .word,
    .cta h3 .word {
        opacity: 1;
        translate: 0 0;
        scale: 1;
        rotate: 0deg;
        clip-path: none;
        transition: none;
    }

    .cursor-glow {
        display: none;
    }

    .hero-title .line {
        clip-path: none;
        transition: none;
    }

    .fx-grid,
    .fx-orb-a,
    .fx-orb-b,
    .fx-scan {
        translate: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-terminal {
        max-width: 620px;
    }

    .feature-grid,
    .cap-grid,
    .product-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .step-line {
        display: none;
    }
}

@media (max-width: 680px) {
    .landing {
        padding: 34px 16px 30px;
    }

    .feature-grid,
    .cap-grid,
    .product-showcase {
        grid-template-columns: 1fr;
    }

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

    .terminal-screen {
        font-size: 0.66rem;
        padding: 18px 14px 22px;
    }

    .section-block,
    .cta {
        margin-top: 70px;
    }

    .cta {
        padding: 38px 20px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .stats,
    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.1rem, 12vw, 3rem);
    }
}
