/* ============================================================
   GrabClip Landing Page — by Bilsimaging
   Liquid Glass Design System — matching the desktop app
   contact@bilsimaging.com | bilsimaging.com
   Made with love — Tunisia
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── Liquid Glass Design Tokens (from grabclip_stylesheet.py) ── */

    /* Background layers (deep → surface) — NO blue channel bias */
    --bg-deep: #050505;
    --bg-base: #0A0A0A;
    --bg-glass: rgba(12, 12, 12, 0.75);
    --bg-glass-hover: rgba(20, 20, 20, 0.80);
    --bg-glass-surface: rgba(16, 16, 16, 0.70);
    --bg-glass-elevated: rgba(24, 24, 24, 0.75);

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.10);
    --border-glass-active: rgba(255, 61, 26, 0.4);

    /* Accent */
    --accent: #FF3D1A;
    --accent-hover: #E63517;
    --accent-pressed: #CC3015;
    --accent-dark: #B02A12;
    --accent-glow: rgba(255, 61, 26, 0.15);
    --accent-glow-strong: rgba(255, 61, 26, 0.4);

    /* Signal / Highlight */
    --signal: #FFE500;
    --signal-glow: rgba(255, 229, 0, 0.2);

    /* Text — neutral, no blue */
    --text-primary: #F0F0F0;
    --text-secondary: #888888;
    --text-muted: #6B6B8A;
    --text-label: #CCCCCC;

    /* Status */
    --success: #2D9B5A;
    --warning: #F59E0B;
    --error: #CC3015;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1200px;

    /* Typography */
    --font-body: 'Inter', 'Segoe UI', 'SF Pro Display', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--accent);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
    mix-blend-mode: screen;
}

body:hover .cursor-glow {
    opacity: 0.07;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section --- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.text-accent {
    color: var(--accent);
}

.text-signal {
    color: var(--signal);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    padding: 14px 28px;
    border: 1px solid rgba(255, 61, 26, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-pressed) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong), 0 0 60px var(--accent-glow);
}

.btn-primary:active {
    background: var(--accent-pressed);
    transform: translateY(0);
}

/* Keyboard focus outline for accessibility */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-ghost {
    background: var(--bg-glass);
    color: var(--text-secondary);
    padding: 14px 28px;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-glass-hover);
    background: var(--bg-glass-hover);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 0 40px var(--accent-glow-strong), inset 0 0 40px rgba(255, 61, 26, 0.08);
}

.btn-glow:hover::after {
    opacity: 1;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid var(--border-glass);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Animated Logo (matching app SVG) --- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
}

.nav-logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(255, 61, 26, 0.3));
    transition: filter 0.3s;
}

.nav-logo:hover .nav-logo-icon svg {
    filter: drop-shadow(0 0 14px rgba(255, 61, 26, 0.5));
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-grab {
    color: var(--accent);
}

.logo-clip {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
}

.nav-lang {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nav-lang:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.2s;
}

.mobile-link:hover {
    color: var(--accent);
}

.btn-mobile {
    margin-top: 16px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    transition: transform 0.3s ease-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
    opacity: 0.1;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--signal);
    bottom: -100px;
    left: -100px;
    opacity: 0.04;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.04;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45, 155, 90, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(45, 155, 90, 0); }
}

/* --- Animated Logo (trim-path draw-on — matches app intro) --- */
.logo-animated {
    overflow: visible;
}

.hero-logo-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.hero-logo-mark svg {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255, 61, 26, 0.35)) drop-shadow(0 0 60px rgba(255, 61, 26, 0.12));
}

/* After animation completes, add a subtle breathing glow */
.hero-logo-mark svg.logo-done {
    animation: logo-breathe 4s ease-in-out infinite;
}

@keyframes logo-breathe {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 61, 26, 0.35)) drop-shadow(0 0 60px rgba(255, 61, 26, 0.12)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 61, 26, 0.55)) drop-shadow(0 0 80px rgba(255, 229, 0, 0.1)); }
}

