/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #ff6d3a;
    --secondary-color: #ff8d5f;
    --accent-color: #6ea8ff;
    --dark-bg: #0a0b14;
    --darker-bg: #06070f;
    --card-bg: #121525;
    --text-primary: #f4f6ff;
    --text-secondary: #c4cad8;
    --text-muted: #8c95aa;
    --border-color: #2a3144;
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6d3a 0%, #ff8d5f 100%);
    --gradient-secondary: linear-gradient(135deg, #6ea8ff 0%, #4b7cff 100%);
    --gradient-accent: linear-gradient(135deg, #5d7dff 0%, #8c65ff 100%);
    
    /* Spacing */
    --container-width: 1440px;
    --section-padding: 100px 0;
    --card-padding: 30px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 109, 58, 0.25);
    
    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Space Grotesk', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
    width: min(94vw, var(--container-width));
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 110px;
    padding-bottom: 40px;
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 109, 58, 0.2), transparent 48%),
        radial-gradient(circle at 82% 76%, rgba(110, 168, 255, 0.18), transparent 52%),
        linear-gradient(135deg, #080a17 0%, #090d1f 48%, #070914 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 24% 42%, rgba(255, 141, 95, 0.22), transparent 45%),
        radial-gradient(circle at 78% 78%, rgba(93, 125, 255, 0.2), transparent 48%);
    pointer-events: none;
}

/* AI sci-fi particle layer */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
    background-image:
        radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.5) 0 2.8px, transparent 3px),
        radial-gradient(circle at 18% 72%, rgba(110, 168, 255, 0.48) 0 2.3px, transparent 2.5px),
        radial-gradient(circle at 35% 35%, rgba(255, 141, 95, 0.52) 0 2.5px, transparent 2.7px),
        radial-gradient(circle at 48% 80%, rgba(255, 255, 255, 0.38) 0 2.2px, transparent 2.4px),
        radial-gradient(circle at 63% 28%, rgba(255, 141, 95, 0.45) 0 2.6px, transparent 2.8px),
        radial-gradient(circle at 76% 62%, rgba(110, 168, 255, 0.44) 0 2.2px, transparent 2.4px),
        radial-gradient(circle at 90% 22%, rgba(255, 255, 255, 0.4) 0 2.5px, transparent 2.7px);
    background-size: 230px 230px, 280px 280px, 320px 320px, 260px 260px, 300px 300px, 340px 340px, 270px 270px;
    animation: heroParticlesFloat 14s linear infinite, heroPulseGlow 5.5s ease-in-out infinite;
}

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

.hero-energy::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.035) 0,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px,
            transparent 7px
        );
    opacity: 0.45;
    animation: heroScanlineDrift 16s linear infinite;
}

.hero-energy::after {
    content: '';
    position: absolute;
    width: 66%;
    height: 120%;
    left: -24%;
    top: -10%;
    background:
        radial-gradient(circle at 40% 50%, rgba(255, 109, 58, 0.32), transparent 55%),
        radial-gradient(circle at 65% 42%, rgba(110, 168, 255, 0.28), transparent 58%);
    filter: blur(16px);
    opacity: 0.88;
    animation: heroEnergySweep 10s ease-in-out infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 109, 58, 0.35);
    border-radius: 999px;
    background: rgba(255, 109, 58, 0.08);
    color: #ffc3ad;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-eyebrow i {
    color: var(--primary-color);
}

.hero-title {
    font-size: 3rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 58ch;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.hero-support {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 62ch;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.2;
}

.hero-proof i {
    color: var(--accent-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 460px;
    animation: fadeIn 1s ease;
}

.visual-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.visual-card i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    top: 4%;
    left: 14%;
    animation-delay: 0s;
}

.card-2 {
    top: 42%;
    left: 22%;
    animation: floatCard2 6s ease-in-out infinite;
    animation-delay: 1s;
    animation-fill-mode: both;
}

.card-3 {
    bottom: 4%;
    right: 12%;
    animation-delay: 2s;
}

.card-4 {
    top: 23%;
    right: 8%;
    animation-delay: 3s;
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */

.trust-strip {
    padding: 60px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Introduction video (16:9, reserved space + poster)
   ========================================================================== */

.intro-video-section {
    padding: 72px 0 88px;
    background: linear-gradient(180deg, var(--darker-bg) 0%, rgba(10, 11, 20, 0.92) 100%);
    border-bottom: 1px solid var(--border-color);
}

.intro-video-header {
    text-align: center;
    margin-bottom: 36px;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.intro-video-aspect {
    position: relative;
    width: 100%;
    max-width: min(1080px, 100%);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: #05060c;
}

/* Fills letterboxing when video uses object-fit: contain */
.intro-video-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 109, 58, 0.12), transparent 60%),
        radial-gradient(ellipse 70% 50% at 70% 80%, rgba(140, 101, 255, 0.14), transparent 55%),
        linear-gradient(145deg, #070914 0%, #0a0d18 50%, #06070f 100%);
    pointer-events: none;
}

.intro-video-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(5, 6, 12, 0.55);
    transition: opacity 0.45s ease, visibility 0.45s ease;
    pointer-events: none;
}

.intro-video-aspect.is-media-ready .intro-video-loading {
    opacity: 0;
    visibility: hidden;
}

.intro-video-loading-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary-color);
    animation: introVideoSpin 0.85s linear infinite;
}

