/* ============================================
   flowkiq - CSS Design System (Light Theme)
   ============================================ */

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    /* Brand Colors */
    --flowkiq-orange: #e88501;
    --flowkiq-orange-light: #f5a623;
    --flowkiq-orange-dark: #c97200;
    --flowkiq-dark: #1F2937;
    --flowkiq-gray: #6B7280;

    /* Light Theme Colors */
    --light-bg: #FFFFFF;
    --light-bg-secondary: #F8FAFC;
    --light-bg-tertiary: #F1F5F9;
    --light-card: #FFFFFF;
    --light-card-hover: #F8FAFC;
    --light-border: #E2E8F0;

    /* Text Colors */
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1.0625rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.375rem;
    --font-size-2xl: 1.625rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    --line-height-tight: 1.25;
    --line-height-snug: 1.4;
    --line-height-body: 1.7;
    --line-height-relaxed: 1.75;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-heading: -0.01em;
    --letter-spacing-body: 0.01em;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(15, 23, 42, 0.08);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography – consistent scale & spacing
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
}

h1 {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
}

h5 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

h6 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    margin-bottom: var(--space-md);
}

a {
    color: var(--flowkiq-orange);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--flowkiq-orange-light);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    max-width: min(1280px, 100%);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: min(800px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.875rem, 3.5vw, var(--font-size-4xl));
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--flowkiq-dark) 0%, var(--flowkiq-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Same gradient as hero top so the bar blends in */
    background: linear-gradient(175deg, #FAFBFC 0%, #F3F5F7 30%, #F8FAFC 65%, #F5F7FA 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--light-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--flowkiq-orange);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Product dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    transition: color var(--transition-base);
}

.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--flowkiq-orange);
    transition: width var(--transition-base);
}

.nav-dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after {
    width: 100%;
}

.nav-chevron {
    display: none;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: var(--space-xs);
    min-width: 160px;
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 100;
}

.nav-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-submenu a:hover {
    background: var(--light-bg-secondary);
    color: var(--flowkiq-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--flowkiq-orange) 0%, var(--flowkiq-orange-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 133, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 133, 1, 0.4);
    color: white;
}

.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--flowkiq-orange), var(--flowkiq-orange-light));
    z-index: -1;
    opacity: 0;
    filter: blur(14px);
    transition: opacity 0.4s ease;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.25;
    }

    50% {
        opacity: 0.5;
    }
}

.btn-glow:hover::after {
    opacity: 0.7;
    animation: none;
}

.btn-secondary {
    background: rgba(232, 133, 1, 0.1);
    color: var(--flowkiq-orange);
    border: 1px solid var(--flowkiq-orange);
}