.nav-logo-icon svg.logo-animated {
    filter: drop-shadow(0 0 8px rgba(255, 61, 26, 0.3));
    transition: filter 0.3s;
}

.nav-logo:hover .nav-logo-icon svg.logo-animated {
    filter: drop-shadow(0 0 14px rgba(255, 61, 26, 0.5));
}

.footer-logo-icon svg.logo-animated {
    filter: drop-shadow(0 0 6px rgba(255, 61, 26, 0.2));
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(90deg, #FF3D1A 0%, #FF7A0D 40%, #FFB800 70%, #FFE500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hero-gumroad-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-gumroad-note strong {
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-trust-line {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-glass-hover);
}

/* Hero Preview */
.hero-preview {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    width: 100%;
    max-width: 960px;
    perspective: 1200px;
}

.preview-glass-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass-hover);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: rotateX(2deg);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.hero-preview:hover .preview-glass-frame {
    transform: rotateX(0deg);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(255, 61, 26, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.preview-glass-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.preview-window {
    position: relative;
}

.preview-titlebar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-glass-elevated);
    border-bottom: 1px solid var(--border-glass);
}

.titlebar-dots {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-close { background: #FF5F56; }
.dot-min { background: #FFBD2E; }
.dot-max { background: #27C93F; }

.titlebar-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* (preview-body replaced by preview-slider) */

.preview-reflection {
    height: 80px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.5), transparent);
    transform: scaleY(-1);
    opacity: 0.15;
    border-radius: 0 0 16px 16px;
    margin-top: -1px;
}

/* Scroll Indicator */
.scroll-indicator {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 24px 0 0;
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-glass-hover);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* --- Preview Slider (auto-swipe) --- */
.preview-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.preview-slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.preview-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.preview-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.preview-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider navigation dots */
.preview-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

/* Invisible 44px touch target for mobile accessibility */
.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(255, 61, 26, 0.5);
    transform: scale(1.2);
}

/* Auto-progress bar */
.preview-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--signal));
    z-index: 5;
    width: 0%;
    animation: slider-progress 4s linear infinite;
}

@keyframes slider-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-active) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 61, 26, 0.1);
    border: 1px solid rgba(255, 61, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Showcase --- */
.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 32px;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Glass Orb */
.glass-orb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-orb {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 61, 26, 0.12),
        rgba(5, 5, 5, 0.8)
    );
    border: 1px solid var(--border-glass-hover);
    box-shadow:
        0 0 80px var(--accent-glow),
        inset 0 0 60px rgba(255, 61, 26, 0.05);
    animation: orb-float 6s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.orb-inner {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%,
        rgba(255, 61, 26, 0.25),
        transparent
    );
}

.orb-shine {
    position: absolute;
    width: 60%;
    height: 40%;
    top: 8%;
    left: 15%;
    border-radius: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

.orb-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 61, 26, 0.08);
    animation: orb-ring-pulse 4s ease infinite;
}

@keyframes orb-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

/* Floating Glass Cards */
.glass-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.card-float-1 {
    top: 10%;
    right: 5%;
    animation: float-card 5s ease-in-out infinite;
}

.card-float-2 {
    bottom: 25%;
    left: 2%;
    animation: float-card 6s ease-in-out 1s infinite;
}

.card-float-3 {
    bottom: 8%;
    right: 15%;
    animation: float-card 5.5s ease-in-out 0.5s infinite;
}

.card-float-4 {
    top: 35%;
    left: 0%;
    animation: float-card 5.8s ease-in-out 0.8s infinite;
}

.card-float-5 {
    top: 55%;
    right: 2%;
    animation: float-card 6.2s ease-in-out 1.5s infinite;
}

