/* ===== CSS Variables ===== */
:root {
    --bg-primary: #f5f5f5;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent-blue: #4043FF;
    --accent-green: #22c55e;
    --accent-orange: #f97316;
    --accent-purple: #8b5cf6;
    --border-color: #e5e5e5;
    --border-light: #f0f0f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Animation Variables */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-slower: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font Variables */
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    /* Enhanced smooth scrolling */
    scroll-padding-top: 100px;
}

/* Lenis smooth scrolling overrides */
html.lenis {
    scroll-behavior: auto;
}

html.lenis,
html.lenis body {
    height: auto;
}

body {
    font-family: "Instrument Sans", sans-serif;
    background-color: rgb(246, 246, 246);
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main content wrapper for consistent max-width */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
}

.section-title {
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-family: "Instrument Sans", sans-serif;
    font-size: 58px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
    max-width: 700px;
}

.title-sm {
    font-size: 45px;
    letter-spacing: -0.02em;
}

.section-pretitle{
    font-family: "Caveat", cursive;
    font-size: 18px;
    font-weight: 500;
    color: rgb(28, 28, 28);
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    line-height: 1.2;
}
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.title-italic {
    font-family: "Instrument Sans", sans-serif;
    font-style: normal;
    font-weight: 500;
}

.section-subtitle {
    color: rgb(28, 28, 28);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: 0em;
    text-align: center;
    max-width: 550px;
}

/* ===== Animations & Keyframes ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounceSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

/* ===== Section Badge ===== */
.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    background-color: #f6f6f6;
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0px 0.602187px 0.602187px 0px rgba(28, 28, 28, 0),
        0px 2.288533px 2.288533px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08),
        0px -6px 6px -5px rgba(255, 255, 255, 1);
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(28, 28, 28);
}

.section-badge svg {
    width: 16px;
    height: 16px;
    opacity: 1;
    color: #969696;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    font-family: "Instrument Sans", sans-serif;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* Rolling Button Base */
.rolling-btn {
    height: 50px;
    padding: 0 32px;
}

.rolling-btn .btn-text-hidden {
    visibility: hidden;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.rolling-btn .rolling-container {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.rolling-btn:hover .rolling-container {
    transform: translateY(-100%);
}

.rolling-btn .rolling-text {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rolling-btn .rolling-text span {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* Primary Button */
.btn-primary {
    background: rgb(28, 28, 28);
    color: rgb(255, 255, 255);
    border: none;
    box-shadow: 
        rgba(255, 255, 255, 0.15) 0px 0px 20px 1.64px inset,
        rgba(0, 0, 0, 0.13) 0px 0.84px 0.5px -0.31px,
        rgba(0, 0, 0, 0.13) 0px 1.99px 1.19px -0.63px,
        rgba(0, 0, 0, 0.13) 0px 3.63px 2.18px -0.94px,
        rgba(0, 0, 0, 0.13) 0px 6.04px 3.62px -1.25px,
        rgba(0, 0, 0, 0.13) 0px 9.75px 5.85px -1.56px,
        rgba(0, 0, 0, 0.13) 0px 15.96px 9.57px -1.88px,
        rgba(0, 0, 0, 0.13) 0px 27.48px 16.49px -2.19px,
        rgba(0, 0, 0, 0.13) 0px 50px 30px -2.5px;
}

.btn-primary:hover {
    background: rgb(64, 67, 255);
    transform: scale(1.02);
    box-shadow: 
        rgba(255, 255, 255, 0.25) 0px 0px 20px 1.64px inset,
        rgba(64, 67, 255, 0.3) 0px 0.84px 0.5px -0.31px,
        rgba(64, 67, 255, 0.3) 0px 1.99px 1.19px -0.63px,
        rgba(64, 67, 255, 0.3) 0px 3.63px 2.18px -0.94px,
        rgba(64, 67, 255, 0.3) 0px 6.04px 3.62px -1.25px,
        rgba(64, 67, 255, 0.3) 0px 9.75px 5.85px -1.56px,
        rgba(64, 67, 255, 0.3) 0px 15.96px 9.57px -1.88px,
        rgba(64, 67, 255, 0.3) 0px 27.48px 16.49px -2.19px,
        rgba(64, 67, 255, 0.5) 0px 50px 30px -2.5px;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary .rolling-text span {
    color: rgb(255, 255, 255);
}

/* Secondary Button */
.btn-secondary {
    background: rgb(246, 246, 246);
    color: rgb(28, 28, 28);
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
}

.btn-secondary:hover {
    transform: scale(1.02);
}

.btn-secondary:active {
    transform: scale(0.95);
}

.btn-secondary .rolling-text span {
    color: rgb(28, 28, 28);
}

.btn-secondary .rolling-text-hover span {
    color: rgb(64, 67, 255);
}

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

.btn-outline:hover {
    background: var(--bg-primary);
    transform: scale(1.02);
}

.btn-outline:active {
    transform: scale(0.98);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    animation: fadeInDown 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transition: top 0.3s ease, opacity 0.3s ease;
    padding: 0 24px;
    pointer-events: none;
}

.nav-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 6px 24px;
    width: 900px;
    max-width: 900px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.nav-container:hover {
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.04),
        0px 12px 12px 0px rgba(28, 28, 28, 0.14),
        0px -6px 6px -5px rgb(255, 255, 255);
    background: #ffffff;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: rgb(28, 28, 28);
    flex-shrink: 0;
}

.nav-logo svg {
    width: 18px;
    height: 18px;
}

.nav-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    display: block;
}

.nav-logo .logo-full {
    width: auto;
    height: 32px;
    border-radius: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Nav Item Styles - matching template exactly */
.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 28px;
    border-radius: 10px;
    background-color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.nav-item span {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: -0.4px;
    color: rgb(28, 28, 28);
    white-space: nowrap;
    text-align: center;
}

.nav-item:hover {
    background-color: rgb(246, 246, 246);
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
}

/* Nav CTA Button - matching template exactly */
.nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    height: min-content;
    background: rgb(28, 28, 28);
    color: rgb(255, 255, 255);
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
    transition: all 0.2s ease;
}

/* Text Container */
.nav-cta .rolling-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 16px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.nav-cta .rolling-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 16px;
    position: relative;
    white-space: nowrap;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-cta:hover .rolling-text {
    transform: translateY(-16px);
}

.nav-cta .rolling-text span {
    font-family: "Instrument Sans Variable", "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: rgb(255, 255, 255);
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgb(64, 67, 255);
}

.nav-cta:active {
    transform: scale(0.98);
}

/* Nav Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: rgb(28, 28, 28);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 90px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow:
        0px 10px 40px rgba(0, 0, 0, 0.15),
        0px 0px 1px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(28, 28, 28);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.mobile-menu-item:hover {
    background: rgb(246, 246, 246);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: rgb(28, 28, 28);
    color: white;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-cta:hover {
    background: rgb(64, 67, 255);
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    gap: 64px;
}

/* Hero Badge - matching template exactly */
.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px 4px 4px;
    background-color: rgb(246, 246, 246);
    border-radius: 100px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08),
        0px -6px 6px -5px rgb(255, 255, 255);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0s;
    opacity: 0;
}

/* Live now container with dot */
.badge-live-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
}

/* Pulse wrapper - contains the pulsing ring and dot */
.badge-pulse-wrapper {
    position: relative;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The pulsing ring effect */
.badge-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: rgb(64, 67, 255);
    animation: badgePulseRing 2s ease-in-out infinite;
}

/* The static center dot */
.badge-pulse-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: rgb(64, 67, 255);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes badgePulseRing {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0;
        transform: scale(1.8);
    }
}

/* Live now text - matching template font styles */
.badge-live {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    line-height: 22px;
    letter-spacing: -0.3px;
    color: rgb(64, 67, 255);
    white-space: nowrap;
}

/* Content section with divider effect */
.badge-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Used by SaaS & AI leaders text - matching template font styles */
.badge-text {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    line-height: 22px;
    letter-spacing: -0.3px;
    color: rgb(28, 28, 28);
    white-space: nowrap;
}

.hero-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 68px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.05s;
    opacity: 0;
    color: rgb(18, 18, 18);
    max-width: 700px;
}

.hero-subtitle {
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: rgb(28, 28, 28);
    line-height: 25.2px;
    letter-spacing: normal;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.15s;
    opacity: 0;
    z-index: 1;
}

@keyframes heroImageReveal {
    0% {
        opacity: 0;
        transform: perspective(2000px) rotateX(25deg) scale(0.9) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: perspective(2000px) rotateX(0deg) scale(1) translateY(0);
    }
}

/* Hero Content wrapper */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 0;
}

/* Hero text block (title + subtitle) */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* ===== Dashboard Mockup ===== */
.dashboard-mockup {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    opacity: 0;
    padding: 0;
    transform-origin: center top;
    transform: perspective(2000px) rotateX(25deg) scale(0.9) translateY(40px);
    transition: opacity 0.8s ease;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0.6px 0.6px rgba(28, 28, 28, 0), 0px 2.3px 2.3px rgba(28, 28, 28, 0.05), 0px 10px 10px rgba(28, 28, 28, 0.14), 0px -6px 6px -5px rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 1);
}

.dashboard-mockup.loaded {
    opacity: 1;
}

.dashboard-image {
    width: 100%;
    aspect-ratio: 1.38 / 1;
    overflow: hidden;
}

.dashboard-image img,
.dashboard-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-left: 8px;
}