.btn-secondary:hover {
    background: rgba(232, 133, 1, 0.2);
    transform: translateY(-2px);
    color: var(--flowkiq-orange-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

/* ============================================
   Hero Section – Clean, premium, AI-themed
   ============================================ */
.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(175deg, #FAFBFC 0%, #F1F5F9 22%, #FFFFFF 48%, #F8FAFC 78%, #EFF3F8 100%);
    max-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Soft spotlight behind content – focuses attention */
.hero-spotlight {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    max-width: 720px;
    height: 75vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(248, 253, 249, 0.4) 45%, transparent 75%);
    pointer-events: none;
    animation: spotlightBreath 5s ease-in-out infinite;
}

@keyframes spotlightBreath {

    0%,
    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Two orbs – frame the hero, gentle motion */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.42;
    animation: orbFloat 14s infinite ease-in-out;
    will-change: transform;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: linear-gradient(145deg, #CBD5E1 0%, rgba(100, 116, 139, 0.25) 50%, transparent 100%);
    top: -200px;
    left: -120px;
    animation: orbFloat 14s infinite ease-in-out, orbBreath 12s ease-in-out infinite;
}

.orb-2 {
    width: 440px;
    height: 440px;
    background: linear-gradient(220deg, rgba(100, 116, 139, 0.3) 0%, #E2E8F0 50%, transparent 100%);
    bottom: -160px;
    right: -100px;
    animation: orbFloat 14s infinite ease-in-out, orbBreath 12s ease-in-out infinite;
    animation-delay: -6s, 2s;
}

@keyframes orbBreath {

    0%,
    100% {
        opacity: 0.38;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -25px) scale(1.06);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.97);
    }
}

/* Subtle ring accent – depth without clutter */
.hero-glow-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(85vw, 680px);
    height: min(70vh, 520px);
    transform: translate(-50%, -50%);
    border: 1px solid rgba(30, 41, 59, 0.06);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: ringFade 2s ease-out 0.5s forwards;
}

@keyframes ringFade {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero-glow-ring {
    animation: ringFade 2s ease-out 0.5s forwards, ringPulse 8s ease-in-out 2.5s infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Content wrapper – glass panel, subtle idle breath */
.hero-content-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(232, 133, 1, 0.12);
    box-shadow: 0 4px 32px rgba(232, 133, 1, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    animation: panelBreath 10s ease-in-out infinite;
}

@keyframes panelBreath {

    0%,
    100% {
        box-shadow: 0 4px 32px rgba(232, 133, 1, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
        border-color: rgba(30, 41, 59, 0.06);
    }

    50% {
        box-shadow: 0 6px 40px rgba(232, 133, 1, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
        border-color: rgba(30, 41, 59, 0.1);
    }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

/* Hero staggered entrance – clear and confident */
.hero-animate {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    animation: heroReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate-1 {
    animation-delay: 0.05s;
}

.hero-animate-2 {
    animation-delay: 0.2s;
}

.hero-animate-3 {
    animation-delay: 0.4s;
}

.hero-animate-4 {
    animation-delay: 0.6s;
}

.hero-animate-5 {
    animation-delay: 0.8s;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero title – strong glow so “Visual Orchestration” sticks in mind */
.hero-title .typed-text {
    animation: textGlow 2.5s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(232, 133, 1, 0.4)) drop-shadow(0 0 24px rgba(232, 133, 1, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(232, 133, 1, 0.6)) drop-shadow(0 0 40px rgba(232, 133, 1, 0.25));
    }
}

/* Gradient text – visible shimmer (hero moment) */
.typed-text {
    position: relative;
    background: linear-gradient(90deg,
            var(--flowkiq-orange) 0%,
            var(--flowkiq-orange-dark) 25%,
            #F5A623 50%,
            var(--flowkiq-orange-dark) 75%,
            var(--flowkiq-orange) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.trust-badges {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.badge {
    background: rgba(232, 133, 1, 0.08);
    border: 1px solid rgba(232, 133, 1, 0.25);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--flowkiq-orange-dark);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 133, 1, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(232, 133, 1, 0);
    }
}

.badge:hover {
    background: rgba(232, 133, 1, 0.15);
    border-color: var(--flowkiq-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 133, 1, 0.1);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-pill i {
    color: var(--flowkiq-orange);
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Hero CTA icons – small, Figma match (Lucide defaults to 24px so we force size) */
.hero-cta .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 0.4rem;
    flex-shrink: 0;
}

.hero-cta .btn-secondary .btn-icon {
    margin-left: 0;
    margin-right: 0.4rem;
}

.hero-cta .btn-icon i,
.hero-cta .btn-icon svg,
.hero-cta .btn-icon .lucide {
    width: 20px !important;
    height: 20px !important;
    min-width: 10px !important;
    min-height: 10px !important;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hero-cta .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(232, 133, 1, 0.35);
}

/* Hero CTA – primary button has a visible “ready” glow */
.hero-cta .btn-glow::after {
    opacity: 0.4;
    filter: blur(18px);
    animation: heroCtaGlow 2.2s ease-in-out infinite;
}

@keyframes heroCtaGlow {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }

    50% {
        opacity: 0.65;
        transform: scale(1.02);
    }
}

.hero-cta .btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(232, 133, 1, 0.15);
}

.hero-title {
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 800;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(135deg, var(--flowkiq-orange) 0%, var(--flowkiq-orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-body);
    margin-bottom: var(--space-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.hero-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* Hero floating particles – visible “data” orbs */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(232, 133, 1, 0.7));
    box-shadow: 0 0 12px rgba(232, 133, 1, 0.4);
    pointer-events: none;
    animation: particleDrift ease-in-out infinite;
}

@keyframes particleDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }

    50% {
        transform: translate(35px, -50px) scale(1.15);
        opacity: 1;
    }
}

/* Mouse-follow glow – soft AI highlight */
.hero-mouse-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 133, 1, 0.08) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.15s ease-out;
    will-change: transform;
}

/* Hero bottom wave transition */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--light-bg));
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   Hero – Split Layout (text left / visual right)
   ============================================ */
.hero-split {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    width: 100%;
    padding: var(--space-xl) 0 var(--space-lg);
}

/* Left column: left-aligned text – fixed width so visual sits next to it */
.hero-text-col {
    flex: 0 1 auto;
    max-width: 560px;
    min-width: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-text-col .trust-badges {
    justify-content: flex-start;
}

.hero-text-col .hero-title {
    margin-bottom: var(--space-lg);
}

.hero-text-col .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 560px;
}

/* Right column: animated workflow canvas – sits next to text */
.hero-visual-col {
    flex: 1 1 auto;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   Workflow Canvas Animation
   ============================================ */
.wf-canvas {
    position: relative;
    width: 440px;
    height: 460px;
    max-width: 100%;
    background: radial-gradient(ellipse at 50% 25%, rgba(100, 116, 139, 0.04) 0%, transparent 65%);
}

/* SVG overlay for lines + dots */
.wf-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Animated dashed connection lines */
.wf-line {
    stroke: #e88501;
    stroke-width: 2;
    stroke-dasharray: 8 5;
    stroke-dashoffset: 0;
    opacity: 0.38;
    animation: wfFlowLine 2s linear infinite;
}

.wf-line-delay1 { animation-delay: -0.7s; }
.wf-line-delay2 { animation-delay: -1.4s; }

@keyframes wfFlowLine {
    from { stroke-dashoffset: 26; }
    to   { stroke-dashoffset: 0; }
}

/* Animated data-packet dots */
.wf-dot        { fill: #e88501; }
.wf-dot-green  { fill: #6FCF97; }
.wf-dot-blue   { fill: #4DABF7; }
.wf-dot-purple { fill: #9775FA; }

/* Workflow node cards (opaque background so animated dots don’t show through) */
.wf-node {
    position: absolute;
    width: 200px;
    height: 54px;
    background: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    z-index: 1;
    animation: wfNodeFloat 4s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}

.wf-node:hover {
    animation-play-state: paused;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

/* Node positions (within 440 × 460 canvas): Trigger → Filter → AI Agent → (Email | Slack) */
.wf-node-trigger { top:   0px; left: 130px; animation-delay: 0s; }
.wf-node-filter  { top: 133px; left: 130px; animation-delay: 0.6s; }
.wf-node-ai      { top: 263px; left: 130px; animation-delay: 1.2s; }
.wf-node-email   { top: 393px; left:   0px; animation-delay: 1.8s; }
.wf-node-slack   { top: 393px; left: 260px; animation-delay: 2.4s; }

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

/* Node icon badge */
.wf-node-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-node-icon i,
.wf-node-icon svg {
    width: 15px;
    height: 15px;
}

.wf-icon-orange { background: rgba(232, 133, 1, 0.12); color: #e88501; }
.wf-icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.wf-icon-blue   { background: rgba(77, 171, 247, 0.12);  color: #4DABF7; }
.wf-icon-green  { background: rgba(111, 207, 151, 0.12); color: #27ae60; }

/* Node text */
.wf-node-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.wf-node-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.wf-node-sublabel {
    font-size: 9.5px;
    color: var(--text-muted);
    white-space: nowrap;
    line-height: 1.3;
}

/* Tiny status dot in top-right of node */
.wf-node-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wf-status-active  { background: #e88501; animation: wfStatusPulse 1.6s ease-in-out infinite; }
.wf-status-done    { background: #6FCF97; }
.wf-status-running { background: #4DABF7; animation: wfStatusPulse 1s ease-in-out infinite; }

@keyframes wfStatusPulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

/* "Workflows running live" badge below the canvas */
.hero-visual-badge {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(111, 207, 151, 0.1);
    border: 1px solid rgba(111, 207, 151, 0.35);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #1e7e42;
    animation: heroBadgePop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.hero-visual-badge i,
.hero-visual-badge svg {
    width: 14px;
    height: 14px;
    color: #27ae60;
    flex-shrink: 0;
}

@keyframes heroBadgePop {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ============================================
   How flowkiq Works – Timeline
   ============================================ */
.how-it-works {
    background: var(--light-bg);
}

.how-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.how-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--light-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

/* Orange top accent that reveals on hover */
.how-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--flowkiq-orange), rgba(232, 133, 1, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.how-card:hover {
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(232, 133, 1, 0.2);
}

.how-card:hover .how-card-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.how-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--flowkiq-orange), var(--flowkiq-orange-dark));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(232, 133, 1, 0.25);
}

.how-card-icon i {
    width: 22px;
    height: 22px;
}

.how-card-title {
    font-size: var(--font-size-base);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.how-card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-body);
}

.how-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.how-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    /* line-height: var(--line-height-body); */
    transition: color 0.25s ease;
}

.how-card:hover .how-card-features li {
    color: var(--text-primary);
}

.how-feature-icon,
.how-feature-icon-green {
    width: 18px;
    height: 18px;
    min-width: 18px;
    /* background: rgba(232, 133, 1, 0.1); */
    color: var(--flowkiq-orange);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.how-feature-icon i,
.how-feature-icon-green i {
    width: 9px;
    height: 9px;
}

/* ============================================
   Visual-First Automation in Action – Clean Rows
   ============================================ */
.automation-action {
    background: var(--light-bg-secondary);
}

.action-rows {
    max-width: 720px;
    margin: var(--space-lg) auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.action-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--light-border);
    transition: background 0.3s ease;
}

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

.action-row:hover {
    background: rgba(248, 250, 252, 0.6);
}

.action-row-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(232, 133, 1, 0.07);
    color: var(--flowkiq-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.action-row:hover .action-row-icon {
    transform: scale(1.08);
    background: rgba(232, 133, 1, 0.12);
}

.action-row-icon i {
    width: 22px;
    height: 22px;
}

.action-row-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.action-row-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ============================================
   One Platform to Replace Them All
   ============================================ */
.replace-platform {
    background: var(--light-bg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

/* Competitor logo cards (replaces old text tags) */
.competitor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: var(--space-lg);
}

.competitor-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    min-width: 108px;
    opacity: 0.65;
    filter: grayscale(35%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.competitor-logo-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 1;
    filter: grayscale(0%);
}

.competitor-logo-img {
    height: 34px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.competitor-logo-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.02em;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.benefit-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--light-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease,
        z-index 0s;
}

.benefit-card:hover {
    z-index: 2;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(30, 41, 59, 0.2);
}

.benefit-card:hover .benefit-num {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(232, 133, 1, 0.35);
}

.benefit-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--flowkiq-orange);
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
    margin-bottom: var(--space-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.benefit-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--line-height-body);
}

/* ============================================
   Use Cases Section – Tabbed, Mobile Responsive
   ============================================ */
.use-cases {
    background: var(--light-bg-secondary);
    padding: var(--space-lg) 0;
}

.use-cases .section-header {
    margin-bottom: var(--space-md);
}

.use-cases .workflow-subheading {
    margin-bottom: var(--space-sm);
}

.use-cases .workflow-step-item {
    gap: var(--space-sm);
}

.use-cases .workflow-step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
}

.use-cases .workflow-step-icon svg {
    width: 18px;
    height: 18px;
}

.use-cases .workflow-step-text {
    font-size: var(--font-size-sm);
}

.use-cases .workflow-step-arrow {
    width: 36px;
    min-width: 36px;
    padding: 0.2rem 0;
}

.use-cases .workflow-step-arrow svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   Built for Every Use Case – Tabbed layout
   ============================================ */
.use-case-tabbed {
    margin-top: var(--space-md);
}

/* Desktop: horizontal tabs above content (folder-tab style) */
.uc-tabbed-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--light-border);
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.uc-tab-nav-wrap {
    flex-shrink: 0;
}

.uc-tab-select {
    display: none;
}

.uc-tabs-list {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid var(--light-border);
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.uc-tabs-list::-webkit-scrollbar {
    height: 4px;
}

.uc-tabs-list::-webkit-scrollbar-thumb {
    background: var(--light-border);
    border-radius: 4px;
}

.uc-tab-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    margin-bottom: -1px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    flex-shrink: 0;
    min-width: fit-content;
    white-space: nowrap;
}

.uc-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
}

.uc-tab-btn.active {
    color: var(--flowkiq-orange);
    background: white;
    border-bottom-color: white;
}

.uc-tab-panels {
    flex: 1;
    min-width: 0;
}

.uc-tab-panel {
    display: none;
    animation: ucPanelFade 0.3s ease;
}

.uc-tab-panel.active {
    display: block;
}

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

/* One card per use case: main content + impact strip inside */
.ue-single-card {
    background: white;
    border: 1px solid var(--light-border);
    /* border-radius: var(--radius-2xl); */
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ue-card-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    align-items: start;
}

.ue-card-info {
    display: flex;
    flex-direction: column;
}

.ue-card-workflow {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #FFF8F0 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(232, 133, 1, 0.1);
}

/* What This Means – integrated strip inside same card */
.ue-card-impact {
    background: linear-gradient(90deg, #F8FAFC 0%, #F1F5F9 100%);
    border-top: 1px solid var(--light-border);
    padding: var(--space-md) var(--space-xl);
}

.ue-impact-heading {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.ue-impact-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.ue-impact-tile {
    background: white;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-xs);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.ue-impact-tile:hover {
    border-color: rgba(232, 133, 1, 0.3);
    box-shadow: 0 4px 14px rgba(232, 133, 1, 0.1);
    transform: translateY(-2px);
}

.ue-impact-tile svg {
    width: 18px;
    height: 18px;
    color: var(--flowkiq-orange);
}

.ue-tile-value {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.ue-tile-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.35;
    text-align: center;
}

.use-cases .ue-tile-value {
    font-size: 1rem;
}

/* Keep existing badge + feature list + workflow styles */
.use-case-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(232, 133, 1, 0.12);
    color: var(--flowkiq-orange-dark);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.use-case-panel-badge svg {
    width: 12px;
    height: 12px;
}

.use-case-panel-title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.use-case-panel-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    margin-bottom: var(--space-sm);
}

.use-case-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    margin-bottom: 0.35rem;
}

.use-case-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(232, 133, 1, 0.15);
    color: var(--flowkiq-orange);
}

.use-case-check svg {
    width: 12px;
    height: 12px;
}

.workflow-heading {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.workflow-subheading {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.use-case-card-right {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #F0FDF4 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid rgba(232, 133, 1, 0.12);
}

.workflow-steps-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.workflow-step-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
}

.workflow-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-lg);
    color: white;
}

.workflow-step-icon svg {
    width: 22px;
    height: 22px;
}

.workflow-step-icon--green {
    background: #e88501;
}

.workflow-step-icon--mint {
    background: #6FCF97;
}

.workflow-step-icon--yellow {
    background: #E8B923;
}

.workflow-step-icon--blue {
    background: #4DABF7;
}

.workflow-step-icon--orange {
    background: #FF922B;
}

.workflow-step-icon--teal {
    background: #20C997;
}

.workflow-step-icon--purple {
    background: #9775FA;
}

.workflow-step-text {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
    flex: 1;
}

.workflow-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    padding: 0.35rem 0;
    color: var(--text-muted);
}

.workflow-step-arrow svg {
    width: 18px;
    height: 18px;
}

/* Business impact section removed – impact is now per-panel inside .ue-impact-row */

/* ============================================
   Features Section - Compact Grid
   ============================================ */
.features {
    background: var(--light-bg);
    padding: var(--space-2xl) 0;
}

.features .container {
    position: relative;
}

.features .section-header {
    margin-bottom: var(--space-xl);
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

/* Row 1: 3 equal cards (4 cols each) */
.features-bento-grid .feature-card-compact:nth-child(1),
.features-bento-grid .feature-card-compact:nth-child(2),
.features-bento-grid .feature-card-compact:nth-child(3) {
    grid-column: span 4;
}

/* Row 2: 2 wider cards (6 cols each) — Observability & AI Agents */
.features-bento-grid .feature-card-compact:nth-child(4),
.features-bento-grid .feature-card-compact:nth-child(5) {
    grid-column: span 6;
}

/* Row 3: 3 equal cards (4 cols each) */
.features-bento-grid .feature-card-compact:nth-child(6),
.features-bento-grid .feature-card-compact:nth-child(7),
.features-bento-grid .feature-card-compact:nth-child(8) {
    grid-column: span 4;
}

.feature-card-compact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-compact:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 41, 59, 0.2);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.feature-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--flowkiq-orange);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-compact:hover::before {
    opacity: 1;
}

.feature-icon-sm {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(232, 133, 1, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flowkiq-orange);
}

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

.feature-info h3 {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-info p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    margin: 0;
}

/* AI Features Section - Standout */
.ai-section-header {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    position: relative;
}

.ai-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.ai-inline-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    border: 1px solid rgba(232, 133, 1, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* AI card subtle glow pulse */
.ai-inline-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-inline-card:hover::before {
    opacity: 1;
    animation: aiGlowPulse 2s ease-in-out infinite;
}

@keyframes aiGlowPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.ai-inline-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(232, 133, 1, 0.22);
    border-color: rgba(232, 133, 1, 0.5);
}

.ai-inline-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--flowkiq-orange), var(--flowkiq-orange-dark));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232, 133, 1, 0.3);
    animation: aiIconFloat 4s ease-in-out infinite, aiIconPulse 2s ease-in-out infinite;
}

