/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand colors */
    --brand-bg: #ffffff;
    --brand-surface: #fafafa;
    --brand-text: #111111;
    --brand-muted: #555555;
    --brand-border: #e5e5e5;
    --brand-accent: #000000;
    --brand-dot: rgba(0, 0, 0, 0.2);

    /* Fonts */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;

    /* Legacy aliases kept for compatibility */
    --bg-color: var(--brand-bg);
    --text-main: var(--brand-text);
    --text-muted: var(--brand-muted);
    --border-color: var(--brand-border);
    --accent: var(--brand-accent);
    --bg-alt: var(--brand-surface);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.floating-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-dots .dot {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: var(--brand-dot);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    animation:
        dot-float 6.8s ease-in-out infinite,
        dot-pulse 2.8s ease-in-out infinite;
}

.floating-dots .dot:nth-child(1) { width: 12px; height: 12px; left: 6%; top: 82%; animation-duration: 7.2s; animation-delay: -1.8s; }
.floating-dots .dot:nth-child(2) { width: 10px; height: 10px; left: 14%; top: 66%; animation-duration: 9.1s; animation-delay: -2.6s; }
.floating-dots .dot:nth-child(3) { width: 16px; height: 16px; left: 22%; top: 90%; animation-duration: 8.3s; animation-delay: -3.7s; }
.floating-dots .dot:nth-child(4) { width: 9px; height: 9px; left: 30%; top: 74%; animation-duration: 7.8s; animation-delay: -2.1s; }
.floating-dots .dot:nth-child(5) { width: 14px; height: 14px; left: 38%; top: 88%; animation-duration: 8.6s; animation-delay: -4.2s; }
.floating-dots .dot:nth-child(6) { width: 11px; height: 11px; left: 46%; top: 68%; animation-duration: 9.4s; animation-delay: -1.3s; }
.floating-dots .dot:nth-child(7) { width: 15px; height: 15px; left: 54%; top: 84%; animation-duration: 7.6s; animation-delay: -3.5s; }
.floating-dots .dot:nth-child(8) { width: 8px; height: 8px; left: 62%; top: 72%; animation-duration: 8.8s; animation-delay: -2.9s; }
.floating-dots .dot:nth-child(9) { width: 13px; height: 13px; left: 70%; top: 92%; animation-duration: 9.2s; animation-delay: -5.1s; }
.floating-dots .dot:nth-child(10) { width: 10px; height: 10px; left: 78%; top: 76%; animation-duration: 7.9s; animation-delay: -3.2s; }
.floating-dots .dot:nth-child(11) { width: 14px; height: 14px; left: 86%; top: 86%; animation-duration: 8.7s; animation-delay: -4.9s; }
.floating-dots .dot:nth-child(12) { width: 9px; height: 9px; left: 93%; top: 64%; animation-duration: 9.5s; animation-delay: -1.5s; }
.floating-dots .dot:nth-child(13) { width: 11px; height: 11px; left: 18%; top: 52%; animation-duration: 8.1s; animation-delay: -6.1s; }
.floating-dots .dot:nth-child(14) { width: 13px; height: 13px; left: 44%; top: 56%; animation-duration: 7.4s; animation-delay: -2.8s; }
.floating-dots .dot:nth-child(15) { width: 10px; height: 10px; left: 67%; top: 58%; animation-duration: 8.9s; animation-delay: -4.6s; }
.floating-dots .dot:nth-child(16) { width: 12px; height: 12px; left: 88%; top: 50%; animation-duration: 9.7s; animation-delay: -3.4s; }
.floating-dots .dot:nth-child(17) { width: 8px; height: 8px; left: 8%; top: 42%; animation-duration: 7.7s; animation-delay: -2.3s; }
.floating-dots .dot:nth-child(18) { width: 11px; height: 11px; left: 19%; top: 34%; animation-duration: 9.3s; animation-delay: -4.7s; }
.floating-dots .dot:nth-child(19) { width: 9px; height: 9px; left: 31%; top: 46%; animation-duration: 8.5s; animation-delay: -1.2s; }
.floating-dots .dot:nth-child(20) { width: 10px; height: 10px; left: 43%; top: 30%; animation-duration: 7.9s; animation-delay: -3.3s; }
.floating-dots .dot:nth-child(21) { width: 12px; height: 12px; left: 57%; top: 38%; animation-duration: 8.8s; animation-delay: -5.4s; }
.floating-dots .dot:nth-child(22) { width: 9px; height: 9px; left: 68%; top: 32%; animation-duration: 9.1s; animation-delay: -2.7s; }
.floating-dots .dot:nth-child(23) { width: 8px; height: 8px; left: 82%; top: 40%; animation-duration: 8.2s; animation-delay: -4.1s; }
.floating-dots .dot:nth-child(24) { width: 10px; height: 10px; left: 93%; top: 28%; animation-duration: 9.6s; animation-delay: -3.8s; }
.floating-dots .dot:nth-child(25) { width: 9px; height: 9px; left: 4%; top: 22%; animation-duration: 7.1s; animation-delay: -2.4s; }
.floating-dots .dot:nth-child(26) { width: 13px; height: 13px; left: 12%; top: 18%; animation-duration: 8.4s; animation-delay: -5.2s; }
.floating-dots .dot:nth-child(27) { width: 10px; height: 10px; left: 24%; top: 24%; animation-duration: 6.9s; animation-delay: -3.8s; }
.floating-dots .dot:nth-child(28) { width: 12px; height: 12px; left: 36%; top: 16%; animation-duration: 9s; animation-delay: -4.5s; }
.floating-dots .dot:nth-child(29) { width: 8px; height: 8px; left: 48%; top: 20%; animation-duration: 7.7s; animation-delay: -2.1s; }
.floating-dots .dot:nth-child(30) { width: 11px; height: 11px; left: 59%; top: 14%; animation-duration: 8.6s; animation-delay: -3.2s; }
.floating-dots .dot:nth-child(31) { width: 10px; height: 10px; left: 72%; top: 18%; animation-duration: 7.4s; animation-delay: -5.8s; }
.floating-dots .dot:nth-child(32) { width: 12px; height: 12px; left: 84%; top: 14%; animation-duration: 8.8s; animation-delay: -2.7s; }
.floating-dots .dot:nth-child(33) { width: 9px; height: 9px; left: 95%; top: 20%; animation-duration: 7.2s; animation-delay: -4.9s; }
.floating-dots .dot:nth-child(34) { width: 11px; height: 11px; left: 28%; top: 10%; animation-duration: 8.1s; animation-delay: -3.6s; }
.floating-dots .dot:nth-child(35) { width: 8px; height: 8px; left: 52%; top: 8%; animation-duration: 9.3s; animation-delay: -1.7s; }
.floating-dots .dot:nth-child(36) { width: 10px; height: 10px; left: 76%; top: 9%; animation-duration: 7.8s; animation-delay: -4.3s; }