.sidebar-logo svg {
    width: 16px;
    height: 16px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.sidebar-item:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sidebar-item svg {
    width: 16px;
    height: 16px;
}

.sidebar-help {
    margin-top: auto;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 16px;
    color: var(--bg-white);
}

.help-title {
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.help-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
    line-height: 1.45;
}

.help-btn {
    width: 100%;
    padding: 8px;
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.help-btn:hover {
    transform: scale(1.02);
}

/* Dashboard Main */
.dashboard-main {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 16px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.header-greeting h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.header-greeting p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-white);
}

/* Feedback Section */
.feedback-section {
    margin-bottom: 14px;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.feedback-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

.feedback-nav {
    display: flex;
    gap: 2px;
}

.nav-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 10px;
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.stat-dot {
    width: 6px;
    height: 6px;
    background: var(--bg-dark);
    border-radius: 50%;
}

.stat-dot.blue {
    background: var(--accent-blue);
}

.stat-dot.purple {
    background: var(--accent-purple);
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-total {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat-link {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Progress Section */
.progress-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 20px;
}

.progress-chart {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.chart-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.chart-period {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chart-container {
    position: relative;
}

.chart-tooltip {
    position: absolute;
    top: 10px;
    left: 50px;
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

.chart-line {
    width: 100%;
    height: 60px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ai-icon {
    margin-bottom: 8px;
}

.ai-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.ai-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.ai-btn {
    width: 100%;
    padding: 10px;
    background: var(--accent-blue);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Coming Up Section */
.coming-up-section {
    margin-bottom: 0;
}

.coming-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.coming-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.coming-nav {
    display: flex;
    gap: 4px;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.task-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.task-image {
    height: 100px;
    overflow: hidden;
}

.task-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-content {
    padding: 12px;
}

.task-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.task-category {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.task-progress {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--bg-dark);
    border-radius: 2px;
}

.progress-bar.dark .progress-fill {
    background: var(--bg-white);
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.task-time {
    color: var(--text-secondary);
}

.task-priority {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
}

.task-priority.high {
    background: #fee2e2;
    color: #dc2626;
}

.task-priority.low {
    background: #dcfce7;
    color: var(--accent-green);
}

/* Dashboard Right Panel */
.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-widget {
    background: var(--bg-white);
    padding: 12px;
    border-radius: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-nav {
    color: var(--text-secondary);
    font-size: 1rem;
}

.cal-month {
    font-size: 0.85rem;
    font-weight: 500;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.cal-day-header {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 4px;
}

.cal-day {
    font-size: 0.8rem;
    padding: 6px;
    border-radius: var(--radius-sm);
}

.cal-day.active {
    background: var(--accent-blue);
    color: var(--bg-white);
}

/* Task Today Widget */
.task-today-widget {
    background: var(--bg-dark);
    padding: 16px;
    border-radius: var(--radius-md);
    color: var(--bg-white);
}

.task-today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.task-today-header h4 {
    font-size: 0.85rem;
    font-weight: 500;
}

.more-btn {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

.task-today-image {
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

.task-today-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-today-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.task-today-content > p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.task-today-progress {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.task-today-widget .progress-bar {
    background: rgba(255,255,255,0.2);
    margin-bottom: 12px;
}

.task-today-widget .progress-fill {
    background: var(--bg-white);
}

.task-today-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

/* Detail Task Widget */
.detail-task-widget {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    flex: 1;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.detail-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-header span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.detail-num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-primary);
    flex-shrink: 0;
}

.ai-assist-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== Logo Bar ===== */
.logo-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
    overflow: hidden;
    width: 100%;
}

.logo-bar-title {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-style: normal;
    color: rgb(28, 28, 28);
    font-weight: 600;
    letter-spacing: 0em;
    line-height: 1.2;
    text-align: center;
}

.trusted-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.logo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 15%, rgb(0, 0, 0) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 15%, rgb(0, 0, 0) 85%, rgba(0, 0, 0, 0) 100%);
}

.logo-track {
    display: flex;
    gap: 56px;
    padding: 10px 0;
    animation: scroll 20s linear infinite;
    width: max-content;
    align-items: center;
    will-change: transform;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(18, 18, 18, 0.6);
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-item img {
    height: 22px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.3);
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.logo-item--force-dark img {
    filter: brightness(0);
    mix-blend-mode: normal;
    opacity: 0.65;
}

/* ===== Problem Section ===== */
.problem-section {
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1080px;
    width: 100%;
}

.problem-card {
    background: #f6f6f6;
    border-radius: 20px;
    padding: 28px 28px 32px;
    text-align: left;
    transition: all var(--transition-slow);
    cursor: default;
    box-shadow: 
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08),
        0px -6px 6px -5px rgb(255, 255, 255);
    border: none;
    display: flex;
    flex-direction: column;
}

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

.problem-image-container {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    /* Fixed height to ensure alignment */
    height: 240px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-image-container.push-down {
    /* push-down is no longer needed if we center vertically in fixed height */
    padding-top: 0; 
}

.problem-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.problem-card h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 10px;
    color: rgb(28, 28, 28);
    letter-spacing: -0.56px;
    line-height: 30.8px;
}

.problem-card p {
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    color: rgb(84, 84, 84);
    line-height: 25.2px;
    letter-spacing: normal;
    margin: 0;
}

.gradient-text {
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.problem-cta {
    background: #f6f6f6;
    padding: 28px 48px;
    border-radius: 20px;
    text-align: center;
    max-width: 1080px;
    width: 100%;
    margin-top: 12px;
    box-shadow: 
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08),
        0px -6px 6px -5px rgb(255, 255, 255);
    border: none;
}

.problem-cta p {
    font-family: sans-serif;
    color: rgb(84, 84, 84);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 25.2px;
    letter-spacing: normal;
    margin: 0;
}

/* ===== Inside Section ===== */
.inside-section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.inside-section .section-title {
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.inside-section .section-subtitle {
    font-size: 18px;
    max-width: 550px;
}

/* Tabs */
.inside-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgb(246, 246, 246);
    border-radius: 12px;
    padding: 6px;
}

.inside-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(28, 28, 28);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.inside-tab.active {
    background: rgb(255, 255, 255);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.inside-content {
    width: 100%;
    max-width: 1100px;
}

.inside-surface {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    padding: 10px;
    background: rgb(255, 255, 255);
    border-radius: 24px;
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.05);
}

.inside-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: transparent;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    padding: 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
}

.feature-item.active {
    background: rgb(246, 246, 246);
}

.feature-icon {
    color: rgb(28, 28, 28);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-item h4 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: rgb(28, 28, 28);
    margin: 0;
}

.feature-item p {
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.1px;
    color: rgb(100, 100, 100);
    margin: 0;
}

.inside-right {
    border-radius: 16px;
    background: rgb(246, 246, 246);
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inside-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.inside-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default: slide from below */
.inside-panel:not(.active) {
    transform: translateY(30px);
}

/* Going down: next panel slides from below */
.inside-stage.slide-down .inside-panel:not(.active) {
    transform: translateY(30px);
}

/* Going up: next panel slides from above */
.inside-stage.slide-up .inside-panel:not(.active) {
    transform: translateY(-30px);
}

.inside-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Exiting panel animations */
.inside-panel.exit-down {
    opacity: 0;
    transform: translateY(30px);
}

.inside-panel.exit-up {
    opacity: 0;
    transform: translateY(-30px);
}

.panel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* ===== Why Section ===== */
.why-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.why-section .section-title {
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.why-section .section-subtitle {
    font-size: 18px;
    max-width: 550px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1060px;
    width: 100%;
    align-items: stretch;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2px 2px 0px rgba(28, 28, 28, 0.03),
        0px 14px 20px 0px rgba(28, 28, 28, 0.10);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.02),
        0px 2px 2px 0px rgba(28, 28, 28, 0.05),
        0px 22px 36px 0px rgba(28, 28, 28, 0.16);
}

.feature-card.wide {
    grid-column: span 2;
    min-height: 320px;
}

.feature-card.wide.shift-right {
    grid-column: 2 / span 2;
}

.feature-card-preview {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 18, 18, 0.08);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90% auto;
    overflow: hidden;
}

.feature-card.wide .feature-card-preview {
    height: 170px;
}

.feature-card h4 {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    min-height: 1.5em;
    display: flex;
    align-items: center;
}

.feature-card > p {
    font-size: 0.9rem;
    color: rgba(18, 18, 18, 0.62);
    line-height: 1.55;
    max-width: 300px;
}

.feature-card.wide > p {
    max-width: 520px;
    height: 2.8em;
}

.features-grid .feature-card.wide:not(.shift-right) {
    grid-column: span 1;
}

/* Feature card preview children are visible (custom HTML micro-UIs) */

/* Next Steps Card Preview */
.next-steps-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 300px;
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 10px 18px rgba(0, 0, 0, 0.06);
}

.next-steps-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.next-steps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.next-steps-header .tag {
    color: var(--text-secondary);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.step-item.active {
    background: var(--bg-primary);
}

.step-num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
}

.cursor {
    margin-left: auto;
    color: var(--accent-blue);
}

/* Progress Preview */
.progress-preview-card {
    background: var(--bg-white);
    padding: 14px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 300px;
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 10px 18px rgba(0, 0, 0, 0.06);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.progress-badge {
    display: inline-block;
    padding: 3px 9px;
    background: var(--bg-dark);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.mini-chart {
    width: 100%;
    height: 40px;
}

.mini-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Calendar Preview */
.calendar-preview {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 320px;
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 10px 18px rgba(0, 0, 0, 0.06);
}

.cal-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-header-mini button {
    color: var(--text-secondary);
}

.cal-header-mini span {
    font-size: 0.85rem;
    font-weight: 500;
}

.cal-grid-mini {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.75rem;
}

.cal-grid-mini span {
    padding: 4px;
}

.cal-grid-mini .active {
    background: #1c1c1c;
    color: #ffffff;
    border-radius: var(--radius-sm);
}

/* Kanban Preview */
.kanban-preview {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 12px 22px rgba(0, 0, 0, 0.07);
}

.kanban-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.kanban-status {
    font-size: 0.8rem;
    font-weight: 500;
}

.kanban-count {
    background: var(--bg-primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.kanban-menu {
    margin-left: auto;
    color: var(--text-secondary);
}

.kanban-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.kanban-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.kanban-content h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.kanban-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.kanban-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-dark);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

.add-task-btn {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* AI Guide Preview */
.ai-guide-preview {
    /* keep `.feature-card-preview` as the canvas; center the inner shell */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
}

.ai-guide-shell {
    width: 100%;
    max-width: 560px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(18, 18, 18, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 14px 26px rgba(0, 0, 0, 0.08);
}

.ai-guide-left {
    background: transparent;
    padding: 8px;
    border-radius: 12px;
}

.ai-guide-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ai-guide-header img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.ai-guide-header div {
    display: flex;
    flex-direction: column;
}

.ai-name {
    font-size: 0.8rem;
    font-weight: 500;
}

.ai-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.ai-updated {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--accent-green);
}

.ai-tip {
    display: flex;
    gap: 8px;
    background: #fef3c7;
    padding: 12px;
    border-radius: var(--radius-md);
}

.tip-icon {
    font-size: 1rem;
}

.tip-title {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.tip-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-style: italic;
}

.ai-guide-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px;
}

.date-block {
    background: var(--bg-white);
    padding: 12px;
    border-radius: var(--radius-md);
}

.date-block .date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check-item {
    font-size: 0.75rem;
    color: var(--accent-green);
}

.guide-footer {
    display: flex;
    gap: 8px;
}

.reaction {
    padding: 4px 10px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.reply-small {
    padding: 4px 10px;
    background: var(--bg-white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Scale Section ===== */
.scale-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.scale-dashboard {
    max-width: 1000px;
}

.scale-dashboard-img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.scale-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
}

.scale-feature {
    background: #f6f6f6;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01), 
        0px 2.3px 2.3px 0px rgba(28, 28, 28, 0.03), 
        0px 10px 10px 0px rgba(28, 28, 28, 0.12);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.2s ease;
}

.scale-feature:hover {
    transform: translateY(-4px);
    box-shadow: 
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.02), 
        0px 2.3px 2.3px 0px rgba(28, 28, 28, 0.05), 
        0px 15px 20px 0px rgba(28, 28, 28, 0.15);
}

.scale-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1A1A1A 0%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 6px;
    margin-bottom: 24px;
    color: #f6f6f6;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.scale-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.scale-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Comparison Section ===== */
.comparison-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.comparison-section .section-title {
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.comparison-section .title-italic {
    font-family: "Instrument Sans", sans-serif;
    font-style: normal;
    font-weight: 500;
}

.comparison-section .section-subtitle {
    font-size: 18px;
    max-width: 550px;
    color: rgb(28, 28, 28);
}

.comparison-grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 980px;
    width: 100%;
    align-items: flex-start;
}

.comparison-column {
    flex: 1;
    min-width: 0;
}

.comparison-label {
    font-family: 'Caveat', cursive;
    font-style: normal;
    font-size: 24px;
    font-weight: 600;
    color: rgb(28, 28, 28);
    display: block;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.2;
}

.comparison-card {
    background: rgb(246, 246, 246);
    border-radius: 16px;
    padding: 42px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow:
        0 0.6021873017743928px 0.6021873017743928px rgba(28, 28, 28, 0.01),
        0 2.288533303243457px 2.288533303243457px rgba(28, 28, 28, 0.03),
        0 10px 10px rgba(28, 28, 28, 0.12),
        0 -6px 6px -5px rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-card h3 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 42px;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(28, 28, 28, 0.06);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgb(84, 84, 84);
}

/* After card title should be darker */
.comparison-column.after .comparison-card h3 {
    color: rgb(28, 28, 28);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgb(84, 84, 84);
    line-height: 1.5;
}

.x-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.x-icon svg {
    width: 16px;
    height: 16px;
    stroke: rgb(150, 150, 150);
    stroke-width: 1.5;
}

.check-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 16px;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    stroke: rgb(28, 28, 28);
    stroke-width: 2;
    position: absolute;
}

.check-icon svg:first-child {
    left: 0;
}

.check-icon svg:last-child {
    left: 6px;
}

.trial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: rgb(28, 28, 28);
    color: rgb(255, 255, 255);
    border-radius: 16px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 8px;
    box-shadow:
        rgba(255, 255, 255, 0.4) 0px 0px 20px 1.64px inset,
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
    transition: background 0.3s ease;
}

.trial-btn .rolling-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 18px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.trial-btn .rolling-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 18px;
    position: relative;
    white-space: nowrap;
    width: auto;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.trial-btn:hover .rolling-text {
    transform: translateY(-18px);
}

.trial-btn .rolling-text span {
    font-family: "Instrument Sans Variable", "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    color: rgb(255, 255, 255);
    white-space: nowrap;
}

.trial-btn:hover {
    background: rgb(64, 67, 255);
    box-shadow:
        rgba(255, 255, 255, 0.4) 0px 0px 20px 1.64px inset,
        0px 10px 30px 0px rgba(64, 67, 255, 0.4);
}

.trial-btn:active {
    transform: scale(0.98);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 980px;
    width: 100%;
    background: rgb(246, 246, 246);
    padding: 32px 42px;
    border-radius: 16px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow:
        0 0.6021873017743928px 0.6021873017743928px rgba(28, 28, 28, 0.01),
        0 2.288533303243457px 2.288533303243457px rgba(28, 28, 28, 0.03),
        0 10px 10px rgba(28, 28, 28, 0.12),
        0 -6px 6px -5px rgb(255, 255, 255);
}

.stats-bar .stat {
    text-align: left;
}

.stats-bar .stat-value {
    font-family: "Instrument Sans", sans-serif;
    font-size: 42px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgb(28, 28, 28);
    text-align: left;
}

.stats-bar .stat-label {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgb(84, 84, 84);
    line-height: 1.5;
}

/* ===== Demo Video Section ===== */
.demo-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.demo-section .section-title {
    font-size: 58px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.demo-section .title-italic {
    font-family: "Instrument Sans", sans-serif;
    font-style: italic;
    font-weight: 500;
}

.demo-section .section-subtitle {
    font-size: 18px;
    max-width: 550px;
    color: rgb(84, 84, 84);
}

.demo-video-container {
    width: 100%;
    max-width: 980px;
    padding: 0 20px;
}

.demo-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgb(246, 246, 246);
    border: 1px solid rgb(255, 255, 255);
    box-shadow:
        0 0.6021873017743928px 0.6021873017743928px rgba(28, 28, 28, 0.01),
        0 2.288533303243457px 2.288533303243457px rgba(28, 28, 28, 0.03),
        0 10px 10px rgba(28, 28, 28, 0.12),
        0 -6px 6px -5px rgb(255, 255, 255);
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgb(246, 246, 246) 0%, rgb(230, 230, 230) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.demo-video.playing {
    display: block;
}

.video-placeholder.playing .play-button {
    display: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgb(28, 28, 28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 40px rgba(28, 28, 28, 0.3),
        0 -4px 8px -4px rgb(255, 255, 255) inset;
}

.play-button:hover {
    background: rgb(64, 67, 255);
    transform: scale(1.05);
    box-shadow:
        0 10px 50px rgba(64, 67, 255, 0.4),
        0 -4px 8px -4px rgb(255, 255, 255) inset;
}

.play-button svg {
    margin-left: 4px;
}

.demo-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgb(28, 28, 28);
    color: rgb(255, 255, 255);
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        rgba(255, 255, 255, 0.4) 0px 0px 20px 1.64px inset,
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01),
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.12),
        0px -6px 6px -5px rgb(255, 255, 255);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.demo-more-btn .rolling-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 18px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.demo-more-btn .rolling-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 18px;
    position: relative;
    white-space: nowrap;
    width: auto;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.demo-more-btn:hover .rolling-text {
    transform: translateY(-18px);
}

.demo-more-btn .rolling-text span {
    font-family: "Instrument Sans Variable", "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    color: rgb(255, 255, 255);
    white-space: nowrap;
}

.demo-more-btn svg {
    transition: transform 0.3s ease;
}

.demo-more-btn:hover {
    background: rgb(64, 67, 255);
    box-shadow:
        rgba(255, 255, 255, 0.4) 0px 0px 20px 1.64px inset,
        0px 10px 30px 0px rgba(64, 67, 255, 0.4);
}

.demo-more-btn:hover svg {
    transform: translateX(4px);
}

/* ===== Integrations Section ===== */
.integrations-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.integrations-visual {
    position: relative;
    max-width: 700px;
    width: 100%;
    height: 400px;
    margin: 0 auto;
}

.integration-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.integration-icon {
    position: absolute;
    width: 72px;
    height: 72px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.integration-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.integration-icon.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.integration-icon.left {
    top: 30%;
    left: 15%;
}

.integration-icon.right {
    top: 30%;
    right: 15%;
}

.integration-icon.bottom-left {
    bottom: 20%;
    left: 5%;
}

.integration-icon.bottom-right {
    bottom: 20%;
    right: 5%;
}

.integrations-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.integrations-center h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.integrations-center p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.integrations-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

/* ===== App Section ===== */
.app-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.app-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
}

.phone-mockup {
    width: 280px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.phone-mockup img {
    width: 100%;
}

.phone-mockup.left {
    transform: rotate(-5deg);
}

.phone-mockup.right {
    transform: rotate(5deg);
}

.app-cta {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 300px;
}

.app-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.app-cta h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-cta p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-buttons .btn {
    padding: 12px 24px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
    overflow: hidden;
}

.testimonials-wrapper {
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 10px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    background-color: #f6f6f6;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0px 0.602187px 0.602187px 0px rgba(28, 28, 28, 0),
        0px 2.288533px 2.288533px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08),
        0px -6px 6px -5px rgba(255, 255, 255, 1);
    padding: 40px;
    font-family: sans-serif;
    font-size: 12px;
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    max-width: 340px;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
    font-family: sans-serif;
    font-size: 12px;
}

.stars svg {
    display: inline;
    width: 16px;
    height: 16px;
    fill: #1c1c1c;
    color: #1c1c1c;
    font-family: sans-serif;
    font-size: 12px;
}

.testimonial-text {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    font-weight: 400;
    font-style: normal;
    color: rgb(28, 28, 28);
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-text strong {
    color: #1c1c1c;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.avatar-initials {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    background-color: #1a1a1a;
    color: #ffffff;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    font-weight: 500;
    font-style: normal;
    color: rgb(28, 28, 28);
    text-align: left;
}

.author-role {
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.14px;
    color: #9a9a9a;
    text-align: left;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    background: #d4d4d4;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot:hover {
    background: #a0a0a0;
}

.dot.active {
    background: #1c1c1c;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

/* Billing toggle */
.billing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    background: rgb(236, 236, 236);
    border-radius: 100px;
    padding: 4px;
    gap: 2px;
}

.billing-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: rgba(28, 28, 28, 0.5);
    font-size: 15px;
    font-weight: 500;
    font-family: "Instrument Sans", var(--font-sans);
    letter-spacing: -0.15px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.billing-toggle-btn.active {
    background: rgb(28, 28, 28);
    color: rgb(246, 246, 246);
}

.billing-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 100px;
    background: rgb(64, 67, 255);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.1px;
    line-height: 1.2;
    transition: opacity 0.2s ease;
}

.billing-toggle-btn:not(.active) .billing-save-badge {
    background: rgba(64, 67, 255, 0.15);
    color: rgb(64, 67, 255);
}

/* Price animation on toggle */
.pricing-amount .price,
.pricing-amount .period {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pricing-amount.is-switching .price,
.pricing-amount.is-switching .period {
    opacity: 0;
    transform: translateY(-4px);
}

.pricing-cards {
    align-items: stretch;
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    width: 100%;
}

.pricing-card {
    align-items: flex-start;
    background-color: rgb(246, 246, 246);
    border-radius: 24px;
    box-shadow: 
        rgba(28, 28, 28, 0.01) 0px 0.602px 0.602px 0px,
        rgba(28, 28, 28, 0.03) 0px 2.289px 2.289px 0px,
        rgba(28, 28, 28, 0.04) 0px 10px 10px 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    position: relative;
    flex: 1;
    max-width: 340px;
    min-width: 300px;
}

.pricing-card.popular {
    background-color: rgb(246, 246, 246);
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 
        rgba(28, 28, 28, 0.01) 0px 0.602px 0.602px 0px,
        rgba(28, 28, 28, 0.03) 0px 2.289px 2.289px 0px,
        rgba(28, 28, 28, 0.04) 0px 10px 10px 0px;
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(64, 67, 255);
    color: #fff;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter", var(--font-sans);
    line-height: 1;
    letter-spacing: -0.14px;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    border-radius: 12px;
}

.pricing-icon svg {
    width: 20px;
    height: 20px;
}

.pricing-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-plan-name {
    font-size: 24px;
    font-weight: 500;
    font-family: "Instrument Sans", var(--font-sans);
    color: rgb(28, 28, 28);
    margin: 0;
    line-height: 26.4px;
    letter-spacing: -0.1px;
}

.pricing-desc {
    font-size: 16px;
    color: rgb(28, 28, 28);
    font-family: "Inter", var(--font-sans);
    font-weight: 400;
    margin: 0;
    line-height: 24px;
    letter-spacing: -0.16px;
    opacity: 0.6;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price {
    font-size: 42px;
    font-weight: 500;
    font-family: "Instrument Sans", var(--font-sans);
    color: rgb(28, 28, 28);
    line-height: 46.2px;
    letter-spacing: -1.26px;
}

.period {
    font-size: 16px;
    color: rgb(28, 28, 28);
    font-family: "Inter", var(--font-sans);
    font-weight: 400;
    opacity: 0.5;
}

/* Pricing buttons */
.pricing-btn {
    align-items: center;
    border-radius: 16px;
    display: flex;
    font-family: "Instrument Sans", var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    gap: 8px;
    justify-content: center;
    padding: 14px 24px;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pricing-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(28, 28, 28, 0.15);
    color: rgb(28, 28, 28);
}

.pricing-btn-outline:hover {
    background: rgba(28, 28, 28, 0.05);
    border-color: rgba(28, 28, 28, 0.25);
}

.pricing-btn-primary {
    background: rgb(28, 28, 28);
    border: 1px solid rgb(28, 28, 28);
    color: #fff;
    box-shadow: 
        rgba(28, 28, 28, 0.01) 0px 0.602px 0.602px 0px,
        rgba(28, 28, 28, 0.03) 0px 2.289px 2.289px 0px,
        rgba(28, 28, 28, 0.08) 0px 10px 10px 0px;
}

.pricing-btn-primary:hover {
    background: rgb(51, 51, 51);
    border-color: rgb(51, 51, 51);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
    width: 100%;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgb(28, 28, 28);
    font-family: "Inter", var(--font-sans);
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.16px;
}

.pricing-features li span {
    line-height: 24px;
}

/* Checkmark icons */
.check-icon {
    flex-shrink: 0;
}

/* ===== Core Features Section (Scroll-driven Trupeer-style) ===== */
.core-features-section {
    padding: 120px 40px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.core-features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.core-features-header .section-title {
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 800px;
}

.core-features-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 72px;
    width: 100%;
    max-width: 1280px;
    align-items: start;
}

/* Left sticky nav */
.core-features-nav {
    position: sticky;
    top: 120px;
    align-self: start;
}

.core-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.core-nav-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 14px 0;
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(28, 28, 28, 0.4);
    cursor: pointer;
    transition: color 0.35s ease, font-weight 0.35s ease;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.core-nav-item:hover {
    color: rgba(28, 28, 28, 0.7);
}

.core-nav-item.active {
    color: rgb(28, 28, 28);
    font-weight: 600;
}

/* Right scrolling content */
.core-features-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.core-feature-block {
    padding: 0 0 100px 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.core-feature-block.in-view {
    opacity: 1;
    transform: translateY(0);
}

.core-feature-block:last-child {
    padding-bottom: 40px;
}

.core-feature-text {
    margin-bottom: 36px;
}

.core-feature-text h3 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: rgb(20, 20, 20);
    margin: 0 0 14px 0;
}

.core-feature-text p {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: rgb(100, 100, 100);
    margin: 0;
    max-width: 580px;
}

/* ---- Visual cards (shared) ---- */
.core-feature-visual {
    border-radius: 24px;
    padding: 48px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* --- 1. Script Generation visual --- */
.script-visual {
    background: linear-gradient(145deg, #E8EDFF 0%, #FCEADF 50%, #F0E8FF 100%);
}

.script-editor {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 19px;
    line-height: 1.75;
}

.script-line {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.script-text-dim {
    color: rgba(28, 28, 28, 0.45);
}

.script-text-bold {
    color: rgb(28, 28, 28);
    font-weight: 600;
}

.script-text-highlight {
    background: rgba(64, 67, 255, 0.12);
    color: #4043FF;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.script-text-strike {
    color: rgba(28, 28, 28, 0.25);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 60, 60, 0.5);
}

.script-sparkle {
    font-size: 14px;
    color: #4043FF;
    animation: sparkle-pulse 2s ease-in-out infinite;
}

.script-cursor {
    color: #4043FF;
    font-weight: 300;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes sparkle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}

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

/* --- 2. Voiceover visual --- */
.voiceover-visual {
    background: linear-gradient(145deg, #FFF0E5 0%, #FFE4D0 50%, #FCEADF 100%);
}

.voice-selector {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.voice-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-radius: 12px;
    transition: background 0.25s ease;
}

.voice-row.active-voice {
    background: rgba(255, 237, 220, 0.6);
}

.voice-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgb(28, 28, 28);
    flex-shrink: 0;
    padding-left: 2px;
}

.voice-play.active-play {
    background: #4043FF;
    color: white;
}

.voice-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: rgb(28, 28, 28);
    flex: 1;
}

.voice-tags {
    display: flex;
    gap: 8px;
}

.voice-tag {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgb(100, 100, 100);
    background: rgba(28, 28, 28, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- 3. Zoom Effects visual --- */
.zoom-visual {
    background: linear-gradient(145deg, #E3F0FF 0%, #EDE8FF 50%, #E8EDFF 100%);
    padding: 36px;
}

.zoom-browser {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 580px;
    overflow: hidden;
}

.zoom-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.zoom-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.1);
}

.zoom-url-bar {
    margin-left: 10px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: rgba(28, 28, 28, 0.4);
    background: rgba(28, 28, 28, 0.03);
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
}

.zoom-screen {
    display: flex;
    min-height: 280px;
    position: relative;
}

.zoom-sidebar-mock {
    width: 56px;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zoom-sb-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(28, 28, 28, 0.06);
}

.zoom-sb-item.active-sb {
    background: rgba(64, 67, 255, 0.2);
}

.zoom-main-mock {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zoom-content-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(28, 28, 28, 0.06);
}

.zoom-content-line.w80 { width: 80%; }
.zoom-content-line.w70 { width: 70%; }
.zoom-content-line.w60 { width: 60%; }
.zoom-content-line.w40 { width: 40%; }

.zoom-target {
    display: inline-flex;
    align-items: center;
    position: relative;
    align-self: flex-start;
    margin: 8px 0;
}

.zoom-btn-mock {
    background: #4043FF;
    color: white;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.zoom-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(64, 67, 255, 0.35);
    border-radius: 14px;
    animation: zoom-pulse 2s ease-in-out infinite;
}

.zoom-ring-outer {
    inset: -16px;
    border-radius: 20px;
    border-color: rgba(64, 67, 255, 0.15);
    animation-delay: 0.1s;
}

@keyframes zoom-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.06); }
}

/* --- 4. AI-Guided Flows visual --- */
.guides-visual {
    background: linear-gradient(145deg, #E8FFF0 0%, #E0F5FF 50%, #E8EDFF 100%);
    flex-direction: column;
    gap: 20px;
}

.guide-avatars {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 540px;
}

.guide-avatar-card {
    flex: 1;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    text-align: center;
}

.avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "Instrument Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.avatar-label {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgb(28, 28, 28);
}

.avatar-status {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: rgb(150, 150, 150);
}

.avatar-status.active-status {
    color: #22c55e;
    font-weight: 500;
}

.guide-steps {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    color: rgba(28, 28, 28, 0.4);
    border-radius: 10px;
}

.guide-step.active-step {
    color: rgb(28, 28, 28);
    font-weight: 500;
    background: rgba(64, 67, 255, 0.06);
}

.guide-step.done-step {
    color: rgba(28, 28, 28, 0.35);
}

.step-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.step-num-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.08);
    color: rgb(28, 28, 28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.guide-step.active-step .step-num-badge {
    background: #4043FF;
    color: white;
}

/* --- 5. Brand Customization visual --- */
.brand-visual {
    background: linear-gradient(145deg, #F0E8FF 0%, #E8EDFF 50%, #FCEADF 100%);
}

.brand-panel {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Instrument Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: rgb(28, 28, 28);
}

.brand-applied-tag {
    font-size: 12px;
    font-weight: 500;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.brand-colors-row {
    display: flex;
    gap: 10px;
}

.brand-swatch {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.brand-swatch:hover {
    transform: scale(1.08);
}

.brand-font-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-font-label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: rgb(150, 150, 150);
}

.brand-font-sample {
    font-family: "Instrument Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: rgb(28, 28, 28);
    letter-spacing: -0.02em;
}

.brand-items-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.brand-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    color: rgb(80, 80, 80);
    padding: 8px 0;
}

.brand-check {
    color: #4043FF;
    font-weight: 700;
    font-size: 12px;
}

/* --- 6. Instant Publishing visual --- */
.publish-visual {
    background: linear-gradient(145deg, #FCEADF 0%, #FFE4D0 50%, #FFF0E5 100%);
}

.publish-panel {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publish-formats {
    display: flex;
    gap: 10px;
}

.publish-format {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(28, 28, 28, 0.03);
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgb(80, 80, 80);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: default;
}

.publish-format.active-format {
    background: #4043FF;
    color: white;
}

.publish-format.active-format svg {
    stroke: white;
}

.publish-link-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(28, 28, 28, 0.03);
    border-radius: 12px;
    padding: 16px 20px;
}

.publish-url {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: rgb(100, 100, 100);
}

.publish-copied {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
}

.publish-embed-preview {
    background: rgba(28, 28, 28, 0.03);
    border-radius: 12px;
    padding: 16px 20px;
}

.publish-embed-preview code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: rgba(28, 28, 28, 0.5);
}

/* ===== Core Feature Visuals — Animations (cfv-*) ===== */

/* --- 1. Autopilot Browser + Cursor --- */
.cfv-browser {
    width: 100%;
    max-width: 580px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
    background: white;
}

.cfv-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.cfv-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(28,28,28,0.1);
}

.cfv-browser-dots span:first-child { background: #ff5f57; }
.cfv-browser-dots span:nth-child(2) { background: #ffbd2e; }
.cfv-browser-dots span:nth-child(3) { background: #28c840; }

.cfv-browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    color: rgba(28,28,28,0.4);
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 5px 10px;
    border-radius: 6px;
}

.cfv-rec-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    color: #FF4444;
    background: rgba(255,68,68,0.08);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.cfv-rec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF4444;
    animation: cfv-rec-blink 1.2s ease-in-out infinite;
}

@keyframes cfv-rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.cfv-browser-viewport {
    position: relative;
    display: flex;
    min-height: 280px;
    background: #f5f5f7;
    overflow: hidden;
}

/* Mock sidebar */
.cfv-app-sidebar {
    width: 48px;
    background: #1c1c1c;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 10px;
}

.cfv-sb-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4043FF, #7B7DFF);
    margin-bottom: 8px;
}

.cfv-sb-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
}

.cfv-sb-item--active {
    background: rgba(64,67,255,0.4);
    box-shadow: inset 0 0 0 2px rgba(64,67,255,0.6);
}

/* Mock main content */
.cfv-app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cfv-app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: white;
}

.cfv-app-title {
    width: 100px;
    height: 12px;
    border-radius: 4px;
    background: rgba(28,28,28,0.12);
}

.cfv-app-cta {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: #4043FF;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.cfv-app-content {
    padding: 20px;
    display: flex;
    gap: 14px;
    flex: 1;
}

.cfv-app-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cfv-app-card-img {
    height: 60px;
    border-radius: 6px;
    background: linear-gradient(135deg, #e8edff, #f0e8ff);
}

.cfv-app-card-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(28,28,28,0.06);
}

.cfv-app-card-line--w80 { width: 80%; }
.cfv-app-card-line--w70 { width: 70%; }
.cfv-app-card-line--w50 { width: 50%; }
.cfv-app-card-line--w40 { width: 40%; }

/* Animated cursor */
.cfv-cursor {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    animation: cfv-cursor-path 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.cfv-cursor-label {
    position: absolute;
    top: -20px;
    left: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    color: white;
    background: #1c1c1c;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cfv-cursor-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 6px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #1c1c1c;
}

.cfv-cursor-ripple {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(64, 67, 255, 0.3);
    animation: cfv-cursor-click 8s ease infinite;
    transform: scale(0);
}

/* Cursor travels: sidebar item → CTA button → card 1 → card 2 → loops */
@keyframes cfv-cursor-path {
    0%   { top: 80px;  left: 24px;  }  /* start at sidebar */
    8%   { top: 80px;  left: 24px;  }  /* pause (click) */
    12%  { top: 120px; left: 24px;  }  /* move to next sidebar item */
    20%  { top: 120px; left: 24px;  }  /* pause (click) */
    30%  { top: 52px;  left: 80%;   }  /* move to CTA */
    38%  { top: 52px;  left: 80%;   }  /* pause (click) */
    50%  { top: 160px; left: 30%;   }  /* move to card 1 */
    58%  { top: 160px; left: 30%;   }  /* pause (click) */
    70%  { top: 160px; left: 70%;   }  /* move to card 2 */
    78%  { top: 160px; left: 70%;   }  /* pause (click) */
    90%  { top: 80px;  left: 24px;  }  /* return to start */
    100% { top: 80px;  left: 24px;  }  /* loop */
}

/* Click ripple synced to cursor pauses */
@keyframes cfv-cursor-click {
    0%, 7%   { transform: scale(0); opacity: 0.6; }
    9%       { transform: scale(2.5); opacity: 0; }
    10%, 19% { transform: scale(0); opacity: 0.6; }
    21%      { transform: scale(2.5); opacity: 0; }
    22%, 37% { transform: scale(0); opacity: 0.6; }
    39%      { transform: scale(2.5); opacity: 0; }
    40%, 57% { transform: scale(0); opacity: 0.6; }
    59%      { transform: scale(2.5); opacity: 0; }
    60%, 77% { transform: scale(0); opacity: 0.6; }
    79%      { transform: scale(2.5); opacity: 0; }
    80%, 100%{ transform: scale(0); opacity: 0; }
}

/* --- 2. Editing Timeline --- */
.cfv-editing-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cfv-editing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cfv-editing-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgb(28, 28, 28);
}

.cfv-editing-time {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: rgba(28, 28, 28, 0.4);
}

.cfv-timeline-tracks {
    position: relative;
    background: rgba(28, 28, 28, 0.02);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cfv-track {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cfv-track-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(28, 28, 28, 0.35);
    width: 40px;
    flex-shrink: 0;
    text-align: right;
}

.cfv-track-bar {
    flex: 1;
    height: 32px;
    position: relative;
    border-radius: 6px;
}

.cfv-clip {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 5px;
    opacity: 0;
    animation: cfv-clip-in 0.6s ease both;
}

.cfv-clip--blue {
    background: linear-gradient(135deg, #4043FF, #7B7DFF);
}

.cfv-clip--purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.cfv-clip:nth-child(1) { animation-delay: 0.1s; }
.cfv-clip:nth-child(2) { animation-delay: 0.25s; }
.cfv-clip:nth-child(3) { animation-delay: 0.4s; }

@keyframes cfv-clip-in {
    from { opacity: 0; transform: scaleX(0); transform-origin: left; }
    to { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

.cfv-waveform-mini {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 100%;
    padding: 6px 0;
}

.cfv-waveform-mini span {
    flex: 1;
    background: rgba(34, 197, 94, 0.5);
    border-radius: 2px;
    animation: cfv-wave-bar 1.6s ease-in-out infinite;
}

.cfv-waveform-mini span:nth-child(odd) { animation-delay: 0s; height: 40%; }
.cfv-waveform-mini span:nth-child(even) { animation-delay: 0.2s; height: 70%; }
.cfv-waveform-mini span:nth-child(3n) { animation-delay: 0.4s; height: 90%; }
.cfv-waveform-mini span:nth-child(4n) { animation-delay: 0.1s; height: 55%; }
.cfv-waveform-mini span:nth-child(5n) { animation-delay: 0.3s; height: 30%; }

@keyframes cfv-wave-bar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

.cfv-playhead {
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #FF4444;
    border-radius: 2px;
    z-index: 2;
    animation: cfv-playhead-sweep 6s linear infinite;
}

.cfv-playhead::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF4444;
}

@keyframes cfv-playhead-sweep {
    0% { left: 60px; }
    100% { left: calc(100% - 16px); }
}

.cfv-timeline-footer {
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: rgba(28, 28, 28, 0.25);
    padding: 0 4px;
}

.cfv-editing-tags {
    display: flex;
    gap: 8px;
}

.cfv-tag {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
}

.cfv-tag--cut {
    background: rgba(64, 67, 255, 0.08);
    color: #4043FF;
}

.cfv-tag--zoom {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.cfv-tag--pacing {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
}

/* --- 3. Voice Waveform --- */
.cfv-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 24px;
    flex: 1;
    max-width: 120px;
}

.cfv-waveform span {
    flex: 1;
    background: #4043FF;
    border-radius: 2px;
    animation: cfv-voice-wave 1.2s ease-in-out infinite;
}

.cfv-waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.cfv-waveform span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.cfv-waveform span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.cfv-waveform span:nth-child(4) { height: 50%; animation-delay: 0.05s; }
.cfv-waveform span:nth-child(5) { height: 80%; animation-delay: 0.15s; }
.cfv-waveform span:nth-child(6) { height: 100%; animation-delay: 0.25s; }
.cfv-waveform span:nth-child(7) { height: 60%; animation-delay: 0.08s; }
.cfv-waveform span:nth-child(8) { height: 40%; animation-delay: 0.18s; }
.cfv-waveform span:nth-child(9) { height: 70%; animation-delay: 0.12s; }
.cfv-waveform span:nth-child(10) { height: 50%; animation-delay: 0.22s; }
.cfv-waveform span:nth-child(11) { height: 30%; animation-delay: 0.06s; }
.cfv-waveform span:nth-child(12) { height: 60%; animation-delay: 0.16s; }

@keyframes cfv-voice-wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

.cfv-script-cursor {
    color: #4043FF;
    font-weight: 300;
    animation: cfv-cursor-blink 1s step-end infinite;
}

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

.cfv-line-reveal {
    animation: cfv-line-appear 0.6s ease both;
}

@keyframes cfv-line-appear {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- 4. Caption Cycling --- */
.cfv-caption-bar {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    white-space: nowrap;
}

.cfv-caption-words {
    display: flex;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.cfv-caption-word {
    animation: cfv-word-pop 4s ease-in-out infinite;
}

.cfv-caption-word--1 { animation-delay: 0s; }
.cfv-caption-word--2 {
    animation-delay: 0.3s;
    color: #8B8FFF;
    font-weight: 600;
}
.cfv-caption-word--3 { animation-delay: 0.6s; }
.cfv-caption-word--4 { animation-delay: 0.9s; }

@keyframes cfv-word-pop {
    0%, 100% { opacity: 1; transform: translateY(0); }
    10% { opacity: 0; transform: translateY(4px); }
    20% { opacity: 1; transform: translateY(0); }
}

.cfv-lang-switcher {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 4px;
}

.cfv-lang {
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cfv-lang--active {
    box-shadow: 0 0 0 2px #4043FF;
    transform: scale(1.1);
}

/* --- 5. Brand Kit Animations --- */
.cfv-swatch-pop {
    animation: cfv-swatch-appear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cfv-swatch-appear {
    from { opacity: 0; transform: scale(0.5) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.cfv-pulse-badge {
    animation: cfv-badge-pulse 2s ease-in-out infinite;
}

@keyframes cfv-badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.cfv-check-reveal {
    animation: cfv-check-slide 0.5s ease both;
}

@keyframes cfv-check-slide {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.cfv-check-icon {
    animation: cfv-check-pulse 2.5s ease-in-out infinite;
}

@keyframes cfv-check-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* --- 6. Locale Grid --- */
.cfv-locale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.cfv-locale-card {
    padding: 14px;
    background: #f8f8f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cfv-locale-pop {
    animation: cfv-locale-appear 0.5s ease both;
}

@keyframes cfv-locale-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cfv-locale-flag {
    font-size: 22px;
    flex-shrink: 0;
}

.cfv-locale-info {
    flex: 1;
    min-width: 0;
}

.cfv-locale-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(28, 28, 28);
    display: block;
    margin-bottom: 6px;
}

.cfv-locale-bar {
    height: 3px;
    background: rgba(28, 28, 28, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.cfv-locale-fill {
    height: 100%;
    border-radius: 3px;
    background: #22c55e;
    animation: cfv-bar-fill 1.5s ease both;
}

.cfv-locale-fill--active {
    background: linear-gradient(90deg, #4043FF, #7B7DFF);
    animation: cfv-bar-fill-pulse 1.5s ease both, cfv-bar-shimmer 2s ease-in-out infinite 1.5s;
}

@keyframes cfv-bar-fill {
    from { width: 0% !important; }
}

@keyframes cfv-bar-shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.cfv-locale-done {
    color: #22c55e;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.cfv-locale-more {
    margin-top: 16px;
    padding: 12px;
    background: #f0f4ff;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #4043FF;
}

/* --- 7. Fine-Tune Card --- */
.cfv-finetune-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cfv-finetune-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cfv-finetune-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.cfv-finetune-actions {
    display: flex;
    gap: 6px;
}

.cfv-finetune-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: background 0.2s, color 0.2s;
}

.cfv-finetune-timeline {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
}

.cfv-ft-tracks {
    position: relative;
}

.cfv-ft-clips {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.cfv-ft-clip {
    height: 44px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.cfv-ft-clip--1 { background: linear-gradient(135deg, #4043FF, #7B7DFF); }
.cfv-ft-clip--2 { background: linear-gradient(135deg, #667eea, #764ba2); }
.cfv-ft-clip--3 { background: linear-gradient(135deg, #f093fb, #f5576c); }

.cfv-ft-clip-wave {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.cfv-ft-playhead {
    position: absolute;
    top: 0;
    bottom: 30px;
    width: 2px;
    background: #FF4444;
    border-radius: 2px;
    z-index: 2;
    animation: cfv-ft-sweep 5s linear infinite;
}

.cfv-ft-playhead::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4444;
}

@keyframes cfv-ft-sweep {
    0% { left: 0; }
    100% { left: 100%; }
}

.cfv-ft-times {
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #999;
}

.cfv-finetune-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cfv-ft-control {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.cfv-ft-control:hover {
    background: #f0f0f4;
    transform: translateY(-1px);
}

.cfv-ft-control-pop {
    animation: cfv-control-pop 0.4s ease both;
}

@keyframes cfv-control-pop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.cfv-ft-control-label {
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.cfv-ft-control-sub {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    color: #666;
}

/* --- Responsive overrides for cfv visuals --- */
@media (max-width: 768px) {
    .cfv-browser { max-width: 100%; }
    .cfv-browser-viewport { min-height: 220px; }
    .cfv-app-content { padding: 12px; gap: 8px; }
    .cfv-app-card { padding: 10px; }
    .cfv-app-card-img { height: 40px; }
    .cfv-rec-badge { font-size: 9px; padding: 3px 8px; }

    .cfv-editing-card,
    .cfv-finetune-card {
        padding: 20px 16px;
        max-width: 100%;
    }

    .cfv-editing-tags { flex-wrap: wrap; }
    .cfv-waveform { max-width: 80px; }
    .cfv-locale-grid { grid-template-columns: 1fr; }
    .cfv-finetune-controls { grid-template-columns: repeat(2, 1fr); }
    .cfv-caption-bar { white-space: normal; padding: 10px 16px; }
    .cfv-caption-words { flex-wrap: wrap; font-size: 13px; }
    .cfv-lang-switcher { gap: 2px; }
    .cfv-lang { width: 28px; height: 28px; font-size: 14px; }
}

@media (max-width: 480px) {
    .cfv-finetune-controls { grid-template-columns: repeat(2, 1fr); }
    .cfv-waveform { display: none; }
    .cfv-app-sidebar { width: 36px; }
    .cfv-sb-logo { width: 22px; height: 22px; }
    .cfv-sb-item { width: 22px; height: 22px; }
    .cfv-app-cta { font-size: 10px; padding: 5px 10px; }
}

/* --- Small phone fix: prevent Core Features cropping below 430px --- */
@media (max-width: 430px) {
    .core-features-section {
        padding-left: 0;
        padding-right: 0;
    }

    .core-features-content {
        padding: 0 8px;
    }

    .core-feature-text {
        padding: 0 8px;
    }

    .core-feature-visual {
        padding: 14px 8px;
        overflow: hidden;
        border-radius: 14px;
    }

    .core-feature-visual > div {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Browser visual — tighten */
    .cfv-browser {
        max-width: 100%;
        border-radius: 10px;
    }

    .cfv-browser-bar {
        padding: 7px 8px;
        gap: 6px;
    }

    .cfv-browser-dots span {
        width: 7px;
        height: 7px;
    }

    .cfv-browser-url {
        font-size: 8px;
        padding: 3px 6px;
    }

    .cfv-rec-badge {
        font-size: 8px;
        padding: 2px 6px;
        gap: 3px;
    }

    .cfv-browser-viewport {
        min-height: 180px;
    }

    .cfv-app-sidebar {
        width: 30px;
        padding: 8px 0;
        gap: 6px;
    }

    .cfv-sb-logo {
        width: 18px;
        height: 18px;
        border-radius: 4px;
    }

    .cfv-sb-item {
        width: 18px;
        height: 18px;
    }

    .cfv-app-topbar {
        padding: 8px 10px;
    }

    .cfv-app-title {
        font-size: 10px;
    }

    .cfv-app-cta {
        font-size: 8px;
        padding: 3px 7px;
        border-radius: 4px;
    }

    .cfv-app-content {
        padding: 8px;
        gap: 6px;
    }

    .cfv-app-card {
        padding: 8px;
        border-radius: 6px;
    }

    .cfv-app-card-img {
        height: 30px;
        border-radius: 4px;
    }

    .cfv-app-card-line {
        height: 4px;
    }

    .cfv-cursor-label {
        font-size: 7px;
        padding: 2px 5px;
        top: -16px;
    }

    /* Editing card — tighten */
    .cfv-editing-card {
        padding: 16px 10px;
        gap: 12px;
    }

    .cfv-editing-title {
        font-size: 13px;
    }

    .cfv-editing-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .cfv-track-label {
        font-size: 8px;
        min-width: 30px;
    }

    .cfv-editing-tags {
        gap: 4px;
    }

    .cfv-editing-tag {
        font-size: 8px;
        padding: 2px 6px;
    }

    /* Script editor — tighten */
    .script-editor {
        padding: 16px 12px;
        font-size: 12px;
        line-height: 1.6;
        gap: 6px;
    }

    /* Finetune card */
    .cfv-finetune-card {
        padding: 16px 10px;
    }

    .cfv-finetune-title {
        font-size: 13px;
    }

    .cfv-ft-control {
        padding: 10px 8px;
    }

    /* Caption bar */
    .cfv-caption-bar {
        padding: 8px 10px;
        bottom: 30px;
    }

    .cfv-caption-words {
        font-size: 11px;
        gap: 3px;
    }

    .cfv-lang-switcher {
        gap: 1px;
    }

    .cfv-lang {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    /* Locale grid */
    .cfv-locale-grid {
        gap: 6px;
    }

    .cfv-locale-card {
        padding: 8px;
    }

    /* Brand panel */
    .brand-panel {
        padding: 16px 12px;
    }
}

/* ===== Why Demosmith Visuals — Animations (wdv-*) ===== */

/* --- 1. Smart Test Data — Typing Form Fill --- */
.wdv-form-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.wdv-form-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.wdv-form-bar-title {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.wdv-form-bar-badge {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    color: #4043FF;
    background: rgba(64,67,255,0.08);
    padding: 3px 8px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.wdv-form-bar-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: wdv-shimmer 3s ease-in-out infinite;
}

.wdv-form-rows {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wdv-form-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.wdv-form-row:last-child {
    border-bottom: none;
}

.wdv-form-label {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: 36px;
    flex-shrink: 0;
}

.wdv-form-val {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.wdv-form-text {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #1c1c1c;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 0;
}

.wdv-ft-1 { animation: wdv-type-1 7s ease infinite; }
.wdv-ft-2 { animation: wdv-type-2 7s ease infinite; }
.wdv-ft-3 { animation: wdv-type-3 7s ease infinite; }

.wdv-form-cursor {
    display: inline-block;
    width: 1.5px;
    height: 13px;
    background: #4043FF;
    margin-left: 1px;
    flex-shrink: 0;
}

.wdv-fc-1 { animation: wdv-cursor-1 7s step-end infinite; }
.wdv-fc-2 { animation: wdv-cursor-2 7s step-end infinite; }
.wdv-fc-3 { animation: wdv-cursor-3 7s step-end infinite; }

.wdv-form-check {
    flex-shrink: 0;
    transform: scale(0);
    opacity: 0;
}

.wdv-fchk-1 { animation: wdv-check-1 7s ease infinite; }
.wdv-fchk-2 { animation: wdv-check-2 7s ease infinite; }
.wdv-fchk-3 { animation: wdv-check-3 7s ease infinite; }

/* Typing keyframes — 7s total cycle */
@keyframes wdv-type-1 {
    0%, 5% { max-width: 0; }
    22% { max-width: 200px; }
    86% { max-width: 200px; }
    93% { max-width: 0; }
    100% { max-width: 0; }
}

@keyframes wdv-type-2 {
    0%, 28% { max-width: 0; }
    45% { max-width: 200px; }
    86% { max-width: 200px; }
    93% { max-width: 0; }
    100% { max-width: 0; }
}

@keyframes wdv-type-3 {
    0%, 51% { max-width: 0; }
    68% { max-width: 200px; }
    86% { max-width: 200px; }
    93% { max-width: 0; }
    100% { max-width: 0; }
}

/* Cursor blink — visible during typing window */
@keyframes wdv-cursor-1 {
    0% { opacity: 0; }
    5% { opacity: 1; }
    8% { opacity: 0; }
    11% { opacity: 1; }
    14% { opacity: 0; }
    17% { opacity: 1; }
    22% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes wdv-cursor-2 {
    0%, 28% { opacity: 0; }
    29% { opacity: 1; }
    32% { opacity: 0; }
    35% { opacity: 1; }
    38% { opacity: 0; }
    41% { opacity: 1; }
    45% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes wdv-cursor-3 {
    0%, 51% { opacity: 0; }
    52% { opacity: 1; }
    55% { opacity: 0; }
    58% { opacity: 1; }
    61% { opacity: 0; }
    64% { opacity: 1; }
    68% { opacity: 0; }
    100% { opacity: 0; }
}

/* Check mark — pops in after typing */
@keyframes wdv-check-1 {
    0%, 22% { transform: scale(0); opacity: 0; }
    26% { transform: scale(1.3); opacity: 1; }
    30% { transform: scale(1); }
    86% { transform: scale(1); opacity: 1; }
    93% { transform: scale(0); opacity: 0; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes wdv-check-2 {
    0%, 45% { transform: scale(0); opacity: 0; }
    49% { transform: scale(1.3); opacity: 1; }
    53% { transform: scale(1); }
    86% { transform: scale(1); opacity: 1; }
    93% { transform: scale(0); opacity: 0; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes wdv-check-3 {
    0%, 68% { transform: scale(0); opacity: 0; }
    72% { transform: scale(1.3); opacity: 1; }
    76% { transform: scale(1); }
    86% { transform: scale(1); opacity: 1; }
    93% { transform: scale(0); opacity: 0; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes wdv-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* --- 2. URL-first — Connection Flow --- */
.wdv-url-flow {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 320px;
}

.wdv-url-input {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.wdv-url-input span {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

.wdv-flow-beam {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(64,67,255,0.1), rgba(64,67,255,0.25), rgba(64,67,255,0.1));
    position: relative;
    min-width: 40px;
}

.wdv-beam-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4043FF;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: wdv-particle 2s ease-in-out infinite;
}

.wdv-bp-2 { animation-delay: 0.66s; }
.wdv-bp-3 { animation-delay: 1.33s; }

@keyframes wdv-particle {
    0% { left: 0; opacity: 0; transform: translateY(-50%) scale(0.5); }
    15% { opacity: 0.8; transform: translateY(-50%) scale(1); }
    85% { opacity: 0.8; transform: translateY(-50%) scale(1); }
    100% { left: calc(100% - 6px); opacity: 0; transform: translateY(-50%) scale(0.5); }
}

.wdv-agent-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4043FF, #7B7DFF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    animation: wdv-agent-pulse 2s ease-in-out infinite;
}

.wdv-agent-ring {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    border: 2px solid rgba(64,67,255,0.3);
    animation: wdv-ring-expand 2s ease-out infinite;
}

@keyframes wdv-agent-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes wdv-ring-expand {
    0% { inset: 0; opacity: 0.8; }
    100% { inset: -14px; opacity: 0; }
}

/* --- 3. Context-aware AI — UI Scanner --- */
.wdv-scanner {
    width: 100%;
    max-width: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wdv-scan-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4043FF, transparent);
    box-shadow: 0 0 12px rgba(64,67,255,0.4), 0 0 4px rgba(64,67,255,0.6);
    animation: wdv-scan 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes wdv-scan {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 1; }
    85% { opacity: 1; }
    90% { top: 100%; opacity: 0; }
    100% { top: 100%; opacity: 0; }
}

.wdv-ui-el {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.wdv-ui-nav-block {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid transparent;
    flex: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.wdv-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #4043FF;
}

.wdv-nav-line {
    height: 3px;
    width: 24px;
    background: #e0e0e0;
    border-radius: 2px;
}

.wdv-nl-short {
    width: 16px;
}

.wdv-ui-btn-block {
    background: #4043FF;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid transparent;
    flex: 1;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.wdv-ui-input-block {
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid transparent;
    flex: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.wdv-input-placeholder {
    height: 3px;
    width: 60%;
    background: #e0e0e0;
    border-radius: 2px;
}

.wdv-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
    font-weight: 600;
    color: #4043FF;
    background: rgba(64,67,255,0.08);
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    flex-shrink: 0;
}

/* Highlight + tag animations synced to scan beam (4s cycle) */
.wdv-el-1 .wdv-ui-nav-block { animation: wdv-highlight-1 4s ease infinite; }
.wdv-tag-1 { animation: wdv-tag-in-1 4s ease infinite; }

.wdv-el-2 .wdv-ui-btn-block { animation: wdv-highlight-btn 4s ease infinite; }
.wdv-tag-2 { animation: wdv-tag-in-2 4s ease infinite; }

.wdv-el-3 .wdv-ui-input-block { animation: wdv-highlight-3 4s ease infinite; }
.wdv-tag-3 { animation: wdv-tag-in-3 4s ease infinite; }

@keyframes wdv-highlight-1 {
    0%, 15% { border-color: transparent; }
    25% { border-color: rgba(64,67,255,0.5); }
    80% { border-color: rgba(64,67,255,0.5); }
    90% { border-color: transparent; }
    100% { border-color: transparent; }
}

@keyframes wdv-highlight-btn {
    0%, 35% { box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    45% { box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 0 0 2px rgba(64,67,255,0.5); }
    80% { box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 0 0 2px rgba(64,67,255,0.5); }
    90% { box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    100% { box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
}

@keyframes wdv-highlight-3 {
    0%, 50% { border-color: transparent; }
    60% { border-color: rgba(64,67,255,0.5); }
    80% { border-color: rgba(64,67,255,0.5); }
    90% { border-color: transparent; }
    100% { border-color: transparent; }
}

@keyframes wdv-tag-in-1 {
    0%, 20% { opacity: 0; transform: translateX(-6px); }
    30% { opacity: 1; transform: translateX(0); }
    80% { opacity: 1; transform: translateX(0); }
    90% { opacity: 0; transform: translateX(-6px); }
    100% { opacity: 0; transform: translateX(-6px); }
}

@keyframes wdv-tag-in-2 {
    0%, 40% { opacity: 0; transform: translateX(-6px); }
    50% { opacity: 1; transform: translateX(0); }
    80% { opacity: 1; transform: translateX(0); }
    90% { opacity: 0; transform: translateX(-6px); }
    100% { opacity: 0; transform: translateX(-6px); }
}

@keyframes wdv-tag-in-3 {
    0%, 55% { opacity: 0; transform: translateX(-6px); }
    65% { opacity: 1; transform: translateX(0); }
    80% { opacity: 1; transform: translateX(0); }
    90% { opacity: 0; transform: translateX(-6px); }
    100% { opacity: 0; transform: translateX(-6px); }
}

/* --- 4. One URL, Many Stories — Branch Fan --- */
.wdv-multi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.wdv-multi-source {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: wdv-source-glow 3s ease-in-out infinite;
}

@keyframes wdv-source-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
    50% { box-shadow: 0 2px 16px rgba(64,67,255,0.2); }
}

.wdv-multi-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 16px;
    position: relative;
}

.wdv-arrow-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #4043FF, rgba(64,67,255,0.15));
}

.wdv-multi-outputs {
    display: flex;
    gap: 10px;
    width: 100%;
}

.wdv-output {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 8px;
    border-radius: 10px;
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
}

.wdv-out-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: wdv-card-pop-1 5s ease infinite;
}

.wdv-out-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation: wdv-card-pop-2 5s ease infinite;
}

.wdv-out-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    animation: wdv-card-pop-3 5s ease infinite;
}

@keyframes wdv-card-pop-1 {
    0%, 10% { opacity: 0; transform: translateY(8px) scale(0.95); }
    20% { opacity: 1; transform: translateY(0) scale(1.03); }
    25% { opacity: 1; transform: translateY(0) scale(1); }
    80% { opacity: 1; transform: translateY(0) scale(1); }
    90% { opacity: 0; transform: translateY(8px) scale(0.95); }
    100% { opacity: 0; transform: translateY(8px) scale(0.95); }
}

@keyframes wdv-card-pop-2 {
    0%, 18% { opacity: 0; transform: translateY(8px) scale(0.95); }
    28% { opacity: 1; transform: translateY(0) scale(1.03); }
    33% { opacity: 1; transform: translateY(0) scale(1); }
    80% { opacity: 1; transform: translateY(0) scale(1); }
    90% { opacity: 0; transform: translateY(8px) scale(0.95); }
    100% { opacity: 0; transform: translateY(8px) scale(0.95); }
}

@keyframes wdv-card-pop-3 {
    0%, 26% { opacity: 0; transform: translateY(8px) scale(0.95); }
    36% { opacity: 1; transform: translateY(0) scale(1.03); }
    41% { opacity: 1; transform: translateY(0) scale(1); }
    80% { opacity: 1; transform: translateY(0) scale(1); }
    90% { opacity: 0; transform: translateY(8px) scale(0.95); }
    100% { opacity: 0; transform: translateY(8px) scale(0.95); }
}

/* --- 5. Cinema-grade Rendering — Quality Showcase --- */
.wdv-cinema {
    width: 100%;
    max-width: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    position: relative;
    padding: 20px 24px;
}

.wdv-cinema-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.35;
}

.wdv-cinema-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wdv-res-badge {
    text-align: center;
}

.wdv-res-num {
    font-family: "Instrument Sans", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(64,67,255,0.5);
    animation: wdv-res-glow 3s ease-in-out infinite;
}

@keyframes wdv-res-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(64,67,255,0.3); }
    50% { text-shadow: 0 0 50px rgba(64,67,255,0.6), 0 0 100px rgba(64,67,255,0.2); }
}

.wdv-quality-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.wdv-quality-label {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.wdv-quality-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.wdv-quality-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #4043FF, #818cf8);
    animation: wdv-fill 4s ease-in-out infinite;
}

@keyframes wdv-fill {
    0% { width: 0; }
    30% { width: 100%; }
    85% { width: 100%; }
    95% { width: 0; }
    100% { width: 0; }
}

.wdv-quality-pct {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
    min-width: 28px;
    text-align: right;
}

.wdv-cinema-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    animation: wdv-badge-fade 4s ease infinite;
}

.wdv-cinema-badge svg {
    color: #fbbf24;
}

@keyframes wdv-badge-fade {
    0%, 20% { opacity: 0; transform: translateY(4px); }
    35% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    95% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 0; transform: translateY(4px); }
}

/* --- Responsive overrides for wdv visuals --- */
@media (max-width: 768px) {
    .wdv-form-card { max-width: 100%; }
    .wdv-url-flow { max-width: 100%; }
    .wdv-scanner { max-width: 100%; }
    .wdv-multi { max-width: 100%; }
    .wdv-cinema { max-width: 100%; }
    .wdv-multi-outputs { gap: 6px; }
    .wdv-output { padding: 10px 6px; font-size: 9px; }
}

@media (max-width: 480px) {
    .wdv-url-input span { font-size: 8px; }
    .wdv-beam-particle { width: 5px; height: 5px; }
    .wdv-output svg { width: 12px; height: 12px; }
    .wdv-res-num { font-size: 30px; }
}

/* ---- Core Features Responsive ---- */
@media (max-width: 768px) {
    .core-features-section {
        padding: 60px 0 40px;
        gap: 40px;
        overflow: visible;
    }

    .core-features-header {
        padding: 0 16px;
    }

    .core-features-header .section-title {
        font-size: 34px;
    }

    .core-features-body {
        grid-template-columns: 1fr;
        gap: 24px;
        overflow: visible;
    }

    .core-features-nav {
        position: relative;
        top: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        scrollbar-width: none;
    }

    .core-features-nav::-webkit-scrollbar {
        display: none;
    }

    .core-nav-list {
        flex-direction: row;
        gap: 0;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .core-nav-item {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .core-features-content {
        padding: 0 16px;
    }

    .core-feature-block {
        padding-bottom: 48px;
    }

    .core-feature-text h3 {
        font-size: 24px;
    }

    .core-feature-text p {
        font-size: 15px;
    }

    /* Visual cards - prevent cropping */
    .core-feature-visual {
        padding: 16px;
        min-height: auto;
        border-radius: 16px;
        overflow: visible;
    }

    /* Script editor card */
    .script-editor {
        padding: 20px 16px;
        border-radius: 14px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.6;
    }

    .script-line {
        gap: 3px;
    }

    /* Voice selector */
    .voice-selector {
        max-width: 100%;
        padding: 6px;
    }

    .voice-row {
        padding: 10px 12px;
        gap: 10px;
    }

    .voice-play {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .voice-name {
        font-size: 14px;
    }

    .voice-tags {
        display: none;
    }

    /* Zoom browser */
    .zoom-visual {
        padding: 16px;
    }

    .zoom-browser {
        max-width: 100%;
    }

    .zoom-screen {
        min-height: 200px;
    }

    /* Guide avatars */
    .guide-avatars {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        max-width: 100%;
    }

    .guide-avatar-card {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        padding: 16px 10px;
    }

    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .avatar-label {
        font-size: 12px;
    }

    .avatar-status {
        font-size: 11px;
    }

    .guide-steps {
        max-width: 100%;
        padding: 14px 16px;
    }

    .guide-step {
        font-size: 14px;
        padding: 10px 8px;
    }

    /* Brand panel */
    .brand-panel {
        max-width: 100%;
        padding: 20px 16px;
    }

    .brand-swatch {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .brand-font-sample {
        font-size: 20px;
    }

    .brand-items-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .brand-check-item {
        font-size: 13px;
        padding: 6px 0;
    }

    /* Publish panel */
    .publish-panel {
        max-width: 100%;
        padding: 20px 16px;
    }

    .publish-formats {
        flex-wrap: wrap;
        gap: 6px;
    }

    .publish-format {
        padding: 10px 14px;
        font-size: 13px;
    }

    .publish-link-bar {
        padding: 12px 14px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .publish-url {
        font-size: 12px;
        word-break: break-all;
    }

    .publish-embed-preview code {
        font-size: 12px;
    }
}

/* Responsive pricing */
@media (max-width: 900px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 400px;
        width: 100%;
        min-width: unset;
    }
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 96px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 42px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.faq-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    background: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.faq-list {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
}

.faq-item {
    background: rgb(246, 246, 246);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0px 0.6021873017743928px 0.6021873017743928px 0px rgba(28, 28, 28, 0.01), 
        0px 2.288533303243457px 2.288533303243457px 0px rgba(28, 28, 28, 0.03), 
        0px 10px 10px 0px rgba(28, 28, 28, 0.12), 
        0px -6px 6px -5px rgb(255, 255, 255);
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: scale(1.01);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 16px;
}

.faq-question-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: rgb(28, 28, 28);
    text-align: left;
    margin: 0;
    flex: 1;
}

.faq-icon-wrapper {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(28, 28, 28);
    border-radius: 100px;
    flex-shrink: 0;
}

.faq-icon {
    width: 16px;
    height: 16px;
}

.faq-icon-minus {
    display: none;
}

.faq-icon-plus {
    display: block;
}

.faq-item.active .faq-icon-minus {
    display: block;
}

.faq-item.active .faq-icon-plus {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: rgb(84, 84, 84);
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

/* FAQ Section Responsive */
@media (max-width: 809px) {
    .faq-section {
        padding: 48px 20px;
        gap: 32px;
        max-width: unset;
    }
    
    .faq-title {
        font-size: 32px;
        max-width: 338px;
    }
    
    .faq-list {
        max-width: unset;
        padding: 0;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 60px 20px 30px;
    margin: 40px 20px 20px;
    border-radius: var(--radius-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--bg-white);
}

.footer-sponsors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-sponsors-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
}

.footer-sponsors a {
    display: flex;
    align-items: center;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.footer-sponsors a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar,
    .dashboard-right {
        display: none;
    }
    
    .features-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        flex-direction: column;
        gap: 32px;
    }
    
    .feature-card.wide {
        grid-column: span 1;
    }

    .feature-card.wide.shift-right {
        grid-column: span 1;
    }
    
    .scale-features,
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inside-surface {
        grid-template-columns: 1fr;
    }
    
    .app-showcase {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 280px;
        max-width: 340px;
    }
    
    .testimonial-card.center-card {
        transform: translateY(-4px);
    }
}

@media (max-width: 810px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-container {
        padding: 12px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .phone-mockup {
        width: 200px;
    }
    
    .testimonial-card {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 100%;
    }
    
    .testimonial-card.center-card {
        transform: none;
    }

    .comparison-card {
        padding: 24px;
    }

    .comparison-card h3 {
        font-size: 32px;
    }

    .stats-bar {
        padding: 24px;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stats-bar .stat-value {
        font-size: 32px;
    }

    /* Hero section */
    .hero {
        padding: 130px 20px 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 17px;
        max-width: 100%;
        line-height: 1.5;
    }

    /* Section headers */
    .section-title {
        font-size: 44px;
        line-height: 1.15;
    }

    .section-subtitle {
        font-size: 17px;
        line-height: 1.5;
    }

    body {
        font-size: 16px;
    }

    /* Problem section */
    .problem-section {
        padding: 60px 20px;
    }

    .problem-header {
        gap: 30px;
    }

    /* Why section */
    .why-section {
        padding: 60px 20px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-card h4 {
        font-size: 1.05rem;
    }

    .feature-card > p {
        font-size: 0.85rem;
    }

    /* Comparison section */
    .comparison-section {
        padding: 60px 20px;
    }

    .comparison-label {
        font-size: 14px;
        padding: 6px 16px;
    }

    /* Demo section */
    .demo-section {
        padding: 60px 20px;
    }

    .demo-video-container {
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    /* Navigation */
    .navbar {
        top: 16px;
        padding: 0 16px;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 10px 16px;
    }

    .nav-logo .logo-full {
        height: 28px;
    }

    .nav-cta {
        padding: 10px 18px;
        font-size: 15px;
    }

    .nav-cta .rolling-text-container {
        height: 15px;
    }

    .nav-cta .rolling-text span {
        font-size: 15px;
        line-height: 15px;
    }

    /* Hero section */
    .hero {
        padding: 110px 16px 40px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Section headers */
    .section-header {
        gap: 16px;
        padding: 0 16px;
    }

    .section-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .section-badge svg {
        width: 13px;
        height: 13px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 8px;
    }

    /* All images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Problem card images */
    .problem-card-img {
        max-width: 100%;
        height: auto;
    }

    /* Problem section */
    .problem-section {
        padding: 50px 20px;
    }

    .problem-header {
        padding: 0 16px;
    }

    .problem-header h2 {
        font-size: 30px;
    }

    .problem-cards {
        padding: 0 16px;
    }

    .problem-card {
        padding: 24px 20px;
    }

    .problem-card-icon {
        width: 44px;
        height: 44px;
    }

    .problem-card h3 {
        font-size: 19px;
    }

    .problem-card p {
        font-size: 15px;
    }

    /* Why Demosmith section */
    .why-section {
        padding: 50px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card-preview {
        height: 140px;
        padding: 14px;
        margin-bottom: 14px;
    }

    .feature-card.wide .feature-card-preview {
        height: 140px;
    }

    .feature-card h4 {
        font-size: 17px;
    }

    .feature-card > p {
        font-size: 15px;
    }

    /* Comparison section */
    .comparison-section {
        padding: 50px 20px;
    }

    .comparison-card {
        padding: 24px 20px;
    }

    .comparison-card h3 {
        font-size: 30px;
    }

    .comparison-list li {
        font-size: 15px;
        gap: 12px;
    }

    .x-icon,
    .check-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .trial-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Stats bar */
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Demo section */
    .demo-section {
        padding: 50px 20px;
    }

    .demo-video-wrapper {
        padding: 0;
    }

    .demo-more-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Built for you section */
    .built-for-you-section {
        padding: 50px 20px;
    }

    .bfy-title {
        font-size: 34px;
    }

    .bfy-subtitle {
        font-size: 16px;
    }

    .bfy-nav-item {
        padding: 14px 18px;
        font-size: 15px;
    }

    /* Final CTA */
    .final-cta-section {
        padding: 48px 20px;
    }

    .final-cta-title {
        font-size: 30px;
    }

    .final-cta-subtitle {
        font-size: 16px;
    }

    .final-cta-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .final-cta-image {
        max-width: 200px;
    }

    /* Pricing section */
    .pricing-section {
        padding: 50px 20px;
    }

    .pricing-cards {
        gap: 18px;
    }

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

    .pricing-plan-name {
        font-size: 19px;
    }

    .pricing-desc {
        font-size: 14px;
    }

    .price {
        font-size: 38px;
    }

    .period {
        font-size: 15px;
    }

    .pricing-features li {
        font-size: 14px;
    }

    /* Core features section */
    .core-features-section {
        padding: 50px 20px 40px;
    }

    .core-features-nav {
        gap: 10px;
        padding: 0;
    }

    .core-nav-btn {
        padding: 14px 18px;
        font-size: 14px;
    }

    .core-feature-text h3 {
        font-size: 26px;
    }

    .core-feature-text p {
        font-size: 15px;
    }

    /* Workflow section */
    .workflow-section {
        padding: 50px 20px;
    }

    .workflow-title {
        font-size: 30px;
    }

    .workflow-subtitle {
        font-size: 15px;
    }

    .wf-card {
        padding: 14px 16px;
    }

    .wf-card-title {
        font-size: 14px;
    }

    .wf-card-sub {
        font-size: 12px;
    }

    /* Footer */
    .footer-section {
        padding: 50px 20px 32px;
    }

    .footer-logo-img {
        height: 34px;
    }

    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .footer-column a {
        font-size: 15px;
        padding: 8px 0;
    }

    .footer-copyright {
        font-size: 14px;
    }

    .footer-content {
        gap: 36px;
    }

    /* Hero typing animation */
    .browser-frame {
        border-radius: 12px;
    }

    .prompt-input-area {
        padding: 24px 20px;
    }

    .prompt-input {
        padding: 16px 18px;
        font-size: 14px;
        min-height: 60px;
        border-radius: 10px;
    }

    .loading-container {
        padding: 32px 20px;
    }

    .loading-spinner {
        width: 44px;
        height: 44px;
        border-width: 4px;
    }

    .loading-text {
        font-size: 13px;
    }

    .demo-video-placeholder {
        font-size: 20px;
    }

    .video-play-icon {
        width: 60px;
        height: 60px;
    }
}

/* Additional tablet breakpoint */
@media (max-width: 900px) and (min-width: 769px) {
    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 46px;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 12px 24px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card.wide {
        grid-column: span 2;
    }
}

/* Large mobile landscape */
@media (max-width: 900px) and (min-width: 600px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-cards {
        grid-template-columns: 1fr;
    }
}

/* Hero Typing Animation Styles */
.hero-typing-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0s;
    opacity: 0;
}

/* Browser frame styling */
.browser-frame {
    border: 2px solid transparent;
    border-radius: 16px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) border-box;
    box-shadow:
        0 32px 64px -12px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 80px -20px rgba(99, 102, 241, 0.3);
    overflow: hidden;
    position: relative;
    animation: borderGlow 8s ease infinite;
}

@keyframes borderGlow {
    0%, 100% {
        background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) border-box;
    }
    50% {
        background:
            linear-gradient(#fff, #fff) padding-box,
            linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #6366f1 100%) border-box;
    }
}

/* Input area */
.prompt-input-area {
    padding: 40px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
}

.prompt-input-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.prompt-label {
    font-size: 13px;
    color: #6366f1;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.prompt-input {
    width: 100%;
    padding: 20px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f3 100%);
    min-height: 80px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    z-index: 1;
}

.prompt-input:focus-within {
    border-color: #6366f1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 2px 6px rgba(0, 0, 0, 0.02),
        0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.3em;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
    margin-left: 3px;
    animation: blink 1s infinite;
    vertical-align: middle;
    border-radius: 2px;
}

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

/* Create button */
.create-button-container {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.create-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: gradientShift 6s ease infinite;
}

.create-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.create-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(99, 102, 241, 0.45),
        0 4px 12px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.create-button:hover::before {
    left: 100%;
}

.create-button:active {
    transform: translateY(0) scale(0.98);
}

.create-button.clicked {
    animation: buttonClick 0.3s ease;
}

@keyframes buttonClick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); }
}

/* Mouse cursor */
.mouse-cursor {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.mouse-cursor svg {
    width: 100%;
    height: 100%;
}

.mouse-cursor.clicking {
    animation: cursorClick 0.2s ease;
}

@keyframes cursorClick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.8); }
}

/* Loading state */
.loading-container {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background:
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e0e7ff 100%);
    position: relative;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid #e2e8f0;
    border-top-color: #6366f1;
    border-right-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #6366f1;
    font-size: 15px;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Demo preview */
.demo-preview {
    padding: 32px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    display: none;
}

.demo-preview.active {
    display: block;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 33%, #f093fb 66%, #6366f1 100%);
    background-size: 300% 300%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(102, 126, 234, 0.4),
        0 8px 16px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animated gradient for demo placeholder */
.demo-video-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Video play icon */
.video-play-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: playIconPulse 2s ease-in-out infinite;
}

.video-play-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-icon:hover svg {
    transform: scale(1.1);
}

@keyframes playIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Workflow Animation Section ===== */
.workflow-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.workflow-left {
    flex: 0 0 420px;
    max-width: 420px;
}

.workflow-left .section-badge {
    margin-bottom: 28px;
}

.workflow-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 44px;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.workflow-subtitle {
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #888;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 360px;
}

/* Workflow CTA button */
.workflow-cta {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 6px 6px 6px 22px;
    background: transparent;
    border: 1px solid rgba(28, 28, 28, 0.15);
    border-radius: 50px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1c1c1c;
    text-decoration: none;
    transition: border-color 0.35s ease, background 0.35s ease;
    position: relative;
    cursor: pointer;
}

.workflow-cta-text {
    display: flex;
    flex-direction: column;
    height: 18px;
    overflow: hidden;
    position: relative;
    margin-right: 14px;
}

.workflow-cta-text span {
    display: block;
    height: 18px;
    line-height: 18px;
    white-space: nowrap;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.workflow-cta:hover .workflow-cta-text span {
    transform: translateY(-18px);
}

.workflow-cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1c1c1c;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.workflow-cta-arrow svg {
    width: 18px;
    height: 18px;
    color: #fff;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.workflow-cta:hover {
    border-color: rgba(28, 28, 28, 0.35);
}

.workflow-cta:hover .workflow-cta-arrow svg {
    transform: translateX(3px);
}

.workflow-right {
    flex: 0 0 440px;
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* ===== Workflow Animation ===== */
#workflow-animation-container.wf-modern {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 620px;
}

.wf-ambient-glow {
    display: none;
}

#workflow-animation-container.wf-modern .workflow-svg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 2;
}

/* Track paths (faint guide lines always visible) */
#workflow-animation-container.wf-modern .wf-tracks path {
    fill: none;
    stroke: rgba(28, 28, 28, 0.07);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 2 6;
}

/* Active paths (drawn by particle) */
#workflow-animation-container.wf-modern [id^="wf-path-"] {
    fill: none;
    stroke: rgba(28, 28, 28, 0.22);
    stroke-width: 2;
    stroke-linecap: round;
}

/* ===== Workflow Card Animations ===== */
@keyframes wf-card-enter {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px) scale(0.92);
    }
    65% {
        opacity: 1;
        transform: translateX(-50%) translateY(-2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes wf-card-enter-branch {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.92);
    }
    65% {
        opacity: 1;
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wf-diamond-enter {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    65% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes wf-pill-enter {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    65% {
        transform: scale(1.12);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Workflow Cards */
#workflow-animation-container.wf-modern .wf-card {
    position: absolute;
    width: 224px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(28, 28, 28, 0.04),
                0 0 0 1px rgba(28, 28, 28, 0.02);
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
    box-sizing: border-box;
    z-index: 10;
    opacity: 0;
    transform: translateX(-50%) translateY(14px) scale(0.92);
}

#workflow-animation-container.wf-modern .wf-card.wf-visible {
    animation: wf-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Card Icon */
#workflow-animation-container.wf-modern .wf-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #f5f5f5;
    color: #1c1c1c;
}

#workflow-animation-container.wf-modern .wf-icon-recording {
    background: #f5f5f5;
    color: #1c1c1c;
}

#workflow-animation-container.wf-modern .wf-icon-done {
    background: #1c1c1c;
    color: #ffffff;
}

/* Card Content */
#workflow-animation-container.wf-modern .wf-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#workflow-animation-container.wf-modern .wf-card-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1c;
    white-space: nowrap;
}

#workflow-animation-container.wf-modern .wf-card-sub {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Positions */
#wf-card-url { top: 0; left: 50%; }
#wf-card-describe { top: 80px; left: 50%; }
#wf-card-record { top: 160px; left: 50%; }
#wf-card-edit { top: 240px; left: 50%; }
#wf-card-final { top: 472px; left: 50%; }
#wf-card-share { top: 552px; left: 50%; }

/* Share card */
#workflow-animation-container.wf-modern .wf-card-success {
    border-color: rgba(28, 28, 28, 0.12);
}

/* Branch Cards */
#workflow-animation-container.wf-modern .wf-card-branch-left {
    top: 392px;
    left: 12px;
    width: 170px;
    transform: translateY(14px) scale(0.92);
}

#workflow-animation-container.wf-modern .wf-card-branch-right {
    top: 392px;
    right: 12px;
    left: auto;
    width: 170px;
    transform: translateY(14px) scale(0.92);
}

#workflow-animation-container.wf-modern .wf-card-branch-left.wf-visible,
#workflow-animation-container.wf-modern .wf-card-branch-right.wf-visible {
    animation: wf-card-enter-branch 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Diamond (Branch Decision) */
#workflow-animation-container.wf-modern .wf-diamond {
    position: absolute;
    top: 324px;
    left: 50%;
    width: 110px;
    height: 42px;
    transform: translateX(-50%) scale(0);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    opacity: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

#workflow-animation-container.wf-modern .wf-diamond.wf-visible {
    animation: wf-diamond-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#workflow-animation-container.wf-modern .wf-diamond span {
    font-family: "Instrument Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1c1c1c;
    white-space: nowrap;
}

/* Yes / No Pills */
#workflow-animation-container.wf-modern .wf-pill {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    z-index: 15;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#workflow-animation-container.wf-modern .wf-pill.wf-visible {
    animation: wf-pill-enter 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#workflow-animation-container.wf-modern .wf-pill-yes {
    top: 370px;
    left: 110px;
    color: #1c1c1c;
}

#workflow-animation-container.wf-modern .wf-pill-no {
    top: 370px;
    right: 110px;
    color: #999;
}

/* ===== Workflow Idle Float ===== */
@keyframes wf-float-center {
    0% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-4px) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes wf-float-branch {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-4px) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

#workflow-animation-container.wf-idle .wf-card.wf-visible {
    animation: wf-float-center 5.5s cubic-bezier(0.37, 0, 0.63, 1) infinite !important;
    opacity: 1 !important;
}

#workflow-animation-container.wf-idle .wf-card-branch-left.wf-visible,
#workflow-animation-container.wf-idle .wf-card-branch-right.wf-visible {
    animation: wf-float-branch 5.5s cubic-bezier(0.37, 0, 0.63, 1) infinite !important;
    opacity: 1 !important;
}

/* Staggered float delays for organic wave */
#workflow-animation-container.wf-idle #wf-card-url { animation-delay: 0s !important; }
#workflow-animation-container.wf-idle #wf-card-describe { animation-delay: 0.35s !important; }
#workflow-animation-container.wf-idle #wf-card-record { animation-delay: 0.7s !important; }
#workflow-animation-container.wf-idle #wf-card-edit { animation-delay: 1.05s !important; }
#workflow-animation-container.wf-idle #wf-card-branded { animation-delay: 1.2s !important; }
#workflow-animation-container.wf-idle #wf-card-clean { animation-delay: 1.35s !important; }
#workflow-animation-container.wf-idle #wf-card-final { animation-delay: 1.5s !important; }
#workflow-animation-container.wf-idle #wf-card-share { animation-delay: 1.7s !important; }

/* ===== Workflow Exit Animations ===== */
@keyframes wf-card-exit-center {
    from { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    to { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(0.95); }
}

@keyframes wf-card-exit-branch {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-8px) scale(0.95); }
}

@keyframes wf-diamond-exit {
    from { opacity: 1; transform: translateX(-50%) scale(1); }
    to { opacity: 0; transform: translateX(-50%) scale(0.7); }
}

@keyframes wf-pill-exit {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0); }
}

#workflow-animation-container.wf-modern .wf-card.wf-exit {
    animation: wf-card-exit-center 0.35s ease-in forwards !important;
}

#workflow-animation-container.wf-modern .wf-card-branch-left.wf-exit,
#workflow-animation-container.wf-modern .wf-card-branch-right.wf-exit {
    animation: wf-card-exit-branch 0.35s ease-in forwards !important;
}

#workflow-animation-container.wf-modern .wf-diamond.wf-exit {
    animation: wf-diamond-exit 0.3s ease-in forwards !important;
}

#workflow-animation-container.wf-modern .wf-pill.wf-exit {
    animation: wf-pill-exit 0.25s ease-in forwards !important;
}

/* ===== Diamond Pulse ===== */
@keyframes wf-diamond-pulse {
    0% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)); }
    35% { transform: translateX(-50%) scale(1.12); filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15)); }
    65% { transform: translateX(-50%) scale(0.97); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1)); }
    100% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)); }
}

#workflow-animation-container.wf-modern .wf-diamond.wf-pulse {
    animation: wf-diamond-pulse 0.7s ease-in-out !important;
    opacity: 1 !important;
}

/* ===== Icon Micro-animations ===== */
/* URL card - link snap on appear */
@keyframes wf-icon-snap {
    0% { transform: scale(0.7); opacity: 0.3; }
    60% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

#wf-card-url.wf-visible .wf-card-icon svg {
    animation: wf-icon-snap 0.4s ease-out 0.25s both;
}

/* Record card - recording dot pulse (only while wf-recording-active) */
@keyframes wf-recording-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

#wf-card-record.wf-recording-active .wf-icon-recording svg circle:last-child {
    transform-box: fill-box;
    transform-origin: center;
    animation: wf-recording-pulse 0.8s ease-in-out infinite;
}

/* Recording glow ring on outer circle */
@keyframes wf-recording-ring {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.4; }
}

#wf-card-record.wf-recording-active .wf-icon-recording svg circle:first-child {
    stroke: #c44;
    animation: wf-recording-ring 0.8s ease-in-out infinite;
}

/* Edit card - pencil wiggle */
@keyframes wf-edit-wiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-4deg); }
    80% { transform: rotate(2deg); }
}

#wf-card-edit.wf-visible .wf-card-icon svg {
    transform-box: fill-box;
    transform-origin: 80% 80%;
    animation: wf-edit-wiggle 0.5s ease-in-out 0.3s;
}

/* Share card - checkmark draw */
#wf-card-share .wf-icon-done svg polyline {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    stroke: #fff;
    stroke-width: 3;
}

#wf-card-share.wf-check-animate .wf-icon-done svg polyline {
    animation: wf-check-draw 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes wf-check-draw {
    to { stroke-dashoffset: 0; }
}

/* Workflow Responsive */
@media (max-width: 1000px) {
    .workflow-content {
        flex-direction: column;
        gap: 50px;
    }

    .workflow-left {
        flex: none;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .workflow-subtitle {
        max-width: 480px;
    }

    .workflow-title {
        font-size: 38px;
    }

    .workflow-right {
        flex: none;
        width: 100%;
        max-width: 440px;
    }
}

@media (max-width: 600px) {
    .workflow-section {
        padding: 60px 16px;
    }

    .workflow-title {
        font-size: 30px;
    }

    .workflow-cta {
        width: 100%;
        justify-content: center;
    }

    .workflow-right {
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        overflow: hidden !important;
        /* Constrain to the visual height after scale */
        height: 430px !important;
        min-height: 430px !important;
        margin-top: 0 !important;
    }

    /* Scale the entire animation — preserve the exact desktop look, just smaller */
    #workflow-animation-container {
        transform: scale(0.68) !important;
        transform-origin: top center !important;
        /* Keep original dimensions — the parent clips */
        width: 440px !important;
        min-width: 440px !important;
        height: 620px !important;
        min-height: 620px !important;
        max-width: none !important;
        flex-shrink: 0 !important;
    }
}

/* ===== Hero Trust Points ===== */
.hero-trust-points {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin: -8px 0 8px;
}

.hero-trust-points span {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 16px;
}

.hero-trust-points span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
}

.hero-microcopy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -4px;
    letter-spacing: 0.01em;
}