@keyframes aiIconFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

@keyframes aiIconPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(232, 133, 1, 0.3);
    }

    50% {
        box-shadow: 0 6px 20px rgba(232, 133, 1, 0.45);
    }
}

.ai-inline-card:nth-child(2) .ai-inline-icon {
    animation-delay: 1s, 0.5s;
}

.ai-inline-icon svg {
    width: 22px;
    height: 22px;
}

.ai-inline-info {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ai-inline-info h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.ai-inline-info p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ============================================
   Integrations Section
   ============================================ */
.integrations {
    background: var(--light-bg-secondary);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
}

.integrations .section-header {
    margin-bottom: var(--space-sm);
}

.integrations-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: var(--space-sm) 0 var(--space-md);
    position: relative;
}

.integrations-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: var(--space-2xl);
}

.integrations-carousel-wrapper:hover .integrations-track {
    animation-play-state: paused;
}

.app-card-mini {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    background: var(--light-card);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    min-width: 140px;
    transition: transform 0.3s ease;
}

.app-card-mini:hover {
    transform: scale(1.05);
}

.app-card-mini img {
    height: 40px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card-mini:hover img {
    transform: scale(1.2);
}

.app-card-mini span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

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

    100% {
        transform: translateX(calc(-50% - (var(--space-2xl) / 2)));
    }
}