@keyframes dot-float {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0.32;
    }
    25% {
        transform: translate3d(20px, -22px, 0);
        opacity: 0.56;
    }
    50% {
        transform: translate3d(-18px, -52px, 0);
        opacity: 0.74;
    }
    75% {
        transform: translate3d(24px, -72px, 0);
        opacity: 0.52;
    }
    100% {
        transform: translate3d(-16px, -102px, 0);
        opacity: 0.24;
    }
}

@keyframes dot-pulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.16);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.28);
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: var(--space-5); }

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header {
    justify-content: flex-start;
    gap: var(--space-4);
}

.page-header-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand img {
    height: 32px;
    width: auto;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.header-cta-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.appstore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.5rem 0.75rem;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.appstore-link:hover,
.appstore-link:focus-visible {
    background: color-mix(in srgb, var(--bg-alt) 60%, var(--bg-color) 40%);
    transform: translateY(-1px);
    outline: none;
}

.guide-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.guide-link-icon:hover,
.guide-link-icon:focus-visible {
    background: color-mix(in srgb, var(--bg-alt) 60%, var(--bg-color) 40%);
    transform: translateY(-1px);
    outline: none;
}

.apple-symbol {
    font-size: 1rem;
    line-height: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.85;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid transparent;
}

.btn-outline:hover {
    background-color: var(--bg-alt);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero > *:not(.floating-dots) {
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-6);
}

.hero-subheadline {
    font-size: 1.32rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin-bottom: var(--space-4);
}

#typing-headline {
    min-width: 13ch;
    display: inline-block;
    text-align: left;
}

.typing-cursor {
    display: inline-block;
    width: 1px;
    height: 1.1em;
    background: var(--text-main);
    margin-left: 0.2rem;
    vertical-align: -0.12em;
    animation: typing-cursor-blink 0.95s steps(1, end) infinite;
}