@keyframes introVideoSpin {
    to {
        transform: rotate(360deg);
    }
}

.intro-video-player {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* ==========================================================================
   Conversation-led growth section
   ========================================================================== */

.conversation-growth {
    padding: 92px 0;
    background: var(--dark-bg);
}

.conversation-growth-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.conversation-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.8vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.conversation-copy > p {
    color: var(--text-secondary);
    font-size: 1.14rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 68ch;
}

.conversation-pillars {
    border-left: 3px solid rgba(110, 168, 255, 0.35);
    padding-left: 22px;
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.conversation-pillar-btn {
    border: none;
    background: transparent;
    color: rgba(244, 246, 255, 0.44);
    text-align: left;
    padding: 0;
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.22;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.conversation-pillar-btn:hover {
    color: rgba(244, 246, 255, 0.72);
}

.conversation-pillar-btn.is-active {
    color: var(--text-primary);
    transform: translateX(2px);
}

.conversation-panel-group {
    position: relative;
    min-height: 126px;
}

.conversation-panel {
    display: none;
}

.conversation-panel.is-active {
    display: block;
}

.conversation-panel p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 60ch;
}

.conversation-visual {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 24px 170px;
    min-height: 520px;
    background:
        radial-gradient(circle at 82% 14%, rgba(93, 125, 255, 0.22), transparent 44%),
        radial-gradient(circle at 10% 90%, rgba(255, 141, 95, 0.16), transparent 48%),
        linear-gradient(145deg, #e7ecf9 0%, #c3d0ea 46%, #a9b9da 100%);
    box-shadow: var(--shadow-lg);
}

.growth-visual-panel {
    display: none;
}

.growth-visual-panel.is-active {
    display: block;
}

.conversation-chat-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    padding: 22px 18px;
    display: grid;
    gap: 12px;
}

.chat-bubble {
    max-width: 87%;
    padding: 11px 14px;
    border-radius: 12px;
    background: #f6f8fd;
    color: #1f2940;
    font-size: 0.93rem;
    line-height: 1.45;
    box-shadow: 0 1px 8px rgba(26, 34, 54, 0.12);
}

.chat-bubble-answer {
    justify-self: end;
    background: #e9f0ff;
}

.conversation-call-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: min(290px, calc(100% - 36px));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 36px rgba(16, 24, 40, 0.2);
}

.call-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #36517e;
    background: #edf3ff;
}

.call-card-contact {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 15px 14px;
    color: #1f2940;
}

.call-card-contact i {
    color: #22c55e;
}

.call-card-contact strong {
    display: block;
    line-height: 1.2;
}

.call-card-contact p {
    margin-top: 3px;
    color: #5b6782;
    font-size: 0.92rem;
}

.call-card-end {
    display: block;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f43f5e 0%, #ef4444 100%);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
    padding: var(--section-padding);
}

/* Layered frame: full-bleed visual, bottom caption, floating rail overlaps top-right */
.services-showcase {
    margin-top: 8px;
}

.services-showcase-frame {
    position: relative;
}

.services-showcase-stage {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: opacity 0.28s ease;
    min-width: 0;
}

.services-showcase-stage.is-fading {
    opacity: 0;
}

/* Only the active panel participates in layout height (avoids “max of all tabs” stretching) */
.services-showcase-panels {
    position: relative;
}

.services-showcase-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.services-showcase-panel.is-active {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

/* Single cohesive frame: backdrop fills cell; copy overlays bottom */
.services-showcase-panel-inner {
    position: relative;
    display: block;
    min-width: 0;
    min-height: min(480px, 74vh);
    overflow: hidden;
}

/* Screenshot tab: hero height +20% vs base so the mockup reads larger */
.services-showcase-panel-inner:has(.services-showcase-visual--image) {
    min-height: max(336px, min(69.6vh, 648px));
}

.services-showcase-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-showcase-backdrop .services-showcase-visual {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.services-showcase-backdrop .services-showcase-visual--image {
    min-height: 0;
    height: 100%;
    max-height: min(69.6vh, 648px);
}

.services-showcase-visual {
    width: 100%;
    min-height: 0;
    min-width: 0;
}

.services-showcase-visual--image {
    background: #0a0b14;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 336px;
    max-height: min(69.6vh, 648px);
}

.services-showcase-visual--image img {
    width: 100%;
    height: auto;
    max-height: min(69.6vh, 648px);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.services-showcase-visual--abstract {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    max-height: none;
    background:
        radial-gradient(ellipse 70% 80% at 20% 30%, rgba(255, 109, 58, 0.15), transparent 55%),
        radial-gradient(ellipse 60% 70% at 85% 70%, rgba(110, 168, 255, 0.12), transparent 50%),
        linear-gradient(160deg, #121525 0%, #0a0d18 100%);
    border-right: none;
}

.services-showcase-visual--abstract i {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: rgba(255, 141, 95, 0.35);
}

.services-showcase-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 32px 28px 26px;
    padding-right: max(28px, min(336px, 46%));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 10, 18, 0.5) 0%,
        rgba(8, 10, 18, 0.75) 55%,
        rgba(8, 10, 18, 1) 100%
    );
}

.services-showcase-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.services-showcase-heading h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-display);
    line-height: 1.2;
}

.services-showcase-panel-inner .services-showcase-heading h3 {
    color: #f1f4fb;
}