.integrations-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
}

/* ============================================
   Contact/Form Section
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-bg-secondary) 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #2C3E50;
    border-top: none;
    padding: var(--space-xl) 0 var(--space-sm);
    color: #FFFFFF;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    max-width: 300px;
    margin-bottom: var(--space-sm);
}

/* Social icons below footer description */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.footer-social-link:hover {
    background: var(--flowkiq-orange);
    border-color: var(--flowkiq-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(232, 133, 1, 0.35);
}

.footer-social-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.footer-heading {
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
    margin-bottom: var(--space-md);
    color: #FFFFFF;
}

.footer-address-text {
    font-style: normal;
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    margin: 0 0 var(--space-md) 0;
}

.footer-address-text a {
    color: var(--flowkiq-orange-light);
    text-decoration: none;
}

.footer-address-text a:hover {
    color: var(--flowkiq-orange);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--flowkiq-orange-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
}

/* ============================================
   Contact Page - Two columns: intro left, form right
   ============================================ */
.contact-page {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-page-inner {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 70px);
}

.contact-left {
    flex: 0 0 36%;
    max-width: 420px;
    background: linear-gradient(160deg, #FFF3E0 0%, #FFF8F0 50%, #FEEBC8 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.contact-left::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 133, 1, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-left::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 133, 1, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-left-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.contact-heading {
    font-size: clamp(1.5rem, 2.5vw, var(--font-size-2xl));
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-heading);
    margin: 0 0 var(--space-md);
    color: var(--text-primary);
}

.contact-subtext {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    margin: 0 0 var(--space-lg);
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-benefit svg {
    width: 18px;
    height: 18px;
    color: var(--flowkiq-orange);
    flex-shrink: 0;
}

.contact-right {
    flex: 1;
    min-width: 0;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md) var(--space-lg);
    overflow: auto;
}

.contact-form-container {
    width: 100%;
    max-width: none;
}

.zf-form-wrap {
    width: 100%;
}

.zf-form-wrap .contact-iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: none;
}