@keyframes typing-cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-description {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-device-experience {
    margin-top: var(--space-6);
    display: grid;
    gap: var(--space-4);
}

.device-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.platform-switch {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.platform-pill {
    border: 1px solid transparent;
    background: var(--bg-color);
    color: var(--text-main);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.platform-pill:hover {
    transform: translateY(-1px);
    background: var(--bg-alt);
}

.platform-pill.is-active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.device-help-inline {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: help;
    user-select: none;
    padding: 0;
}

.device-help-tooltip {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 78vw);
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.58rem 0.78rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    z-index: 6;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.device-help-inline:focus-visible .device-help-tooltip,
.device-help-inline.is-open .device-help-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
    .device-help-inline:hover .device-help-tooltip {
        opacity: 1;
        visibility: visible;
    }
}

.device-carousel {
    overflow: hidden;
    width: min(820px, 100%);
    margin: 0 auto;
}

.device-track {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.device-slide {
    min-width: 100%;
    display: grid;
    justify-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    overflow: hidden;
}

.device-caption {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.device-shell {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    background: linear-gradient(145deg, #1b1b1b 0%, #070707 100%);
    box-shadow: none;
}

.device-screen {
    position: relative;
    overflow: hidden;
    background: #0f0f0f;
}

.device-screen-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.screen-hotspots {
    position: absolute;
    inset: 0;
}

.hotspot-target {
    position: absolute;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hotspot-target:hover,
.hotspot-target:focus-visible {
    background: transparent;
    outline: none;
}

.hotspot-back-chip {
    position: absolute;
    top: 3.3%;
    left: 3.5%;
    z-index: 5;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.88);
    color: #111111;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    cursor: pointer;
}

.hotspot-back-chip:hover,
.hotspot-back-chip:focus-visible {
    background: #ffffff;
    border-color: transparent;
    outline: none;
}

.hotspot-shadow {
    position: absolute;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.hotspot-shadow:hover,
.hotspot-shadow:focus-visible {
    background: transparent;
    outline: none;
}

.screen-hotspots--iphone .hotspot-teams { left: 8%; top: 23%; width: 84%; height: 13%; }
.screen-hotspots--iphone .hotspot-builder { left: 8%; top: 41%; width: 84%; height: 13%; }
.screen-hotspots--iphone .hotspot-presentation { left: 8%; top: 63%; width: 84%; height: 13%; }
.screen-hotspots--iphone .hotspot-checklist { left: 41%; top: 89.5%; width: 20%; height: 6%; border-radius: 10px; }

.screen-hotspots--ipad .hotspot-teams { left: 8%; top: 33%; width: 84%; height: 11%; }
.screen-hotspots--ipad .hotspot-builder { left: 8%; top: 49%; width: 84%; height: 11%; }
.screen-hotspots--ipad .hotspot-presentation { left: 8%; top: 65%; width: 84%; height: 11%; }
.screen-hotspots--ipad .hotspot-checklist { left: 47%; top: 2.8%; width: 18%; height: 4.4%; border-radius: 10px; }

.screen-hotspots--mac .hotspot-teams { left: 8%; top: 33%; width: 84%; height: 11%; }
.screen-hotspots--mac .hotspot-builder { left: 8%; top: 49%; width: 84%; height: 11%; }
.screen-hotspots--mac .hotspot-presentation { left: 8%; top: 75%; width: 84%; height: 11%; }
.screen-hotspots--mac .hotspot-checklist { left: 47%; top: 4.4%; width: 18%; height: 4.9%; border-radius: 10px; }

.screen-hotspots-detail--iphone .hotspot-shadow-teams { left: 54.8%; top: 13.2%; width: 36.4%; height: 5.4%; }
.screen-hotspots-detail--iphone .hotspot-shadow-builder { left: 65.8%; top: 9.6%; width: 25.8%; height: 5.1%; }

.screen-hotspots-detail--ipad .hotspot-shadow-teams { left: 49%; top: 14.8%; width: 49%; height: 5.6%; }
.screen-hotspots-detail--ipad .hotspot-shadow-builder { left: 66.8%; top: 12.8%; width: 31.2%; height: 5%; }

.screen-hotspots-detail--mac .hotspot-shadow-teams { left: 50.5%; top: 12.8%; width: 24.5%; height: 5.8%; }
.screen-hotspots-detail--mac .hotspot-shadow-builder { left: 66.2%; top: 10.6%; width: 31.2%; height: 4.8%; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.phone-shell {
    width: min(300px, 74vw);
    padding: 13px;
    border-radius: 42px;
    transition: transform 0.35s ease;
}

.phone-shell::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 21px;
    border-radius: 0 0 13px 13px;
    background: #070707;
    z-index: 2;
}

.phone-shell::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 112px;
    width: 3px;
    height: 58px;
    border-radius: 8px;
    background: #2e2e2e;
}

.phone-shell .device-screen {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    aspect-ratio: 1206 / 2622;
}

.hero-device-experience.is-iphone-builder2 .phone-shell {
    width: min(650px, 88vw);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
}

.hero-device-experience.is-iphone-builder2 .device-slide[data-platform="iphone"] {
    min-height: 330px;
}

.hero-device-experience.is-iphone-builder2 .phone-shell::before {
    content: none;
    display: none;
}

.hero-device-experience.is-iphone-builder2 .phone-shell::after {
    content: none;
    display: none;
}

.hero-device-experience.is-iphone-builder2 .device-slide[data-platform="iphone"] .device-screen-image {
    object-fit: contain;
    object-position: center;
    background: transparent;
    transform: none;
}

.hero-device-experience.is-iphone-builder2 .phone-shell .device-screen {
    aspect-ratio: 2622 / 1206;
    border: 10px solid #111111;
    border-radius: 16px;
    background: transparent;
}

.tablet-shell {
    width: min(520px, 92vw);
    max-width: 100%;
    padding: 11px;
    border-radius: 34px;
}

.tablet-shell::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #111111;
}

.tablet-shell .device-screen {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    aspect-ratio: 2064 / 2752;
}

.tablet-shell .device-screen-image {
    object-fit: contain;
    object-position: center;
    background: #f4f4f4;
}

.desktop-shell {
    width: min(780px, 95vw);
    max-width: 100%;
    padding: 14px 14px 34px;
    border-radius: 20px;
}

.desktop-shell .device-screen {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    aspect-ratio: 16 / 10;
}

.desktop-shell .device-screen-image {
    object-fit: contain;
    object-position: center top;
    background: #f4f4f4;
}

.desktop-stand {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #656565 0%, #343434 100%);
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.features-header-row {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.features-header-row h2 {
    margin-bottom: 0;
}

.feature-switch-button {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--bg-color);
    color: var(--text-main);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.feature-switch-button:hover,
.feature-switch-button:focus-visible {
    background: var(--bg-alt);
    transform: rotate(18deg);
    outline: none;
}

.features-header p {
    margin-left: auto;
    margin-right: auto;
}

.feature-slider-frame {
    margin-top: var(--space-6);
    margin-bottom: var(--space-7);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

.feature-slider-frame::-webkit-scrollbar {
    display: none;
}

.feature-slider-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: var(--space-3);
    padding: var(--space-3);
}

.feature-slider-card {
    flex: 0 0 300px;
    min-height: 292px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-color);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-slider-kicker {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.feature-slider-card h3 {
    margin-bottom: 0;
    font-size: 1.02rem;
}

.feature-slider-card p {
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.42;
}

.feature-slider-media {
    margin-top: auto;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 16 / 10;
}

.feature-slider-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--bg-color);
}

.feature-slider-stack {
    position: relative;
}

.feature-stack-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.65s ease;
}

.feature-stack-image.is-active {
    opacity: 1;
}

.feature-stack-device {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.24rem 0.46rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-color) 86%, transparent);
    color: var(--text-main);
}

/* Workflow Story */
.workflow-container {
    max-width: 1160px;
}

.workflow-header p {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

/* Workflow Timeline (simple step-by-step cards) */
.workflow-story {
    display: block;
    margin-top: var(--space-5);
}

.workflow-timeline {
    display: grid;
    gap: var(--space-4);
}

.workflow-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #ffffff;
    padding: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.workflow-card-visual {
    position: relative;
    min-height: 210px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    overflow: hidden;
    isolation: isolate;
}

.workflow-card-copy h3 {
    margin-bottom: 0.45rem;
    font-size: 1.24rem;
}

.workflow-card-copy p {
    margin-bottom: 0;
    font-size: 0.98rem;
}

.wf-unified {
    display: grid;
    place-items: center;
}

.wf-clutter {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    color: #4b5563;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.42rem;
    animation: wf-clutter-suck 6s ease-in-out infinite;
}

.wf-clutter.c1 { --x1: -150px; --y1: -78px; --x2: -126px; --y2: -98px; --x3: -104px; --y3: -66px; }
.wf-clutter.c2 { --x1: -138px; --y1: 70px; --x2: -120px; --y2: 58px; --x3: -92px; --y3: 86px; }
.wf-clutter.c3 { --x1: 138px; --y1: -82px; --x2: 122px; --y2: -62px; --x3: 96px; --y3: -96px; }
.wf-clutter.c4 { --x1: 146px; --y1: 76px; --x2: 118px; --y2: 96px; --x3: 88px; --y3: 64px; }
.wf-clutter.c5 { --x1: -8px; --y1: -120px; --x2: -24px; --y2: -98px; --x3: 16px; --y3: -92px; }
.wf-clutter.c6 { --x1: 6px; --y1: 116px; --x2: 26px; --y2: 92px; --x3: -18px; --y3: 88px; }
.wf-clutter.c7 { --x1: 110px; --y1: 4px; --x2: 138px; --y2: 18px; --x3: 82px; --y3: -16px; }

.wf-window {
    width: min(86%, 330px);
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: scale(0.88);
    animation: wf-window-enter 6s ease-in-out infinite;
}

.wf-window-head {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #111827;
}

.wf-window-body {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.65rem;
}

.wf-pane {
    border-radius: 8px;
    font-size: 0.66rem;
    font-weight: 700;
    text-align: center;
    padding: 0.4rem 0.2rem;
    color: #0f172a;
    opacity: 0;
    transform: translateY(8px);
    animation: wf-pane-reveal 6s ease-in-out infinite;
}

.wf-pane.blue { background: #bfdbfe; animation-delay: 0s; }
.wf-pane.checklist { background: #e2e8f0; animation-delay: 0.14s; }
.wf-pane.yellow { background: #fde68a; animation-delay: 0.28s; }
.wf-pane.green { background: #bbf7d0; animation-delay: 0.42s; }

.wf-team-collab {
    overflow: hidden;
}

.wf-team-collab::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20%;
    bottom: 21%;
    width: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
}

.wf-avatar {
    position: absolute;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.34rem 0.58rem;
}

.wf-avatar.manager {
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    background: #111827;
    color: #ffffff;
}

.wf-avatar.employee {
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
}

.wf-assigned-task {
    position: absolute;
    left: 50%;
    top: 23%;
    transform: translate(-50%, 0);
    border-radius: 10px;
    border: 1px solid #93c5fd;
    background: #dbeafe;
    color: #1e3a8a;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
    animation: wf-task-drop 6s ease-in-out infinite;
}

.wf-toast {
    position: absolute;
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.55rem;
    opacity: 0;
    animation: wf-toast-pop 6s ease-in-out infinite;
}

.wf-complete-check {
    position: absolute;
    left: 50%;
    bottom: 27%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    opacity: 0;
    animation: wf-check-pop 6s ease-in-out infinite;
}

.wf-ping-up {
    position: absolute;
    left: 50%;
    bottom: 24%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    opacity: 0;
    animation: wf-ping-flight 6s ease-in-out infinite;
}

.wf-checklist-utils {
    padding: 0.8rem;
    min-height: 230px;
}

.wf-check-incoming {
    position: absolute;
    border-radius: 10px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.55rem;
    opacity: 0;
    z-index: 3;
}

.wf-check-incoming.incoming-assigned {
    left: 8%;
    top: 10%;
    border: 1px solid #93c5fd;
    background: #dbeafe;
    color: #1e3a8a;
    animation: wf-incoming-assigned 7s ease-in-out infinite;
}

.wf-check-incoming.incoming-personal {
    right: 8%;
    top: 14%;
    border: 1px solid #fde68a;
    background: #fef3c7;
    color: #92400e;
    animation: wf-incoming-personal 7s ease-in-out infinite;
}

.wf-check-board {
    position: absolute;
    inset: 26% 8% 8%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #ffffff;
    padding: 0.46rem;
    display: grid;
    gap: 0.3rem;
    opacity: 0;
    transform: scale(0.95);
    animation: wf-check-board-in 7s ease-in-out infinite;
    z-index: 2;
}

.wf-check-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
}

.wf-check-sections span {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    font-size: 0.58rem;
    font-weight: 700;
    text-align: center;
    padding: 0.24rem 0.35rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.wf-check-progress {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.45rem;
    row-gap: 0.2rem;
    align-items: center;
}

.wf-check-progress .progress-start,
.wf-check-progress .progress-end {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.62rem;
    font-weight: 700;
    color: #475569;
}

.wf-check-progress .progress-end {
    opacity: 0;
    animation: wf-progress-swap 7s ease-in-out infinite;
}

.wf-check-progress .progress-start {
    animation: wf-progress-hide 7s ease-in-out infinite;
}

.wf-check-progress-track {
    grid-column: 2;
    grid-row: 1;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.wf-check-progress-track i {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa 0%, #10b981 100%);
    animation: wf-progress-fill 7s ease-in-out infinite;
}

.wf-check-items {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 0.22rem;
}

.wf-check-items li {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 0.58rem;
    padding: 0.23rem 0.38rem 0.23rem 1.04rem;
    opacity: 0.72;
}

.wf-check-items li::before {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 0.41rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    border: 1px solid #9ca3af;
    background: #ffffff;
    animation: wf-item-check 7s ease-in-out infinite;
}

.wf-check-items li:nth-child(2)::before { animation-delay: 0.24s; }
.wf-check-items li:nth-child(3)::before { animation-delay: 0.48s; }

.wf-check-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.26rem;
    opacity: 0;
    animation: wf-badges-in 7s ease-in-out infinite;
}

.wf-check-badges span {
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.42rem;
}

.wf-builder-tools {
    padding: 0.85rem;
}

.wf-sheet-grid {
    position: absolute;
    inset: 12% 8%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background:
        repeating-linear-gradient(0deg, #e5e7eb 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, #e5e7eb 0 1px, transparent 1px 54px),
        #f8fafc;
    animation: wf-sheet-morph 6s ease-in-out infinite;
}

.wf-data-particles {
    position: absolute;
    left: 14%;
    top: 20%;
    width: 72%;
    height: 58%;
    border-radius: 12px;
    background:
        radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 44%, rgba(250, 204, 21, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 52% 24%, rgba(245, 158, 11, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 42%, rgba(251, 191, 36, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 20%, rgba(245, 158, 11, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 18% 74%, rgba(245, 158, 11, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 46% 66%, rgba(250, 204, 21, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 76%, rgba(245, 158, 11, 0.85) 0 2px, transparent 3px);
    opacity: 0;
    animation: wf-particle-flow 6s ease-in-out infinite;
}

.wf-builder-output {
    position: absolute;
    inset: 12% 8%;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    background: #fffbeb;
    padding: 0.52rem;
    opacity: 0;
    transform: scale(0.92);
    animation: wf-output-reveal 6s ease-in-out infinite;
}

.wf-output-title {
    font-size: 0.64rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.4rem;
}

.wf-output-bars {
    height: 74px;
    border: 1px solid #fde68a;
    border-radius: 9px;
    background: #fef3c7;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    padding: 0.35rem;
    gap: 0.26rem;
}

.wf-bar-wrap {
    width: 14%;
    display: grid;
    justify-items: center;
    align-items: end;
    height: 100%;
}

.wf-bar-wrap span {
    width: 100%;
    height: var(--h);
    border-radius: 7px 7px 3px 3px;
    background: #f59e0b;
    transform-origin: bottom;
    animation: wf-small-bar 6s ease-in-out infinite;
}

.wf-bar-wrap em {
    display: block;
    margin-top: 0.16rem;
    font-style: normal;
    font-size: 0.52rem;
    font-weight: 700;
    color: #92400e;
}

.wf-output-table {
    margin-top: 0.38rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.22rem;
}

.wf-output-table div {
    height: 8px;
    border-radius: 4px;
    background: #fde68a;
    font-size: 0.47rem;
    font-weight: 700;
    color: #92400e;
    display: grid;
    place-items: center;
    height: 12px;
}

.wf-presentation-ready {
    padding: 0.85rem;
}

.wf-builder-assets {
    position: absolute;
    left: 8%;
    top: 18%;
    display: grid;
    gap: 0.28rem;
    animation: wf-assets-fade 6s ease-in-out infinite;
}

.wf-builder-assets span {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.28rem 0.45rem;
}

.wf-send-btn,
.wf-export-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.32rem 0.58rem;
}

.wf-send-btn {
    top: 26%;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    animation: wf-send-highlight 6s ease-in-out infinite;
}

.wf-slide-layout {
    position: absolute;
    inset: 20% 12% 24%;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    background: #ecfdf5;
    display: grid;
    place-items: center;
    gap: 0.36rem;
    color: #065f46;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(16px);
    animation: wf-layout-enter 6s ease-in-out infinite;
}

.wf-slide-layout strong {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
}

.wf-slide-pages {
    position: relative;
    width: min(78%, 160px);
    height: 56px;
}

.wf-slide-pages span {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid #86efac;
    background: #f0fdf4;
}

.wf-slide-pages span:nth-child(1) {
    animation: wf-page-stack-1 6s ease-in-out infinite;
}

.wf-slide-pages span:nth-child(2) {
    animation: wf-page-stack-2 6s ease-in-out infinite;
}

.wf-slide-pages span:nth-child(3) {
    animation: wf-page-stack-3 6s ease-in-out infinite;
}

.wf-export-btn {
    bottom: 12%;
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    opacity: 0;
    animation: wf-export-pop 6s ease-in-out infinite, wf-export-pulse 6s ease-in-out infinite;
}

.wf-paper-plane {
    position: absolute;
    right: 14%;
    bottom: 15%;
    border-radius: 8px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.24rem 0.4rem;
    opacity: 0;
    animation: wf-plane-fly 6s ease-in-out infinite;
}

@keyframes wf-clutter-suck {
    0%, 8% {
        opacity: 0.96;
        transform: translate(var(--x1), var(--y1)) scale(1);
    }
    18% {
        opacity: 0.96;
        transform: translate(var(--x2), var(--y2)) scale(1.04);
    }
    30% {
        opacity: 0.96;
        transform: translate(var(--x3), var(--y3)) scale(0.98);
    }
    38% {
        opacity: 0.86;
        transform: translate(var(--x3), var(--y3)) scale(0.92);
    }
    60%, 100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.14);
    }
}

@keyframes wf-window-enter {
    0%, 32% { opacity: 0; transform: scale(0.86); }
    42%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes wf-pane-reveal {
    0%, 60% { opacity: 0; transform: translateX(-8px); }
    70%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes wf-task-drop {
    0%, 32% {
        transform: translate(-50%, 0);
        background: #dbeafe;
        border-color: #93c5fd;
        color: #1e3a8a;
    }
    44%, 66% {
        transform: translate(-50%, 92px);
        background: #dbeafe;
        border-color: #93c5fd;
        color: #1e3a8a;
    }
    72%, 100% {
        transform: translate(-50%, 92px);
        background: #dcfce7;
        border-color: #86efac;
        color: #166534;
    }
}

@keyframes wf-toast-pop {
    0%, 44% { opacity: 0; transform: translate(-50%, -50%) scale(0.88); }
    52%, 68% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    76%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
}

@keyframes wf-check-pop {
    0%, 68% { opacity: 0; transform: translateX(-50%) scale(0.45); }
    74%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes wf-ping-flight {
    0%, 76% { opacity: 0; transform: translate(-50%, 0) scale(0.62); }
    82% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -116px) scale(0.7); }
}

@keyframes wf-fan-out {
    0%, 38% { transform: translate(-50%, -50%); opacity: 0.95; }
    50%, 100% { opacity: 1; }
}

@keyframes wf-incoming-assigned {
    0%, 8% { opacity: 0; transform: translateY(-14px) scale(0.95); }
    14%, 30% { opacity: 1; transform: translateY(0) scale(1); }
    38% { opacity: 0.8; transform: translate(8px, 8px) scale(0.93); }
    46%, 100% { opacity: 0; transform: translate(10px, 12px) scale(0.9); }
}

@keyframes wf-incoming-personal {
    0%, 8% { opacity: 0; transform: translateX(18px) scale(0.95); }
    14%, 30% { opacity: 1; transform: translateX(0) scale(1); }
    38% { opacity: 0.8; transform: translate(-8px, 8px) scale(0.93); }
    46%, 100% { opacity: 0; transform: translate(-10px, 12px) scale(0.9); }
}

@keyframes wf-check-board-in {
    0%, 30% { opacity: 0; transform: scale(0.95); }
    36%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes wf-progress-fill {
    0%, 54% { width: 0%; }
    66%, 100% { width: 60%; }
}

@keyframes wf-progress-hide {
    0%, 62% { opacity: 1; }
    66%, 100% { opacity: 0; }
}

@keyframes wf-progress-swap {
    0%, 62% { opacity: 0; }
    66%, 100% { opacity: 1; }
}

@keyframes wf-item-check {
    0%, 62% {
        border-color: #9ca3af;
        background: #ffffff;
        box-shadow: none;
    }
    72%, 100% {
        border-color: #10b981;
        background: #10b981;
        box-shadow: inset 0 0 0 1px #10b981;
    }
}

@keyframes wf-badges-in {
    0%, 84% { opacity: 0; transform: translateY(4px); }
    92%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes wf-sheet-morph {
    0%, 32% { opacity: 1; transform: scale(1) rotate(0deg); }
    44%, 100% { opacity: 0; transform: scale(0.58) rotate(-4deg); }
}

@keyframes wf-particle-flow {
    0%, 34% { opacity: 0; transform: translate(0, 0) scale(1.15); filter: blur(0px); }
    40%, 52% { opacity: 1; transform: translate(-10px, -6px) scale(1); filter: blur(0px); }
    62%, 100% { opacity: 0; transform: translate(18px, 10px) scale(0.22); filter: blur(0.5px); }
}

@keyframes wf-output-reveal {
    0%, 56% { opacity: 0; transform: scale(0.92); }
    66%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes wf-small-bar {
    0%, 62% { transform: scaleY(0.12); }
    72%, 100% { transform: scaleY(1); }
}

@keyframes wf-assets-fade {
    0%, 26% { opacity: 1; transform: translateX(0); }
    38%, 56% { opacity: 1; transform: translateX(96px); }
    64%, 100% { opacity: 0.15; transform: translateX(96px); }
}

@keyframes wf-send-highlight {
    0%, 28% { opacity: 0; transform: translateX(-50%) scale(0.9); }
    34%, 56% { opacity: 1; transform: translateX(-50%) scale(1); }
    64%, 100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}

@keyframes wf-layout-enter {
    0%, 40% { opacity: 0; transform: translateX(16px); }
    52%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes wf-page-stack-1 {
    0%, 42% { opacity: 0; transform: translate(34px, -14px) rotate(6deg); }
    56%, 100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes wf-page-stack-2 {
    0%, 46% { opacity: 0; transform: translate(22px, -7px) rotate(4deg); }
    60%, 100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes wf-page-stack-3 {
    0%, 50% { opacity: 0; transform: translate(10px, 0px) rotate(2deg); }
    64%, 100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes wf-export-pop {
    0%, 66% { opacity: 0; transform: translateX(-50%) scale(0.86); }
    74%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes wf-export-pulse {
    0%, 78% { box-shadow: 0 0 0 rgba(17, 24, 39, 0); }
    84% { box-shadow: 0 0 0 0 rgba(17, 24, 39, 0.25); }
    92% { box-shadow: 0 0 0 8px rgba(17, 24, 39, 0); }
    100% { box-shadow: 0 0 0 rgba(17, 24, 39, 0); }
}

@keyframes wf-plane-fly {
    0%, 78% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    84% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
    100% { opacity: 0; transform: translate(98px, -76px) rotate(20deg); }
}

/* Support Page Specific */
.support-content {
    max-width: 600px;
    margin: 4rem auto 8rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-color);
}

.support-content ul {
    margin: 1rem 0 2rem 2rem;
    color: var(--text-muted);
}

.support-content li {
    margin-bottom: 0.5rem;
}

.policy-content h3 {
    margin-top: 1.5rem;
}

.policy-meta {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .feature-slider-frame {
        border-radius: 20px;
    }

    .feature-slider-track { gap: var(--space-3); padding: var(--space-3); }
    .feature-slider-card { flex-basis: 270px; min-height: 274px; }

    .workflow-card {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .workflow-card-visual {
        min-height: 190px;
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    h1 { font-size: 2.5rem; }
    .hero { padding: 4rem 0; }

    .header-cta {
        gap: 0.35rem;
    }

    .header-cta-label {
        display: none;
    }

    .appstore-link {
        font-size: 0.75rem;
        padding: 0.45rem 0.62rem;
    }

    .guide-link-icon {
        width: 28px;
        height: 28px;
        font-size: 0.82rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .page-header-title {
        font-size: 0.86rem;
    }

    .features {
        padding: 4rem 0;
    }

    .feature-slider-frame {
        margin-top: var(--space-5);
        margin-bottom: var(--space-6);
        border-radius: 16px;
    }

    .feature-slider-track {
        gap: var(--space-2);
        padding: var(--space-2);
    }

    .feature-slider-card { flex-basis: min(300px, 82vw); min-height: 250px; }

    .feature-slider-card h3 {
        font-size: 0.95rem;
    }

    .feature-slider-card p {
        font-size: 0.8rem;
    }

    .feature-switch-button {
        width: 28px;
        height: 28px;
        font-size: 0.82rem;
    }

    .feature-stack-device {
        font-size: 0.62rem;
        padding: 0.2rem 0.4rem;
    }

    .workflow-card {
        padding: 0.8rem;
        border-radius: 14px;
    }

    .workflow-card-visual {
        min-height: 170px;
        border-radius: 12px;
    }

    .workflow-card-copy h3 {
        font-size: 1.02rem;
    }

    .workflow-card-copy p {
        font-size: 0.86rem;
    }

    .wf-clutter {
        font-size: 0.52rem;
        padding: 0.2rem 0.34rem;
    }

    .wf-window {
        width: min(92%, 284px);
    }

    .wf-window-head {
        font-size: 0.64rem;
        padding: 0.38rem 0.56rem;
    }

    .wf-window-body {
        gap: 0.28rem;
        padding: 0.48rem;
    }

    .wf-pane {
        font-size: 0.54rem;
        padding: 0.32rem 0.16rem;
    }

    .wf-avatar {
        font-size: 0.58rem;
        padding: 0.28rem 0.5rem;
    }

    .wf-assigned-task,
    .wf-toast {
        font-size: 0.55rem;
    }

    .wf-check-sections span {
        font-size: 0.5rem;
    }

    .wf-check-progress .progress-start,
    .wf-check-progress .progress-end,
    .wf-check-items li {
        font-size: 0.56rem;
    }

    .wf-check-badges span {
        font-size: 0.5rem;
    }

    .wf-output-bars {
        height: 64px;
    }

    .wf-bar-wrap em,
    .wf-output-table div {
        font-size: 0.44rem;
    }

    .wf-slide-layout strong {
        font-size: 0.54rem;
    }

    .hero-subheadline {
        font-size: 1.12rem;
    }

    #typing-headline {
        min-width: 11ch;
    }

    .platform-pill {
        font-size: 0.82rem;
        padding: 0.52rem 0.78rem;
    }

    .device-help-inline {
        width: 28px;
        height: 28px;
        font-size: 0.86rem;
    }

    .device-help-tooltip {
        font-size: 0.8rem;
        width: min(420px, 90vw);
        padding: 0.5rem 0.66rem;
    }

    .device-carousel {
        width: 100%;
    }

    .hero-device-experience {
        margin-top: var(--space-6);
    }

    .device-slide {
        padding-inline: 2px;
    }

    .phone-shell {
        width: min(252px, 100%);
        padding: 12px;
        border-radius: 36px;
    }

    .phone-shell .device-screen {
        border-radius: 26px;
    }

    .phone-shell .device-screen-image {
        object-fit: contain;
        object-position: center;
        background: #f4f4f4;
    }

    .hero-device-experience.is-iphone-builder2 .phone-shell {
        width: min(100%, 560px);
        max-width: 100%;
        padding: 0;
        border-radius: 0;
        transform: none;
    }

    .hero-device-experience.is-iphone-builder2 .device-slide[data-platform="iphone"] {
        min-height: 280px;
    }

    .hero-device-experience.is-iphone-builder2 .phone-shell .device-screen {
        border-radius: 6px;
    }

    .hero-device-experience.is-iphone-builder2 .phone-shell::before {
        display: none;
    }

    .hero-device-experience.is-iphone-builder2 .phone-shell::after {
        display: none;
    }

    .tablet-shell {
        width: min(100%, 360px);
        max-width: 100%;
        padding: 8px;
        border-radius: 26px;
    }

    .tablet-shell .device-screen {
        border-radius: 20px;
    }

    .desktop-shell {
        width: min(100%, 360px);
        max-width: 100%;
        padding: 8px 8px 20px;
        border-radius: 14px;
    }

    .desktop-shell .device-screen {
        border-radius: 7px;
    }

    .hotspot-back-chip {
        font-size: 0.66rem;
        padding: 0.25rem 0.44rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .floating-dots .dot {
        animation: none;
        opacity: 0.12;
    }

    .feature-slider-track,
    .feature-slider-card,
    .feature-slider-media img {
        transition: none;
    }

    .typing-cursor {
        animation: none;
    }

    .device-track {
        transition: none;
    }

    .platform-pill,
    .hotspot-target,
    .hotspot-back-chip {
        transition: none;
    }

    .wf-clutter,
    .wf-window,
    .wf-pane,
    .wf-assigned-task,
    .wf-toast,
    .wf-complete-check,
    .wf-ping-up,
    .wf-check-incoming,
    .wf-check-board,
    .wf-check-progress-track i,
    .wf-check-progress .progress-start,
    .wf-check-progress .progress-end,
    .wf-check-items li::before,
    .wf-check-badges,
    .wf-sheet-grid,
    .wf-data-particles,
    .wf-builder-output,
    .wf-output-bars span,
    .wf-builder-assets,
    .wf-send-btn,
    .wf-slide-layout,
    .wf-slide-pages span,
    .wf-export-btn,
    .wf-paper-plane {
        animation: none;
        transition: none;
    }
}

/* User Guide Experience */
.user-guide-page {
    --guide-primary: #4f46e5;
    --guide-primary-hover: #4338ca;
    --guide-bg-main: #fcfcfd;
    --guide-bg-card: #ffffff;
    --guide-text-main: #1f2937;
    --guide-text-muted: #6b7280;
    --guide-border: #e5e7eb;
    --guide-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --guide-radius: 12px;
    background-color: var(--guide-bg-main);
    color: var(--guide-text-main);
}

.user-guide-page .container {
    max-width: 1240px;
}

.user-guide-page .page-header {
    border-bottom-color: var(--guide-border);
}

.user-guide-page .guide-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 60px;
    margin: 40px auto 64px;
    align-items: start;
}

.user-guide-page .guide-layout .support-content {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.user-guide-page .guide-content {
    display: grid;
    gap: 24px;
}

.user-guide-page .content-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px 22px;
    align-items: center;
    border: 1px solid var(--guide-border);
    border-radius: 16px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: var(--guide-shadow);
}

.user-guide-page .intro-copy h2 {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.user-guide-page .intro-eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--guide-primary);
}

.user-guide-page .intro-summary {
    margin: 0;
    font-size: 1.02rem;
    color: #475569;
}

.user-guide-page .intro-tools {
    display: grid;
    gap: 10px;
}

.user-guide-page .timestamp {
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    color: var(--guide-text-muted);
    margin-bottom: 0.3rem;
}

.user-guide-page .guide-search {
    position: relative;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--guide-border);
    border-radius: 12px;
    background: #ffffff;
}

.user-guide-page .guide-search label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--guide-text-muted);
    margin-bottom: 0.4rem;
}

.user-guide-page .guide-search input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    font-family: var(--font-sans);
    font-size: 1.02rem;
    color: var(--guide-text-main);
    background: var(--guide-bg-card);
    box-shadow: var(--guide-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-guide-page .guide-search input:focus {
    outline: none;
    border-color: var(--guide-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.user-guide-page .search-hint {
    font-size: 0.85rem;
    color: var(--guide-text-muted);
    margin: 0.45rem 0 0;
}

.user-guide-page .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0;
}

.user-guide-page .quick-actions a {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid var(--guide-border);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--guide-text-main);
    background: var(--guide-bg-card);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.user-guide-page .quick-actions a:hover,
.user-guide-page .quick-actions a:focus-visible {
    border-color: var(--guide-primary);
    color: var(--guide-primary);
    background: #eef2ff;
    outline: none;
}

.user-guide-page .guide-no-results {
    border: 1px dashed var(--guide-border);
    border-radius: var(--guide-radius);
    padding: 13px 14px;
    font-size: 0.94rem;
    color: var(--guide-text-muted);
    background: color-mix(in srgb, var(--guide-bg-card) 80%, #f6f7fb 20%);
}

.user-guide-page .guide-section {
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    padding: 26px;
    background: var(--guide-bg-card);
    box-shadow: var(--guide-shadow);
    scroll-margin-top: 72px;
}

.user-guide-page .guide-section[hidden] {
    display: none !important;
}

.user-guide-page .guide-section h2 {
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.user-guide-page .guide-section p:last-child,
.user-guide-page .guide-section ul:last-child,
.user-guide-page .guide-section ol:last-child {
    margin-bottom: 0;
}

.user-guide-page .toc {
    position: sticky;
    top: 40px;
    height: calc(100vh - 80px);
    border-right: 1px solid var(--guide-border);
    padding-right: 20px;
}

.user-guide-page .toc h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--guide-text-muted);
    margin: 0 0 16px;
}

.user-guide-page .toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
}

.user-guide-page .toc a {
    display: block;
    padding: 10px 13px;
    color: var(--guide-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.user-guide-page .toc a:hover,
.user-guide-page .toc a:focus-visible {
    background: #f3f4f6;
    color: var(--guide-primary);
    outline: none;
}

.user-guide-page .toc a.active {
    background: #eef2ff;
    color: var(--guide-primary);
    font-weight: 600;
}

.user-guide-page .workflow-box {
    border: 1px solid #d6dcff;
    border-left: 6px solid var(--guide-primary);
    border-radius: 14px;
    background: linear-gradient(180deg, #fcfcff 0%, #f7f9ff 100%);
}

.user-guide-page .workflow-head {
    margin-bottom: 14px;
}

.user-guide-page .workflow-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #d9e1ff;
    border-radius: 999px;
    padding: 4px 9px;
}

.user-guide-page .workflow-subtitle {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: #64748b;
}

.user-guide-page .step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.user-guide-page .step {
    background: #ffffff;
    border: 1px solid #dbe2f0;
    padding: 14px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.9rem;
    color: #1f2937;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    position: relative;
}

.user-guide-page .step::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}

.user-guide-page .step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #e8edff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.user-guide-page .step-letter {
    display: block;
    font-weight: 700;
    color: var(--guide-primary);
    font-size: 1.05rem;
    line-height: 1;
    margin-bottom: 5px;
}

.user-guide-page .step strong {
    display: block;
    margin-bottom: 4px;
}

.user-guide-page .step p {
    margin: 0;
    font-size: 0.83rem;
    color: #475569;
}

.user-guide-page .module-card {
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    padding: 32px;
    margin-bottom: 6px;
    box-shadow: var(--guide-shadow);
}

.user-guide-page .module-builder {
    background: linear-gradient(180deg, #f9faff 0%, #f4f6ff 100%);
}

.user-guide-page .module-presentation {
    background: linear-gradient(180deg, #f6fffb 0%, #eefaf4 100%);
}

.user-guide-page .module-teams {
    background: linear-gradient(180deg, #f7fbff 0%, #f0f7ff 100%);
}

.user-guide-page .module-checklist {
    background: linear-gradient(180deg, #fffcf3 0%, #fff8e8 100%);
}

.user-guide-page .module-settings {
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
}

.user-guide-page .module-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.user-guide-page .module-header .icon {
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--guide-border);
    border-radius: 10px;
    padding: 8px;
    line-height: 1;
}

.user-guide-page .module-header h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.user-guide-page .module-subtitle {
    color: var(--guide-text-muted);
    font-size: 0.96rem;
}

.user-guide-page .tabs-mockup {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.user-guide-page .tab {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--guide-border);
    border-radius: 10px;
    padding: 14px;
}

.user-guide-page .tab h4 {
    margin-bottom: 6px;
}

.user-guide-page .tab p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.user-guide-page .mini-cta {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--guide-border);
    border-radius: 999px;
    padding: 7px 14px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--guide-text-main);
    background: var(--guide-bg-card);
}

.user-guide-page .mini-cta:hover,
.user-guide-page .mini-cta:focus-visible {
    border-color: var(--guide-primary);
    color: var(--guide-primary);
    outline: none;
}

.user-guide-page .callout {
    border-left: 5px solid var(--guide-primary);
    background: #f0f7ff;
    border-radius: 10px;
    padding: 15px;
    margin: 4px 0;
}

.user-guide-page .status-table {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.user-guide-page .status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--guide-border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--guide-bg-card) 82%, #f8f9fc 18%);
}

.user-guide-page .status-row p {
    margin: 0;
}

.user-guide-page .badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.78rem;
}

.user-guide-page .badge.open {
    background: #dcfce7;
    color: #166534;
}

.user-guide-page .badge.yes {
    background: #dbeafe;
    color: #1e40af;
}

.user-guide-page .badge.decision {
    background: #ede9fe;
    color: #5b21b6;
}

.user-guide-page .troubleshoot-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #f2f7fc 100%);
}

.user-guide-page .guide-section details {
    border: 1px solid var(--guide-border);
    border-radius: 10px;
    background: var(--guide-bg-card);
    padding: 11px 12px;
    margin-top: 10px;
}

.user-guide-page .guide-section summary {
    cursor: pointer;
    font-weight: 600;
}

.user-guide-page .guide-section details p,
.user-guide-page .guide-section details ul {
    margin: 10px 0 0;
}

.user-guide-page .anchored-heading {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.user-guide-page .anchor-copy {
    opacity: 0;
    text-decoration: none;
    color: var(--guide-primary);
    margin-left: 2px;
    transition: opacity 0.2s ease;
    font-size: 0.95rem;
    line-height: 1;
}

.user-guide-page .anchored-heading:hover .anchor-copy,
.user-guide-page .anchor-copy:focus-visible {
    opacity: 1;
    outline: none;
}

.user-guide-page .glossary {
    position: relative;
    border-bottom: 1px dashed var(--guide-primary);
    cursor: help;
}

.user-guide-page .glossary-tip {
    position: absolute;
    left: 0;
    top: calc(100% + 7px);
    width: min(320px, 88vw);
    background: #111827;
    color: #f9fafb;
    font-size: 0.82rem;
    line-height: 1.35;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.user-guide-page .glossary:hover .glossary-tip,
.user-guide-page .glossary:focus-within .glossary-tip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 900px) {
    .user-guide-page .content-intro {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .user-guide-page .guide-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 28px auto 50px;
    }

    .user-guide-page .toc {
        display: none;
    }

    .user-guide-page .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-guide-page .tabs-mockup {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .user-guide-page .guide-section,
    .user-guide-page .module-card {
        padding: 18px;
    }

    .user-guide-page .step-grid {
        grid-template-columns: 1fr;
    }

    .user-guide-page .intro-copy h2 {
        font-size: 1.8rem;
    }

    .user-guide-page .status-row {
        align-items: flex-start;
    }
}