/* ===== How It Works Section ===== */
.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hiw-step {
    display: grid;
    grid-template-columns: 56px 1fr 1fr;
    gap: 24px;
    align-items: start;
    padding: 32px 0;
}

.hiw-step-number {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
    padding-top: 4px;
    letter-spacing: -0.02em;
}

.hiw-step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.hiw-step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hiw-step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-url-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    width: 100%;
    max-width: 320px;
}

.hiw-url-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.hiw-url-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hiw-prompt-box {
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 100%;
    max-width: 320px;
}

.hiw-prompt-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.hiw-prompt-text {
    font-size: 13px;
    color: #ccc;
    line-height: 1.5;
    font-style: italic;
}

.hiw-output-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

.hiw-video-mock {
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.hiw-output-meta {
    display: flex;
    gap: 8px;
}

.hiw-output-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(64, 67, 255, 0.1);
    color: var(--accent-blue);
    letter-spacing: 0.03em;
}

.hiw-connector {
    display: flex;
    justify-content: center;
    padding-left: 28px;
}

.hiw-bottom-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hiw-step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hiw-step-number {
        font-size: 24px;
    }

    .hiw-step-visual {
        justify-content: flex-start;
    }

    .hiw-connector {
        padding-left: 0;
    }
}

/* ===== Smart Data Fields (Feature Card) ===== */
.smart-data-fields {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 6px;
}