/* ============================================
   About Page (synced with legal/content pages)
   ============================================ */
.about-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #FAFBFC 0%, #F1F5F9 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
}

.about-content .about-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(232, 133, 1, 0.2);
}

.about-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-list {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-list li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

/* ============================================
   Animations - Scroll Reveal (Multiple Types)
   ============================================ */

/* --- Scroll progress bar (more prominent) --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #334155, var(--flowkiq-orange), #334155);
    width: 0%;
    z-index: 9999;
    transition: width 0.08s ease-out;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(51, 65, 85, 0.3);
}

/* --- Bouncy easing for punch --- */
:root {
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Default: fade up --- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth),
        transform 0.8s var(--ease-bounce),
        filter 0.8s var(--ease-smooth);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
    filter: blur(0);
}

/* --- Fade from left (more dramatic) --- */
[data-animate="fade-left"] {
    opacity: 0;
    transform: translateX(-80px);
}

/* --- Fade from right --- */
[data-animate="fade-right"] {
    opacity: 0;
    transform: translateX(80px);
}

/* --- Scale up (with bounce) --- */
[data-animate="scale-up"] {
    opacity: 0;
    transform: scale(0.7);
}

/* --- Blur in --- */
[data-animate="blur-in"] {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(20px) scale(0.98);
}

/* --- Flip in (card turn) --- */
[data-animate="flip-up"] {
    opacity: 0;
    transform: perspective(800px) rotateX(20deg) translateY(40px);
}

/* --- All resolve to same .animate-in state --- */
[data-animate="fade-left"].animate-in,
[data-animate="fade-right"].animate-in,
[data-animate="scale-up"].animate-in,
[data-animate="blur-in"].animate-in,
[data-animate="flip-up"].animate-in {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) perspective(800px) rotateX(0deg);
    filter: blur(0);
}

/* --- Reverse / exit animations (scroll-out) --- */
[data-animate].animate-out {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-in,
        transform 0.5s ease-in,
        filter 0.5s ease-in;
}

[data-animate="fade-left"].animate-out {
    transform: translateX(-50px);
}

[data-animate="fade-right"].animate-out {
    transform: translateX(50px);
}

[data-animate="scale-up"].animate-out {
    transform: scale(0.85);
}

[data-animate="blur-in"].animate-out {
    filter: blur(8px);
    transform: translateY(15px) scale(0.98);
}