.card-float-6 {
    top: 5%;
    left: 15%;
    animation: float-card 5.2s ease-in-out 0.3s infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- Toolkit Pipeline --- */
/* --- Toolkit 3D Carousel --- */
.toolkit-carousel {
    overflow: hidden;
    position: relative;
    perspective: 1200px;
    padding: 20px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.toolkit-carousel:hover .toolkit-track {
    animation-play-state: paused;
}

@keyframes toolkitScroll {
    0%   { transform: translateX(0) rotateY(-2deg); }
    100% { transform: translateX(-50%) rotateY(-2deg); }
}

.toolkit-track {
    display: flex;
    gap: 28px;
    animation: toolkitScroll 30s linear infinite;
    transform-style: preserve-3d;
    width: max-content;
    padding: 10px 0;
}

.toolkit-card {
    flex-shrink: 0;
    width: 280px;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    transform: rotateY(0deg) rotateX(0deg);
}

.toolkit-card-inner {
    padding: 36px 28px;
    position: relative;
    z-index: 1;
}

.toolkit-card:hover {
    transform: rotateY(-5deg) rotateX(3deg) translateY(-10px) scale(1.04);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,61,26,0.15);
    z-index: 10;
}

.toolkit-card[data-color="#00D4AA"]:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(0,212,170,0.2);
}

.toolkit-card[data-color="#FFE500"]:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,229,0,0.15);
}

.toolkit-active {
    border-color: var(--border-glass-active) !important;
    box-shadow: 0 0 40px var(--accent-glow);
}

.toolkit-step {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.toolkit-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 61, 26, 0.1);
    border: 1px solid rgba(255, 61, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.4s ease;
}

.toolkit-card:hover .toolkit-icon-wrap {
    transform: scale(1.1) translateZ(20px);
}

.toolkit-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.toolkit-role {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.toolkit-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.toolkit-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Agency Service Pills (showcase) --- */
.agency-pill {
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.agency-pill--accent {
    background: rgba(255, 61, 26, 0.12);
    color: #FF3D1A;
    border: 1px solid rgba(255, 61, 26, 0.25);
}

.agency-pill--teal {
    background: rgba(0, 212, 170, 0.1);
    color: #00D4AA;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.agency-pill--signal {
    background: rgba(255, 229, 0, 0.1);
    color: #FFE500;
    border: 1px solid rgba(255, 229, 0, 0.2);
}

/* --- Madame AI Section --- */
.madame-ai {
    background: linear-gradient(180deg, #050505, #0A0A0A, #050505);
}

.ai-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-chat-mockup {
    border-radius: 20px;
    overflow: hidden;
    max-width: 400px;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-glass-elevated);
    border-bottom: 1px solid var(--border-glass);
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-pressed));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.ai-header-text {
    display: flex;
    flex-direction: column;
}

.ai-name {
    font-size: 14px;
    font-weight: 700;
}

.ai-status {
    font-size: 11px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.ai-chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 420px;
    overflow: hidden;
    background: var(--bg-glass-surface);
    position: relative;
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}

.ai-chat-body .ai-reel-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: ai-reel-scroll 18s linear infinite;
}

.ai-chat-body:hover .ai-reel-track {
    animation-play-state: paused;
}

@keyframes ai-reel-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.ai-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.7;
}

.ai-msg-bot {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-msg-user {
    background: linear-gradient(135deg, var(--accent), var(--accent-pressed));
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* Agentic badge */
.ai-badge-agentic {
    margin-left: auto;
    background: #FFE500;
    color: #050505;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 100px;
}

/* Thinking animation */
.ai-thinking {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.ai-thinking em {
    font-style: italic;
}

.ai-thinking-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: ai-dot-pulse 1.4s ease-in-out infinite;
}

.ai-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-dot-pulse {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.1); }
}

/* Result cards inside chat */
.ai-result-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

.ai-result-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.ai-result-card:hover {
    border-color: rgba(255, 61, 26, 0.3);
    background: rgba(255, 61, 26, 0.04);
}