.data-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid var(--border-light);
}

.data-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.data-value {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

/* ===== Editing Preview (Feature Card) ===== */
.editing-preview {
    padding: 16px;
}

.edit-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-track {
    display: flex;
    gap: 3px;
    align-items: center;
    height: 32px;
}

.edit-clip {
    height: 100%;
    background: rgba(64, 67, 255, 0.15);
    border-radius: 4px;
    flex-shrink: 0;
}

.edit-zoom-marker {
    width: 3px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 2px;
    flex-shrink: 0;
}

.edit-labels {
    display: flex;
    gap: 3px;
    align-items: center;
}

.edit-labels span {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
    text-align: center;
}

/* ===== Sharing Preview (Feature Card) ===== */
.sharing-preview {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-options {
    display: flex;
    gap: 8px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    transition: all 0.2s;
}

.share-option.active-share {
    background: rgba(64, 67, 255, 0.08);
    border-color: rgba(64, 67, 255, 0.3);
    color: var(--accent-blue);
}

.share-link-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
}

.copy-badge {
    font-size: 10px;
    color: var(--accent-green);
    font-weight: 600;
    font-family: var(--font-sans);
}

/* ===== Brand Kit Preview (Feature Card) ===== */
.brand-kit-preview {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-kit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-kit-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.brand-kit-status {
    font-size: 10px;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-kit-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.brand-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.brand-font-sample {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--text-secondary);
    padding-left: 8px;
}

.brand-kit-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-item-check {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.08);
    color: var(--accent-green);
    font-weight: 500;
}

.brand-item-check::before {
    content: '\2713 ';
}

/* ===== Built for You Section ===== */
/* ===== Built For You — Sidebar + Video ===== */
.built-for-you-section {
    width: 100%;
    max-width: 1224px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* Header — left-aligned*/
.bfy-header {
    margin-bottom: 48px;
}

.bfy-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 52px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgb(23, 23, 23);
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.bfy-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgb(92, 92, 92);
    line-height: 1.5;
}

/* Main layout container */
.bfy-content {
    width: 100%;
}

.bfy-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

/* Sidebar */
.bfy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    width: auto;
    padding-top: 4px;
}