.services-showcase-mini-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.services-showcase-mini-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.services-showcase-copy .service-brands {
    margin-top: 4px;
    margin-bottom: 14px;
}

.services-showcase-copy > p {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: none;
    margin: 0;
}

.services-showcase-panel-inner .services-showcase-copy > p {
    color: rgba(241, 244, 251, 0.9);
}

.services-showcase-panel-inner .services-showcase-copy .service-brand {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.services-showcase-panel-inner .services-showcase-copy .service-brand:hover {
    background: rgba(255, 109, 58, 0.18);
    border-color: rgba(255, 109, 58, 0.45);
}

.services-showcase-rail {
    background: linear-gradient(180deg, rgba(9, 13, 24, 0.96) 0%, rgba(12, 18, 32, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 22px 18px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 22px;
    right: 22px;
    width: min(292px, calc(100% - 44px));
    z-index: 4;
}

.services-rail-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(241, 244, 251, 0.72);
    margin-bottom: 6px;
}

.services-rail-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f4fb;
    line-height: 1.2;
    margin-bottom: 18px;
}

.services-rail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-rail-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(241, 244, 251, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.services-rail-btn:hover {
    border-color: rgba(255, 109, 58, 0.5);
    background: rgba(255, 109, 58, 0.14);
    color: #fff;
}

.services-rail-btn.is-active {
    border-color: var(--primary-color);
    background: rgba(255, 109, 58, 0.2);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 109, 58, 0.2);
}

.services-rail-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 109, 58, 0.24) 0%, rgba(255, 141, 95, 0.16) 100%);
    color: #ffd6c6;
    flex-shrink: 0;
}

.services-rail-btn.is-active .services-rail-btn-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.services-rail-btn-label {
    line-height: 1.25;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--card-padding);
    transition: var(--transition);
    cursor: pointer;
    overflow: visible;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.service-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
}

.service-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-brand[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--text-primary);
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 50;
}

.service-brand[data-tooltip]::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: var(--border-color);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s;
    z-index: 51;
}

.service-brand[data-tooltip]:hover::after,
.service-brand[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

.service-brand[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(0);
}

.service-brand:hover {
    border-color: rgba(255, 109, 58, 0.45);
    background: rgba(255, 109, 58, 0.1);
    transform: translateY(-2px);
}

.service-brand i {
    font-size: 1.2rem;
}

.service-brand .fab.fa-slack {
    color: #e01e5a;
}

.service-brand .fab.fa-whatsapp {
    color: #25d366;
}

.service-brand .fab.fa-telegram {
    color: #26a5e4;
}

.service-brand .fab.fa-threads {
    color: #f4f4f5;
}

.service-brand .fab.fa-chrome {
    color: #4285f4;
}

.service-brand .fab.fa-microsoft {
    color: #f25022;
}

.service-brand .fab.fa-wordpress {
    color: #21759b;
}

.service-brand .fab.fa-shopify {
    color: #95bf47;
}

.service-brand .fas.fa-database {
    color: var(--accent-color);
}

.service-brand .fab.fa-facebook {
    color: #1877f2;
}

.service-brand .fab.fa-instagram {
    color: #e4405f;
}

.service-brand .fab.fa-edge {
    color: #0078d7;
}

.service-brand .fab.fa-safari {
    color: #1b98f0;
}

.service-brand .fab.fa-openai {
    color: #10a37f;
}

.service-brand-svg {
    width: 22px;
    height: 22px;
    display: block;
}

.service-brand-gemini {
    width: 24px;
    height: 24px;
    display: block;
}

.service-brand-gemini-wrap {
    padding: 8px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Lead-to-Revenue Journey Section
   ========================================================================== */

.journey-section {
    padding: var(--section-padding);
}

.journey-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
}

.journey-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 19, 34, 0.82) 0%, rgba(10, 12, 22, 0.95) 100%);
    box-shadow: var(--shadow-md);
    padding: 26px 24px;
}

.journey-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.journey-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.journey-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 12px 12px 12px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.journey-step-index {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 6px 14px rgba(255, 109, 58, 0.25);
}

.journey-steps li p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.journey-card-note p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.journey-card-note p:last-of-type {
    margin-bottom: 18px;
}

.journey-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.journey-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffd9ca;
    border: 1px solid rgba(255, 109, 58, 0.34);
    background: rgba(255, 109, 58, 0.1);
}

.journey-zoom-trigger {
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: zoom-in;
    text-align: left;
    color: inherit;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.journey-zoom-trigger:hover {
    border-color: rgba(255, 109, 58, 0.5);
    transform: translateY(-2px);
}

.journey-zoom-trigger img {
    width: 100%;
    height: auto;
    display: block;
}

.journey-zoom-trigger span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.86rem;
    color: #f6c9b5;
    background: rgba(8, 10, 18, 0.84);
}