[data-animate="flip-up"].animate-out {
    transform: perspective(800px) rotateX(12deg) translateY(30px);
}

/* Integrations reverse */
.integrations .section-header:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

.integrations-carousel-wrapper:not(.revealed) {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

.integrations-footer:not(.revealed) {
    opacity: 0;
    transform: translateY(15px);
}

/* --- Glow sweep on cards when they enter --- */
.feature-card-compact::after,
.ai-inline-card::after,
.ue-impact-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(30, 41, 59, 0.04),
            transparent);
    transition: left 0.8s ease 0.2s;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card-compact.animate-in::after,
.ai-inline-card.animate-in::after {
    left: 100%;
}

.ue-impact-tile.revealed::after {
    left: 100%;
}

/* --- Stagger children helper --- */
[data-stagger]>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-smooth),
        transform 0.6s var(--ease-bounce);
}

[data-stagger].stagger-in>* {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle float for feature cards */
.feature-card-compact {
    animation: subtleFloat 6s ease-in-out infinite;
    animation-play-state: paused;
}

.feature-card-compact.animate-in {
    animation-play-state: running;
}

.feature-card-compact:nth-child(1) {
    animation-delay: 0s;
}

.feature-card-compact:nth-child(2) {
    animation-delay: 1s;
}

.feature-card-compact:nth-child(3) {
    animation-delay: 2s;
}

.feature-card-compact:nth-child(4) {
    animation-delay: 0.5s;
}

.feature-card-compact:nth-child(5) {
    animation-delay: 1.5s;
}

.feature-card-compact:nth-child(6) {
    animation-delay: 2.5s;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Section title entrance */
.section-title {
    transition: all 0.8s var(--ease-smooth);
}

/* --- Card 3D tilt on hover --- */
.tilt-card {
    transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* --- Workflow connector draw animation --- */
.workflow-connector {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s var(--ease-bounce) 0.3s;
}

.workflow-connector.connector-visible {
    opacity: 0.6;
    transform: translateX(0);
}

/* --- Section parallax layers --- */
.section-parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.section-parallax-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    will-change: transform;
    z-index: 0;
    pointer-events: none;
}

.section .container {
    position: relative;
    z-index: 1;
}

/* --- Integrations scroll reveal --- */
.integrations .section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-bounce);
}

.integrations .section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.integrations-carousel-wrapper {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.8s var(--ease-smooth) 0.2s, transform 0.8s var(--ease-bounce) 0.2s;
}

.integrations-carousel-wrapper.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.integrations-footer {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s var(--ease-smooth) 0.4s, transform 0.6s var(--ease-bounce) 0.4s;
}

.integrations-footer.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Desktop */
@media (min-width: 1025px) {
    .features {
        padding: var(--space-xl) 0;
    }

    .features .section-header {
        margin-bottom: var(--space-lg);
    }
}