.bfy-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 16px 16px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgb(92, 92, 92);
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    white-space: nowrap;
}

.bfy-nav-item svg {
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.bfy-nav-item:hover {
    color: rgb(28, 28, 28);
    background: rgba(247, 247, 247, 0.6);
}

.bfy-nav-item:hover svg {
    opacity: 0.7;
}

.bfy-nav-item.active {
    color: rgb(23, 23, 23);
    background: rgb(247, 247, 247);
    border-color: rgb(235, 235, 235);
    font-weight: 600;
}

.bfy-nav-item.active svg {
    opacity: 1;
    color: rgb(23, 23, 23);
}

/* Video area — takes remaining space */
.bfy-video-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bfy-video-area {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: hidden;
    background: rgb(0, 0, 0);
}

/* Panels */
.bfy-panel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.bfy-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.bfy-video-label {
    display: none;
    align-self: flex-start;
    margin: 0;
    padding: 3px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.02em;
    background: transparent;
}

.bfy-video-label.active {
    display: inline-block;
}

/* Video embed — responsive 16:9 */
.bfy-video-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bfy-video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Desktop: scroll wrapper is invisible, just passes through flex sizing */
.bfy-scroll-wrapper {
    flex-shrink: 0;
    width: auto;
}

/* Desktop: hide scroll arrows */
.bfy-scroll-arrow {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .bfy-layout {
        flex-direction: column;
        gap: 16px;
    }

    /* Shadow box wrapper for the scroller */
    .bfy-scroll-wrapper {
        position: relative;
        width: 100%;
        background: #fff;
        border-radius: 10px;
        padding: 4px;
        box-shadow:
            0 1px 3px rgba(0, 0, 0, 0.04),
            0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .bfy-sidebar {
        flex-direction: row;
        overflow-x: auto;
        gap: 4px;
        width: 100%;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .bfy-sidebar::-webkit-scrollbar {
        display: none;
    }

    .bfy-nav-item {
        width: auto;
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 500;
        border-radius: 6px;
        border: none;
        background: transparent;
        color: rgb(100, 100, 100);
        white-space: nowrap;
        flex-shrink: 0;
        gap: 0;
        transition: all 0.25s ease;
    }

    /* Hide icons on mobile for compact buttons */
    .bfy-nav-item svg {
        display: none;
    }

    .bfy-nav-item.active {
        background: rgb(28, 28, 28);
        color: #fff;
        font-weight: 600;
    }

    .bfy-nav-item.active svg {
        color: #fff;
        opacity: 1;
    }

    /* Scroll arrows */
    .bfy-scroll-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid rgba(28, 28, 28, 0.08);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .bfy-scroll-arrow:active {
        transform: translateY(-50%) scale(0.92);
    }

    .bfy-scroll-arrow svg {
        width: 12px;
        height: 12px;
        color: rgb(28, 28, 28);
    }

    .bfy-scroll-arrow-left {
        left: -13px;
    }

    .bfy-scroll-arrow-right {
        right: -13px;
    }

    .bfy-scroll-arrow.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .bfy-video-column {
        width: 100%;
        flex: none;
    }

    .bfy-video-area {
        aspect-ratio: 16 / 9;
    }

    .bfy-title {
        font-size: 36px;
    }
}

@media (max-width: 500px) {
    .built-for-you-section {
        padding: 60px 16px;
    }

    .bfy-title {
        font-size: 28px;
    }

    .bfy-subtitle {
        font-size: 15px;
    }

    .bfy-nav-item {
        padding: 6px 8px;
        font-size: 11px;
    }

    .bfy-scroll-arrow-left {
        left: -10px;
    }

    .bfy-scroll-arrow-right {
        right: -10px;
    }
}

/* ===== Final CTA Section ===== */
/* ── Final CTA Card ── */
.final-cta-section {
    width: 100%;
    padding: 80px 20px;
    position: relative;
}

.final-cta-card {
    max-width: 1080px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e0daf0 0%, #d8d0ec 40%, #cfc6e8 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 380px;
}

.final-cta-copy {
    flex: 1;
    padding: 64px 56px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-size: 44px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.final-cta-title .title-italic {
    color: var(--accent-blue);
}

.final-cta-subtitle {
    font-size: 17px;
    color: #3a3a5c;
    margin-bottom: 36px;
    line-height: 1.55;
    max-width: 380px;
}

.final-cta-buttons {
    display: flex;
    margin-bottom: 14px;
}

.final-cta-btn.btn-primary {
    background: #1a1a2e;
}

.final-cta-btn.btn-primary:hover {
    background: var(--accent-blue);
}

.final-cta-micro {
    font-size: 13px;
    color: #5a5a7a;
}

/* Illustration side */
.final-cta-illustration {
    flex: 0 0 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 20px 24px 20px 0;
}

.final-cta-image {
    width: 100%;
    max-width: 460px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(64, 67, 255, 0.15));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.final-cta-card:hover .final-cta-image {
    transform: translateY(-6px) rotate(2deg);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .final-cta-card {
        flex-direction: column;
        min-height: auto;
    }

    .final-cta-copy {
        padding: 48px 40px 32px;
        text-align: center;
    }

    .final-cta-subtitle {
        max-width: 100%;
    }

    .final-cta-buttons {
        justify-content: center;
    }

    .final-cta-micro {
        text-align: center;
    }

    .final-cta-illustration {
        flex: none;
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 600px) {
    .final-cta-section {
        padding: 48px 16px;
    }

    .final-cta-card {
        border-radius: 20px;
    }

    .final-cta-copy {
        padding: 36px 28px 24px;
    }

    .final-cta-title {
        font-size: 32px;
    }

    .final-cta-subtitle {
        font-size: 15px;
    }

    .final-cta-illustration {
        height: 220px;
    }
}

/* ============================================================
   MANIFESTO / PHILOSOPHY QUOTE SECTION
   ============================================================ */

.manifesto-section {
    width: 100%;
    background: var(--bg-primary);
    padding: 100px 40px;
}

.manifesto-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

/* Section label */
.manifesto-label {
    font-family: "Instrument Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.manifesto-label-colored {
    background-image: linear-gradient(90deg, var(--accent-blue) 0%, #6366ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main quote */
.manifesto-quote {
    font-family: "Instrument Serif", serif;
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.45;
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 36px;
}

.manifesto-highlight {
    background-image: linear-gradient(90deg, var(--accent-blue) 0%, #6366ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* Attribution */
.manifesto-attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.manifesto-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.manifesto-role {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .manifesto-section {
        padding: 72px 24px;
    }
}

@media (max-width: 480px) {
    .manifesto-section {
        padding: 56px 20px;
    }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Outer wrapper — max-width container */
.about-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Full-width horizontal rule between sections */
.about-rule-full {
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

/* Hero */
.about-hero {
    padding: 140px 0 80px;
}

.about-hero-heading {
    font-family: "Instrument Serif", serif;
    font-size: clamp(38px, 5.5vw, 64px);
    font-style: italic;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}

.about-hero-sub {
    font-family: "Instrument Sans", sans-serif;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 580px;
    letter-spacing: -0.005em;
}

/* Accent — gradient blue text (headings + callouts) */
.about-accent {
    background-image: linear-gradient(90deg, var(--accent-blue) 0%, #6366ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* Section label: ─ LABEL TEXT */
.about-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 36px;
}

.about-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--accent-blue);
    opacity: 0.55;
    flex-shrink: 0;
}

/* Main content sections */
.about-section {
    padding: 80px 0;
}

/* Section heading (h2) */
.about-section-heading {
    font-family: "Instrument Serif", serif;
    font-size: clamp(30px, 4.2vw, 50px);
    font-style: italic;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

/* Body text */
.about-body {
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    color: #353535;
    line-height: 1.78;
    letter-spacing: -0.005em;
    max-width: 800px;
}

.about-body p {
    margin-bottom: 22px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Inline quote block (Bob McGrew) */
.about-quote-block {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    margin: 40px 0;
    max-width: 800px;
}

.about-quote-icon,
.about-quote-close {
    font-family: "Instrument Serif", serif;
    font-size: 32px;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.45;
}

.about-quote-icon {
    margin-bottom: 14px;
}

.about-quote-close {
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-quote-text {
    font-family: "Instrument Serif", serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.about-quote-attr {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: -0.005em;
    font-style: normal;
}

.about-quote-attr cite {
    font-style: normal;
}

/* Numbered beliefs */
.about-beliefs-numbered {
    margin-top: 48px;
    max-width: 800px;
}

.about-belief-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 28px;
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
    align-items: start;
}

.about-belief-row:last-child {
    border-bottom: 1px solid var(--border-light);
}

.about-belief-num {
    font-family: "Instrument Serif", serif;
    font-size: 14px;
    font-style: italic;
    color: var(--accent-blue);
    opacity: 0.75;
    padding-top: 1px;
}

.about-belief-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 7px;
}

.about-belief-desc {
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    letter-spacing: -0.005em;
}

/* Founder card */
.about-founder-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 800px;
}

.about-founder-body {
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    color: #353535;
    line-height: 1.78;
    letter-spacing: -0.005em;
    margin-bottom: 36px;
}

.about-founder-body p {
    margin-bottom: 22px;
}

.about-founder-body p:last-child {
    margin-bottom: 0;
}

.about-founder-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-founder-sig {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.about-founder-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.about-founder-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.about-founder-role {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .about-wrapper {
        padding: 0 28px;
    }

    .about-hero {
        padding: 120px 0 60px;
    }

    .about-hero-sub {
        font-size: 16.5px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-quote-block {
        padding: 32px 32px;
    }

    .about-founder-card {
        padding: 36px 32px;
    }

    .about-founder-body {
        font-size: 16px;
    }

    .about-body {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-wrapper {
        padding: 0 20px;
    }

    .about-hero {
        padding: 100px 0 48px;
    }

    .about-section {
        padding: 48px 0;
    }

    .about-belief-row {
        grid-template-columns: 36px 1fr;
        gap: 0 16px;
    }

    .about-quote-block {
        padding: 28px 24px;
    }

    .about-founder-card {
        padding: 28px 24px;
    }

    .about-body {
        font-size: 15.5px;
    }
}

/* ============================================================
   INNER PAGES — Blog, Blog Single, Demo Catalog
   ============================================================ */

/* ===== Page Hero (compact hero for inner pages) ===== */
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 140px 20px 60px;
    text-align: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.page-title {
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-family: "Instrument Sans", sans-serif;
    font-size: 58px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
    max-width: 700px;
}

.page-hero .section-subtitle {
    max-width: 520px;
}

/* ===== Filter Chips ===== */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background-color: rgb(246, 246, 246);
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.02),
        0px 10px 10px 0px rgba(28, 28, 28, 0.06);
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(84, 84, 84);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.filter-chip:hover {
    color: rgb(28, 28, 28);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.1);
}

.filter-chip.active {
    background: rgb(28, 28, 28);
    color: rgb(255, 255, 255);
    border-color: rgb(28, 28, 28);
    box-shadow:
        rgba(255, 255, 255, 0.1) 0px 0px 12px 1px inset,
        rgba(0, 0, 0, 0.12) 0px 2px 8px 0px;
}

/* ===== Page Content Section ===== */
.page-content-section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ===== Blog Featured Card ===== */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    margin-bottom: 48px;
    text-decoration: none;
    color: inherit;
}

.blog-featured-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 1px 1px 0px rgba(28, 28, 28, 0.02),
        0px 4px 4px 0px rgba(28, 28, 28, 0.05),
        0px 16px 24px 0px rgba(28, 28, 28, 0.12);
}

.blog-featured-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8ff 0%, #d4d5ff 40%, #c0c2ff 100%);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.03);
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
    gap: 14px;
}

.blog-featured-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text-primary);
}

.blog-featured-excerpt {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== Blog Card Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 1px 1px 0px rgba(28, 28, 28, 0.02),
        0px 4px 4px 0px rgba(28, 28, 28, 0.05),
        0px 16px 24px 0px rgba(28, 28, 28, 0.12);
}

.blog-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8ff 0%, #d4d5ff 40%, #c0c2ff 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 22px 24px;
    flex: 1;
}

.blog-card-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: rgb(246, 246, 246);
    border-radius: 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgb(84, 84, 84);
    letter-spacing: 0.02em;
}

.blog-card-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(19px * 1.3 * 3); /* fixed 3-line height = 74.1px */
}

.blog-card-excerpt {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(14px * 1.6 * 2); /* fixed 2-line height = 44.8px */
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Demo Catalog Grid ===== */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.demo-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 1px 1px 0px rgba(28, 28, 28, 0.02),
        0px 4px 4px 0px rgba(28, 28, 28, 0.05),
        0px 16px 24px 0px rgba(28, 28, 28, 0.12);
}

.demo-card-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.demo-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.demo-card:hover .demo-card-thumbnail img {
    transform: scale(1.04);
}

.demo-card-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-card:hover .demo-card-play-overlay {
    opacity: 1;
}

.demo-card-play-overlay svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.demo-card:hover .demo-card-play-overlay svg {
    transform: scale(1.1);
}

.demo-card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.demo-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}

.demo-card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: rgb(246, 246, 246);
    border-radius: 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgb(84, 84, 84);
    letter-spacing: 0.02em;
}

.demo-card-domain {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    background-color: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgb(120, 120, 120);
    letter-spacing: 0.02em;
    margin-left: 6px;
}

.demo-card-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
}

.demo-card-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ===== Page CTA Section ===== */
.page-cta-section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.page-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 64px 40px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
}