.image-zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.88);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-zoom-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-zoom-modal img {
    width: min(1200px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    background: #070910;
}

.image-zoom-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(12, 14, 24, 0.9);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

/* ==========================================================================
   Problems Section
   ========================================================================== */

.problems-section {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.problems-subtitle,
.outcomes-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.problems-list,
.outcomes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problems-list li,
.outcomes-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.problems-list i {
    color: var(--danger-color);
    margin-top: 5px;
    font-size: 1.2rem;
}

.outcomes-list i {
    color: var(--success-color);
    margin-top: 5px;
    font-size: 1.2rem;
}

/* ==========================================================================
   Core Services - Interactive Tabs
   ========================================================================== */

.core-services {
    padding: var(--section-padding);
}

/* n8n-like workflow showcase */
.automation-showcase {
    margin-top: 46px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(10, 11, 20, 0.85) 0%, rgba(6, 7, 15, 0.98) 100%);
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 700px;
    overflow: hidden;
}

.automation-side-list {
    border-right: 1px solid var(--border-color);
    background: rgba(18, 21, 37, 0.62);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-item {
    width: 100%;
    text-align: left;
    padding: 16px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.01);
    color: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.side-item:hover {
    border-color: rgba(255, 109, 58, 0.35);
    background: rgba(255, 109, 58, 0.05);
}

.side-item.is-active {
    border-color: rgba(255, 109, 58, 0.45);
    background: rgba(255, 109, 58, 0.08);
}

.side-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

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

.workflow-canvas {
    position: relative;
    padding: 32px 28px;
    min-height: 560px;
    background-image: radial-gradient(circle at 1px 1px, rgba(110, 168, 255, 0.17) 1px, transparent 0);
    background-size: 26px 26px;
}

.automation-main {
    display: grid;
    grid-template-rows: auto auto;
}

.automation-detail {
    border-top: 1px solid var(--border-color);
    padding: 24px 28px 30px;
    background: rgba(10, 11, 20, 0.84);
}

.automation-detail h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.automation-detail > p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    max-width: 92ch;
}

.automation-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.automation-steps h4,
.automation-benefits h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.automation-steps ol {
    padding-left: 18px;
    color: var(--text-secondary);
    display: grid;
    gap: 8px;
}

.automation-benefits ul {
    display: grid;
    gap: 8px;
}

.automation-benefits li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 18px;
}

.automation-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

.flow-node,
.flow-tool {
    position: absolute;
    border-radius: 12px;
    border: 1px solid #4b556f;
    background: #1a1f31;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.flow-node i,
.flow-tool i {
    font-size: 1.3rem;
    color: #cfd5e4;
}

.flow-node span,
.flow-tool span {
    font-size: 0.78rem;
    line-height: 1.25;
    color: #d9dfec;
    padding: 0 6px;
}

.flow-node {
    width: 126px;
    height: 86px;
}

.flow-tool {
    width: 102px;
    height: 84px;
    border-radius: 999px;
    background: rgba(18, 21, 37, 0.9);
}

.node-trigger { left: 4%; top: 35%; }
.node-agent { left: 26%; top: 31%; width: 150px; height: 94px; }
.node-decision { left: 51%; top: 33%; width: 128px; height: 88px; }
.node-output-top { right: 8%; top: 17%; width: 148px; height: 92px; }
.node-output-bottom { right: 8%; top: 51%; width: 148px; height: 92px; }

.tool-ai { left: 22%; bottom: 9%; }
.tool-memory { left: 36%; bottom: 9%; }
.tool-auth { left: 51%; bottom: 9%; }
.tool-pm { left: 66%; bottom: 9%; }

.flow-line {
    position: absolute;
    display: block;
    background: rgba(198, 208, 230, 0.48);
    border-radius: 999px;
    z-index: 1;
}

.workflow-canvas.use-leaderline .flow-line {
    display: none;
}

.l1 { left: 14%; top: 42.4%; width: 13%; height: 2px; }
.l2 { left: 42.4%; top: 42.4%; width: 8.7%; height: 2px; }
.l3 { left: 63.8%; top: 37.4%; width: 16.8%; height: 2px; transform: rotate(-28deg); transform-origin: left center; }
.l4 { left: 63.8%; top: 48.4%; width: 16.8%; height: 2px; transform: rotate(28deg); transform-origin: left center; }
.l5 { left: 34.1%; top: 46%; width: 2px; height: 17%; }
.l6 { left: 42.2%; top: 46%; width: 2px; height: 17%; }
.l7 { left: 58.2%; top: 46%; width: 2px; height: 17%; }
.l8 { left: 67%; top: 46%; width: 2px; height: 17%; }
.l9 { left: 30%; top: 63%; width: 43%; height: 2px; }

/* Tabs Navigation (automation + AI chatbot capabilities share layout & pill style) */
.automation-tabs,
.chatbot-tabs {
    display: flex;
    gap: 15px;
    margin: 50px 0 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-button,
.chatbot-tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 150px;
}

.tab-button i,
.chatbot-tab-button i {
    font-size: 1.8rem;
    transition: var(--transition);
}

.tab-button:hover,
.chatbot-tab-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.tab-button.active,
.chatbot-tab-button.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.tab-button.active i,
.chatbot-tab-button.active i {
    color: white;
}

/* Tab Content */
.automation-content {
    position: relative;
    min-height: 600px;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

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

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    min-height: 500px;
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tab-text .lead-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Workflow Steps */
.workflow-steps {
    margin: 30px 0;
}

.workflow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--darker-bg);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}

.workflow-step:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-color);
}

.step-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.step-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Benefits List */
.benefits-list {
    margin-top: 30px;
    padding: 25px;
    background: var(--darker-bg);
    border-radius: 12px;
}

.benefits-list h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
}

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

.benefits-list li i {
    color: var(--success-color);
    font-size: 1rem;
}

.chatbot-features .benefits-list li i {
    color: var(--primary-color);
}