.ai-result-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.ai-result-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-result-card strong {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.ai-result-card small {
    font-size: 10px;
    color: var(--text-muted);
}

.ai-action-text {
    font-size: 13px;
    margin-top: 6px;
    color: var(--text-secondary);
}

/* Summary / best moments block */
.ai-summary-block {
    background: rgba(255, 229, 0, 0.04);
    border: 1px solid rgba(255, 229, 0, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 4px;
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--signal);
}

.ai-timestamp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ai-timestamp:last-child {
    border-bottom: none;
}

.ai-ts {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.ai-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 32px;
}

.ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 768px) {
    .ai-features {
        grid-template-columns: 1fr;
    }
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.ai-feature p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.06;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

/* --- Testimonials Section --- */
.testimonials-track-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    animation: testimonials-scroll 35s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

.testimonial-card {
    flex-shrink: 0;
    width: 320px;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF3D1A, #E63946);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-role {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 0;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 280px;
        padding: 20px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .testimonials-track {
        gap: 16px;
        animation-duration: 28s;
    }
}

/* --- Compare Section --- */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(19, 19, 31, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.compare-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.compare-table th {
    padding: 16px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-feature-col {
    text-align: left !important;
    min-width: 180px;
}

.compare-grabclip {
    background: rgba(255, 61, 26, 0.06) !important;
}

.compare-logo {
    font-weight: 800;
    font-size: 14px;
    color: #FF3D1A;
    letter-spacing: -0.3px;
}

.compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

.compare-table td:first-child {
    text-align: left;
    color: var(--text-primary);
    font-weight: 500;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* GrabClip column highlight */
.compare-table td:nth-child(2) {
    background: rgba(255, 61, 26, 0.04);
    border-left: 1px solid rgba(255, 61, 26, 0.1);
    border-right: 1px solid rgba(255, 61, 26, 0.1);
}

.compare-table thead th:nth-child(2) {
    border-left: 1px solid rgba(255, 61, 26, 0.1);
    border-right: 1px solid rgba(255, 61, 26, 0.1);
}

.compare-yes {
    color: #2D9B5A;
}

.compare-no {
    color: #6B6B8A;
    font-size: 12px;
}

.compare-partial {
    color: #F59E0B;
    font-size: 12px;
    font-weight: 600;
}

.compare-na {
    color: #3A3A5A;
    font-size: 11px;
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
    .compare-table-wrap {
        border-radius: 12px;
        margin: 0 -8px;
    }

    .compare-table {
        font-size: 12px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
    }

    .compare-feature-col {
        min-width: 140px;
    }
}

/* --- Editions Section extras --- */
.editions .features-grid {
    align-items: stretch;
}

.edition-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.install-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.install-step {
    padding: 20px 28px;
    border-radius: 14px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.install-step-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.install-step-title {
    font-size: 14px;
    color: var(--text-primary);
}

.install-step-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- Contact Section --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    padding: 36px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--border-glass-active);
    background: rgba(20, 20, 20, 0.85);
    box-shadow: 0 0 0 3px rgba(255, 61, 26, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

/* --- Gumroad Overlay --- */
/* Gumroad's script may inject hidden elements — keep them invisible */
.gumroad-button { display: none !important; }

/* --- Footer --- */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-glass);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
}

.footer-logo-icon svg {
    width: 100%;
    height: 100%;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-agency {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-agency a {
    color: var(--accent);
}

.footer-links-grid {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.footer-credit {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--accent);
}

.footer-legal-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-sep {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-legal-link {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: var(--accent);
}

/* --- n8n Creator Badge (floating) --- */
@keyframes n8nPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.8); opacity: 0; }
}

@keyframes n8nSlideIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes n8nGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 rgba(255, 109, 90, 0); }
    50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 109, 90, 0.15); }
}

.n8n-badge {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 109, 90, 0.3);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #FF6D5A;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2px;
}

.n8n-badge.visible {
    opacity: 1;
    pointer-events: auto;
    animation: n8nSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               n8nGlow 3s ease-in-out 1.5s infinite;
}

.n8n-badge-pulse {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FF6D5A;
    animation: n8nPulse 2s ease-in-out infinite;
    pointer-events: none;
}