.page-cta-card h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-cta-card p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 440px;
}

/* ===== Blog Card Author ===== */
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-author-avatar {
    color: white !important;
}
.blog-card-author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #6366f1 100%);
    flex-shrink: 0;
}

.blog-card-author span {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* ===== Article Header (full-width above 3-col layout) ===== */
.article-header-wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 140px 20px 0;
}

/* ===== 3-Column Article Layout ===== */
.article-layout {
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    align-items: start;
}

/* ===== Article Layout (Blog Single) ===== */
.article-container {
    width: 100%;
    max-width: 720px;
    margin: 0;
    padding: 0;
}

/* ===== Left Sidebar: Table of Contents ===== */
.article-sidebar-left {
    position: sticky;
    top: 100px;
}

.toc-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toc-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.toc-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.toc-link.active {
    color: var(--accent-blue);
    border-left-color: var(--accent-blue);
    font-weight: 500;
    background: rgba(64, 67, 255, 0.04);
}

/* ===== Right Sidebar: CTA Card ===== */
.article-sidebar-right {
    position: sticky;
    top: 100px;
}

.sidebar-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 28px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
}

.sidebar-cta-illustration {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #e0daf0 0%, #d8d0ec 40%, #cfc6e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-cta-image {
    width: 80%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(64, 67, 255, 0.12));
}

