/* ========== LOCAL FONTS ========== */

/* Inter Variable — latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(vendor/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Inter Variable — latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(vendor/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* JetBrains Mono Variable — latin-ext */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 100 800;
    src: url(vendor/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* JetBrains Mono Variable — latin */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 100 800;
    src: url(vendor/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #06060f;
    --bg-secondary: #0c0c1d;
    --bg-card: rgba(255,255,255,0.03);
    --accent-cyan: #00d4ff;
    --accent-purple: #7b2ff7;
    --accent-green: #00ff88;
    --accent-orange: #ff6b35;
    --text-primary: #f0f0f8;
    --text-secondary: #8888a8;
    --glass-border: rgba(255,255,255,0.08);
    --glow-cyan: 0 0 40px rgba(0,212,255,0.15);
    --glow-purple: 0 0 40px rgba(123,47,247,0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-primary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

nav.scrolled {
    background: rgba(6,6,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
    margin-left: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

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

.lang-btn.active {
    background: rgba(0,212,255,0.15);
    color: var(--accent-cyan);
}

/* ========== HERO ========== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    bottom: -150px;
    left: -100px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge .flag {
    font-style: normal;
    font-size: 1.1rem;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero-title .word {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.7;
}

.hero-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 40px;
}

.hero-price .amount {
    font-size: 1.6em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 30px rgba(0,212,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0,212,255,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0,212,255,0.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
    opacity: 0.5;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Swipe indicator (mobile) */
.scroll-swipe {
    display: none;
    opacity: 0.5;
    color: var(--text-secondary);
}

.scroll-swipe .swipe-line {
    animation: swipe-anim 2s infinite ease-in-out;
}

.scroll-swipe .swipe-arrow {
    animation: swipe-anim 2s infinite ease-in-out;
}

.scroll-swipe .swipe-dot {
    opacity: 0.5;
}

@keyframes swipe-anim {
    0%   { opacity: 1; transform: translateY(0); }
    50%  { opacity: 0.4; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.scroll-label-mobile {
    display: none;
}

/* ========== SECTION COMMON ========== */
section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ========== WHY SECTION ========== */
#why {
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.why-card:hover {
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

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

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.15);
}

.why-card:nth-child(2) .why-icon {
    background: rgba(123,47,247,0.08);
    border-color: rgba(123,47,247,0.15);
}

.why-card:nth-child(3) .why-icon {
    background: rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.15);
}

.why-card:nth-child(4) .why-icon {
    background: rgba(255,107,53,0.08);
    border-color: rgba(255,107,53,0.15);
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== APPS SECTION ========== */
#apps {
    background: var(--bg-primary);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.app-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.05);
}

.app-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.app-icon img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.app-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.app-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.app-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* App-specific colors */
.app-nextcloud .app-icon { background: linear-gradient(135deg, #0082C9, #005fa3); }
.app-nextcloud .app-tag { background: rgba(0,130,201,0.15); color: #0082C9; }

.app-invoiceninja .app-icon { background: linear-gradient(135deg, #000, #333); }
.app-invoiceninja .app-tag { background: rgba(255,255,255,0.08); color: #ccc; }

.app-documenso .app-icon { background: linear-gradient(135deg, #A2E771, #5BA340); }
.app-documenso .app-tag { background: rgba(162,231,113,0.15); color: #A2E771; }

.app-n8n .app-icon { background: linear-gradient(135deg, #EA4B71, #c0294c); }
.app-n8n .app-tag { background: rgba(234,75,113,0.15); color: #EA4B71; }

.app-wordpress .app-icon { background: linear-gradient(135deg, #21759B, #1a5f7e); }
.app-wordpress .app-tag { background: rgba(33,117,155,0.15); color: #21759B; }

.app-element .app-icon { background: linear-gradient(135deg, #0DBD8B, #09936d); }
.app-element .app-tag { background: rgba(13,189,139,0.15); color: #0DBD8B; }

.app-gitlab .app-icon { background: linear-gradient(135deg, #FC6D26, #E24329); }
.app-gitlab .app-tag { background: rgba(252,109,38,0.15); color: #FC6D26; }

.app-openwebui .app-icon { background: linear-gradient(135deg, #333, #111); }
.app-openwebui .app-tag { background: rgba(255,255,255,0.08); color: #ccc; }

.app-mail .app-icon { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple)); }
.app-mail .app-tag { background: rgba(0,212,255,0.15); color: var(--accent-cyan); }

.apps-note {
    text-align: center;
    margin-top: 48px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.apps-note a {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,212,255,0.3);
    transition: border-color 0.3s;
}

.apps-note a:hover {
    border-color: var(--accent-cyan);
}

/* ========== HOW IT WORKS — SCROLL ANIMATION ========== */
#how {
    background: var(--bg-secondary);
    padding-bottom: 0;
}

.steps-scroll-area {
    min-height: 200vh;
    position: relative;
}

.steps-sticky {
    position: sticky;
    top: 20vh;
    padding-bottom: 20vh;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* When scroll animation is active, steps start dimmed */
.steps.scroll-active .step {
    opacity: 0.2;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.steps.scroll-active .step.step-active,
.steps.scroll-active .step.step-complete,
.steps.scroll-active .step.step-celebrate {
    opacity: 1;
    transform: scale(1);
}

.step-number {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    overflow: visible;
    transition: background 0.5s ease, border-color 0.5s ease,
                color 0.5s ease, box-shadow 0.5s ease;
}

.step[data-step="1"] .step-number {
    background: rgba(0,212,255,0.08);
    border: 2px solid rgba(0,212,255,0.3);
    color: var(--accent-cyan);
    box-shadow: 0 0 40px rgba(0,212,255,0.1);
}

.step[data-step="2"] .step-number {
    background: rgba(123,47,247,0.08);
    border: 2px solid rgba(123,47,247,0.3);
    color: var(--accent-purple);
    box-shadow: 0 0 40px rgba(123,47,247,0.1);
}

.step[data-step="3"] .step-number {
    background: rgba(0,255,136,0.08);
    border: 2px solid rgba(0,255,136,0.3);
    color: var(--accent-green);
    box-shadow: 0 0 40px rgba(0,255,136,0.1);
}

/* Completed step — number turns green */
.steps .step.step-complete .step-number {
    background: rgba(0,255,136,0.12);
    border-color: rgba(0,255,136,0.4);
    color: var(--accent-green);
    box-shadow: 0 0 30px rgba(0,255,136,0.15);
}

/* Final celebration — intense green glow */
.steps .step.step-celebrate .step-number {
    background: rgba(0,255,136,0.18);
    border-color: rgba(0,255,136,0.6);
    color: var(--accent-green);
    box-shadow: 0 0 50px rgba(0,255,136,0.3);
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Connectors (absolutely positioned between step circles) ---- */
.step-connector {
    position: absolute;
    top: 44px;
    height: 8px;
    z-index: 0;
}

.connector-track {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.connector-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 4px;
    will-change: width;
}

/* Connector 1→2: positioned between step-number circles */
#connector-12 {
    left: calc((100% - 64px) / 6 + 48px);
    right: calc(50% + 48px);
}

/* Striped cyan→purple gradient (in-progress feel) */
#connector-12 .connector-fill {
    background:
        linear-gradient(
            -45deg,
            rgba(255,255,255,0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255,255,255,0.2) 50%,
            rgba(255,255,255,0.2) 75%,
            transparent 75%,
            transparent
        ),
        linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    background-size: 16px 16px, 100% 100%;
    animation: stripe-move 0.5s linear infinite;
}

/* Connector 2→3: positioned between step-number circles */
#connector-23 {
    left: calc(50% + 48px);
    right: calc((100% - 64px) / 6 + 48px);
}

/* Striped purple→green gradient (working towards completion) */
#connector-23 .connector-fill {
    background:
        linear-gradient(
            -45deg,
            rgba(255,255,255,0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255,255,255,0.2) 50%,
            rgba(255,255,255,0.2) 75%,
            transparent 75%,
            transparent
        ),
        linear-gradient(90deg, var(--accent-purple), var(--accent-green));
    background-size: 16px 16px, 100% 100%;
    animation: stripe-move 0.5s linear infinite;
}

/* Solid green overlay — fades in over the stripes for "done" feel */
.connector-fill-green {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(0,255,136,0.6), var(--accent-green));
    box-shadow: 0 0 12px rgba(0,255,136,0.3);
    opacity: 0;
    will-change: width, opacity;
}

@keyframes stripe-move {
    from { background-position: 16px 0, 0 0; }
    to { background-position: 0 0, 0 0; }
}

/* Celebrate ring (created dynamically via JS) */
.step-celebrate-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-green);
    pointer-events: none;
}

/* ========== TERMINAL SECTION ========== */
#terminal-section {
    background: var(--bg-primary);
}

.terminal-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.terminal-text .section-desc {
    margin-bottom: 32px;
}

.terminal-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terminal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.terminal-features li .check {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.terminal-window {
    background: #0d0d1a;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 280px;
}

.terminal-line {
    opacity: 0;
}

.terminal-line .prompt {
    color: var(--accent-green);
}

.terminal-line .cmd {
    color: var(--text-primary);
}

.terminal-line .comment {
    color: var(--text-secondary);
}

.terminal-line .success {
    color: var(--accent-cyan);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

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

/* ========== PRICING ========== */
#pricing {
    background: var(--bg-secondary);
}

.pricing-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
}

.pricing-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.pricing-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 36px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.9rem;
    width: 22px;
    height: 22px;
    background: rgba(0,255,136,0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== CTA SECTION ========== */
#cta {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-content .section-title {
    margin-bottom: 16px;
}

.cta-content .section-desc {
    margin: 0 auto 40px;
    text-align: center;
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo {
    font-size: 0.95rem;
}

.footer-info {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
    .terminal-showcase {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps-scroll-area {
        min-height: auto;
    }

    .steps-sticky {
        position: relative;
        top: auto;
        padding-bottom: 0;
    }

    #how {
        padding-bottom: 120px;
    }

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

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }

    .nav-links {
        display: none;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    /* Swap mouse → swipe on mobile */
    .scroll-mouse {
        display: none;
    }

    .scroll-swipe {
        display: block;
    }

    .scroll-label-desktop {
        display: none;
    }

    .scroll-label-mobile {
        display: inline;
    }
}