/* Tab Visual */
.tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    border-radius: 16px;
    padding: 30px;
}

.workflow-diagram {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.placeholder-visual {
    text-align: center;
    padding: 60px 30px;
}

.placeholder-visual i {
    font-size: 6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 20px;
}

.placeholder-visual p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   AI Chatbot Features Section
   ========================================================================== */

.chatbot-features {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

/* Single framed block: tabs + panels (tabs sit on a subtle strip so active state reads clearly) */
.chatbot-capabilities-card {
    margin-top: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.chatbot-capabilities-card .chatbot-tabs {
    margin: 0;
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.chatbot-capabilities-card .chatbot-tab-button:not(.active) {
    background: rgba(8, 10, 22, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.chatbot-capabilities-card .chatbot-tab-button:not(.active) i {
    color: rgba(175, 184, 208, 0.9);
}

.chatbot-capabilities-card .chatbot-tab-button:not(.active):hover {
    background: rgba(255, 109, 58, 0.1);
    border-color: var(--primary-color);
}

.chatbot-capabilities-card .chatbot-tab-button.active {
    box-shadow: var(--shadow-glow), 0 0 0 2px rgba(255, 109, 58, 0.45);
}

.chatbot-capabilities-card .chatbot-content {
    padding: 0;
}

.chatbot-capabilities-card .tab-content-grid {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin: 0;
}

/* Chatbot Content Panels */
.chatbot-content {
    position: relative;
    min-height: 600px;
}

.chatbot-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.chatbot-panel.active {
    display: block;
}

/* Chatbot Flow Items */
.chatbot-flow {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.flow-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--darker-bg);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    transition: var(--transition);
    align-items: flex-start;
}

.flow-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-color);
}

.flow-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Platform Integration: brand-accurate tile colors (icons stay white on brand bg) */
.flow-icon.platform {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.flow-icon.platform:has(.fa-whatsapp) {
    background: #25d366;
    border-color: rgba(255, 255, 255, 0.22);
}

.flow-icon.platform:has(.fa-comment-dots) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.flow-icon.platform:has(.fa-telegram) {
    background: #229ed9;
    border-color: rgba(255, 255, 255, 0.22);
}

.flow-icon.platform:has(.fa-instagram) {
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.flow-icon.platform:has(.fa-at) {
    background: #000000;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.flow-icon.rag {
    background: linear-gradient(135deg, #ff6d3a 0%, #a855f7 100%);
    color: white;
}

.flow-icon.segment {
    background: linear-gradient(135deg, #ff8d5f 0%, #6366f1 100%);
    color: white;
}

.flow-icon.media {
    background: linear-gradient(135deg, #ff6d3a 0%, #ec4899 48%, #9333ea 100%);
    color: white;
}

.flow-icon.followup {
    background: linear-gradient(135deg, #fbbf24 0%, #ff6d3a 52%, #f472b6 100%);
    color: white;
}

.flow-icon.always {
    background: linear-gradient(135deg, #5d7dff 0%, #c084fc 50%, #ff6d3a 100%);
    color: white;
}

.flow-icon.qualify {
    background: linear-gradient(135deg, #ff6d3a 0%, #6366f1 100%);
    color: white;
}

.flow-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.flow-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Chatbot Visual Flows */
.chatbot-visual-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.visual-platforms {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.platform-icon:has(.fa-whatsapp) {
    background: #25d366;
    border-color: rgba(37, 211, 102, 0.65);
    color: #fff;
}

.platform-icon:has(.fa-globe) {
    background: var(--gradient-primary);
    border-color: rgba(255, 109, 58, 0.55);
    color: #fff;
}

.platform-icon:has(.fa-telegram) {
    background: #229ed9;
    border-color: rgba(34, 158, 217, 0.65);
    color: #fff;
}

.platform-icon:has(.fa-instagram) {
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
    border-color: rgba(221, 42, 123, 0.45);
    color: #fff;
}

.platform-icon:has(.fa-at) {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.platform-icon:hover {
    transform: scale(1.1);
}

.platform-icon:has(.fa-whatsapp):hover {
    border-color: #128c7e;
}

.platform-icon:has(.fa-globe):hover {
    border-color: #ffb08a;
}

.platform-icon:has(.fa-telegram):hover {
    border-color: #0d7cb5;
}

.platform-icon:has(.fa-instagram):hover {
    border-color: #f9a8d4;
}

.platform-icon:has(.fa-at):hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.visual-arrow {
    font-size: 2rem;
    color: rgba(255, 141, 95, 0.95);
    font-weight: bold;
}

.visual-ai-engine,
.visual-output,
.visual-step,
.visual-processor {
    text-align: center;
    padding: 25px 35px;
    background: linear-gradient(145deg, #ff6d3a 0%, #e056a8 52%, #8c65ff 100%);
    border-radius: 12px;
    color: white;
    min-width: 200px;
    box-shadow:
        0 10px 32px rgba(255, 109, 58, 0.22),
        0 0 40px rgba(140, 101, 255, 0.16);
}

.visual-ai-engine i,
.visual-output i,
.visual-step i,
.visual-processor i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.visual-ai-engine span,
.visual-output span,
.visual-step span,
.visual-processor span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Chatbot Flow - Vertical Layout */
.chatbot-visual-flow.vertical {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.media-type-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    flex: 1;
    min-width: 80px;
    transition: var(--transition);
}

.media-type-icon:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.media-type-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.media-type-icon span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Timeline Visual */
.visual-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    min-width: 120px;
}

.timeline-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.timeline-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

.timeline-arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* 24/7 Visual (orange + violet — matches site primary / accent, not legacy green) */
.time-circle {
    text-align: center;
    padding: 40px;
    background: linear-gradient(145deg, #ff6d3a 0%, #e056a8 52%, #8c65ff 100%);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow:
        0 12px 36px rgba(255, 109, 58, 0.28),
        0 0 52px rgba(140, 101, 255, 0.22);
}

.time-circle i {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
}

.time-label {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.time-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

.comparison-bars {
    width: 100%;
}

.bar-item {
    margin-bottom: 20px;
}

.bar-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.bar {
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    box-sizing: border-box;
}

.bar.traditional {
    width: 80%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Keep “fast = short bar” but never narrower than the label */
.bar.ai {
    width: max(15%, 9.5rem);
    max-width: 100%;
    background: linear-gradient(135deg, #ff6d3a 0%, #c084fc 55%, #8c65ff 100%);
    box-shadow: 0 0 20px rgba(255, 109, 58, 0.2);
}

/* Qualification Funnel */
.qualification-funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.funnel-stage {
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-sizing: border-box;
    max-width: 100%;
}

.funnel-stage:hover {
    background: linear-gradient(135deg, #ff6d3a 0%, #d946ef 45%, #8c65ff 100%);
    border-color: transparent;
}

.funnel-stage:hover i,
.funnel-stage:hover span {
    color: white;
}

.funnel-stage i {
    font-size: 2rem;
    color: var(--accent-color);
}

.funnel-stage span {
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.25;
}

/* Percent widths taper the funnel; min widths keep copy readable in narrow tab columns */
.funnel-stage.wide {
    width: max(90%, 14rem);
}

.funnel-stage.medium {
    width: max(72%, 13rem);
}

.funnel-stage.narrow {
    width: max(52%, 12.25rem);
}

.funnel-stage.very-narrow {
    width: max(38%, 11.75rem);
}

.funnel-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */

.solutions {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--card-padding);
    text-align: center;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.solution-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   How It Works Section (matches results / n8n-style cards)
   ========================================================================== */

.how-it-works {
    padding: var(--section-padding);
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(236, 72, 153, 0.08), transparent 45%),
        linear-gradient(180deg, #070510 0%, #0a0614 45%, #080612 100%);
}

.how-it-works .how-work-section-title {
    color: #f8fafc;
    background: none;
    -webkit-text-fill-color: #f8fafc;
    background-clip: border-box;
}

.how-work-lead {
    max-width: 640px;
    margin: -12px auto 48px;
    color: rgba(203, 190, 227, 0.92);
    font-size: 1.05rem;
    line-height: 1.75;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 0;
}

.step {
    text-align: left;
    position: relative;
}

.step-card {
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(45, 28, 72, 0.35) 0%, rgba(12, 8, 22, 0.92) 48%, rgba(8, 6, 16, 0.98) 100%);
    border: 1px solid rgba(236, 72, 153, 0.22);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.42);
    box-shadow:
        0 0 0 1px rgba(236, 72, 153, 0.2),
        0 0 40px rgba(236, 72, 153, 0.12),
        0 28px 56px rgba(0, 0, 0, 0.5);
}

.step-visual {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-visual-media {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: rgba(6, 4, 12, 0.65);
}

.step-visual-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 80% at 50% 20%, rgba(236, 72, 153, 0.14), transparent 65%),
        radial-gradient(ellipse 50% 60% at 80% 80%, rgba(129, 140, 248, 0.1), transparent 55%);
    z-index: 1;
}

.step-visual-media img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-visual .step-number {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: white;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -28px auto 0;
    box-shadow: 0 0 24px rgba(236, 72, 153, 0.35);
    border: 3px solid rgba(10, 8, 18, 0.98);
    z-index: 3;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 18px 24px 8px;
    padding: 0;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.step-card p {
    margin: 0 24px 26px;
    padding: 0;
    color: rgba(196, 181, 227, 0.95);
    font-size: 0.95rem;
    line-height: 1.65;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .how-work-lead {
        margin-bottom: 36px;
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-choose {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.why-item i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Results Section (n8n-style feature cards)
   ========================================================================== */

.results {
    padding: var(--section-padding);
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(236, 72, 153, 0.08), transparent 45%),
        linear-gradient(180deg, #070510 0%, #0a0614 45%, #080612 100%);
}

.results .results-section-title {
    color: #f8fafc;
    background: none;
    -webkit-text-fill-color: #f8fafc;
    background-clip: border-box;
}

.results-section-lead {
    max-width: 640px;
    margin: -12px auto 48px;
    color: rgba(203, 190, 227, 0.92);
    font-size: 1.05rem;
    line-height: 1.75;
}

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

.result-card {
    text-align: left;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(45, 28, 72, 0.35) 0%, rgba(12, 8, 22, 0.92) 48%, rgba(8, 6, 16, 0.98) 100%);
    border: 1px solid rgba(236, 72, 153, 0.22);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.42);
    box-shadow:
        0 0 0 1px rgba(236, 72, 153, 0.2),
        0 0 40px rgba(236, 72, 153, 0.12),
        0 28px 56px rgba(0, 0, 0, 0.5);
}

.result-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 188px;
    padding: 28px 20px;
    background:
        radial-gradient(ellipse 70% 80% at 50% 20%, rgba(236, 72, 153, 0.14), transparent 65%),
        radial-gradient(ellipse 50% 60% at 80% 80%, rgba(129, 140, 248, 0.1), transparent 55%),
        rgba(6, 4, 12, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.result-card-svg {
    width: min(148px, 72%);
    height: auto;
    opacity: 0.95;
}

.result-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding: 22px 24px 8px;
    color: #f8fafc;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: #f8fafc;
}

.result-card p {
    margin: 0;
    padding: 0 24px 26px;
    color: rgba(196, 181, 227, 0.95);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .result-card-visual {
        min-height: 158px;
        padding: 22px 16px;
    }

    .results-section-lead {
        margin-bottom: 36px;
    }
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */

.use-cases {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--card-padding);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 2rem;
    color: white;
}

.use-case-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
    padding: var(--section-padding);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta {
    padding: 100px 0;
    background: var(--darker-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2), transparent 70%);
    pointer-events: none;
}

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

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.cta-support {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */

.contact-form-section {
    padding: var(--section-padding);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column ul li i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

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

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 20px));
    }
}

@keyframes heroParticlesFloat {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    50% {
        background-position: 36px -24px, -22px 26px, 28px -16px, -18px 20px, 20px -24px, -30px 18px, 16px -12px;
    }
    100% {
        background-position: 72px -48px, -44px 52px, 56px -32px, -36px 40px, 40px -48px, -60px 36px, 32px -24px;
    }
}

@keyframes heroPulseGlow {
    0%, 100% {
        filter: saturate(1) brightness(1);
        opacity: 0.62;
    }
    50% {
        filter: saturate(1.15) brightness(1.08);
        opacity: 0.88;
    }
}

@keyframes heroScanlineDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(14px); }
}

@keyframes heroEnergySweep {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translateX(74%) translateY(2%) scale(1.05);
        opacity: 0.85;
    }
}

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

@media (max-width: 1024px) {
    .automation-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .automation-side-list {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 12px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-canvas {
        min-height: 520px;
    }

    .automation-detail-grid {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(96vw, var(--container-width));
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    
    /* Tabs Responsive */
    .tab-content-grid {
        gap: 40px;
        padding: 40px;
    }
    
    .tab-button {
        padding: 18px 25px;
        min-width: 130px;
    }
    
    .workflow-step {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero::after {
        opacity: 0.68;
        animation-duration: 18s, 6.5s;
    }

    .hero-energy::before {
        opacity: 0.32;
    }

    .hero-energy::after {
        opacity: 0.55;
        filter: blur(14px);
        animation-duration: 12s;
    }

    .automation-side-list {
        grid-template-columns: 1fr;
    }

    .workflow-canvas {
        min-height: 780px;
        padding: 22px 14px;
        background-size: 20px 20px;
    }

    .automation-detail {
        padding: 18px 14px 22px;
    }

    .flow-node {
        width: 118px;
        height: 82px;
    }

    .flow-tool {
        width: 88px;
        height: 76px;
    }

    .node-trigger { left: 6%; top: 8%; }
    .node-agent { left: 50%; top: 18%; transform: translateX(-50%); width: 148px; height: 90px; }
    .node-decision { left: 50%; top: 36%; transform: translateX(-50%); width: 126px; }
    .node-output-top { left: 8%; right: auto; top: 52%; width: 128px; }
    .node-output-bottom { right: 8%; top: 52%; width: 128px; }
    .tool-ai { left: 8%; bottom: 8%; }
    .tool-memory { left: 31%; bottom: 8%; }
    .tool-auth { left: 54%; bottom: 8%; }
    .tool-pm { left: 77%; bottom: 8%; transform: translateX(-100%); }

    .l1 { left: 28.2%; top: 16%; width: 22%; transform: rotate(25deg); transform-origin: left center; }
    .l2 { left: 50%; top: 31.8%; width: 2px; height: 6.6%; }
    .l3 { left: 50.2%; top: 45.8%; width: 23%; transform: rotate(35deg); }
    .l4 { left: 49.8%; top: 45.8%; width: 23%; transform: rotate(-35deg); }
    .l5, .l6, .l7, .l8 { display: none; }
    .l9 { left: 11%; top: 71.5%; width: 74%; }

    .container {
        padding: 0 16px;
        width: 100%;
    }

    /* Navigation */
    .nav-container {
        padding: 16px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo span {
        white-space: nowrap;
    }

    .nav-container > .btn {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 24px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-eyebrow {
        font-size: 0.78rem;
        padding: 7px 12px;
        margin-bottom: 12px;
    }
    
    .hero-cta {
        flex-direction: column;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof span {
        font-size: 0.78rem;
        padding: 6px 10px;
    }
    
    .hero-visual {
        height: 300px;
    }

    .intro-video-section {
        padding: 48px 0 56px;
    }

    .intro-video-header {
        margin-bottom: 24px;
    }

    .intro-video-aspect {
        border-radius: 12px;
    }

    .conversation-growth {
        padding: 64px 0;
    }

    .conversation-growth-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .conversation-copy h2 {
        font-size: 2rem;
    }

    .conversation-copy > p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .conversation-pillars {
        padding-left: 14px;
        gap: 14px;
        margin-bottom: 14px;
    }

    .conversation-pillar-btn {
        font-size: 1.2rem;
    }

    .conversation-panel-group {
        min-height: 0;
    }

    .conversation-panel p {
        font-size: 0.95rem;
    }

    .conversation-visual {
        min-height: 420px;
        padding: 18px 14px 148px;
    }

    .conversation-chat-card {
        padding: 14px;
        gap: 10px;
    }

    .chat-bubble {
        max-width: 94%;
        font-size: 0.86rem;
        padding: 9px 11px;
    }

    .conversation-call-card {
        right: 12px;
        left: 12px;
        width: auto;
    }

    .services-showcase-frame {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .services-showcase-rail {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        order: -1;
        padding: 18px 14px 20px;
        z-index: auto;
    }

    .services-rail-title {
        font-size: 1.2rem;
    }

    .services-rail-btn {
        padding: 10px 12px;
        font-size: 0.84rem;
    }

    .services-showcase-panel-inner {
        min-height: min(400px, 62vh);
    }

    .services-showcase-panel-inner:has(.services-showcase-visual--image) {
        min-height: max(240px, min(57.6vh, 456px));
    }

    /* Mobile: stack image on top, copy below (avoid overlay hiding screenshots) */
    .services-showcase-panel-inner {
        display: flex;
        flex-direction: column;
    }

    .services-showcase-backdrop {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        height: min(57.6vh, 456px);
        overflow: hidden;
    }

    .services-showcase-backdrop .services-showcase-visual {
        height: 100%;
        min-height: 0;
    }

    .services-showcase-visual--image {
        border-bottom: none;
        min-height: 0;
        max-height: min(57.6vh, 456px);
        height: 100%;
    }

    .services-showcase-backdrop .services-showcase-visual--image {
        max-height: min(57.6vh, 456px);
        height: 100%;
    }

    .services-showcase-visual--image img {
        max-height: min(57.6vh, 456px);
        height: 100%;
        width: 100%;
        object-fit: contain;
        object-position: left center;
    }

    .services-showcase-visual--abstract {
        min-height: 0;
        max-height: none;
        border-bottom: none;
    }

    .services-showcase-visual--abstract i {
        font-size: 3rem;
    }

    .services-showcase-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 22px 16px 18px;
        padding-right: 16px;
        justify-content: flex-end;
        background: rgba(8, 10, 18, 0.88);
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .journey-card {
        padding: 20px 16px;
    }

    .journey-card h3 {
        font-size: 1.2rem;
    }
    
    /* Problems Section */
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Tabs Mobile (automation + chatbot) */
    .automation-tabs,
    .chatbot-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }
    
    .automation-tabs::-webkit-scrollbar,
    .chatbot-tabs::-webkit-scrollbar {
        height: 6px;
    }
    
    .automation-tabs::-webkit-scrollbar-thumb,
    .chatbot-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
    
    .tab-button,
    .chatbot-tab-button {
        flex: 0 0 auto;
        padding: 15px 20px;
        min-width: 120px;
        max-width: calc(100vw - 56px);
        font-size: 0.85rem;
        scroll-snap-align: start;
    }
    
    .tab-button i,
    .chatbot-tab-button i {
        font-size: 1.5rem;
    }

    .tab-button span,
    .chatbot-tab-button span {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        min-height: auto;
    }

    .chatbot-capabilities-card {
        margin-top: 36px;
        border-radius: 16px;
    }

    .chatbot-capabilities-card .chatbot-tabs {
        padding: 16px 14px 12px;
        gap: 10px;
    }

    .chatbot-capabilities-card .tab-content-grid {
        padding: 24px 18px 28px;
    }
    
    .tab-text h3 {
        font-size: 1.5rem;
    }
    
    .tab-text .lead-text {
        font-size: 1rem;
    }
    
    .workflow-step {
        flex-direction: column;
        padding: 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .workflow-diagram {
        max-width: 100%;
    }
    
    .placeholder-visual i {
        font-size: 4rem;
    }
    
    .chatbot-flow {
        gap: 15px;
    }
    
    .flow-item {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }
    
    .flow-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .chatbot-visual-flow {
        padding: 20px 10px;
    }
    
    .visual-platforms {
        gap: 10px;
    }
    
    .platform-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .visual-ai-engine,
    .visual-output,
    .visual-step {
        padding: 20px 25px;
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }
    
    .visual-ai-engine i,
    .visual-output i,
    .visual-step i {
        font-size: 2rem;
    }
    
    .visual-timeline {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
    }
    
    .time-circle {
        width: 150px;
        height: 150px;
        padding: 30px;
    }
    
    .time-circle i {
        font-size: 2rem;
    }
    
    .time-label {
        font-size: 2rem;
    }
    
    .bar.traditional {
        width: 100%;
    }
    
    .bar.ai {
        width: max(28%, 10rem);
        max-width: 100%;
    }
    
    .media-type-icon {
        min-width: 70px;
    }
    
    .qualification-funnel {
        width: 100%;
    }
    
    .funnel-stage.wide,
    .funnel-stage.medium,
    .funnel-stage.narrow,
    .funnel-stage.very-narrow {
        width: 100%;
    }

    .automation-content,
    .chatbot-content {
        min-height: auto;
    }

    .tab-content-grid,
    .workflow-step,
    .flow-item,
    .contact-form,
    .faq-question h3 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    /* CTA */
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    /* General */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .solutions-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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