.sidebar-cta-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary);
}

.sidebar-cta-desc {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

.sidebar-cta-btn {
    width: 100%;
    height: 42px;
    font-size: 14px;
    border-radius: var(--radius-md);
}

.sidebar-cta-btn .btn-text-hidden {
    font-size: 14px;
}

.sidebar-cta-btn .rolling-text span {
    font-size: 14px;
}

.sidebar-cta-micro {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
    transition: color 0.2s ease;
}

.article-back-link:hover {
    color: var(--accent-blue);
}

.article-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.article-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #6366f1 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: "Instrument Sans", sans-serif;
    flex-shrink: 0;
}

.article-author span {
    font-weight: 500;
    color: var(--text-primary);
}

.article-featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Article Body Prose Typography ===== */
.article-body {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    color: rgb(38, 38, 38);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-body > * + * {
    margin-top: 1.5em;
}

.article-body h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
    margin-top: 2.5em;
}

.article-body h3 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--text-primary);
    margin-top: 2em;
}

.article-body p {
    margin-top: 1.25em;
}

.article-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-body a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: rgb(30, 33, 200);
}

.article-body blockquote {
    border-left: 3px solid var(--accent-blue);
    padding: 16px 24px;
    margin: 2em 0;
    background: rgba(64, 67, 255, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body blockquote p {
    margin-top: 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5em;
}

.article-body li {
    margin-top: 0.5em;
}

.article-body li::marker {
    color: var(--text-muted);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 2em 0;
}

.article-body pre {
    background: rgb(28, 28, 28);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    overflow-x: auto;
    margin: 2em 0;
}

.article-body code {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
}

.article-body pre code {
    color: rgb(220, 220, 220);
}

.article-body :not(pre) > code {
    background: rgb(240, 240, 240);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-primary);
}

/* ===== Article CTA ===== */
.article-cta {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.article-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 52px 36px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    color: #fff;
}

.article-cta-card h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

.article-cta-card p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
}

.article-cta-card .btn-primary {
    margin-top: 8px;
}

/* ===== Related Posts ===== */
.related-posts {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 96px;
}

.related-posts-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background-image: linear-gradient(0deg, rgb(18, 18, 18) 0%, rgba(18, 18, 18, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 36px;
}

/* ===== Filter hide/show animation ===== */
.blog-card.filter-hidden,
.demo-card.filter-hidden,
.blog-featured-card.filter-hidden {
    display: none;
}

/* ===== Inner Pages — Responsive ===== */
@media (max-width: 1024px) {
    .page-title {
        font-size: 48px;
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-content {
        padding: 28px 28px 32px;
    }

    .blog-featured-title {
        font-size: 24px;
    }

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

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

    .article-title {
        font-size: 36px;
    }

    /* Collapse to 2-column: hide left sidebar */
    .article-layout {
        grid-template-columns: 1fr 220px;
        max-width: 960px;
    }

    .article-sidebar-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 20px 40px;
    }

    .page-title {
        font-size: 40px;
    }

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

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

    .blog-featured-content {
        padding: 24px 20px 28px;
    }

    .blog-featured-title {
        font-size: 22px;
    }

    .article-header-wrap {
        padding: 120px 20px 0;
    }

    /* Collapse to single column: hide both sidebars */
    .article-layout {
        grid-template-columns: 1fr;
        padding: 32px 20px 40px;
        gap: 0;
        overflow: hidden;
    }

    .article-container {
        max-width: 100%;
        min-width: 0;
    }

    .article-header-wrap {
        max-width: 100%;
    }

    .article-sidebar-left {
        display: none;
    }

    .article-sidebar-right {
        display: none;
    }

    .article-title {
        font-size: 30px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .page-cta-card {
        padding: 48px 24px;
    }

    .page-cta-card h2 {
        font-size: 28px;
    }

    .article-cta-card {
        padding: 40px 24px;
    }

    .article-cta-card h2 {
        font-size: 26px;
    }

    .blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 110px 16px 32px;
    }

    .page-title {
        font-size: 34px;
    }

    .page-hero .section-subtitle {
        font-size: 16px;
    }

    .filter-bar {
        gap: 6px;
        margin-bottom: 32px;
    }

    .filter-chip {
        padding: 6px 14px;
        font-size: 13px;
    }

    .blog-card-content {
        padding: 18px 18px 20px;
    }

    .demo-card-content {
        padding: 16px 18px 20px;
    }

    .article-header-wrap {
        padding: 100px 16px 0;
    }

    .article-layout {
        padding: 24px 16px 32px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-body pre {
        max-width: 100%;
        padding: 16px;
        font-size: 13px;
    }

    .related-posts {
        padding: 0 16px 60px;
    }

    .article-featured-image {
        border-radius: var(--radius-md);
        margin-bottom: 32px;
    }

    .page-cta-card h2 {
        font-size: 24px;
    }

    .related-posts-title {
        font-size: 26px;
    }
}

/* ===== Author Bio (Blog Post) ===== */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 36px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 56px;
}

.author-bio-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #6366f1 100%);
    flex-shrink: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    font-family: "Instrument Sans", sans-serif;
}

.author-bio-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-bio-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.author-bio-role {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.author-bio-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 10px;
}

.author-bio-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.author-bio-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgb(246, 246, 246);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.author-bio-socials a:hover {
    background: rgb(234, 234, 234);
    color: var(--text-primary);
}

/* ===== Demo Detail Page ===== */
.demo-detail-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}



.demo-detail-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.demo-detail-play-btn:hover {
    background: rgba(0, 0, 0, 0.35);
}