.n8n-badge-text {
    line-height: 1.3;
}

.n8n-badge-text strong {
    color: #FF6D5A;
    font-weight: 700;
}

.n8n-badge-arrow {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.n8n-badge:hover {
    background: rgba(255, 109, 90, 0.12);
    border-color: #FF6D5A;
    box-shadow: 0 4px 28px rgba(255, 109, 90, 0.3);
    transform: translateY(-2px);
    animation: none;
}

.n8n-badge:hover .n8n-badge-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.n8n-badge:hover .n8n-badge-pulse {
    animation: none;
    opacity: 0;
}

.n8n-badge svg:first-of-type {
    color: #FF6D5A;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* --- Early Access Modal --- */
.early-access-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.early-access-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.early-access-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: #111118;
    border: 1px solid rgba(255, 61, 26, 0.2);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 61, 26, 0.08);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.early-access-overlay.active .early-access-modal {
    transform: translateY(0) scale(1);
}

.early-access-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.early-access-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.early-access-header {
    text-align: center;
    margin-bottom: 24px;
}

.early-access-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ea-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ea-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.ea-field input,
.ea-field select,
.ea-field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.ea-field input::placeholder,
.ea-field textarea::placeholder {
    color: var(--text-muted);
}

.ea-field input:focus,
.ea-field select:focus,
.ea-field textarea:focus {
    border-color: rgba(255, 61, 26, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 61, 26, 0.1);
}

.ea-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B8A' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.ea-field select option {
    background: #111118;
    color: var(--text-primary);
}

.ea-field textarea {
    resize: vertical;
    min-height: 70px;
}

.ea-submit {
    font-weight: 700;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .early-access-modal {
        padding: 24px 20px;
        border-radius: 16px;
        max-width: 100%;
        max-height: 85vh;
    }
}

/* --- n8n Modal --- */
.n8n-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.n8n-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.n8n-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0D0D14;
    border: 1px solid rgba(255, 109, 90, 0.2);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 109, 90, 0.08);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.n8n-modal-overlay.active .n8n-modal {
    transform: scale(1) translateY(0);
}

.n8n-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}

.n8n-modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* Modal header */
.n8n-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.n8n-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(255, 109, 90, 0.1);
    border: 1px solid rgba(255, 109, 90, 0.25);
    color: #FF6D5A;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.n8n-profile-row {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-bottom: 12px;
}

.n8n-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6D5A 0%, #FF3D1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.n8n-avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 109, 90, 0.3) 0%, transparent 70%);
    animation: n8nAvatarPulse 3s ease-in-out infinite;
}

@keyframes n8nAvatarPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.n8n-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

.n8n-handle {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: left;
}

.n8n-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.n8n-website {
    font-size: 12px;
    color: #FF6D5A;
    text-decoration: none;
    font-weight: 500;
}

.n8n-website:hover {
    text-decoration: underline;
}

/* Stats */
.n8n-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.n8n-stat {
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.n8n-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.n8n-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Workflows */
.n8n-workflows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.n8n-workflow-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.n8n-workflow-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 109, 90, 0.2);
}

.n8n-workflow-highlight {
    border-color: rgba(255, 109, 90, 0.25);
    background: rgba(255, 109, 90, 0.05);
}

.n8n-workflow-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 2px;
}

.n8n-workflow-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.n8n-views {
    font-size: 11px;
    color: var(--text-muted);
}

/* CTA */
.n8n-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.n8n-btn-profile {
    width: 100%;
    justify-content: center;
    background: #FF6D5A;
    border-color: #FF6D5A;
}

.n8n-btn-profile:hover {
    background: #e85d4a;
}

.n8n-btn-partner {
    width: 100%;
    justify-content: center;
    border-color: rgba(255, 109, 90, 0.3);
    color: #FF6D5A;
}

.n8n-btn-partner:hover {
    background: rgba(255, 109, 90, 0.1);
}