/* Laptop / short viewport: fit hero without scroll */
@media (max-height: 800px) and (min-width: 768px) {
    .hero-content-wrap {
        padding: var(--space-lg) var(--space-md);
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3.5rem);
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        margin-bottom: var(--space-md);
        font-size: 1.0625rem;
    }

    .trust-badges {
        margin-bottom: var(--space-md);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .section {
        padding: var(--space-xl) 0;
    }

    .section-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-md);
    }

    .how-cards {
        grid-template-columns: 1fr;
    }

    .ue-card-main {
        grid-template-columns: 1fr;
    }

    .ue-impact-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-rows {
        max-width: 100%;
    }

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

    .features-bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .features-bento-grid .feature-card-compact:nth-child(1),
    .features-bento-grid .feature-card-compact:nth-child(2),
    .features-bento-grid .feature-card-compact:nth-child(3) {
        grid-column: span 2;
    }

    .features-bento-grid .feature-card-compact:nth-child(4),
    .features-bento-grid .feature-card-compact:nth-child(5) {
        grid-column: span 3;
    }

    .features-bento-grid .feature-card-compact:nth-child(6),
    .features-bento-grid .feature-card-compact:nth-child(7),
    .features-bento-grid .feature-card-compact:nth-child(8) {
        grid-column: span 2;
    }

    .hero-nodes {
        display: none;
    }

    /* Hero split: stack on tablet, center text */
    .hero-split {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg) 0;
        text-align: center;
    }

    .hero-text-col {
        max-width: none;
        text-align: center;
    }

    .hero-text-col .trust-badges {
        justify-content: center;
    }

    .hero-text-col .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .wf-canvas {
        width: 380px;
        height: 400px;
    }

    .wf-node { width: 160px; height: 50px; }
    .wf-node-trigger { top:   0px; left: 110px; }
    .wf-node-filter  { top: 115px; left: 110px; }
    .wf-node-ai      { top: 230px; left: 110px; }
    .wf-node-email   { top: 345px; left:   0px; }
    .wf-node-slack   { top: 345px; left: 220px; }

    /* Competitor logos on tablet */
    .competitor-logos {
        gap: 1rem;
    }

    .competitor-logo-card {
        padding: 12px 18px;
        min-width: 90px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .nav-wrapper {
        min-width: 0;
        gap: var(--space-sm);
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .logo svg {
        max-width: 140px;
        width: 100%;
        height: auto;
    }

    /* Mobile menu overlay – below navbar only (keeps header sharp) */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.45);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-overlay.visible {
        display: block;
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile menu panel – full width and height below navbar */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        min-height: calc(100vh - 70px);
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg) var(--space-md);
        padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
        padding-left: calc(var(--space-md) + env(safe-area-inset-left, 0px));
        padding-right: calc(var(--space-md) + env(safe-area-inset-right, 0px));
        gap: 0;
        border: none;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.25s ease;
        pointer-events: none;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile: main nav links – larger tap targets, no overflow */
    .nav-menu .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: var(--font-size-base);
        font-weight: 500;
        color: var(--text-primary);
        border-bottom: 1px solid var(--light-border);
        min-width: 0;
        word-wrap: break-word;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .btn-primary {
        min-width: 0;
    }

    /* Mobile: Product dropdown as accordion */
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--light-border);
    }

    .nav-dropdown-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        text-align: left;
        padding: 1rem 0;
        font-size: var(--font-size-base);
        font-weight: 500;
        color: var(--text-primary);
    }

    .nav-dropdown-trigger::after {
        display: none;
    }

    .nav-dropdown-trigger .nav-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-left: auto;
        color: var(--text-secondary);
        transition: transform 0.25s ease;
        order: 1;
    }

    .nav-chevron svg {
        width: 18px;
        height: 18px;
        display: block;
    }

    .nav-dropdown.is-open .nav-dropdown-trigger .nav-chevron {
        transform: rotate(180deg);
        color: var(--flowkiq-orange);
    }

    .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0.75rem var(--space-md);
        margin: 0;
        margin-top: -1px;
        background: var(--light-bg-secondary);
        display: none;
        list-style: none;
        border-left: 3px solid var(--flowkiq-orange);
        margin-left: 0;
    }

    .nav-dropdown.is-open .nav-submenu {
        display: block;
    }

    .nav-submenu li {
        margin: 0;
    }

    .nav-submenu a {
        display: block;
        padding: 0.75rem 0 0.75rem var(--space-sm);
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .nav-submenu a:hover {
        color: var(--flowkiq-orange);
        background: transparent;
    }

    /* Mobile: Book Demo – full width CTA */
    .nav-menu .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
        padding: 1rem var(--space-lg);
        font-size: var(--font-size-base);
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    /* Hero split: stack on mobile */
    .hero .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .hero-split {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-md) 0;
        text-align: center;
    }

    .hero-text-col {
        max-width: none;
        text-align: center;
    }

    .hero-text-col .trust-badges {
        justify-content: center;
    }

    .hero-text-col .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    /* Workflow canvas: shrink on mobile */
    .wf-canvas {
        width: 320px;
        height: 340px;
    }

    .wf-node { width: 140px; height: 46px; padding: 0 10px; gap: 8px; border-radius: 12px; }
    .wf-node-trigger { top:   0px; left:  90px; }
    .wf-node-filter  { top:  96px; left:  90px; }
    .wf-node-ai      { top: 190px; left:  90px; }
    .wf-node-email   { top: 284px; left:   0px; }
    .wf-node-slack   { top: 284px; left: 180px; }
    .wf-node-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 7px; }
    .wf-node-label { font-size: 10px; }
    .wf-node-sublabel { font-size: 8.5px; }

    .hero-content-wrap {
        padding: var(--space-lg) var(--space-sm);
        margin: 0;
        border-radius: 20px;
        max-width: none;
    }

    /* Hero workflow SVG hidden on tablet/mobile */
    .hero-workflow-svg {
        display: none;
    }

    /* Competitor logos on mobile */
    .competitor-logos {
        gap: 0.75rem;
    }

    .competitor-logo-card {
        padding: 10px 14px;
        min-width: 80px;
    }

    .competitor-logo-img {
        height: 28px;
    }

    /* Footer social on mobile */
    .footer-social {
        gap: 8px;
    }

    .action-rows {
        max-width: 100%;
    }

    .action-row {
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .action-row-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .action-row-icon i {
        width: 18px;
        height: 18px;
    }

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

    .benefit-card {
        padding: var(--space-lg);
    }

    .competitor-tags {
        margin-bottom: var(--space-xl);
    }

    /* Use case – mobile: select dropdown instead of tabs */
    .use-case-tabbed {
        margin-top: var(--space-lg);
    }

    .uc-tabbed-layout {
        border-radius: var(--radius-xl);
    }

    .uc-tab-nav-wrap {
        padding: var(--space-sm);
        border-bottom: 1px solid var(--light-border);
    }

    .uc-tabs-list {
        display: none !important;
    }

    .uc-tab-select {
        display: block;
        width: 100%;
        padding: 0.875rem 2.5rem 0.875rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        background: var(--bg-subtle);
        border: 1px solid var(--light-border);
        border-radius: var(--radius-lg);
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 1.25rem;
    }

    .uc-tab-select:focus {
        outline: none;
        border-color: var(--flowkiq-orange);
        box-shadow: 0 0 0 2px rgba(232, 133, 1, 0.2);
    }

    .uc-tab-panels {
        padding: 0;
    }

    .ue-single-card {
        /* border-radius: var(--radius-xl);     */
    }

    .ue-card-main {
        grid-template-columns: 1fr;
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-xl);
    }

    .ue-card-workflow {
        padding: var(--space-md) var(--space-md);
    }

    .ue-card-impact {
        padding: var(--space-lg) var(--space-lg);
    }

    .ue-impact-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .ue-impact-tile {
        padding: var(--space-md) var(--space-sm);
    }

    .workflow-step-item {
        gap: var(--space-sm);
    }

    .workflow-step-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

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

    .workflow-step-arrow {
        width: 40px;
        min-width: 40px;
    }

    .workflow-step-arrow svg {
        width: 16px;
        height: 16px;
    }

    .workflow-step-text {
        font-size: 0.875rem;
    }

    /* Features responsive */
    .features-bento-grid {
        grid-template-columns: 1fr;
    }

    .features-bento-grid .feature-card-compact:nth-child(n) {
        grid-column: span 1;
    }

    /* AI features responsive */
    .ai-section-header {
        margin-top: var(--space-lg);
    }

    .ai-inline-grid {
        grid-template-columns: 1fr;
    }

    .ai-inline-card {
        padding: var(--space-md);
    }

    .ai-inline-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .ai-inline-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Contact page responsive */
    .contact-page-inner {
        flex-direction: column;
        min-height: 0;
        width: 100%;
    }

    .contact-left {
        flex: none;
        max-width: none;
        padding: var(--space-xl) var(--space-lg);
    }

    .contact-left-content {
        text-align: center;
    }

    .contact-benefits {
        align-items: center;
    }

    .contact-right {
        padding: var(--space-md) var(--space-xs);
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form-container {
        width: 100%;
        max-width: 100%;
    }

    /* Footer responsive */
    .footer {
        padding: var(--space-xl) 0 var(--space-sm);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) var(--space-md);
        margin-bottom: var(--space-md);
    }

    .footer-logo svg {
        width: 130px;
        height: auto;
    }

    .footer-logo {
        margin-bottom: var(--space-xs);
    }

    .footer-tagline {
        font-size: var(--font-size-sm);
        max-width: none;
    }

    .footer-heading {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-xs);
    }

    .footer-links {
        gap: var(--space-xs);
    }

    .footer-links a {
        font-size: var(--font-size-xs);
    }

    .footer-bottom {
        padding-top: var(--space-sm);
        font-size: var(--font-size-xs);
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .section-header {
        margin-bottom: var(--space-md);
    }

    /* Integrations mobile */
    .integrations-carousel-wrapper {
        padding: var(--space-sm) 0 var(--space-md);
    }

    .integrations-track {
        gap: var(--space-md);
    }

    .app-card-mini {
        padding: var(--space-sm);
        min-width: 100px;
        gap: var(--space-xs);
    }

    .app-card-mini img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .hero .container {
        padding-left: var(--space-xs);
        padding-right: var(--space-xs);
    }

    .hero-content-wrap {
        padding: var(--space-md) var(--space-sm);
    }

    .logo svg {
        max-width: 120px;
    }

    .hero-title {
        font-size: clamp(1.875rem, 6vw, 2.25rem);
    }

    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--space-sm);
    }

    .use-case-card {
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .use-case-card-right {
        padding: var(--space-sm);
    }

    .use-case-panel-title {
        font-size: 1.15rem;
    }

    .use-case-tabbed .ue-card-main {
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
    }

    .use-case-tabbed .ue-card-impact {
        padding: var(--space-md) var(--space-md);
    }

    .use-case-tabbed .ue-impact-tiles {
        gap: var(--space-sm);
    }

    .use-case-tabbed .ue-impact-tile {
        padding: var(--space-sm) var(--space-xs);
    }

    .workflow-heading {
        font-size: var(--font-size-base);
    }

    .workflow-step-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .workflow-step-icon svg {
        width: 18px;
        height: 18px;
    }

    .workflow-step-arrow {
        width: 36px;
        min-width: 36px;
    }

    .uc-tab-btn {
        padding: 0.875rem 0.5rem;
        font-size: 0.875rem;
    }

    .feature-card-compact {
        padding: var(--space-sm);
    }

    /* Contact page small */
    .contact-left {
        padding: var(--space-lg) var(--space-md);
    }

    .contact-heading {
        font-size: 1.35rem;
    }

    .contact-right {
        padding: var(--space-sm) 0;
        width: 100%;
    }

    .contact-form-container,
    .zf-form-wrap {
        width: 100%;
        max-width: 100%;
    }

    /* Footer stacks fully on small screens */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .ai-inline-card {
        padding: var(--space-sm);
        gap: 0.6rem;
    }

    .ai-inline-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 8px;
    }

    .ai-inline-icon svg {
        width: 16px;
        height: 16px;
    }

    .ai-inline-info h4 {
        font-size: var(--font-size-base);
    }

    .ai-inline-info p {
        font-size: var(--font-size-sm);
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-animate {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--flowkiq-orange);
    outline-offset: 2px;
}