.demo-detail-play-btn svg {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.demo-detail-play-btn:hover svg {
    transform: scale(1.08);
}

.demo-detail-duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

/* Demo Info Sidebar */
.demo-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-info-title {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-info-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo-info-value {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.demo-info-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.demo-info-link:hover {
    color: rgb(30, 33, 200);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== Responsive — Author Bio ===== */
@media (max-width: 600px) {
    .author-bio {
        flex-direction: column;
        gap: 16px;
    }

    .author-bio-avatar {
        width: 56px;
        height: 56px;
    }
}

/* ============================================================
   LEGAL PAGES — Privacy Policy, Terms of Use
   ============================================================ */
.legal-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 96px;
}

.legal-content .article-body {
    margin-top: 0;
}

.legal-content .article-body h2 {
    margin-top: 2em;
}

.legal-content .article-body h2:first-child {
    margin-top: 0;
}

.legal-last-updated {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 48px 36px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow:
        0px 0.6px 0.6px 0px rgba(28, 28, 28, 0.01),
        0px 2.29px 2.29px 0px rgba(28, 28, 28, 0.03),
        0px 10px 10px 0px rgba(28, 28, 28, 0.08);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-card h2 {
    font-family: "Instrument Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
}

.contact-card p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 400px;
}

.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgb(28, 28, 28);
    color: #fff;
    border-radius: 27px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow:
        rgba(255, 255, 255, 0.1) 0px 0px 12px 1px inset,
        rgba(0, 0, 0, 0.12) 0px 2px 8px 0px;
}

.contact-email-link:hover {
    background: rgb(50, 50, 50);
    transform: translateY(-1px);
    box-shadow:
        rgba(255, 255, 255, 0.1) 0px 0px 12px 1px inset,
        rgba(0, 0, 0, 0.18) 0px 4px 12px 0px;
}

.contact-email-link svg {
    flex-shrink: 0;
}

/* Contact page FAQ spacing */
.contact-faq {
    padding-top: 20px;
}

@media (max-width: 600px) {
    .contact-card {
        padding: 36px 24px;
    }

    .contact-card h2 {
        font-size: 20px;
    }
}
/* ==========================================================================
   Responsive Improvements (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 900px) {
    /* ----- Global Layout Fixes ----- */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    
    main {
        width: 100%;
        overflow-x: hidden;
        padding: 0; 
    }

    section {
        max-width: 100%;
        overflow: hidden; /* Prevent horizontal overflow */
    }

    /* Allow overflow for sections that need it */
    .built-for-you-section,
    .core-features-section {
        overflow: visible;
    }

    /* ----- Typography ----- */
    .section-title {
        font-size: 32px !important; /* Force smaller size */
        line-height: 1.2;
        padding: 0 16px;
    }
    
    .title-sm {
        font-size: 28px !important;
    }

    .section-subtitle {
        font-size: 16px !important;
        padding: 0 20px;
        line-height: 1.5;
    }
    
    /* Specific section headers fix */
    #why .section-title,
    #comparison .section-title,
    #demo .section-title {
        font-size: 32px !important;
        max-width: 100%;
    }

    /* ----- Navigation ----- */
    .navbar {
        top: 10px; /* Visible gap */
        padding: 0 12px;
        height: auto;
        pointer-events: none; /* Let clicks pass through container area */
    }

    .nav-container {
        width: 100%;
        margin: 0;
        padding: 12px 16px;
        justify-content: space-between;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    
    .nav-links {
        display: none; /* Hide desktop links */
    }

    .nav-cta {
        display: none; /* Hide header CTA to save space */
    }
    
    .nav-right {
        gap: 0;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger */
        margin-left: auto;
    }

    /* ----- Hero Section ----- */
    .hero {
        padding: 110px 0 40px;
        gap: 32px;
    }

    .hero-title {
        font-size: 38px;
        padding: 0 16px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
        padding: 0 24px;
    }

    /* Banner Buttons - Horizontal Stack */
    .hero-buttons {
        display: flex;
        flex-direction: row; /* Horizontal */
        flex-wrap: wrap;     /* Allow wrapping if very narrow */
        justify-content: center;
        width: 100%;
        padding: 0 16px;
        gap: 12px;
    }

    .btn {
        width: auto;
        min-width: 140px;
        padding: 0 20px;
        font-size: 15px;
    }

    .rolling-btn {
        height: 48px;
    }

    .rolling-btn .btn-text-hidden,
    .rolling-btn .rolling-text span {
        font-size: 15px;
    }

    /* Remove banner tilt animation */
    .dashboard-mockup {
        transform: none !important;
        margin-top: 24px;
        border-radius: 8px;
        border: none;
        box-shadow: none;
        width: 100%;
        padding: 0 16px;
    }
    
    .dashboard-image video {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    
    /* ----- Logo Bar ----- */
    .logo-bar {
        padding: 40px 0;
    }
    
    .logo-bar-title {
        font-size: 16px;
        padding: 0 20px;
        margin-bottom: 24px;
        line-height: 1.4;
    }

    /* ----- Problem Section ----- */
    .problem-cards {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 16px;
    }

    .problem-card {
        padding: 24px 20px; /* Reduced padding */
    }

    .problem-card h3 {
        font-size: 20px;
        margin-top: 16px;
    }
    
    .problem-image-container {
        display: flex;
        justify-content: center;
    }
    
    .problem-card-img {
        max-width: 80%; /* Reduce image size */
        height: auto;
    }

    /* ----- Core Features Section ----- */
    .core-features-section {
        overflow: hidden;
    }

    .core-features-body {
        flex-direction: column;
        align-items: center;
    }

    /* Hide sidebar */
    .core-features-nav {
        display: none; 
    }

    .core-features-content {
        padding: 0 16px;
        gap: 64px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .core-feature-block {
        margin-bottom: 24px;
        padding: 0;
        opacity: 1; 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .core-feature-text {
        width: 100%;
        max-width: 500px;
        margin-bottom: 24px;
        padding: 0 8px; /* Safe padding */
    }

    .core-feature-text h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .core-feature-text p {
        font-size: 16px;
        color: #555;
        line-height: 1.6;
        width: 100%;
    }

    /* Ensure visuals fit */
    .core-feature-visual {
        min-height: auto;
        height: auto;
        padding: 20px 16px;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        border-radius: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Center and constrain inner content */
    .core-feature-visual > div {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Force inner content scaling for specific visuals */
    .zoom-browser, .script-editor, .brand-panel, .editing-preview, .next-steps-card {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Allow scrolling for internal lists if they break layout */
    .steps-list {
        width: 100%;
    }

    /* ----- Workflow (How it Works) ----- */
    .workflow-content {
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
        overflow: visible;
    }

    .workflow-left {
        width: 100%;
        text-align: center;
        align-items: center;
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .workflow-cta {
        margin: 0 auto;
    }

    .workflow-right {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        display: flex;
        justify-content: center;
        margin-top: 0;
    }

    /* Tablet: keep SVG animation but scale down */
    #workflow-animation-container {
        height: auto;
        min-height: 560px;
        width: 100%;
        max-width: 440px;
        transform: scale(0.85);
        transform-origin: top center;
    }

    /* Stats Bar - reduced size */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
        margin: 24px 16px;
    }
    
    .stats-bar .stat {
        padding: 12px;
    }
    
    .stats-bar .stat-value {
        font-size: 28px;
    }
    
    .stats-bar .stat-label {
        font-size: 13px;
    }


    /* ----- Built For You (Use Cases) ----- */
    .built-for-you-section {
        padding: 40px 16px;
    }

    .bfy-header {
        padding: 0 4px;
    }

}

/* Extra small screens adjustments (Phones) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    /* Single column stats on very small screens */
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: row;
        padding: 0 16px;
        gap: 10px;
    }

    .btn {
        flex: 1;
        padding: 0 12px;
        font-size: 14px;
        min-width: auto;
    }

    /* Navbar Adjustment */
    .navbar {
        top: 0;
    }

    .nav-container {
        border-radius: 0 0 16px 16px;
        background: rgba(255,255,255,0.95);
    }
}

/* Pricing buttons — always match desktop hero button size at every breakpoint */
.pricing-card .btn,
.pricing-card .btn.btn-primary,
.pricing-card .btn.rolling-btn,
.pricing-card .rolling-btn {
    height: 50px !important;
    padding: 0 32px !important;
    font-size: 17px !important;
    border-radius: 16px !important;
    width: 100% !important;
    min-width: unset !important;
    flex: none !important;
}

.pricing-card .rolling-btn .btn-text-hidden,
.pricing-card .rolling-btn .rolling-text span {
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

.pricing-card .rolling-btn .rolling-container {
    position: absolute !important;
    inset: 0 !important;
}

/* ===== Capacity Toast (non-blocking alert) ===== */
.capacity-toast {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: all;
}

.capacity-toast.visible {
    background: rgba(0, 0, 0, 0.3);
}

.capacity-toast-inner {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.capacity-toast.visible .capacity-toast-inner {
    transform: translateY(0);
    opacity: 1;
}

.capacity-toast-inner p {
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(38, 38, 38);
    margin: 0;
    flex: 1;
}

.capacity-toast-close {
    background: none;
    border: none;
    font-size: 22px;
    color: rgb(140, 140, 140);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.capacity-toast-close:hover {
    color: rgb(28, 28, 28);
}

/* ===== Comparison Table (Blog Articles) ===== */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2em 0;
    border-radius: var(--radius-md);
    border: 1px solid rgb(230, 230, 230);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-width: 600px;
}

.comparison-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.comparison-table th {
    background: rgb(28, 28, 28);
    color: #fff;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid rgb(28, 28, 28);
}

.comparison-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgb(235, 235, 235);
    color: var(--text-primary);
    vertical-align: top;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    background: rgb(250, 250, 250);
    border-right: 1px solid rgb(235, 235, 235);
    position: sticky;
    left: 0;
    z-index: 1;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: rgba(64, 67, 255, 0.03);
}

.comparison-table tbody tr:hover td:first-child {
    background: rgba(64, 67, 255, 0.06);
}

/* Highlight Demosmith row */
.comparison-table tbody tr.comparison-highlight td {
    background: rgba(64, 67, 255, 0.05);
    font-weight: 500;
}

.comparison-table tbody tr.comparison-highlight td:first-child {
    background: rgba(64, 67, 255, 0.08);
    color: var(--accent-blue);
    font-weight: 700;
}

.comparison-table tbody tr.comparison-highlight:hover td {
    background: rgba(64, 67, 255, 0.07);
}

.comparison-table tbody tr.comparison-highlight:hover td:first-child {
    background: rgba(64, 67, 255, 0.10);
}

/* Check/cross icons in table cells */
.comparison-table .check {
    color: #16a34a;
    font-weight: 600;
}

.comparison-table .cross {
    color: rgb(180, 180, 180);
}

.comparison-table .partial {
    color: #d97706;
}

/* Responsive: smaller text on mobile */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th {
        font-size: 11px;
        padding: 10px 12px;
    }

    .comparison-table td {
        padding: 10px 12px;
    }
}

/* ===== Demo Request Modal ===== */
.demo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.demo-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.demo-modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.demo-modal-overlay.is-open .demo-modal-card {
    transform: translateY(0) scale(1);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--bg-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
}

.demo-modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.demo-modal-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.demo-modal-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.demo-modal-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
}

.demo-form-group {
    margin-bottom: 11px;
}

.demo-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.demo-form-group label span {
    color: var(--accent-blue);
}

.demo-form-group input,
.demo-form-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    resize: vertical;
    -webkit-appearance: none;
}

.demo-form-group input::placeholder,
.demo-form-group textarea::placeholder {
    color: var(--text-muted);
}

.demo-form-group input:focus,
.demo-form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(64, 67, 255, 0.1);
}

.demo-form-group input.is-invalid,
.demo-form-group textarea.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.demo-field-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    min-height: 0;
    line-height: 1.4;
}

.demo-field-error:empty {
    display: none;
}

.demo-modal-submit {
    width: 100%;
    height: 48px;
    background: rgb(28, 28, 28);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background var(--transition-base), transform var(--transition-fast);
    box-shadow:
        rgba(255, 255, 255, 0.15) 0px 0px 20px 1.64px inset,
        rgba(0, 0, 0, 0.13) 0px 4px 12px -2px;
}

.demo-modal-submit:hover {
    background: var(--accent-blue);
}

.demo-modal-submit:active {
    transform: scale(0.98);
}

.demo-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.demo-modal-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* Modal success state — display controlled by :not([hidden]) to avoid override */
.demo-modal-success:not([hidden]) {
    display: flex;
}

.demo-modal-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 8px;
    gap: 10px;
}

.demo-success-icon {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
}

.demo-modal-success h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
}

.demo-modal-success p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.demo-modal-close-btn {
    margin-top: 4px;
    padding: 10px 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
    color: var(--text-primary);
}

.demo-modal-close-btn:hover {
    background: var(--border-color);
}

/* Returning (already submitted) panel */
.demo-modal-returning:not([hidden]) {
    display: flex;
}

.demo-modal-returning {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 8px;
    gap: 10px;
}

.demo-returning-icon {
    background: #f0f4ff !important;
    color: var(--accent-blue) !important;
}

.demo-modal-returning h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
}

.demo-modal-returning p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.demo-returning-date {
    font-size: 12px !important;
    color: var(--text-tertiary, #aaa) !important;
}

.demo-returning-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.demo-returning-again-btn {
    padding: 10px 28px;
    background: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: var(--radius-md);
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.demo-returning-again-btn:hover {
    opacity: 0.85;
}

@media (max-width: 520px) {
    .demo-modal-card {
        padding: 28px 22px;
        border-radius: var(--radius-lg);
    }

    .demo-modal-title {
        font-size: 24px;
    }
}

/* ─── Vidstack video player styling ────────────────────────────────── */

/* Prevent FOUC before Vidstack custom elements register */
media-player:not(:defined) {
    opacity: 0;
}

/* Theme overrides — match site brand */
media-player {
    --media-brand: #4043FF;
    --media-font-family: "Instrument Sans", sans-serif;
    --media-focus-ring-color: rgba(64, 67, 255, 0.4);
    --media-focus-ring: 0 0 0 3px var(--media-focus-ring-color);
    --media-tooltip-bg-color: #1a1a1a;
    --media-tooltip-color: #fff;
    --media-menu-bg: #1a1a1a;
    --media-menu-color: #fff;
    --media-menu-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Play button overlay — white circle with brand icon */
media-player [data-media-button][aria-label="Play"] {
    --media-button-size: 64px;
}

/* BFY section: player fills the absolute-positioned embed container */
.bfy-video-embed media-player {
    width: 100%;
    height: 100%;
    border-radius: 0;
    --video-border-radius: 0;
}

/* Demo detail pages: player fills aspect-ratio wrapper */
.demo-detail-video media-player {
    width: 100%;
    height: 100%;
    border-radius: 0;
    --video-border-radius: 0;
}

/* Poster image: cover the player area */
media-player .vds-poster {
    object-fit: cover;
}

/* Slider / progress bar — brand color for played portion */
media-player .vds-slider-track-fill {
    background: #4043FF;
}

media-player .vds-slider-thumb {
    background: #fff;
    border: 2px solid #4043FF;
}

media-player .vds-slider-track {
    background: rgba(255, 255, 255, 0.25);
}

/* Volume & time slider hover */
media-player .vds-slider-preview {
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
}

/* Bottom controls bar — override vidstack's default top+bottom scrim gradient */
media-player .vds-video-layout .vds-controls,
media-player .vds-video-layout .vds-controls[data-visible] {
    background: none;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.45), 18%, transparent) !important;
}

/* Control buttons */
media-player .vds-button {
    color: #fff;
    transition: color 0.15s ease;
}

media-player .vds-button:hover {
    color: #4043FF;
}

/* Time display */
media-player .vds-time {
    color: rgba(255, 255, 255, 0.85);
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

/* Demo section: player inside the rounded wrapper */
.demo-video-wrapper media-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

/* ===== Featured Testimonial ===== */
.featured-testimonial-block {
    padding: 0 24px 80px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.ftc-card {
    background: #0e0e0e;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 52px 60px;
}

.ftc-quote-text {
    font-family: "Instrument Sans", sans-serif;
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.1em;
    letter-spacing: -0.1px;
    border: none;
    padding: 0;
    margin: 0 0 32px;
}

.ftc-author-name {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

@media (max-width: 640px) {
    .ftc-card {
        padding: 36px 28px;
    }

    .ftc-quote-text {
        font-size: 21px;
    }
}

/* ===== Prompt Accordion ===== */
.prompt-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 24px;
}

.prompt-accordion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fb;
}

.prompt-accordion-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: left;
    font-family: inherit;
}

.prompt-accordion-toggle:hover {
    color: #111;
}

.prompt-chevron {
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.prompt-accordion.is-open .prompt-chevron {
    transform: rotate(180deg);
}

.prompt-copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.prompt-copy-btn:hover {
    background: #fff;
    border-color: #9ca3af;
    color: #374151;
}

.prompt-copy-btn.copied {
    color: #059669;
    border-color: #6ee7b7;
    background: #ecfdf5;
}

.prompt-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.prompt-accordion-body.open {
    max-height: 2000px;
}

.prompt-accordion-body blockquote {
    margin: 0;
    padding: 16px 20px;
    border-left: 3px solid #e5e7eb;
    background: #fff;
    border-radius: 0;
}

.prompt-accordion-body blockquote p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

/* ===== Multilingual Demo Section ===== */
.multilingual-section {
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.ml-title {
    font-size: 62px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.multilingual-section .section-subtitle {
    font-size: 18px;
    max-width: 580px;
    color: rgb(84, 84, 84);
}

.ml-demo-container {
    width: 100%;
    max-width: 980px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Tab bar with sliding indicator */
.ml-lang-tabs {
    display: flex;
    align-items: center;
    padding: 5px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.ml-tab-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.08),
        0 0.5px 1.5px rgba(0, 0, 0, 0.05);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.ml-tab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(130, 130, 130);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.ml-tab:hover {
    color: rgb(70, 70, 70);
}

.ml-tab.active {
    color: rgb(28, 28, 28);
    font-weight: 600;
}

.ml-tab-flag {
    font-size: 18px;
    line-height: 1;
}

.ml-tab-name {
    line-height: 1;
}

.ml-more-langs {
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgb(160, 160, 160);
    padding: 0 14px;
    white-space: nowrap;
    cursor: default;
}

/* Video area */
.ml-video-area {
    width: 100%;
    position: relative;
}

.ml-panel {
    display: none;
    opacity: 0;
}

.ml-panel.active {
    display: block;
    animation: mlFadeSlide 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes mlFadeSlide {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.998);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ml-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgb(246, 246, 246);
    border: 1px solid rgb(255, 255, 255);
    box-shadow:
        0 0.6px 0.6px rgba(28, 28, 28, 0.01),
        0 2.3px 2.3px rgba(28, 28, 28, 0.03),
        0 10px 10px rgba(28, 28, 28, 0.12),
        0 -6px 6px -5px rgba(255, 255, 255, 1);
}

.ml-video-wrapper media-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

/* Multilingual responsive */
@media (max-width: 768px) {
    .multilingual-section {
        padding: 60px 20px;
    }

    .ml-title {
        font-size: 42px;
    }

    .ml-lang-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
    }

    .ml-lang-tabs::-webkit-scrollbar {
        display: none;
    }

    .ml-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .ml-tab-flag {
        font-size: 16px;
    }

    .ml-more-langs {
        display: none;
    }

    .ml-demo-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .ml-title {
        font-size: 34px;
    }

    .ml-tab-name {
        display: none;
    }

    .ml-tab {
        padding: 10px 14px;
    }

    .ml-tab-flag {
        font-size: 20px;
    }

    .ml-lang-tabs {
        gap: 0;
        padding: 4px;
    }
}