.n8n-footer-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 24px rgba(255, 61, 26, 0.3);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-layout,
    .ai-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-visual {
        order: -1;
    }

    .ai-chat-mockup {
        max-width: 100%;
    }

    .toolkit-carousel {
        mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    }

    .toolkit-card {
        width: 260px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 56px;
    }

    /* --- Nav --- */
    .nav-links {
        display: none;
    }

    .nav {
        padding: 10px 0;
        background: rgba(5, 5, 5, 0.92);
        backdrop-filter: blur(20px) saturate(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(1.3);
        border-bottom: 1px solid var(--border-glass);
    }

    .nav.scrolled {
        padding: 8px 0;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .nav-logo-icon {
        width: 26px;
        height: 26px;
    }

    .nav-logo-text {
        font-size: 18px;
    }

    .nav-hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    /* --- Mobile menu --- */
    .mobile-link {
        font-size: 22px;
    }

    .mobile-menu-inner {
        gap: 20px;
    }

    /* --- Hero --- */
    .hero {
        padding: 90px 16px 32px;
        min-height: auto;
    }

    .hero-content {
        gap: 16px;
    }

    .hero-logo-mark {
        margin-bottom: 8px;
    }

    .hero-logo-mark svg {
        width: 48px;
        height: 48px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-title {
        font-size: clamp(22px, 6vw, 34px);
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 4px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-gumroad-note {
        font-size: 11px;
        margin-bottom: 16px;
        padding: 0 4px;
        line-height: 1.5;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-divider {
        height: 24px;
    }

    .hero-preview {
        margin-top: 24px;
        max-width: 100%;
    }

    .preview-glass-frame {
        border-radius: 10px;
    }

    .preview-titlebar {
        padding: 8px 12px;
        font-size: 11px;
    }

    .titlebar-dots .dot {
        width: 8px;
        height: 8px;
    }

    .scroll-indicator {
        padding-top: 16px;
        font-size: 10px;
    }

    .scroll-mouse {
        width: 20px;
        height: 32px;
    }

    .hide-mobile {
        display: none;
    }

    /* --- Features grid --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-desc {
        font-size: 13px;
    }

    /* --- Install steps --- */
    .install-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .install-step {
        padding: 14px 10px;
        min-width: unset;
    }

    .install-step-num {
        font-size: 24px;
    }

    .install-step-title {
        font-size: 12px;
    }

    .install-step-sub {
        font-size: 11px;
    }

    /* --- Editions — override inline styles --- */
    .edition-hero {
        max-width: 100% !important;
        margin: 0 0 32px !important;
    }

    .editions .features-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    .edition-hero .feature-title,
    .editions .feature-title {
        font-size: 18px !important;
    }

    .edition-hero p[style*="font-size:28px"],
    .editions p[style*="font-size:24px"] {
        font-size: 22px !important;
    }

    .edition-check {
        font-size: 13px;
    }

    .editions .btn {
        font-size: 14px;
    }

    /* --- Showcase --- */
    .showcase-layout,
    .ai-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-text {
        font-size: 14px;
    }

    .showcase-list li {
        font-size: 13px;
    }

    .glass-orb-container {
        transform: scale(0.8);
    }

    .glass-orb {
        width: 140px;
        height: 140px;
    }

    .glass-card-float {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* --- Toolkit / Media OS Carousel --- */
    .toolkit-carousel {
        mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    }

    .toolkit-track {
        gap: 16px;
        animation-duration: 22s;
    }

    .toolkit-card {
        width: 240px;
    }

    .toolkit-card-inner {
        padding: 24px 18px;
    }

    .toolkit-name {
        font-size: 17px;
    }

    .toolkit-desc {
        font-size: 12px;
    }

    .toolkit-icon-wrap {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .toolkit-icon-wrap svg {
        width: 28px;
        height: 28px;
    }

    .toolkit-badge {
        font-size: 10px;
    }

    /* --- AI Section --- */
    .ai-chat-mockup {
        max-width: 100%;
    }

    .ai-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ai-feature h4 {
        font-size: 14px;
    }

    .ai-feature p {
        font-size: 12px;
    }

    .ai-text {
        font-size: 14px;
    }

    .ai-result-card {
        font-size: 12px;
    }

    .ai-result-card small {
        font-size: 10px;
    }

    /* --- CTA --- */
    .cta-card {
        padding: 32px 16px;
    }

    .cta-title {
        font-size: clamp(22px, 5.5vw, 32px);
    }

    .cta-text {
        font-size: 14px;
    }

    .cta-note {
        font-size: 11px;
    }

    .cta-card .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Contact --- */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .contact-item h4 {
        font-size: 13px;
    }

    .contact-item a,
    .contact-item span {
        font-size: 13px;
    }

    /* --- Footer --- */
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-credit {
        font-size: 12px;
    }

    .footer-legal {
        font-size: 11px;
    }

    .footer-legal-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* --- Section headers --- */
    .section-header {
        padding: 0 4px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 34px);
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section-tag {
        font-size: 11px;
    }

    /* --- Scroll to top --- */
    .scroll-top-btn {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 16px;
    }

    /* --- n8n badge mobile --- */
    .n8n-badge {
        bottom: 16px;
        left: 16px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .n8n-badge-text,
    .n8n-badge-arrow {
        display: none;
    }

    .n8n-badge-pulse {
        left: 10px;
        width: 16px;
        height: 16px;
    }

    .n8n-badge svg:first-of-type {
        width: 18px;
        height: 18px;
    }

    /* --- n8n modal mobile --- */
    .n8n-modal {
        padding: 24px 20px;
        max-width: 100%;
        border-radius: 16px;
    }

    .n8n-name {
        font-size: 17px;
    }

    .n8n-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .n8n-stat-value {
        font-size: 18px;
    }

    .n8n-workflow-info h4 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 80px 10px 24px;
    }

    .hero-title {
        font-size: clamp(20px, 6vw, 28px);
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .hero-logo-mark svg {
        width: 40px;
        height: 40px;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-value {
        font-size: 18px;
    }

    .section-title {
        font-size: clamp(20px, 5.5vw, 26px);
    }

    .section-subtitle {
        font-size: 13px;
    }

    .install-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .install-step {
        padding: 12px 10px;
    }

    .feature-card {
        padding: 18px 14px;
    }

    .edition-check {
        font-size: 12px;
    }

    .toolkit-card {
        width: 220px;
    }

    .toolkit-card-inner {
        padding: 20px 14px;
    }

    .toolkit-name {
        font-size: 16px;
    }

    .cta-card {
        padding: 28px 14px;
    }

    .cta-title {
        font-size: clamp(20px, 5vw, 28px);
    }

    .mobile-link {
        font-size: 20px;
    }

    .mobile-menu-inner {
        gap: 16px;
    }

    .footer-links-grid {
        gap: 20px;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 12px;
    }
}

/* --- Bilsimaging Logo — animated multi-color fill --- */
@keyframes bilsLogoHue {
    0%   { filter: hue-rotate(0deg)   saturate(1.4) brightness(1.1); }
    25%  { filter: hue-rotate(60deg)  saturate(1.6) brightness(1.2); }
    50%  { filter: hue-rotate(160deg) saturate(1.5) brightness(1.15); }
    75%  { filter: hue-rotate(280deg) saturate(1.6) brightness(1.2); }
    100% { filter: hue-rotate(360deg) saturate(1.4) brightness(1.1); }
}

@keyframes bilsLogoGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(255,61,26,0.5),  0 0 24px rgba(255,61,26,0.2); }
    33%      { box-shadow: 0 0 12px rgba(123,47,247,0.5), 0 0 24px rgba(123,47,247,0.2); }
    66%      { box-shadow: 0 0 12px rgba(255,229,0,0.5),  0 0 24px rgba(255,229,0,0.2); }
}

.bils-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    animation: bilsLogoGlow 4s ease-in-out infinite;
}

.bils-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bilsLogoHue 6s linear infinite;
    display: block;
}