/* ============================================
   Coming Soon / Under Construction Page
   ============================================ */
.coming-soon-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    background: linear-gradient(175deg, #FAFBFC 0%, #F1F5F9 22%, #FFFFFF 48%, #F8FAFC 78%, #EFF3F8 100%);
    text-align: center;
}

.coming-soon-content {
    max-width: 560px;
    margin: 0 auto;
    animation: heroReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.coming-soon-icon-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--flowkiq-orange), var(--flowkiq-orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: iconPulse 2.5s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(232, 133, 1, 0.25);
}

.coming-soon-icon-wrap i {
    width: 40px;
    height: 40px;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(232, 133, 1, 0.25);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 12px 40px rgba(232, 133, 1, 0.35);
    }
}

.coming-soon-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--flowkiq-dark) 0%, var(--flowkiq-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.coming-soon-desc {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.coming-soon-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--flowkiq-orange), var(--flowkiq-orange-light));
    margin: 0 auto var(--space-lg);
    border-radius: 2px;
}

.coming-soon-sub {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-xl);
}

.coming-soon-page .btn-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
}

.coming-soon-page .btn-icon i {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .coming-soon-page {
        padding: 100px 1.5rem 3rem;
    }

    .coming-soon-icon-wrap {
        width: 72px;
        height: 72px;
    }

    .coming-soon-icon-wrap i {
        width: 32px;
        height: 32px;
    }
}