:root {
    --bg-primary: #282828;
    --bg-secondary: #1a1a1a;
    --bg-soft: #3d3d3d;
    --bg-card: rgba(51, 51, 51, 0.92);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);
    --accent-blue: #e9a426;
    --accent-cyan: #f4b942;
    --accent-purple: #d97706;
    --accent-green: #e9a426;
    --accent-orange: #f4b942;
    --gradient-primary: linear-gradient(135deg, #e9a426 0%, #f4b942 100%);
    --gradient-secondary: linear-gradient(135deg, #d97706, #e9a426);
    --text-primary: #f5f5f5;
    --text-secondary: #e0e0e0;
    --text-muted: #b3b3b3;
    --border-color: rgba(71, 71, 71, 0.95);
    --border-strong: rgba(233, 164, 38, 0.5);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 20px 50px -15px rgba(2, 2, 2, 0.85);
    --shadow-glow: 0 20px 60px -15px rgba(233, 164, 38, 0.45);
    --font-ar: "Cairo", sans-serif;
    --font-en: "Inter", sans-serif;
    --container-width: 1180px;
    --section-padding: 96px 0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --transition-normal: 0.25s ease;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-soft: #f0f0f0;
    --bg-card: rgba(245, 245, 245, 0.95);
    --bg-glass: rgba(0, 0, 0, 0.04);
    --bg-glass-hover: rgba(0, 0, 0, 0.075);
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-muted: #666666;
    --border-color: rgba(224, 224, 224, 0.95);
    --border-strong: rgba(233, 164, 38, 0.45);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 20px 50px -15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 20px 60px -15px rgba(233, 164, 38, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    margin: 0;
    font-family: var(--font-ar);
    direction: rtl;
    background:
        radial-gradient(circle at 80% 4%, rgba(233, 164, 38, 0.14), transparent 30rem),
        radial-gradient(circle at 12% 18%, rgba(244, 185, 66, 0.08), transparent 28rem),
        var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
}

p,
li,
a,
button,
input,
textarea,
select {
    font-size: 0.95rem;
}

body[dir="ltr"] {
    direction: ltr;
    font-family: var(--font-en);
}

body[dir="ltr"] .brand-link,
body[dir="ltr"] .hero-actions,
body[dir="ltr"] .footer-links a,
body[dir="ltr"] .wa-float-btn {
    direction: ltr;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container-width), calc(100% - 40px));
    margin-inline: auto;
}

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-blue);
    opacity: 0.18;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(105vh); opacity: 0; }
    14% { opacity: 0.18; }
    85% { opacity: 0.18; }
    100% { transform: translateY(-12vh); opacity: 0; }
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sm);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-mark-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 40px;
}

.brand-copy {
    display: grid;
    line-height: 1;
    font-family: var(--font-en);
}

.brand-copy strong {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-copy strong span {
    color: var(--accent-blue);
}

.brand-copy small {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brand-copy-ar {
    font-family: var(--font-ar);
}

.brand-copy-ar strong {
    font-size: 1.58rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.brand-copy-ar strong span {
    font-family: var(--font-en);
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.brand-copy-ar small {
    font-family: var(--font-en);
}

.navbar-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.92rem;
}

.navbar-links > a,
.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    transition: var(--transition-normal);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--accent-blue);
}

.nav-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    display: grid;
    gap: 8px;
    min-width: 240px;
    padding: 14px;
    background: color-mix(in srgb, var(--bg-card) 96%, transparent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: var(--transition-normal);
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.mega-menu a:hover {
    background: var(--bg-glass-hover);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-actions form {
    margin: 0;
}

.btn,
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    border-radius: var(--radius-sm);
    min-height: 42px;
    padding: 10px 18px;
    font-weight: 800;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #161104;
    box-shadow: 0 16px 32px rgba(233, 164, 38, 0.3);
}

.btn-primary:hover,
.btn-outline:hover,
.btn-soft:hover,
.icon-btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--border-strong);
}

.btn-soft,
.icon-btn {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.home-lang-switch {
    min-width: 104px;
}

.icon-btn {
    width: 42px;
    padding: 0;
}

.btn-lg {
    min-height: 52px;
    padding: 13px 28px;
    border-radius: var(--radius-md);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--text-primary);
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 138px 0 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 78px 4% auto;
    height: min(58vw, 620px);
    background:
        linear-gradient(90deg, transparent, rgba(233, 164, 38, 0.13), transparent),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(233, 164, 38, 0.055) 18px 19px);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
    pointer-events: none;
}

.hero-stack {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero-kicker,
.section-eyebrow {
    color: var(--accent-blue);
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 14px;
}

.hero-title {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.35rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-title span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-visual {
    position: relative;
    width: min(720px, 100%);
    margin: 28px auto 24px;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.phone-mockup {
    position: relative;
    width: min(326px, 82vw);
    aspect-ratio: 0.72;
    padding: 6px;
    border: 1px solid #595959;
    border-radius: 48px;
    background: #080808;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 18px 55px rgba(233, 164, 38, 0.2);
    animation: heroPhoneFloat 5.4s ease-in-out infinite;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    inset: -42px;
    z-index: -1;
    background: radial-gradient(circle, rgba(233, 164, 38, 0.27), transparent 64%);
    filter: blur(18px);
}

.phone-side-button {
    position: absolute;
    right: -4px;
    width: 4px;
    border-radius: 0 3px 3px 0;
    background: #333;
}

.phone-side-button-top {
    top: 112px;
    height: 56px;
}

.phone-side-button-bottom {
    top: 182px;
    height: 72px;
}

.phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-rows: 28px 58px 1fr 24px;
    border: 1px solid #292929;
    border-radius: 41px;
    background: #151515;
    color: #f7f7f7;
}

.phone-island {
    position: absolute;
    z-index: 8;
    top: 7px;
    left: 50%;
    width: 92px;
    height: 23px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #030303;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.phone-island span {
    position: absolute;
    top: 8px;
    right: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #101b25;
    box-shadow: inset 0 0 2px #4aa3ff;
}

.phone-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 6px 19px 0;
    direction: ltr;
    color: #e7e7e7;
    font-family: var(--font-en);
    font-size: 0.63rem;
    font-weight: 800;
}

.phone-status > span:last-child {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    font-size: 0.58rem;
}

.motion-appbar {
    display: grid;
    grid-template-columns: 36px 1fr 12px;
    gap: 9px;
    align-items: center;
    text-align: start;
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(233, 164, 38, 0.18);
    background: #101010;
}

.motion-appbar img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.motion-appbar strong,
.motion-appbar small {
    display: block;
    line-height: 1.25;
}

.motion-appbar strong {
    color: #f4b942;
    font-family: var(--font-en);
    font-size: 0.82rem;
}

.motion-appbar small {
    margin-top: 3px;
    color: #a9a9a9;
    font-size: 0.62rem;
}

.motion-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #23c875;
    box-shadow: 0 0 0 0 rgba(35, 200, 117, 0.55);
    animation: motionLivePulse 1.8s ease-out infinite;
}

.motion-scenes {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(233, 164, 38, 0.055), transparent 38%),
        #171717;
}

.motion-scenes::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 24px;
    pointer-events: none;
}

.motion-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    padding: 13px;
    opacity: 0;
    text-align: start;
    color: #f4f4f4;
    animation: heroSceneCycle 16s ease-in-out infinite;
}

.motion-scene:nth-child(2) { animation-delay: 4s; }
.motion-scene:nth-child(3) { animation-delay: 8s; }
.motion-scene:nth-child(4) { animation-delay: 12s; }

.motion-scene-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.motion-scene-heading span,
.motion-scene-heading small {
    display: block;
}

.motion-scene-heading > div > span {
    font-size: 0.8rem;
    font-weight: 900;
}

.motion-scene-heading small {
    margin-top: 2px;
    color: #929292;
    font-size: 0.61rem;
}

.motion-count,
.motion-score {
    min-width: 34px;
    padding: 4px 7px;
    border: 1px solid rgba(233, 164, 38, 0.38);
    border-radius: 999px;
    background: rgba(233, 164, 38, 0.12);
    color: #f4b942;
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.67rem;
    font-weight: 900;
}

.motion-inbox-list {
    display: grid;
    gap: 8px;
}

.motion-inbox-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px;
    border: 1px solid #343434;
    border-radius: 8px;
    background: #202020;
}

.motion-inbox-item.is-highlighted {
    border-color: rgba(233, 164, 38, 0.55);
    background: linear-gradient(90deg, rgba(233, 164, 38, 0.14), #202020 60%);
    animation: motionInboxHighlight 2s ease-in-out infinite;
}

.motion-inbox-item strong,
.motion-inbox-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.motion-inbox-item strong {
    font-size: 0.69rem;
}

.motion-inbox-item small {
    margin-top: 3px;
    color: #9d9d9d;
    font-size: 0.56rem;
}

.motion-inbox-item time {
    color: #d6a633;
    font-size: 0.53rem;
    font-weight: 800;
}

.motion-channel {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.motion-channel.whatsapp { background: #1e9e57; }
.motion-channel.messenger { background: #2563c9; }
.motion-channel.instagram { background: linear-gradient(135deg, #9b3bcc, #df3d71 55%, #e2a024); }

.motion-sync {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    color: #b9b9b9;
    font-size: 0.59rem;
}

.motion-sync i {
    color: #f4b942;
    animation: motionSpin 2.4s linear infinite;
}

.motion-chat-profile {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    margin: -2px -2px 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #303030;
}

.motion-chat-profile strong,
.motion-chat-profile small {
    display: block;
}

.motion-chat-profile strong { font-size: 0.72rem; }
.motion-chat-profile small { color: #27c876; font-size: 0.55rem; }

.motion-chat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.motion-bubble {
    max-width: 88%;
    margin: 0;
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 0.63rem;
    line-height: 1.55;
}

.motion-bubble.customer {
    align-self: flex-start;
    background: #2a2a2a;
    color: #efefef;
}

.motion-bubble.bot {
    align-self: flex-end;
    border: 1px solid rgba(233, 164, 38, 0.35);
    background: rgba(233, 164, 38, 0.14);
    color: #f6e6bc;
}

.motion-options {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

.motion-options span {
    padding: 5px 7px;
    border: 1px solid rgba(233, 164, 38, 0.45);
    border-radius: 999px;
    color: #f4b942;
    font-size: 0.55rem;
    font-weight: 800;
}

.motion-typing {
    width: 42px;
    display: flex;
    justify-content: center;
    gap: 3px;
    padding: 7px;
    border-radius: 8px;
    background: #292929;
}

.motion-typing i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #aaa;
    animation: motionTyping 1s ease-in-out infinite;
}

.motion-typing i:nth-child(2) { animation-delay: 0.15s; }
.motion-typing i:nth-child(3) { animation-delay: 0.3s; }

.motion-composer {
    position: absolute;
    right: 13px;
    bottom: 12px;
    left: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #383838;
    border-radius: 999px;
    background: #202020;
    color: #858585;
    font-size: 0.58rem;
}

.motion-composer i { color: #f4b942; }

.motion-lead-card {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(233, 164, 38, 0.36);
    border-radius: 8px;
    background: rgba(233, 164, 38, 0.09);
}

.motion-lead-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e9a426;
    color: #111;
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 900;
}

.motion-lead-card strong,
.motion-lead-card small {
    display: block;
    font-family: var(--font-en);
}

.motion-lead-card strong { font-size: 0.66rem; }
.motion-lead-card small { color: #9d9d9d; font-size: 0.54rem; }

.motion-hot {
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(35, 200, 117, 0.16);
    color: #58dc96;
    font-size: 0.53rem;
    font-weight: 900;
}

.motion-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 2px;
    border-bottom: 1px solid #2e2e2e;
    font-size: 0.6rem;
}

.motion-data-row span { color: #929292; }
.motion-data-row strong { color: #e8e8e8; font-size: 0.61rem; }

.motion-automation-flow {
    display: grid;
    grid-template-columns: 24px 1fr 24px 1fr 24px;
    align-items: center;
    margin: 12px 2px 8px;
}

.motion-automation-flow span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2c2c2c;
    color: #aaa;
    font-size: 0.56rem;
}

.motion-automation-flow > i {
    height: 2px;
    background: linear-gradient(90deg, #23c875, #e9a426);
    transform-origin: right;
    animation: motionFlow 2.2s ease-in-out infinite;
}

.motion-automation-flow .is-done { background: #1c8b50; color: #fff; }
.motion-automation-flow .is-current { background: #e9a426; color: #111; box-shadow: 0 0 0 5px rgba(233, 164, 38, 0.12); }

.motion-analysis {
    margin: 0;
    color: #b9b9b9;
    text-align: center;
    font-size: 0.57rem;
}

.scene-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.motion-success-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border: 1px solid rgba(233, 164, 38, 0.55);
    border-radius: 50%;
    background: rgba(233, 164, 38, 0.14);
    color: #f4b942;
    font-size: 1.35rem;
    box-shadow: 0 0 0 8px rgba(233, 164, 38, 0.06);
    animation: motionSuccessPulse 1.8s ease-in-out infinite;
}

.scene-success > strong { color: #f4b942; font-size: 0.94rem; }
.scene-success > p { max-width: 240px; margin: 7px 0 12px; color: #adadad; font-size: 0.62rem; line-height: 1.6; }

.motion-result-card {
    width: 100%;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid #393939;
    border-radius: 8px;
    background: #212121;
    text-align: start;
}

.motion-result-card > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e9a426;
    color: #111;
}

.motion-result-card small,
.motion-result-card strong { display: block; }
.motion-result-card small { color: #999; font-size: 0.54rem; }
.motion-result-card strong { font-family: var(--font-en); font-size: 0.64rem; }
.motion-result-card > i { color: #e9a426; font-size: 0.65rem; }

body[dir="ltr"] .motion-result-card > i { transform: rotate(180deg); }

.motion-response-time {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #9f9f9f;
    font-size: 0.56rem;
}

.motion-response-time i { color: #f4b942; }

.motion-dots {
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #151515;
}

.motion-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4a4a4a;
    animation: motionDotCycle 16s ease-in-out infinite;
}

.motion-dots i:nth-child(2) { animation-delay: 4s; }
.motion-dots i:nth-child(3) { animation-delay: 8s; }
.motion-dots i:nth-child(4) { animation-delay: 12s; }

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

@keyframes heroSceneCycle {
    0%, 21% { opacity: 1; transform: translateY(0) scale(1); }
    25%, 100% { opacity: 0; transform: translateY(-12px) scale(0.985); }
}

@keyframes motionDotCycle {
    0%, 21% { width: 17px; border-radius: 999px; background: #e9a426; }
    25%, 100% { width: 5px; border-radius: 50%; background: #4a4a4a; }
}

@keyframes motionLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(35, 200, 117, 0.48); }
    70%, 100% { box-shadow: 0 0 0 7px rgba(35, 200, 117, 0); }
}

@keyframes motionInboxHighlight {
    0%, 100% { box-shadow: inset 0 0 0 rgba(233, 164, 38, 0); }
    50% { box-shadow: inset 0 0 18px rgba(233, 164, 38, 0.08); }
}

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

@keyframes motionTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
    30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes motionFlow {
    0% { transform: scaleX(0); }
    65%, 100% { transform: scaleX(1); }
}

@keyframes motionSuccessPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.floating-channel {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    animation: floatCard 4.8s ease-in-out infinite;
}

.floating-channel i {
    color: var(--accent-blue);
}

.floating-channel.top {
    top: 20px;
    right: 50%;
    transform: translateX(50%);
}

.floating-channel.left {
    top: 45%;
    right: 2%;
    animation-delay: 0.8s;
}

.floating-channel.right {
    bottom: 14%;
    left: 2%;
    animation-delay: 1.4s;
}

@keyframes floatCard {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -12px; }
}

@media (prefers-reduced-motion: reduce) {
    .phone-mockup,
    .floating-channel,
    .motion-live-dot,
    .motion-sync i,
    .motion-inbox-item.is-highlighted,
    .motion-typing i,
    .motion-automation-flow > i,
    .motion-success-icon {
        animation: none;
    }

    .motion-scene,
    .motion-dots i {
        animation: none;
        opacity: 0;
    }

    .motion-scene:first-child { opacity: 1; }
    .motion-dots i:first-child { width: 17px; border-radius: 999px; background: #e9a426; opacity: 1; }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 980px;
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 800;
}

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

.hero-desc {
    max-width: 720px;
    margin: 26px auto 0;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.hero-note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-section {
    padding: 42px 0;
    border-block: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-secondary) 82%, transparent);
}

.trust-section h2 {
    margin: 0 auto 22px;
    max-width: 720px;
    text-align: center;
    font-size: clamp(1.1rem, 2.6vw, 1.7rem);
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.logo-cloud span {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--bg-glass);
    font-weight: 800;
}

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

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

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.18;
    font-weight: 900;
}

.section-desc {
    margin: 16px 0 0;
    color: var(--text-secondary);
    font-size: 1.04rem;
}

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

.product-card,
.benefit-card,
.pricing-card,
.portfolio-card,
.faq-item,
.channel-grid article {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.product-card {
    padding: 24px;
    display: flex;
    min-height: 330px;
    flex-direction: column;
}

.product-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.portfolio-card:hover,
.channel-grid article:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
}

.product-card.featured {
    background:
        linear-gradient(180deg, rgba(233, 164, 38, 0.16), transparent 54%),
        var(--bg-card);
    border-color: var(--border-strong);
}

.product-icon,
.benefit-card i,
.channel-grid i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--gradient-primary);
    color: #161104;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.product-card h3,
.benefit-card h3,
.channel-grid h3,
.pricing-card h3,
.portfolio-body h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.product-card p,
.benefit-card p,
.channel-grid p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.93rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tag-list span {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--bg-glass);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 800;
}

.product-card a {
    margin-top: auto;
    color: var(--accent-blue);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.section-copy .section-title,
.section-copy .section-desc {
    text-align: start;
}

.section-copy .btn {
    margin-top: 24px;
}

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

.channel-grid article {
    padding: 22px;
}

.channel-grid article.wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    align-items: center;
}

.channel-grid article.wide i {
    margin: 0;
}

.integration-board {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1fr;
    grid-template-areas:
        "commerce core crm"
        "payments core crm";
    gap: 18px;
}

.integration-group,
.integration-core {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.integration-group:nth-child(1) { grid-area: commerce; }
.integration-core { grid-area: core; }
.integration-group:nth-child(3) { grid-area: crm; }
.integration-group.payments { grid-area: payments; }

.integration-group h3 {
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.integration-group span {
    display: inline-flex;
    margin: 0 0 9px 7px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    background: var(--bg-glass);
    font-weight: 800;
    font-size: 0.86rem;
}

.integration-core {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 360px;
    background:
        radial-gradient(circle, rgba(233, 164, 38, 0.22), transparent 58%),
        var(--bg-card);
}

.brand-emblem {
    display: grid;
    place-items: center;
    min-width: min(260px, 90%);
    padding: 24px 28px;
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(51, 51, 51, 0.95), rgba(40, 40, 40, 0.85));
    box-shadow: var(--shadow-glow);
}

.brand-emblem strong {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.brand-emblem strong span {
    font-family: var(--font-en);
}

.brand-emblem small {
    margin-top: 10px;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.integration-core > strong {
    display: block;
    margin-top: 18px;
    font-size: 1.28rem;
}

.integration-core p {
    margin: 6px 0 0;
    color: var(--text-secondary);
}

.benefit-grid,
.pricing-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    padding: 24px;
}

.stats-section {
    padding: 58px 0;
    background:
        linear-gradient(135deg, rgba(233, 164, 38, 0.14), transparent),
        var(--bg-secondary);
    border-block: 1px solid var(--border-color);
}

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

.stat-number {
    font-family: var(--font-en);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--accent-blue);
    line-height: 1;
}

.stat-item p {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-weight: 800;
}

.pricing-card {
    position: relative;
    padding: 34px 26px;
}

.pricing-card.featured {
    border-color: var(--border-strong);
    transform: translateY(-10px);
    background:
        linear-gradient(180deg, rgba(233, 164, 38, 0.18), transparent 50%),
        var(--bg-card);
}

.pricing-popular {
    position: absolute;
    top: -15px;
    right: 26px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #161104;
    font-weight: 900;
    font-size: 0.78rem;
}

.price {
    margin: 14px 0 22px;
    color: var(--accent-blue);
    font-family: var(--font-en);
    font-size: 2.45rem;
    font-weight: 900;
}

.price small {
    font-family: var(--font-ar);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 12px;
}

.pricing-card li {
    color: var(--text-secondary);
}

.pricing-card li i {
    color: var(--accent-blue);
    margin-left: 8px;
}

.pricing-card .btn {
    width: 100%;
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-media {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(233, 164, 38, 0.16), transparent),
        var(--bg-soft);
    display: grid;
    place-items: center;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-media span {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    background: var(--gradient-primary);
    color: #161104;
    font-size: 1.7rem;
    font-weight: 900;
}

.portfolio-body {
    padding: 22px;
}

.portfolio-category {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 900;
}

.portfolio-body h3 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-size: 1.12rem;
    line-height: 1.45;
}

.portfolio-body p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.portfolio-body a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-weight: 900;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 900;
}

.faq-question i {
    color: var(--accent-blue);
    transition: var(--transition-normal);
}

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

.faq-answer-content {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-secondary);
}

.faq-item.active {
    border-color: var(--border-strong);
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }

.cta-section {
    padding: 34px 0 92px;
}

.cta-box {
    padding: clamp(34px, 7vw, 72px);
    text-align: center;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(233, 164, 38, 0.24), transparent 50%),
        var(--bg-card);
    box-shadow: var(--shadow-glow);
}

.cta-box p {
    margin: 0 0 8px;
    color: var(--accent-blue);
    font-weight: 900;
}

.cta-box h2 {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 4.4vw, 3.3rem);
    line-height: 1.18;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-bottom: 76px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(190px, 0.5fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: start;
    justify-content: space-between;
    padding: 64px 0 46px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 18px 0 0;
    max-width: 560px;
    line-height: 2;
    text-wrap: balance;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: var(--bg-glass);
}

.footer-col h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    padding: 7px 0;
    white-space: nowrap;
}

.footer-col a:hover,
.footer-social a:hover {
    color: var(--accent-blue);
}

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

.footer-bottom p {
    margin: 0;
}

.wa-float-btn {
    position: fixed;
    z-index: 1002;
    right: 24px;
    left: auto;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.25);
    font-weight: 900;
}

body[dir="ltr"] .wa-float-btn {
    right: auto;
    left: 24px;
}

@media (max-width: 1120px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--border-color);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
        backdrop-filter: blur(18px);
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links > a,
    .nav-dropdown > a {
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-dropdown:hover .mega-menu {
        display: grid;
    }

    .mega-menu {
        position: static;
        display: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        margin: 8px 0 12px;
        box-shadow: none;
    }

    .mobile-menu-btn {
        display: inline-grid;
        place-items: center;
    }

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

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

    .integration-board {
        grid-template-columns: 1fr;
        grid-template-areas:
            "core"
            "commerce"
            "crm"
            "payments";
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 0.45fr);
        gap: 42px;
    }
}

@media (max-width: 820px) {
    :root {
        --section-padding: 68px 0;
    }

    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .brand-copy strong {
        font-size: 1.05rem;
    }

    .brand-copy small {
        font-size: 0.54rem;
    }

    .navbar-actions .btn-soft:not(.home-lang-switch) {
        display: none;
    }

    .home-lang-switch {
        display: inline-flex;
        min-width: 42px;
        padding: 0 12px;
    }

    .home-lang-switch span {
        display: none;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .floating-channel {
        display: none;
    }

    .hero-actions,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
        width: 100%;
        max-width: 340px;
    }

    .split-section,
    .section-copy .section-title,
    .section-copy .section-desc {
        text-align: center;
    }

    .product-grid,
    .benefit-grid,
    .pricing-grid,
    .portfolio-grid,
    .stats-grid,
    .channel-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding-bottom: 88px;
    }

    .footer-grid {
        padding: 44px 0 34px;
        gap: 30px;
        text-align: center;
    }

    .footer-brand,
    .footer-col {
        justify-self: center;
        width: min(100%, 460px);
    }

    .footer-brand .brand-link,
    .footer-social {
        justify-content: center;
    }

    .footer-brand p {
        margin-inline: auto;
    }

    .footer-col a {
        white-space: normal;
    }

    .pricing-card.featured {
        transform: none;
    }

    .channel-grid article.wide {
        grid-template-columns: 1fr;
    }

    .channel-grid article.wide i {
        margin-bottom: 18px;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 2.28rem;
    }

    .hero-kicker {
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: min(316px, 92vw);
        padding: 5px;
        border-width: 1px;
    }

    .hero-features span {
        width: 100%;
        justify-content: center;
    }

    .btn-lg,
    .btn {
        width: 100%;
    }

    .navbar-actions .btn-primary {
        display: none;
    }

    .wa-float-btn span {
        display: none;
    }

    .wa-float-btn {
        right: 18px;
        left: auto;
        bottom: 18px;
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 50%;
    }

    body[dir="ltr"] .wa-float-btn {
        right: auto;
        left: 18px;
    }

    .wa-float-btn i {
        font-size: 1.65rem;
        line-height: 1;
    }
}

/* ============================================
   Shawky AI — editorial SaaS refresh
   Inspired by spacious AI-platform storytelling,
   expressed with Shawky's amber and charcoal identity.
   ============================================ */
:root {
    --bg-primary: #11110f;
    --bg-secondary: #171713;
    --bg-soft: #22211c;
    --bg-card: rgba(27, 26, 22, 0.94);
    --bg-glass: rgba(255, 255, 255, 0.055);
    --bg-glass-hover: rgba(255, 255, 255, 0.09);
    --text-primary: #fbfaf6;
    --text-secondary: #ddd8ce;
    --text-muted: #aaa498;
    --border-color: rgba(255, 255, 255, 0.105);
    --border-strong: rgba(233, 164, 38, 0.46);
    --shadow-sm: 0 14px 34px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 32px 80px -28px rgba(0, 0, 0, 0.68);
    --shadow-glow: 0 32px 88px -34px rgba(233, 164, 38, 0.48);
    --container-width: 1240px;
    --section-padding: 112px 0;
    --radius-xl: 30px;
}

[data-theme="light"] {
    --bg-primary: #fcfbf8;
    --bg-secondary: #f4f1e9;
    --bg-soft: #eeeadf;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(27, 24, 18, 0.035);
    --bg-glass-hover: rgba(233, 164, 38, 0.075);
    --text-primary: #191814;
    --text-secondary: #49463f;
    --text-muted: #777168;
    --border-color: rgba(39, 34, 24, 0.105);
    --border-strong: rgba(205, 140, 22, 0.4);
    --shadow-sm: 0 14px 38px rgba(62, 48, 18, 0.07);
    --shadow-md: 0 34px 86px -28px rgba(74, 52, 10, 0.23);
    --shadow-glow: 0 32px 76px -32px rgba(205, 140, 22, 0.42);
}

html { font-size: 16px; }

body {
    background:
        radial-gradient(circle at 88% 7%, rgba(233, 164, 38, 0.12), transparent 28rem),
        radial-gradient(circle at 10% 22%, rgba(244, 185, 66, 0.07), transparent 28rem),
        var(--bg-primary);
}

.navbar {
    padding: 14px 0;
    background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px) saturate(140%);
}

.navbar.scrolled {
    padding: 9px 0;
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
}

.nav-shell { min-height: 64px; }
.navbar-links { gap: clamp(14px, 1.8vw, 26px); }
.navbar-links > a { position: relative; font-size: 0.9rem; }
.navbar-links > a::after {
    content: "";
    position: absolute;
    inset: auto 0 1px;
    height: 2px;
    border-radius: 10px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.navbar-links > a:hover::after { transform: scaleX(1); }

.brand-mark-img { width: 44px; height: 44px; flex-basis: 44px; }
.brand-copy-ar strong { font-size: 1.48rem; }
.brand-copy small { letter-spacing: 0.16em; }

.btn {
    min-height: 46px;
    border-radius: 13px;
    font-weight: 800;
}

.btn-primary {
    color: #211705;
    background: linear-gradient(135deg, #f7c75f 0%, #e9a426 52%, #d88a14 100%);
    box-shadow: 0 14px 32px -16px rgba(216, 138, 20, 0.78);
}

.btn-primary:hover {
    color: #171005;
    box-shadow: 0 18px 40px -16px rgba(216, 138, 20, 0.9);
}

.hero {
    min-height: 760px;
    padding: 148px 0 76px;
    overflow: hidden;
}

.hero::before {
    inset: 90px 0 auto;
    height: 700px;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.28;
    mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 72%);
}

.hero-stack {
    grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
    column-gap: clamp(46px, 6vw, 88px);
    row-gap: 22px;
}

.hero-kicker {
    width: max-content;
    padding: 9px 15px;
    border: 1px solid rgba(233, 164, 38, 0.34);
    border-radius: 999px;
    background: rgba(233, 164, 38, 0.1);
    color: var(--accent-blue);
    font-size: 0.78rem;
    letter-spacing: 0;
}

.hero-title {
    max-width: 710px;
    margin: 0;
    font-size: clamp(3.2rem, 5.15vw, 4.75rem);
    line-height: 1.22;
    letter-spacing: -0.042em;
}

.hero-title span {
    background: linear-gradient(105deg, #cf8b19 5%, #f0b83f 48%, #8d6424 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    max-width: 660px;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 2;
}

.hero-actions { gap: 12px; }
.hero-actions .btn { min-width: 170px; }

.hero-features { gap: 10px; }
.hero-features span {
    padding: 9px 13px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    box-shadow: none;
}

.hero-proof {
    margin-top: 12px;
    padding-top: 24px;
}

.hero-proof strong {
    color: var(--accent-blue);
    font-size: 1.7rem;
}

.hero-visual {
    position: relative;
    min-height: 530px;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    inset: 12% 14% auto;
    border-radius: 50%;
    background: rgba(233, 164, 38, 0.24);
    filter: blur(70px);
    z-index: -1;
}

.hero-visual .phone-mockup {
    width: 100%;
    max-width: 610px;
    height: 510px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--bg-card);
    box-shadow: var(--shadow-md), 0 0 0 8px color-mix(in srgb, var(--bg-card) 35%, transparent);
    transform: none;
}

.hero-visual .phone-mockup::after,
.hero-visual .phone-side-button,
.hero-visual .phone-island,
.hero-visual .phone-status,
.hero-visual .motion-dots { display: none; }

.hero-visual .phone-screen {
    height: 100%;
    border-radius: inherit;
    background: color-mix(in srgb, var(--bg-secondary) 64%, var(--bg-card));
    overflow: hidden;
}

.hero-visual .motion-appbar {
    position: relative;
    inset: auto;
    height: 72px;
    padding: 14px 20px;
    color: var(--text-primary);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.hero-visual .motion-appbar img { width: 38px; height: 38px; }
.hero-visual .motion-appbar strong { font-size: 0.88rem; }
.hero-visual .motion-appbar small { color: var(--text-muted); font-size: 0.66rem; }

.hero-visual .motion-scenes {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    height: calc(100% - 72px);
    padding: 16px;
}

.hero-visual .motion-scenes::before { display: none; }
.hero-visual .motion-scene {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    padding: 16px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    opacity: 1;
    transform: none;
    animation: none;
    box-shadow: var(--shadow-sm);
}

.hero-visual .scene-inbox { grid-row: 1 / 3; }
.hero-visual .scene-chat { display: none; }
.hero-visual .scene-lead { grid-column: 2; grid-row: 1; }
.hero-visual .scene-success { grid-column: 2; grid-row: 2; min-height: 132px; }

.hero-visual .motion-scene-heading > div > span { color: var(--text-primary); font-size: 0.8rem; }
.hero-visual .motion-scene-heading small { color: var(--text-muted); font-size: 0.62rem; }
.hero-visual .motion-inbox-list { gap: 10px; }
.hero-visual .motion-inbox-item {
    min-height: 72px;
    padding: 11px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-color: var(--border-color);
    border-radius: 13px;
}
.hero-visual .motion-inbox-item.is-highlighted {
    background: rgba(233, 164, 38, 0.09);
    border-color: rgba(233, 164, 38, 0.36);
}
.hero-visual .motion-inbox-item strong { color: var(--text-primary); font-size: 0.72rem; }
.hero-visual .motion-inbox-item small { color: var(--text-muted); font-size: 0.62rem; }
.hero-visual .motion-sync { color: var(--text-muted); font-size: 0.65rem; }
.hero-visual .motion-data-row { color: var(--text-primary); border-color: var(--border-color); }
.hero-visual .motion-data-row span { color: var(--text-muted); }
.hero-visual .motion-data-row strong { color: var(--text-primary); }
.hero-visual .motion-analysis { color: var(--text-muted); }
.hero-visual .scene-success > strong { color: var(--text-primary); }
.hero-visual .scene-success > p { color: var(--text-muted); }
.hero-visual .motion-result-card { color: var(--text-primary); background: var(--bg-secondary); border-color: var(--border-color); }

.floating-channel {
    border-color: var(--border-color);
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    box-shadow: var(--shadow-sm);
}
.floating-channel.top { top: -18px; right: 7%; }
.floating-channel.left { left: -25px; bottom: 22%; }
.floating-channel.right { right: -18px; bottom: 11%; }

@media (max-width: 1080px) {
    .hero-stack {
        grid-template-columns: 1fr;
        grid-template-areas: "kicker" "title" "desc" "features" "actions" "visual" "proof";
        text-align: center;
        justify-items: center;
    }
    .hero-kicker { margin-inline: auto; }
    .hero-title, .hero-desc { max-width: 780px; }
    .hero-visual { width: min(720px, 100%); min-height: 530px; margin-top: 20px; }
}

@media (max-width: 680px) {
    .hero { min-height: auto; padding: 124px 0 64px; }
    .hero-title { font-size: clamp(2.45rem, 11vw, 3.35rem); line-height: 1.28; }
    .hero-visual { min-height: 610px; }
    .hero-visual .phone-mockup { height: 590px; border-radius: 24px; }
    .hero-visual .motion-scenes { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow: auto; }
    .hero-visual .scene-inbox { grid-column: 1; grid-row: 1; }
    .hero-visual .scene-lead { grid-column: 1; grid-row: 2; }
    .hero-visual .scene-success { display: none; }
    .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .floating-channel { display: none; }
}

/* ============================================
   2026 growth-story homepage refresh
   ============================================ */
main {
    display: flex;
    flex-direction: column;
}

main > .hero { order: 1; }
main > .trust-section { order: 2; }
main > .partners-section { order: 3; }
main > .story-section { order: 4; }
main > .systems-section { order: 5; }
main > .products-section { order: 6; }
main > .solutions-section { order: 7; }
main > .integrations-section { order: 8; }
main > .portfolio-section { order: 9; }
main > .pricing-section { order: 10; }
main > .faq-section { order: 11; }
main > .audit-section { order: 12; }
main > .cta-section { order: 13; }

.hero {
    min-height: auto;
    padding: 128px 0 82px;
}

.hero::before {
    inset: 70px 3% auto;
    height: 720px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 73%);
}

.hero-stack {
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
    grid-template-areas:
        "kicker visual"
        "title visual"
        "desc visual"
        "features visual"
        "actions visual"
        "proof visual";
    column-gap: clamp(42px, 6vw, 84px);
    row-gap: 20px;
    justify-items: stretch;
    align-items: center;
    text-align: start;
}

.hero-kicker { grid-area: kicker; align-self: end; margin: 0; }
.hero-title { grid-area: title; max-width: 720px; font-size: clamp(2.65rem, 4.25vw, 3.75rem); line-height: 1.3; text-wrap: balance; }
.hero-title span { display: inline; }
.hero-desc { grid-area: desc; max-width: 680px; margin: 0; font-size: 1.04rem; line-height: 2; text-wrap: pretty; }
.hero-features { grid-area: features; justify-content: flex-start; margin: 0; }
.hero-actions { grid-area: actions; justify-content: flex-start; margin: 0; }
.hero-visual { grid-area: visual; width: 100%; min-height: 590px; margin: 0; }
.hero-proof { grid-area: proof; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.hero-proof span { display: grid; gap: 4px; min-width: 0; padding-inline: 13px; border-inline-start: 1px solid var(--border-color); }
.hero-proof span:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-proof strong { color: var(--accent-blue); font-family: var(--font-en); font-size: 1.55rem; line-height: 1; }
.hero-proof small { color: var(--text-muted); font-size: .72rem; font-weight: 700; line-height: 1.5; }

.trust-section { padding: 38px 0; }
.trust-section h2 { max-width: 880px; margin-inline: auto; font-size: clamp(1.2rem,2.2vw,1.7rem); }
.logo-cloud { margin-top: 20px; }

.story-section,
.integrations-section {
    position: relative;
    background: color-mix(in srgb, var(--bg-secondary) 92%, var(--bg-primary));
    border-block: 1px solid var(--border-color);
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.comparison-shell {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    max-width: 980px;
    margin-inline: auto;
}

.comparison-card {
    position: relative;
    padding: clamp(28px,4vw,44px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.comparison-card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:#ef4444; }
.comparison-card.smart-way::before { background:var(--gradient-primary); }
.comparison-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:20px; border-radius:17px; background:rgba(239,68,68,.12); color:#ef4444; font-size:1.25rem; }
.smart-way .comparison-icon { background:rgba(233,164,38,.14); color:var(--accent-blue); }
.comparison-card > p { margin:0 0 5px; color:var(--text-muted); font-size:.8rem; font-weight:900; }
.comparison-card h3 { margin:0 0 24px; font-size:clamp(1.35rem,2.5vw,1.85rem); }
.comparison-card ul { display:grid; gap:14px; margin:0; padding:0; list-style:none; }
.comparison-card li { display:flex; gap:11px; align-items:flex-start; color:var(--text-secondary); }
.comparison-card li i { flex:0 0 22px; display:grid; place-items:center; width:22px; height:22px; margin-top:2px; border-radius:50%; color:#ef4444; background:rgba(239,68,68,.1); font-size:.72rem; }
.smart-way li i { color:#161104; background:var(--gradient-primary); }

.systems-section { background:var(--bg-primary); }
.systems-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.system-card { position:relative; display:flex; flex-direction:column; min-height:500px; padding:30px; border:1px solid var(--border-color); border-radius:var(--radius-xl); background:var(--bg-card); box-shadow:var(--shadow-sm); overflow:hidden; transition:var(--transition-normal); }
.system-card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#d4af37,#ebd173); }
.system-card.restaurant::before { background:linear-gradient(90deg,#f59e0b,#fb923c); }
.system-card.hotel::before { background:linear-gradient(90deg,#14b8a6,#3b82f6); }
.system-card.real-estate::before { background:linear-gradient(90deg,#e9a426,#f7c75f); }
.system-card:hover { transform:translateY(-6px); border-color:var(--border-strong); box-shadow:var(--shadow-glow); }
.system-card-top { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.system-card-top > span { display:grid; place-items:center; width:58px; height:58px; border-radius:18px; background:rgba(233,164,38,.14); color:var(--accent-blue); font-size:1.35rem; }
.system-card.restaurant .system-card-top > span { background:rgba(245,158,11,.14); color:#f59e0b; }
.system-card.hotel .system-card-top > span { background:rgba(20,184,166,.14); color:#14b8a6; }
.system-card.real-estate .system-card-top > span { background:rgba(233,164,38,.14); color:#e9a426; }
.system-card-top small { color:var(--text-muted); font-weight:800; }
.system-card h3 { margin:25px 0 10px; font-size:1.45rem; }
.system-card > p { margin:0; color:var(--text-secondary); line-height:1.9; }
.system-mini-ui { display:grid; gap:10px; margin:26px 0; padding:14px; border:1px solid var(--border-color); border-radius:16px; background:var(--bg-glass); }
.system-mini-ui > span { display:grid; grid-template-columns:10px 1fr auto; gap:10px; align-items:center; min-height:42px; padding:9px 10px; border-radius:11px; background:var(--bg-card); }
.system-mini-ui i { width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 5px rgba(34,197,94,.1); }
.system-mini-ui b { color:var(--text-primary); font-size:.78rem; }
.system-mini-ui em { color:var(--accent-blue); font-family:var(--font-en); font-size:.76rem; font-style:normal; font-weight:900; }
.system-card > .btn { width:100%; margin-top:auto; }
.system-card-secondary { display:block; margin-top:12px; color:var(--accent-blue); font-size:.82rem; font-weight:800; text-align:center; text-decoration:underline; text-underline-offset:4px; }

.product-card { min-height:275px; }
.products-section .section-header { max-width:850px; }

.security-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:20px; }
.security-strip span { display:flex; align-items:center; gap:10px; min-height:62px; padding:14px 16px; border:1px solid var(--border-color); border-radius:15px; background:var(--bg-card); }
.security-strip i { color:var(--accent-blue); font-size:1.08rem; }
.security-strip b { font-size:.82rem; }

.faq-section { background:color-mix(in srgb,var(--bg-secondary) 88%,var(--bg-primary)); border-block:1px solid var(--border-color); }
.faq-answer-content { line-height:1.9; }
.cta-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }

.audit-section { padding:72px 0; }
.audit-section .section-header { margin-bottom:30px; }
.audit-card { padding:36px; box-shadow:var(--shadow-sm); }

@media (max-width: 980px) {
    .hero-stack { grid-template-columns:1fr; grid-template-areas:"kicker" "title" "desc" "features" "actions" "visual" "proof"; text-align:center; justify-items:center; }
    .hero-title,.hero-desc { max-width:760px; }
    .hero-features,.hero-actions { justify-content:center; }
    .hero-visual { min-height:520px; margin-top:6px; }
    .hero-proof { width:min(720px,100%); }
    .systems-grid { grid-template-columns:1fr; max-width:700px; margin-inline:auto; }
    .system-card { min-height:430px; }
    .security-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .hero { padding:108px 0 60px; }
    .hero-title { font-size:clamp(2.1rem,10vw,3rem); line-height:1.35; }
    .hero-desc { font-size:.94rem; }
    .hero-proof { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:18px; }
    .hero-proof span:nth-child(3) { padding-inline-start:0; border-inline-start:0; }
    .comparison-shell { grid-template-columns:1fr; }
    .security-strip { grid-template-columns:1fr; }
    .integration-core { min-height:300px; }
    .cta-actions { display:grid; }
    .cta-actions .btn { width:100%; }
}
/* 4-column layout adjustments */
@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
    .pricing-card {
        padding: 24px 16px !important;
    }
    .price {
        font-size: 1.8rem !important;
    }
    .pricing-card h3 {
        font-size: 1.1rem !important;
    }
    .pricing-card ul li {
        font-size: 0.85rem !important;
        padding: 6px 0 !important;
    }
    .pricing-card .btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
}
/* ============================================
   Audit Section
   ============================================ */
.audit-section {
    padding: 80px 0;
}
.audit-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}
.audit-form .form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
.audit-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.audit-form .btn-group {
    flex: 0 0 auto;
}
.audit-form label {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.audit-form .hidden-label {
    visibility: hidden;
}
.audit-form input {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    outline: none;
    font-family: inherit;
    transition: var(--transition-normal);
}
.audit-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(233, 164, 38, 0.15);
}
.audit-form .btn {
    height: 52px;
    padding: 0 30px;
    font-size: 1.1rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .audit-form .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .audit-card {
        padding: 30px 20px;
    }
}

/* ============================================
   Partners
   ============================================ */
.partners-section {
    position: relative;
    background: color-mix(in srgb, var(--bg-secondary) 88%, var(--bg-primary));
    border-block: 1px solid var(--border-color);
}

.partners-section::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: -1px;
    width: min(210px, 36vw);
    height: 2px;
    margin-inline: auto;
    background: var(--accent-blue);
}

.partners-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}

.partners-copy {
    max-width: 760px;
}

.partners-copy .section-title,
.partners-copy .section-desc {
    text-align: start;
}

.partners-copy .section-title {
    margin-bottom: 16px;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.partners-copy .section-desc {
    margin: 0;
    max-width: 680px;
}

.partners-count {
    min-height: 116px;
    padding-inline-start: 24px;
    border-inline-start: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partners-count strong {
    color: var(--accent-cyan);
    font-family: var(--font-en);
    font-size: 3.4rem;
    line-height: 1;
}

.partners-count span {
    margin-top: 10px;
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.55;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.partner-card {
    min-width: 0;
    min-height: 180px;
    padding: 14px;
    display: grid;
    grid-template-rows: 100px auto;
    gap: 14px;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.partner-card:hover,
.partner-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--bg-glass-hover);
    outline: none;
}

.partner-logo-stage {
    width: 100%;
    height: 100px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f5;
    border-radius: 6px;
}

.partner-logo-stage img {
    width: auto;
    max-width: 88%;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.partner-card--photo .partner-logo-stage {
    padding: 0;
    background: #b51c22;
}

.partner-card--photo .partner-logo-stage img {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.partner-meta {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.partner-meta > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.partner-meta strong {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partner-meta small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partner-meta i {
    flex: 0 0 auto;
    color: var(--accent-blue);
    font-size: 0.82rem;
    opacity: 0.72;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.partner-card:hover .partner-meta i,
.partner-card:focus-visible .partner-meta i {
    opacity: 1;
    transform: translate(-2px, -2px);
}

body[dir="ltr"] .partner-card:hover .partner-meta i,
body[dir="ltr"] .partner-card:focus-visible .partner-meta i {
    transform: translate(2px, -2px);
}

@media (max-width: 920px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .partners-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }

    .partners-count {
        min-height: auto;
        padding: 0 0 0 18px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
    }

    body[dir="rtl"] .partners-count {
        padding: 0 18px 0 0;
    }

    .partners-count strong {
        font-size: 2.6rem;
    }

    .partners-count span {
        margin-top: 0;
    }
}

@media (max-width: 520px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        min-height: 168px;
        grid-template-rows: 92px auto;
    }

.partner-logo-stage {
        height: 92px;
    }
}

/* Final cascade authority for the homepage visual direction. */
.hero {
    min-height: 760px;
    padding: 148px 0 76px;
}

.hero::before {
    inset: 90px 0 auto;
    height: 700px;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.28;
    mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 72%);
}

.hero-stack {
    grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
    grid-template-areas:
        "kicker visual"
        "title visual"
        "desc visual"
        "features visual"
        "actions visual"
        "proof visual";
    column-gap: clamp(46px, 6vw, 88px);
    row-gap: 22px;
    justify-items: stretch;
    align-items: center;
    text-align: start;
}

.hero-title {
    max-width: 710px;
    margin: 0;
    font-size: clamp(3.2rem, 5.15vw, 4.75rem);
    line-height: 1.22;
    letter-spacing: -0.042em;
}

.hero-desc {
    max-width: 660px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 2;
}

.hero-visual { width: 100%; min-height: 530px; margin: 0; }
.hero-features, .hero-actions { justify-content: flex-start; margin: 0; }
.hero-proof { margin-top: 12px; padding-top: 24px; }

@media (max-width: 1080px) {
    .hero-stack {
        grid-template-columns: 1fr;
        grid-template-areas: "kicker" "title" "desc" "features" "actions" "visual" "proof";
        text-align: center;
        justify-items: center;
    }
    .hero-kicker { margin-inline: auto; }
    .hero-title, .hero-desc { max-width: 780px; }
    .hero-features, .hero-actions { justify-content: center; }
    .hero-visual { width: min(720px, 100%); min-height: 530px; margin-top: 20px; }
}

@media (max-width: 680px) {
    .hero { min-height: auto; padding: 124px 0 64px; }
    .hero-title { font-size: clamp(2.45rem, 11vw, 3.35rem); line-height: 1.28; }
    .hero-visual { min-height: 610px; }
}

/* Complete homepage system: spacious storytelling and product-first cards. */
main > .hero { order: 1; }
main > .trust-section { order: 2; }
main > .partners-section { order: 3; }
main > .story-section { order: 4; }
main > .home-sales-agent { order: 5; }
main > .systems-section { order: 6; }
main > .products-section { order: 7; }
main > .solutions-section { order: 8; }
main > .integrations-section { order: 9; }
main > .portfolio-section { order: 10; }
main > .pricing-section { order: 11; }
main > .audit-section { order: 12; }
main > .faq-section { order: 13; }
main > .cta-section { order: 14; }

.section { padding: var(--section-padding); }
.section-header { max-width: 880px; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 14px;
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 900;
}
.section-eyebrow::before {
    content: "✦";
    margin-inline-end: 8px;
}
.section-title {
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.18;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.section-desc { max-width: 760px; margin: 18px auto 0; line-height: 1.95; }

.trust-section {
    padding: 36px 0;
    background: color-mix(in srgb, var(--bg-card) 62%, transparent);
    border-block: 1px solid var(--border-color);
}
.trust-section h2 {
    max-width: 920px;
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
}
.logo-cloud { gap: 9px; }
.logo-cloud span {
    padding: 9px 18px;
    color: var(--text-secondary);
    background: transparent;
    border-color: var(--border-color);
    font-size: 0.82rem;
}

.partners-section,
.integrations-section,
.faq-section {
    background: var(--bg-secondary);
    border-block: 1px solid var(--border-color);
}
.partners-section::before { height: 3px; background: var(--gradient-primary); }
.partners-intro { grid-template-columns: minmax(0, 1fr) 200px; gap: 70px; }
.partners-copy .section-title { font-size: clamp(2.45rem, 5vw, 3.8rem); }
.partners-count strong { color: var(--accent-blue); font-size: 4rem; }
.partners-grid { gap: 16px; }
.partner-card {
    min-height: 190px;
    padding: 12px;
    border-radius: 20px;
    background: var(--bg-card);
    box-shadow: none;
}
.partner-logo-stage { border-radius: 13px; }

.story-section { background: var(--bg-primary); border: 0; }
.comparison-shell { gap: 18px; max-width: 1100px; }
.comparison-card {
    min-height: 430px;
    padding: clamp(32px, 5vw, 54px);
    border-radius: 28px;
    box-shadow: none;
}
.comparison-card::before { inset: 0; height: 100%; width: 5px; }
.comparison-card > p { margin-bottom: 8px; }
.comparison-card h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.comparison-card li { gap: 13px; font-size: 0.98rem; line-height: 1.75; }
.comparison-card.smart-way {
    color: #fffaf0;
    background:
        radial-gradient(circle at 85% 5%, rgba(233, 164, 38, 0.28), transparent 15rem),
        #1b1a16;
    border-color: rgba(233, 164, 38, 0.32);
}
.comparison-card.smart-way h3 { color: #fffaf0; }
.comparison-card.smart-way li { color: #ded7ca; }
.comparison-card.smart-way > p { color: #c9b78e; }

main .home-sales-shell {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: clamp(42px, 7vw, 88px);
    padding: clamp(42px, 7vw, 76px);
    border-color: rgba(233, 164, 38, 0.3);
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 0%, rgba(233, 164, 38, 0.24), transparent 24rem),
        #1a1916;
    box-shadow: var(--shadow-md);
}
main .home-sales-copy .section-title { color: #fffaf0; font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
main .home-sales-copy .section-desc { margin-inline: 0; color: #cfc7b8; }
main .home-sales-points span {
    color: #e9e1d2;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.11);
}
main .home-sales-board {
    padding: 18px;
    border-radius: 24px;
    background: #fbfaf6;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
    transform: rotate(-1.2deg);
}
main .home-sales-board-head { color: #1a1916; border-color: #e8e1d3; }
main .home-sales-lead { background: #f4f1e9; border-color: #e5ded0; }
main .home-sales-lead > i { color: #8a5b0f; background: rgba(233, 164, 38, 0.17); }
main .home-sales-lead strong { color: #1a1916; }
main .home-sales-lead small { color: #736d63; }
main .home-sales-lead b { color: #9b6611; }

.systems-section { background: var(--bg-primary); }
.systems-grid { gap: 18px; }
.system-card {
    min-height: 470px;
    padding: clamp(26px, 4vw, 38px);
    border-radius: 28px;
    box-shadow: none;
}
.system-card::before { height: 5px; }
.system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.system-card h3 { margin-top: 30px; font-size: 1.65rem; }
.system-mini-ui { padding: 12px; border-radius: 18px; }

.products-section { background: var(--bg-secondary); border-block: 1px solid var(--border-color); }
.product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.product-card { grid-column: span 4; min-height: 300px; padding: 30px; border-radius: 24px; box-shadow: none; }
.product-card:nth-child(n+4) { grid-column: span 6; }
.product-card.featured { background: var(--bg-card); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-icon,
.benefit-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(233, 164, 38, 0.12);
    color: var(--accent-blue);
}
.product-card h3 { font-size: 1.28rem; }
.product-card p { line-height: 1.85; }

.solutions-section { background: var(--bg-primary); }
.benefit-grid { gap: 16px; }
.benefit-card { min-height: 260px; padding: 34px; border-radius: 24px; box-shadow: none; }
.benefit-card h3 { font-size: 1.35rem; }

.integration-board { gap: 14px; }
.integration-group, .integration-core { border-radius: 24px; box-shadow: none; }
.integration-group { padding: 28px; }
.integration-core {
    min-height: 390px;
    background:
        radial-gradient(circle at center, rgba(233, 164, 38, 0.2), transparent 58%),
        var(--bg-card);
}
.brand-emblem {
    border-radius: 20px;
    background: #1a1916;
    box-shadow: var(--shadow-md);
}
.security-strip span { min-height: 70px; border-radius: 16px; }

.portfolio-card { border-radius: 24px; box-shadow: none; }
.portfolio-media { aspect-ratio: 16 / 9; }

.pricing-section { background: var(--bg-primary); }
body .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; }
body .pricing-card {
    min-height: 430px;
    padding: 32px 24px !important;
    border-radius: 24px;
    box-shadow: none;
}
body .pricing-card.featured {
    color: #fffaf0;
    background:
        radial-gradient(circle at 80% 0%, rgba(233, 164, 38, 0.24), transparent 15rem),
        #1b1a16;
    transform: translateY(-8px);
}
body .pricing-card.featured h3,
body .pricing-card.featured li { color: #fffaf0; }
body .price { font-size: 2.15rem !important; }
body .pricing-card h3 { font-size: 1.15rem !important; }

.audit-section { background: var(--bg-primary); }
.audit-card {
    max-width: 1000px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 26px;
    box-shadow: none;
}
.audit-form input { min-height: 54px; border-radius: 13px; }

.faq-list { max-width: 900px; gap: 10px; }
.faq-item { border-radius: 18px; box-shadow: none; }
.faq-question { min-height: 76px; padding: 22px 25px; font-size: 1rem; }

.cta-section { padding: 72px 0 110px; }
.cta-box {
    padding: clamp(48px, 8vw, 86px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% -10%, rgba(233, 164, 38, 0.33), transparent 36%),
        #1a1916;
    box-shadow: var(--shadow-md);
}
.cta-box h2 { max-width: 820px; margin-inline: auto; color: #fffaf0; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.cta-box .btn-outline { color: #fffaf0; border-color: rgba(255, 255, 255, 0.24); }

.footer { padding-bottom: 24px; background: #11110f; }
.footer-grid { padding: 72px 0 54px; }
.footer-brand p, .footer-col a, .footer-bottom { color: #aaa498; }
.footer-col h3 { color: #fffaf0; }

@media (max-width: 1020px) {
    main .home-sales-shell { grid-template-columns: 1fr; }
    main .home-sales-board { transform: none; }
    body .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 820px) {
    :root { --section-padding: 82px 0; }
    .section-title { font-size: clamp(2.15rem, 8vw, 3.2rem); }
    .product-grid { grid-template-columns: 1fr; }
    .product-card, .product-card:nth-child(n+4) { grid-column: auto; }
    .partners-intro { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
    body .pricing-grid { grid-template-columns: 1fr !important; }
    body .pricing-card.featured { transform: none; }
    .comparison-card { min-height: auto; }
    main .home-sales-shell { padding: 32px 20px; border-radius: 24px; }
    .cta-box { border-radius: 24px; }
}

/* Responsive correction: remove the retired phone grid tracks and cap type scale. */
.hero-stack > *,
.hero-visual,
.hero-visual .phone-mockup,
.hero-visual .phone-screen,
.hero-visual .motion-scenes,
.hero-visual .motion-scene {
    min-width: 0;
    max-width: 100%;
}

.hero-title {
    width: 100%;
    font-size: clamp(2.8rem, 4.2vw, 4rem);
    letter-spacing: -0.025em;
}

.section-title,
.partners-copy .section-title,
main .home-sales-copy .section-title {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    letter-spacing: -0.02em;
}

.hero-visual .phone-mockup {
    animation: none;
    transform: none;
}

.hero-visual .phone-screen {
    display: grid;
    grid-template-rows: 72px minmax(0, 1fr);
}

.hero-visual .motion-appbar {
    grid-row: 1;
    height: auto;
}

.hero-visual .motion-scenes {
    grid-row: 2;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 680px) {
    .container,
    .hero-stack {
        width: min(100% - 28px, var(--container-width));
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-stack {
        overflow: hidden;
    }

    .hero-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2.05rem, 8.4vw, 2.6rem);
        line-height: 1.34;
        letter-spacing: -0.015em;
    }

    .hero-desc {
        width: 100%;
        font-size: 0.96rem;
        line-height: 1.9;
    }

    .hero-features {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        width: min(100%, 340px);
    }

    .hero-visual {
        width: 100%;
        min-height: 548px;
    }

    .hero-visual .phone-mockup {
        width: 100%;
        height: 528px;
        margin-inline: auto;
    }

    .hero-visual .motion-scenes {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 10px;
        padding: 12px;
        overflow: hidden;
    }

    .hero-visual .motion-scene {
        width: 100%;
        min-height: 0;
        padding: 13px;
        overflow: hidden;
    }

    .hero-visual .scene-inbox {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-visual .scene-lead {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-visual .motion-inbox-item {
        min-height: 52px;
        padding: 8px;
    }

    .hero-visual .motion-inbox-item:nth-child(3),
    .hero-visual .motion-sync,
    .hero-visual .motion-automation-flow,
    .hero-visual .motion-analysis {
        display: none;
    }

    .section-title,
    .partners-copy .section-title,
    main .home-sales-copy .section-title {
        font-size: clamp(1.9rem, 7.5vw, 2.55rem);
        line-height: 1.32;
    }

    .section-desc { font-size: 0.96rem; }
}

@media (max-width: 420px) {
    .hero { padding-top: 112px; }
    .hero-title { font-size: clamp(1.9rem, 8.1vw, 2.2rem); }
    .hero-kicker { max-width: 100%; white-space: normal; }
    .hero-proof strong { font-size: 1.4rem; }
    .hero-proof small { font-size: 0.7rem; }
    .section-title,
    .partners-copy .section-title,
    main .home-sales-copy .section-title { font-size: clamp(1.8rem, 7vw, 2.15rem); }
}

/* Three-scene product carousel: inbox, AI conversation, and qualification. */
.hero-visual .phone-screen {
    grid-template-rows: 72px minmax(0, 1fr) 34px;
}

.hero-visual .motion-appbar {
    grid-template-columns: 38px minmax(105px, 1fr) 10px auto;
    gap: 10px;
}

.motion-channel-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.hero-visual .motion-channel-strip small {
    display: inline;
    margin: 0 0 0 2px;
    color: var(--text-muted);
    font-size: 0.62rem;
    white-space: nowrap;
}

.motion-channel-strip i {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    color: #fff;
    font-size: 0.78rem;
}

.motion-channel-strip .fa-whatsapp { background: #20b86a; }
.motion-channel-strip .fa-instagram { background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b); }
.motion-channel-strip .fa-facebook-messenger { background: #3478f6; }

.hero-visual .motion-scenes {
    position: relative;
    display: block;
    grid-row: 2;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #1a1916;
}

.hero-visual .motion-scene,
.hero-visual .scene-inbox,
.hero-visual .scene-chat,
.hero-visual .scene-lead {
    position: absolute;
    inset: 14px;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 18px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.99);
    animation: shawkySceneCarousel 15s ease-in-out infinite;
}

.hero-visual .motion-scene:nth-child(2) { animation-delay: 5s; }
.hero-visual .motion-scene:nth-child(3) { animation-delay: 10s; }
.hero-visual .motion-scene:nth-child(4) { display: none; animation: none; }

.hero-visual .motion-dots {
    grid-row: 3;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.hero-visual .motion-dots i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d3cec3;
    animation: shawkyDotCarousel 15s ease-in-out infinite;
}

.hero-visual .motion-dots i:nth-child(2) { animation-delay: 5s; }
.hero-visual .motion-dots i:nth-child(3) { animation-delay: 10s; }

.hero-visual .motion-chat-body {
    min-height: 255px;
    padding: 16px;
    border-radius: 15px;
    background: var(--bg-secondary);
}

.hero-visual .motion-bubble {
    max-width: 88%;
    padding: 11px 13px;
    font-size: 0.72rem;
    line-height: 1.7;
}

.hero-visual .motion-chat-profile strong { color: var(--text-primary); font-size: 0.78rem; }
.hero-visual .motion-chat-profile small { font-size: 0.62rem; }
.hero-visual .motion-composer {
    min-height: 48px;
    margin-top: 10px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.hero-visual .scene-lead .motion-lead-card { margin: 18px 0; padding: 14px; }
.hero-visual .scene-lead .motion-lead-card strong { color: var(--text-primary); font-size: 0.78rem; }
.hero-visual .scene-lead .motion-lead-card small { color: var(--text-muted); font-size: 0.64rem; }
.hero-visual .scene-lead .motion-data-row { min-height: 46px; font-size: 0.72rem; }
.hero-visual .scene-lead .motion-data-row strong { font-size: 0.7rem; }
.hero-visual .scene-lead .motion-automation-flow { margin-top: 22px; }
.hero-visual .scene-lead .motion-analysis { display: block; font-size: 0.65rem; }

@keyframes shawkySceneCarousel {
    0%, 28% { opacity: 1; transform: translateY(0) scale(1); }
    33%, 100% { opacity: 0; transform: translateY(-9px) scale(0.99); }
}

@keyframes shawkyDotCarousel {
    0%, 28% { width: 25px; background: var(--accent-blue); }
    33%, 100% { width: 7px; background: #d3cec3; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual .motion-scene,
    .hero-visual .motion-dots i { animation: none; }
    .hero-visual .scene-inbox { opacity: 1; transform: none; }
    .hero-visual .motion-dots i:first-child { width: 25px; background: var(--accent-blue); }
}

@media (max-width: 680px) {
    .hero-visual .phone-screen { grid-template-rows: 66px minmax(0, 1fr) 32px; }
    .hero-visual .motion-appbar { grid-template-columns: 34px minmax(92px, 1fr) 9px auto; padding: 11px 13px; }
    .hero-visual .motion-appbar img { width: 34px; height: 34px; }
    .hero-visual .motion-channel-strip small { display: none; }
    .motion-channel-strip { gap: 5px; }
    .motion-channel-strip i { width: 24px; height: 24px; border-radius: 8px; font-size: 0.7rem; }
    .hero-visual .motion-scene,
    .hero-visual .scene-inbox,
    .hero-visual .scene-chat,
    .hero-visual .scene-lead { inset: 11px; padding: 14px; }
    .hero-visual .motion-chat-body { min-height: 250px; }
    .hero-visual .motion-inbox-item:nth-child(3),
    .hero-visual .motion-sync,
    .hero-visual .motion-automation-flow { display: flex; }
    .hero-visual .motion-analysis { display: block; }
}

/* Refined product showcase: light, compact and readable across every slide. */
.hero-visual { min-height: 500px; }
.hero-visual::before {
    width: 66%;
    inset: 16% 17% auto;
    background: rgba(233, 164, 38, 0.16);
    filter: blur(82px);
}
.hero-visual .phone-mockup {
    height: 480px;
    max-width: 620px;
    border: 1px solid #e8e5de;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(24, 25, 23, 0.1), 0 2px 8px rgba(24, 25, 23, 0.04);
}
.hero-visual .phone-screen {
    grid-template-rows: 76px minmax(0, 1fr) 38px;
    background: #f7f8f7;
}
.hero-visual .motion-appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #ece8e0;
}

.hero-visual .floating-channel { display: none; }
.motion-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.hero-visual .motion-brand img {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    box-shadow: 0 5px 15px rgba(233, 164, 38, 0.18);
}
.motion-brand > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.hero-visual .motion-brand strong {
    overflow: hidden;
    color: #242621;
    font-family: var(--font-en);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-visual .motion-brand small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #74786f;
    font-size: 0.66rem;
    white-space: nowrap;
}
.hero-visual .motion-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #21b66f;
    box-shadow: 0 0 0 4px rgba(33, 182, 111, 0.12);
}
.hero-visual .motion-channel-strip {
    direction: ltr;
    flex: 0 0 auto;
    gap: 6px;
}
.hero-visual .motion-channel-strip small {
    margin: 0 0 0 4px;
    color: #74786f;
    font-size: 0.66rem;
}
.hero-visual .motion-channel-strip i {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(36, 38, 33, 0.1);
}
.hero-visual .motion-scenes {
    padding: 13px;
    background:
        radial-gradient(circle at 12% 10%, rgba(233, 164, 38, 0.09), transparent 28%),
        linear-gradient(145deg, #f8f9f8, #f3f5f3);
}
.hero-visual .motion-scene,
.hero-visual .scene-inbox,
.hero-visual .scene-chat,
.hero-visual .scene-lead {
    inset: 13px;
    height: auto;
    padding: 18px;
    color: #242621;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e1e7e2;
    border-radius: 19px;
    box-shadow: 0 10px 30px rgba(31, 51, 42, 0.07);
    transform: translateX(-18px);
    animation-name: shawkySceneCarouselRefined;
    animation-timing-function: cubic-bezier(.22,.78,.22,1);
}
.hero-visual .motion-scene-heading > div > span,
.hero-visual .motion-chat-profile strong {
    color: #283d35;
    font-size: 0.88rem;
}
.hero-visual .motion-scene-heading small,
.hero-visual .motion-chat-profile small {
    color: #869089;
    font-size: 0.66rem;
}
.hero-visual .motion-count,
.hero-visual .motion-score {
    color: #9d6711;
    background: #fff7e8;
    border-color: #f3dfb7;
}
.hero-visual .motion-inbox-list { gap: 9px; }
.hero-visual .motion-inbox-item {
    min-height: 68px;
    color: #283d35;
    background: #f7faf8;
    border-color: #e7ece8;
    border-radius: 14px;
}
.hero-visual .motion-inbox-item.is-highlighted {
    background: #fffaf0;
    border-color: #f0d9a7;
}
.hero-visual .motion-inbox-item strong,
.hero-visual .scene-lead .motion-lead-card strong,
.hero-visual .scene-lead .motion-data-row strong { color: #283d35; }
.hero-visual .motion-inbox-item small,
.hero-visual .motion-sync,
.hero-visual .scene-lead .motion-lead-card small,
.hero-visual .scene-lead .motion-data-row span,
.hero-visual .scene-lead .motion-analysis { color: #87918a; }
.hero-visual .motion-chat-body {
    min-height: 235px;
    padding: 15px;
    background: #f5f8f6;
    border: 1px solid #e7ece8;
}
.hero-visual .motion-bubble.customer {
    color: #37443e;
    background: #fff;
    border-color: #e3e8e4;
}
.hero-visual .motion-bubble.bot {
    color: #285849;
    background: #e8f5ef;
    border-color: #cfe8dc;
}
.hero-visual .motion-options span {
    color: #8b641e;
    background: #fff8ea;
    border-color: #efdcb4;
}
.hero-visual .motion-composer {
    min-height: 44px;
    color: #91978f;
    background: #f8faf9;
    border-color: #e2e7e3;
}
.hero-visual .scene-lead .motion-lead-card {
    margin: 14px 0;
    background: #f8faf8;
    border-color: #e3e9e4;
}
.hero-visual .scene-lead .motion-data-row {
    min-height: 43px;
    border-color: #e7ebe8;
}
.hero-visual .motion-dots {
    gap: 7px;
    background: #fff;
    border-top-color: #ece8e0;
}
.hero-visual .motion-dots i {
    height: 5px;
    background: #d8d9d5;
    animation-name: shawkyDotCarouselRefined;
}
@keyframes shawkySceneCarouselRefined {
    0%, 33.2% { opacity: 1; transform: translateX(0); z-index: 2; }
    33.21%, 97% { opacity: 0; transform: translateX(14px); z-index: 1; }
    98%, 100% { opacity: 0; transform: translateX(-14px); z-index: 1; }
}
@keyframes shawkyDotCarouselRefined {
    0%, 33.2% { width: 28px; background: #e9a426; }
    33.21%, 100% { width: 7px; background: #d8d9d5; }
}
@media (max-width: 680px) {
    .hero-visual { min-height: 470px; }
    .hero-visual .phone-mockup {
        height: 450px;
        border-radius: 24px;
    }
    .hero-visual .phone-screen { grid-template-rows: 68px minmax(0, 1fr) 32px; }
    .hero-visual .motion-appbar {
        padding: 11px 13px;
        gap: 8px;
    }
    .hero-visual .motion-brand img {
        width: 34px;
        height: 34px;
    }
    .hero-visual .motion-brand strong {
        max-width: 118px;
        font-size: 0.76rem;
    }
    .hero-visual .motion-brand small { font-size: 0.6rem; }
    .hero-visual .motion-channel-strip { gap: 4px; }
    .hero-visual .motion-channel-strip small { display: none; }
    .hero-visual .motion-channel-strip i {
        width: 25px;
        height: 25px;
        border-radius: 8px;
        font-size: 0.7rem;
    }
    .hero-visual .motion-scenes { padding: 9px; }
    .hero-visual .motion-scene,
    .hero-visual .scene-inbox,
    .hero-visual .scene-chat,
    .hero-visual .scene-lead {
        inset: 9px;
        padding: 13px;
        border-radius: 16px;
    }
    .hero-visual .motion-scene-heading { margin-bottom: 9px; }
    .hero-visual .motion-inbox-item {
        min-height: 58px;
        padding: 9px;
    }
    .hero-visual .motion-inbox-item:nth-child(3) { display: grid; }
    .hero-visual .motion-sync { display: flex; }
    .hero-visual .motion-chat-body {
        min-height: 220px;
        padding: 12px;
    }
    .hero-visual .motion-bubble {
        padding: 9px 11px;
        font-size: 0.68rem;
    }
    .hero-visual .scene-lead .motion-lead-card {
        margin: 12px 0;
        padding: 11px;
    }
    .hero-visual .scene-lead .motion-data-row { min-height: 40px; }
    .hero-visual .scene-lead .motion-automation-flow { margin-top: 14px; }
    .hero-visual .scene-lead .motion-analysis { margin-top: 9px; }
}

/* Client logo ribbon: compact proof section with an accessible continuous loop. */
.partners-section {
    overflow: hidden;
    scroll-margin-top: 92px;
    padding: 76px 0 70px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 50%, rgba(28, 142, 119, 0.18), transparent 34%),
        linear-gradient(112deg, #103532 0%, #17273a 52%, #202b49 100%);
    border: 0;
}

.partners-section::before {
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.partners-strip-header {
    display: grid;
    justify-items: center;
    max-width: 980px;
    margin-bottom: 36px;
    text-align: center;
}

.partners-strip-header .section-eyebrow {
    margin-bottom: 12px;
    color: #f4bd54;
    background: rgba(244, 189, 84, 0.1);
    border-color: rgba(244, 189, 84, 0.24);
}

.partners-strip-header .section-title {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.partners-strip-header .section-desc {
    max-width: 720px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    direction: ltr;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";
    position: absolute;
    inset-block: 0;
    z-index: 3;
    width: min(9vw, 130px);
    pointer-events: none;
}

.partners-marquee::before {
    inset-inline-start: 0;
    background: linear-gradient(90deg, #123431 0%, rgba(18, 52, 49, 0) 100%);
}

.partners-marquee::after {
    inset-inline-end: 0;
    background: linear-gradient(270deg, #202b49 0%, rgba(32, 43, 73, 0) 100%);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partnersLogoFlow 36s linear infinite;
    will-change: transform;
}

.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
    animation-play-state: paused;
}

.partners-row {
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
    padding-inline-end: 24px;
}

.partner-logo-card {
    display: grid;
    place-items: center;
    width: 230px;
    height: 120px;
    padding: 18px 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(5, 17, 27, 0.16);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-logo-card:hover,
.partner-logo-card:focus-visible {
    transform: translateY(-4px);
    border-color: #f4bd54;
    box-shadow: 0 18px 34px rgba(5, 17, 27, 0.24);
}

.partner-logo-card:focus-visible {
    outline: 3px solid rgba(244, 189, 84, 0.45);
    outline-offset: 3px;
}

.partner-logo-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 185px;
    max-height: 82px;
    object-fit: contain;
}

@keyframes partnersLogoFlow {
    to { transform: translateX(calc(-50%)); }
}

@media (max-width: 680px) {
    .partners-section { padding: 56px 0 52px; }
    .partners-strip-header {
        width: min(100% - 34px, var(--container-width));
        margin-bottom: 28px;
    }
    .partners-strip-header .section-title {
        font-size: clamp(1.72rem, 7vw, 2.15rem);
        line-height: 1.42;
    }
    .partners-strip-header .section-desc {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.8;
    }
    .partners-row {
        gap: 14px;
        padding-inline-end: 14px;
    }
    .partner-logo-card {
        width: 176px;
        height: 96px;
        padding: 14px 18px;
        border-radius: 15px;
    }
    .partner-logo-card img {
        max-width: 140px;
        max-height: 65px;
    }
    .partners-track { animation-duration: 30s; }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee { overflow-x: auto; scrollbar-width: thin; }
    .partners-track { animation: none; }
    .partners-row[aria-hidden="true"] { display: none; }
}

/* Five-point comparison with clear row rhythm. */
.comparison-card {
    min-height: 540px;
}

.comparison-card ul {
    gap: 0;
}

.comparison-card li {
    align-items: center;
    min-height: 58px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-card li:last-child {
    border-bottom: 0;
}

.comparison-card.smart-way li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 620px) {
    .comparison-card { min-height: auto; }
    .comparison-card li {
        min-height: 54px;
        padding: 12px 0;
        font-size: 0.92rem;
    }
}

/* Unified channel-to-outcome flow. */
.unified-flow-section {
    order: 5;
    scroll-margin-top: 92px;
    background: var(--bg-primary);
    border: 0;
}

.unified-flow-block {
    margin-bottom: 0;
}

.unified-flow-block > .section-header {
    max-width: 920px;
}

.unified-flow-block > .section-header .section-title {
    font-size: clamp(2.15rem, 3.8vw, 3.25rem);
}

.unified-flow-block > .section-header .section-desc {
    max-width: 860px;
}

.unified-flow-canvas {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 0.92fr) minmax(300px, 1.16fr) minmax(240px, 0.92fr);
    gap: clamp(22px, 3vw, 44px);
    align-items: center;
    min-height: 610px;
    padding: clamp(28px, 4vw, 54px);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 36%, rgba(77, 193, 179, 0.24), transparent 30%),
        linear-gradient(135deg, #fff 0%, #f8fbfa 52%, #fff 100%);
    border: 1px solid #e0e7e3;
    border-radius: 32px;
    box-shadow: 0 28px 72px rgba(32, 57, 48, 0.09);
}

.unified-flow-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(44, 94, 82, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 94, 82, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.unified-flow-canvas::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 14%;
    right: 4%;
    width: 300px;
    height: 72%;
    opacity: 0;
    background: radial-gradient(circle, rgba(45, 195, 174, 0.2) 0%, rgba(240, 181, 63, 0.1) 34%, transparent 70%);
    filter: blur(10px);
    border-radius: 50%;
    pointer-events: none;
    animation: flowEnergySweep 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.flow-column,
.flow-core {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.flow-column {
    display: grid;
    gap: 14px;
}

.flow-column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding-bottom: 13px;
    color: #174e49;
    border-bottom: 1px solid #dfe8e4;
}

.flow-column-title > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #159c89, #5061a8);
    border-radius: 8px;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 800;
}

.flow-column-title strong {
    font-size: 0.95rem;
}

.flow-message,
.flow-output {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 82px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dfe8e4;
    border-radius: 16px;
    box-shadow: 0 9px 22px rgba(35, 65, 55, 0.07);
    overflow: hidden;
    isolation: isolate;
}

.flow-message::after,
.flow-output::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -45% auto -45% -55%;
    width: 34%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
    transform: skewX(-16deg);
    pointer-events: none;
    animation: flowCardShine 7.2s ease-in-out infinite;
    animation-delay: var(--flow-delay, 0s);
}

.flow-message > i,
.flow-output > i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #526375;
    border-radius: 12px;
    font-size: 1.05rem;
    will-change: transform, box-shadow;
}

.flow-message.whatsapp > i { background: #20b86a; }
.flow-message.instagram > i { background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b); }
.flow-message.messenger > i { background: #3478f6; }
.flow-message.webchat > i { background: linear-gradient(135deg, #167c72, #5261a7); }

.flow-message > div,
.flow-output > div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.flow-message strong,
.flow-output strong {
    overflow: hidden;
    color: #263c35;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-message small,
.flow-output small {
    color: #84918c;
    font-size: 0.69rem;
}

.flow-message:nth-child(3) { margin-inline-start: 18px; }
.flow-message:nth-child(4) { margin-inline-start: 34px; }
.flow-message:nth-child(5) { margin-inline-start: 12px; }

.flow-core {
    min-height: 500px;
    padding: clamp(28px, 3vw, 42px);
    color: #fff;
    background:
        radial-gradient(circle at 88% 8%, rgba(233, 164, 38, 0.24), transparent 30%),
        linear-gradient(145deg, #123d3b, #182a41 70%, #202747);
    border: 1px solid rgba(233, 164, 38, 0.22);
    border-radius: 26px;
    box-shadow: 0 26px 55px rgba(18, 42, 50, 0.22);
    transform-origin: center;
    will-change: transform, box-shadow;
}

.flow-core::before,
.flow-core::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(24px, 3vw, 44px);
    height: 2px;
    background: repeating-linear-gradient(90deg, #329d92 0 7px, transparent 7px 13px);
    animation: flowConnectorMove 1.4s linear infinite;
}

.flow-core::before { right: 100%; }
.flow-core::after { left: 100%; }

.flow-core-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    color: #fff4dc;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.flow-core-badge i { color: #f0b53f; }

.flow-core-logo {
    display: block;
    width: 48px;
    height: 48px;
    margin: 28px 0 14px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    animation: flowLogoPower 3.6s ease-in-out infinite;
}

.flow-core h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.flow-core > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.85;
}

.flow-core-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 28px;
}

.flow-core-grid span {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 66px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    transform-origin: center;
}

.flow-core-grid i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #f3be55;
    background: rgba(243, 190, 85, 0.1);
    border-radius: 10px;
}

.flow-core-grid b {
    font-size: 0.74rem;
    line-height: 1.5;
}

.flow-output {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 104px;
    padding: 16px;
}

.flow-output > i {
    grid-column: 2;
    grid-row: 1;
    color: #28655d;
    background: #e4f2ee;
}

.flow-output > div {
    grid-column: 1;
    grid-row: 1;
}

.flow-output strong {
    font-size: 0.88rem;
}

.flow-output small {
    line-height: 1.55;
}

.flow-particles {
    position: absolute;
    z-index: 4;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.flow-particle {
    position: absolute;
    right: 15%;
    width: 10px;
    height: 10px;
    opacity: 0;
    background: #42d7bd;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(66, 215, 189, 0.14), 0 0 22px 8px rgba(66, 215, 189, 0.52);
    will-change: right, opacity, transform;
}

.flow-particle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 7px;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(66, 215, 189, 0.75));
    transform: translateY(-50%);
}

.flow-particle.incoming {
    animation: flowParticleIn 7.2s cubic-bezier(0.3, 0.7, 0.25, 1) infinite;
}

.flow-particle.outgoing {
    right: 52%;
    background: #f0b53f;
    box-shadow: 0 0 0 5px rgba(240, 181, 63, 0.14), 0 0 22px 8px rgba(240, 181, 63, 0.48);
    animation: flowParticleOut 7.2s cubic-bezier(0.3, 0.7, 0.25, 1) infinite;
}

.flow-particle.outgoing::after {
    right: auto;
    left: 7px;
    background: linear-gradient(90deg, rgba(240, 181, 63, 0.75), transparent);
}

.particle-one { top: 34%; animation-delay: 0s !important; }
.particle-two { top: 50%; animation-delay: 0.65s !important; }
.particle-three { top: 66%; animation-delay: 1.3s !important; }
.particle-four { top: 36%; animation-delay: 0s !important; }
.particle-five { top: 51%; animation-delay: 0.65s !important; }
.particle-six { top: 65%; animation-delay: 1.3s !important; }

@media (max-width: 980px) {
    .unified-flow-canvas {
        grid-template-columns: minmax(200px, 0.9fr) minmax(270px, 1.1fr) minmax(200px, 0.9fr);
        gap: 18px;
        padding: 24px;
    }
    .flow-message,
    .flow-output { padding: 11px; }
    .flow-core { padding: 28px 22px; }
}

@media (max-width: 760px) {
    .unified-flow-block > .section-header .section-title {
        font-size: clamp(1.75rem, 7vw, 2.15rem);
    }
    .unified-flow-canvas {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        padding: 18px;
        border-radius: 24px;
    }
    .flow-inputs { grid-row: 1; }
    .flow-core { grid-row: 2; min-height: auto; }
    .flow-outputs { grid-row: 3; }
    .flow-core::before,
    .flow-core::after {
        top: auto;
        left: 50%;
        right: auto;
        width: 0;
        height: 42px;
        background: repeating-linear-gradient(180deg, #329d92 0 7px, transparent 7px 13px);
        transform: translateX(-50%);
    }
    .flow-core::before { bottom: 100%; }
    .flow-core::after { top: 100%; }
    .flow-message:nth-child(n) { margin-inline-start: 0; }
    .flow-core-logo { margin-top: 22px; }
}

@media (max-width: 420px) {
    .unified-flow-canvas { padding: 12px; }
    .flow-message {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 74px;
        padding: 10px;
    }
    .flow-message > i,
    .flow-output > i {
        width: 36px;
        height: 36px;
    }
    .flow-message strong,
    .flow-output strong { font-size: 0.78rem; }
    .flow-core { padding: 24px 18px; }
    .flow-core-grid { gap: 8px; }
    .flow-core-grid span {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 8px;
    }
    .flow-core-grid i {
        width: 30px;
        height: 30px;
    }
}

/* Motion tells the story: channels enter, AI processes, outcomes light up. */
.flow-message {
    animation: flowMessagePulse 7.2s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--flow-delay, 0s);
    will-change: transform, border-color, box-shadow;
}

.flow-message:nth-child(2) { --flow-delay: 0s; }
.flow-message:nth-child(3) { --flow-delay: 0.55s; }
.flow-message:nth-child(4) { --flow-delay: 1.1s; }
.flow-message:nth-child(5) { --flow-delay: 1.65s; }

.flow-message > i {
    animation: flowChannelIconPop 7.2s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--flow-delay, 0s);
}

.flow-core {
    animation: flowCorePulse 3.6s cubic-bezier(0.36, 0, 0.2, 1) infinite;
}

.flow-core-badge i {
    animation: flowSparkPulse 1.8s ease-in-out infinite;
}

.flow-core-grid span {
    animation: flowCoreTilePulse 7.2s ease-in-out infinite;
}

.flow-core-grid span:nth-child(1) { animation-delay: 2.2s; }
.flow-core-grid span:nth-child(2) { animation-delay: 2.55s; }
.flow-core-grid span:nth-child(3) { animation-delay: 2.9s; }
.flow-core-grid span:nth-child(4) { animation-delay: 3.25s; }

.flow-output {
    animation: flowOutputPulse 7.2s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--flow-delay, 0s);
    will-change: transform, border-color, box-shadow;
}

.flow-output:nth-child(2) { --flow-delay: 3.9s; }
.flow-output:nth-child(3) { --flow-delay: 4.45s; }
.flow-output:nth-child(4) { --flow-delay: 5s; }

.flow-output > i {
    animation: flowOutputIconPop 7.2s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--flow-delay, 0s);
}

@keyframes flowEnergySweep {
    0%, 4% { right: -12%; opacity: 0; transform: scale(0.72); }
    16% { opacity: 0.65; }
    48% { right: calc(50% - 150px); opacity: 0.95; transform: scale(1.16); }
    78% { opacity: 0.55; }
    94%, 100% { right: 91%; opacity: 0; transform: scale(0.78); }
}

@keyframes flowConnectorMove {
    to { background-position: 13px 0; }
}

@keyframes flowMessagePulse {
    0%, 62%, 100% {
        transform: translateX(0);
        border-color: #dfe8e4;
        box-shadow: 0 9px 22px rgba(35, 65, 55, 0.07);
    }
    7% {
        transform: translateX(-5px) scale(1.015);
        border-color: rgba(32, 184, 106, 0.65);
        box-shadow: 0 15px 34px rgba(32, 184, 106, 0.2), 0 0 0 4px rgba(32, 184, 106, 0.07);
    }
    13% {
        transform: translateX(-14px) scale(1.035);
        border-color: rgba(32, 184, 106, 0.84);
        box-shadow: 0 20px 42px rgba(32, 184, 106, 0.26), 0 0 0 6px rgba(32, 184, 106, 0.09);
    }
    22% {
        transform: translateX(-5px) scale(1.012);
        border-color: rgba(32, 184, 106, 0.42);
        box-shadow: 0 13px 28px rgba(32, 184, 106, 0.14);
    }
}

@keyframes flowChannelIconPop {
    0%, 62%, 100% { transform: scale(1) rotate(0); box-shadow: none; }
    9% { transform: scale(1.08) rotate(-5deg); }
    14% { transform: scale(1.22) rotate(5deg); box-shadow: 0 8px 22px rgba(20, 109, 91, 0.3); }
    22% { transform: scale(1) rotate(0); box-shadow: none; }
}

@keyframes flowCardShine {
    0%, 7%, 26%, 100% { left: -55%; opacity: 0; }
    10% { opacity: 0.8; }
    20% { left: 125%; opacity: 0; }
}

@keyframes flowCorePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 26px 55px rgba(18, 42, 50, 0.22); }
    46% { transform: scale(1.014); box-shadow: 0 34px 84px rgba(21, 126, 115, 0.38), 0 0 0 7px rgba(50, 157, 146, 0.1), 0 0 58px rgba(240, 181, 63, 0.12); }
    54% { transform: scale(1.008); box-shadow: 0 30px 70px rgba(21, 126, 115, 0.3), 0 0 0 3px rgba(240, 181, 63, 0.08); }
}

@keyframes flowSparkPulse {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.16) rotate(8deg); }
}

@keyframes flowCoreTilePulse {
    0%, 72%, 100% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.075);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }
    9%, 18% {
        transform: translateY(-5px) scale(1.025);
        background: rgba(243, 190, 85, 0.16);
        border-color: rgba(243, 190, 85, 0.48);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), inset 0 0 18px rgba(243, 190, 85, 0.05);
    }
}

@keyframes flowOutputPulse {
    0%, 62%, 100% {
        transform: translateX(0);
        border-color: #dfe8e4;
        box-shadow: 0 9px 22px rgba(35, 65, 55, 0.07);
    }
    7% {
        transform: translateX(-4px) scale(1.016);
        border-color: rgba(80, 97, 168, 0.55);
        box-shadow: 0 15px 34px rgba(80, 97, 168, 0.18), 0 0 0 4px rgba(80, 97, 168, 0.06);
    }
    13% {
        transform: translateX(-12px) scale(1.035);
        border-color: rgba(240, 181, 63, 0.78);
        box-shadow: 0 20px 42px rgba(80, 97, 168, 0.23), 0 0 0 6px rgba(240, 181, 63, 0.08);
    }
    22% {
        transform: translateX(-4px) scale(1.012);
        border-color: rgba(80, 97, 168, 0.35);
        box-shadow: 0 13px 28px rgba(80, 97, 168, 0.13);
    }
}

@keyframes flowOutputIconPop {
    0%, 62%, 100% { transform: scale(1) rotate(0); color: #28655d; background: #e4f2ee; box-shadow: none; }
    9% { transform: scale(1.08) rotate(4deg); }
    14% { transform: scale(1.2) rotate(-4deg); color: #fff; background: linear-gradient(135deg, #159c89, #5061a8); box-shadow: 0 9px 24px rgba(65, 91, 151, 0.28); }
    22% { transform: scale(1) rotate(0); color: #28655d; background: #e4f2ee; box-shadow: none; }
}

@keyframes flowLogoPower {
    0%, 100% { transform: translateY(0) rotate(0); box-shadow: 0 0 0 0 rgba(240, 181, 63, 0); }
    45% { transform: translateY(-4px) rotate(-3deg); box-shadow: 0 0 0 7px rgba(240, 181, 63, 0.08), 0 12px 32px rgba(0, 0, 0, 0.2); }
    55% { transform: translateY(-4px) rotate(3deg); box-shadow: 0 0 0 10px rgba(50, 157, 146, 0.08), 0 12px 32px rgba(0, 0, 0, 0.2); }
}

@keyframes flowParticleIn {
    0%, 4% { right: 13%; opacity: 0; transform: scale(0.4); }
    10% { opacity: 1; transform: scale(1); }
    34% { right: 45%; opacity: 1; transform: scale(1.18); }
    42%, 100% { right: 49%; opacity: 0; transform: scale(0.35); }
}

@keyframes flowParticleOut {
    0%, 43% { right: 52%; opacity: 0; transform: scale(0.35); }
    49% { opacity: 1; transform: scale(1.12); }
    80% { right: 86%; opacity: 1; transform: scale(1); }
    89%, 100% { right: 90%; opacity: 0; transform: scale(0.35); }
}

@keyframes flowConnectorMoveY {
    to { background-position: 0 13px; }
}

@keyframes flowMobileCardPulse {
    0%, 64%, 100% {
        transform: translateY(0);
        box-shadow: 0 9px 22px rgba(35, 65, 55, 0.07);
    }
    8%, 18% {
        transform: translateY(-7px) scale(1.025);
        box-shadow: 0 16px 34px rgba(21, 126, 115, 0.2), 0 0 0 4px rgba(21, 126, 115, 0.06);
    }
}

@keyframes flowEnergySweepMobile {
    0%, 5% { top: -8%; opacity: 0; transform: translateX(50%) scale(0.7); }
    18% { opacity: 0.55; }
    50% { top: 42%; opacity: 0.9; transform: translateX(50%) scale(1.15); }
    82% { opacity: 0.48; }
    96%, 100% { top: 94%; opacity: 0; transform: translateX(50%) scale(0.75); }
}

@media (max-width: 760px) {
    .unified-flow-canvas::after {
        top: -8%;
        right: 50%;
        width: 82%;
        height: 280px;
        animation-name: flowEnergySweepMobile;
    }
    .flow-particles { display: none; }
    .flow-core::before,
    .flow-core::after { animation-name: flowConnectorMoveY; }
    .flow-message,
    .flow-output { animation-name: flowMobileCardPulse; }
}

/* Automatic three-stage customer journey. */
.customer-journey-section {
    order: 6;
    scroll-margin-top: 92px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(80, 97, 168, 0.08), transparent 25rem),
        radial-gradient(circle at 82% 78%, rgba(21, 156, 137, 0.09), transparent 28rem),
        var(--bg-secondary);
    border-block: 1px solid var(--border-color);
}

.customer-journey-block > .section-header {
    max-width: 930px;
    margin-inline: auto;
    text-align: center;
}

.customer-journey-block > .section-header .section-eyebrow {
    margin-inline: auto;
}

.customer-journey-block > .section-header .section-title {
    font-size: clamp(2.3rem, 4.3vw, 3.65rem);
}

.journey-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
    margin: 0 auto 28px;
}

.journey-tab {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 11px;
    align-items: center;
    min-height: 78px;
    padding: 13px 15px 16px;
    overflow: hidden;
    color: #31433d;
    text-align: start;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dde6e2;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(31, 61, 52, 0.07);
    cursor: pointer;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease;
}

.journey-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 156, 137, 0.34);
    box-shadow: 0 14px 32px rgba(31, 61, 52, 0.11);
}

.journey-tab:focus-visible {
    outline: 3px solid rgba(233, 164, 38, 0.34);
    outline-offset: 3px;
}

.journey-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #158f80, #415b98 68%, #654d92);
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(42, 91, 104, 0.22);
    transform: translateY(-4px);
}

.journey-tab-number,
.journey-tab > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    color: #2c6e65;
    background: #edf4f1;
    border-radius: 10px;
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.journey-tab > i {
    color: #8b641b;
    background: rgba(233, 164, 38, 0.13);
}

.journey-tab.active .journey-tab-number,
.journey-tab.active > i {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.journey-tab > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.journey-tab strong {
    font-size: 0.9rem;
    line-height: 1.35;
}

.journey-tab small {
    color: #84918c;
    font-size: 0.73rem;
}

.journey-tab.active small { color: rgba(255, 255, 255, 0.75); }

.journey-tab-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #f3be55, #fff0c6);
    border-radius: 999px 0 0 999px;
}

.journey-tab.active .journey-tab-progress {
    animation: journeyTabProgress 5.2s linear forwards;
}

.customer-journey-section.is-paused .journey-tab.active .journey-tab-progress {
    animation-play-state: paused;
}

.journey-panels {
    position: relative;
}

.journey-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    min-height: 570px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dde6e2;
    border-radius: 32px;
    box-shadow: 0 28px 72px rgba(30, 60, 52, 0.11);
}

.journey-panel[hidden] { display: none !important; }

.journey-panel.active {
    animation: journeyPanelIn 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.journey-panel-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 5vw, 64px);
}

.journey-panel-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 7px 13px;
    color: #21766c;
    background: #e8f4f0;
    border: 1px solid #d8ebe5;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.journey-channel-ribbon {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 10px 13px;
    color: #fff;
    background: linear-gradient(135deg, #158f80, #5261a7);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(38, 103, 100, 0.18);
}

.journey-channel-ribbon i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    font-size: 0.76rem;
}

.journey-channel-ribbon strong {
    margin-inline-start: 5px;
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journey-panel-copy h3 {
    max-width: 560px;
    margin: 0;
    color: #1e3731;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.journey-panel-copy > p {
    max-width: 600px;
    margin: 18px 0 0;
    color: #63736d;
    font-size: 1rem;
    line-height: 1.95;
}

.journey-benefits {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.journey-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #344b44;
    font-size: 0.9rem;
    line-height: 1.6;
}

.journey-benefits i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #18a892, #4b63a1);
    border-radius: 50%;
    font-size: 0.65rem;
}

.journey-demo {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 28px 28px 28px 0;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(66, 215, 189, 0.18), transparent 15rem),
        linear-gradient(150deg, #163c3a, #18283d 68%, #23264c);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    box-shadow: 0 24px 52px rgba(20, 44, 52, 0.26);
}

.journey-demo::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.journey-demo-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 4px 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.journey-demo-top > span {
    display: flex;
    gap: 5px;
}

.journey-demo-top > span i {
    width: 9px;
    height: 9px;
    background: #f06565;
    border-radius: 50%;
}

.journey-demo-top > span i:nth-child(2) { background: #f3be55; }
.journey-demo-top > span i:nth-child(3) { background: #42d7bd; }

.journey-demo-top b {
    margin-inline: auto;
    font-family: var(--font-en);
    font-size: 0.78rem;
}

.journey-demo-top em {
    color: #63e1c6;
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 900;
}

.journey-inbox-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 12px;
    height: calc(100% - 58px);
    padding-top: 14px;
}

.journey-conversations,
.journey-chat-window {
    min-width: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 17px;
}

.journey-conversations {
    display: grid;
    align-content: start;
    gap: 8px;
}

.journey-conversations > strong {
    margin-bottom: 4px;
    color: #29443d;
    font-size: 0.78rem;
}

.journey-conversations > span {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
    padding: 10px;
    color: #597069;
    background: #f4f7f6;
    border: 1px solid transparent;
    border-radius: 12px;
}

.journey-conversations > span.selected {
    background: #eaf5f1;
    border-color: #cfe9e1;
    box-shadow: 0 9px 20px rgba(35, 100, 87, 0.1);
}

.journey-conversations > span i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: #20b86a;
    border-radius: 9px;
}

.journey-conversations > span:nth-of-type(2) i { background: linear-gradient(135deg, #7c3aed, #db2777, #f59e0b); }
.journey-conversations > span:nth-of-type(3) i { background: #3478f6; }
.journey-conversations b { overflow: hidden; color: #2f4640; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.journey-conversations small { overflow: hidden; color: #8a9692; font-size: 0.61rem; text-overflow: ellipsis; white-space: nowrap; }

.journey-chat-window {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-chat-person {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e5ebe8;
}

.journey-chat-person > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: linear-gradient(135deg, #159c89, #5061a8);
    border-radius: 11px;
    font-weight: 900;
}

.journey-chat-person > div { display: grid; gap: 2px; }
.journey-chat-person b { color: #2c443d; font-size: 0.76rem; }
.journey-chat-person small { color: #87948f; font-size: 0.62rem; }

.journey-chat-window > p {
    width: 82%;
    margin: 0 0 12px;
    padding: 11px 13px;
    color: #314a43;
    background: #f0f3f2;
    border-radius: 13px 13px 4px 13px;
    font-size: 0.72rem;
    line-height: 1.65;
}

.journey-chat-window > p.agent {
    align-self: flex-end;
    color: #174f48;
    background: #dff1eb;
    border-radius: 13px 13px 13px 4px;
}

.journey-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 9px;
    color: #789087;
    font-size: 0.63rem;
}

.journey-typing i {
    width: 5px;
    height: 5px;
    background: #24a98f;
    border-radius: 50%;
    animation: journeyTyping 1.2s ease-in-out infinite;
}

.journey-typing i:nth-child(2) { animation-delay: 0.18s; }
.journey-typing i:nth-child(3) { animation-delay: 0.36s; }

.journey-ai-score {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 20px 0 16px;
    padding: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
}

.journey-score-ring {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    padding: 19px;
    background: conic-gradient(#42d7bd 0 94%, rgba(255, 255, 255, 0.11) 94% 100%);
    border-radius: 50%;
    box-shadow: 0 0 34px rgba(66, 215, 189, 0.18);
    animation: journeyScorePulse 2.4s ease-in-out infinite;
}

.journey-score-ring::before {
    content: "";
    grid-area: 1 / 1;
    width: 96px;
    height: 96px;
    background: #1b3440;
    border-radius: 50%;
}

.journey-score-ring strong,
.journey-score-ring small {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
}

.journey-score-ring strong { margin-bottom: 18px; font-family: var(--font-en); font-size: 1.65rem; }
.journey-score-ring small { margin-top: 35px; color: rgba(255, 255, 255, 0.62); font-size: 0.6rem; }
.journey-ai-score > div:last-child { display: grid; gap: 9px; }
.journey-ai-score > div:last-child span { color: rgba(255, 255, 255, 0.68); font-size: 0.74rem; }
.journey-ai-score > div:last-child b { font-size: 1.08rem; }

.journey-process-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
}

.journey-process-list > span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 70px;
    padding: 11px 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    animation: journeyProcessPulse 4.2s ease-in-out infinite;
}

.journey-process-list > span:nth-child(2) { animation-delay: 0.55s; }
.journey-process-list > span:nth-child(3) { animation-delay: 1.1s; }
.journey-process-list > span > i { display: grid; place-items: center; width: 36px; height: 36px; color: #42d7bd; background: rgba(66, 215, 189, 0.12); border-radius: 10px; }
.journey-process-list > span.processing > i { color: #f3be55; background: rgba(243, 190, 85, 0.12); }
.journey-process-list > span > div { display: grid; gap: 3px; }
.journey-process-list b { font-size: 0.75rem; }
.journey-process-list small { color: rgba(255, 255, 255, 0.57); font-size: 0.64rem; }
.journey-process-list em { color: #60dec3; font-size: 0.65rem; font-style: normal; font-weight: 900; }
.journey-process-list .processing em { color: #f3be55; }

.journey-agent-features {
    display: grid;
    gap: 11px;
    margin-top: 28px;
}

.journey-agent-features article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 30px;
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 12px 14px;
    background: #fbfcfb;
    border: 1px solid #dfe8e4;
    border-radius: 15px;
    box-shadow: 0 9px 22px rgba(35, 65, 55, 0.05);
}

.journey-agent-features article > img,
.journey-agent-features article > i:first-child {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    color: #fff;
    background: linear-gradient(135deg, #159c89, #5061a8);
    border-radius: 12px;
    object-fit: contain;
}

.journey-agent-features article > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.journey-agent-features strong { color: #243e37; font-size: 0.85rem; }
.journey-agent-features small { color: #86928e; font-size: 0.7rem; }
.journey-agent-features article > i:last-child { color: #238578; font-size: 0.74rem; }

.journey-agent-demo {
    padding: 18px;
    background:
        radial-gradient(circle at 84% 18%, rgba(34, 169, 147, 0.12), transparent 15rem),
        #eaf2ef;
    border-color: #d6e5e0;
    box-shadow: 0 24px 52px rgba(27, 65, 58, 0.18);
}

.journey-agent-demo::before {
    opacity: 0.28;
    background-image: linear-gradient(rgba(29, 102, 90, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 102, 90, 0.06) 1px, transparent 1px);
}

.journey-agent-demo .journey-demo-top {
    min-height: 62px;
    margin: -18px -18px 18px;
    padding: 0 18px;
    background: linear-gradient(135deg, #17142f, #202141);
    border: 0;
}

.journey-agent-analysis,
.journey-agent-route {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d9e4e0;
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(39, 76, 67, 0.09);
}

.journey-agent-analysis {
    padding: 17px;
    animation: journeyAgentCardPulse 4s ease-in-out infinite;
}

.journey-agent-analysis-head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3ebe8;
}

.journey-agent-analysis-head > img {
    width: 44px;
    height: 44px;
    padding: 7px;
    background: linear-gradient(135deg, #e6f5f0, #ecebfa);
    border-radius: 12px;
    object-fit: contain;
}

.journey-agent-analysis-head > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.journey-agent-analysis-head > div strong {
    overflow: hidden;
    color: #213d36;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.journey-agent-analysis-head > div small {
    color: #8b9893;
    font-size: 0.65rem;
}

.journey-agent-analysis-head > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    color: #197a6d;
    background: #e7f4ef;
    border-radius: 999px;
    font-size: 0.65rem;
}

.journey-agent-analysis-head > span i {
    width: 7px;
    height: 7px;
    background: #30c9a7;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(48, 201, 167, 0.11);
    animation: journeyAgentStatus 1.5s ease-in-out infinite;
}

.journey-agent-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    margin-top: 14px;
}

.journey-agent-fields > span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 45px;
    padding: 8px 10px;
    background: #f6f8f7;
    border: 1px solid #e3e9e7;
    border-radius: 10px;
    animation: journeyAgentField 4.8s ease-in-out infinite;
}

.journey-agent-fields > span:nth-child(2) { animation-delay: 0.45s; }
.journey-agent-fields > span:nth-child(3) { animation-delay: 0.9s; }
.journey-agent-fields > span:nth-child(4) { animation-delay: 1.35s; }
.journey-agent-fields small { color: #84908c; font-size: 0.62rem; }
.journey-agent-fields b { overflow: hidden; color: #28443d; font-size: 0.68rem; text-align: end; text-overflow: ellipsis; white-space: nowrap; }

.journey-agent-confidence {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.journey-agent-confidence > span {
    display: block;
    height: 5px;
    overflow: hidden;
    background: #e2e9e6;
    border-radius: 999px;
}

.journey-agent-confidence > span i {
    display: block;
    width: 94%;
    height: 100%;
    background: linear-gradient(90deg, #159c89, #5061a8);
    border-radius: inherit;
    animation: journeyAgentConfidence 3.8s ease-in-out infinite;
    transform-origin: right center;
}

.journey-agent-confidence small { color: #71817b; font-size: 0.64rem; }

.journey-agent-route {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 82px;
    margin-top: 14px;
    padding: 13px 15px;
    animation: journeyAgentRoute 4.8s ease-in-out infinite 1.8s;
}

.journey-agent-route > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(135deg, #159c89, #5061a8);
    border-radius: 12px;
}

.journey-agent-route > div { display: grid; gap: 4px; min-width: 0; }
.journey-agent-route > div strong { overflow: hidden; color: #213d36; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.journey-agent-route > div small { color: #899691; font-size: 0.63rem; }
.journey-agent-route > span { display: grid; gap: 2px; min-width: 48px; color: #1b7c70; text-align: center; }
.journey-agent-route > span b { font-family: var(--font-en); font-size: 0.88rem; }
.journey-agent-route > span small { font-size: 0.58rem; }

@keyframes journeyAgentCardPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(39, 76, 67, 0.09); }
    50% { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(39, 111, 94, 0.14), 0 0 0 4px rgba(34, 169, 147, 0.05); }
}

@keyframes journeyAgentStatus {
    0%, 100% { transform: scale(0.8); opacity: 0.58; }
    50% { transform: scale(1.18); opacity: 1; }
}

@keyframes journeyAgentField {
    0%, 68%, 100% { transform: translateX(0); border-color: #e3e9e7; background: #f6f8f7; }
    12%, 24% { transform: translateX(4px); border-color: rgba(34, 169, 147, 0.38); background: #edf7f4; }
}

@keyframes journeyAgentConfidence {
    0% { transform: scaleX(0.18); }
    46%, 100% { transform: scaleX(1); }
}

@keyframes journeyAgentRoute {
    0%, 62%, 100% { transform: translateY(0) scale(1); border-color: #d9e4e0; }
    14%, 28% { transform: translateY(-5px) scale(1.015); border-color: rgba(80, 97, 168, 0.36); box-shadow: 0 16px 34px rgba(65, 91, 151, 0.14); }
}

.journey-metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 14px;
}

.journey-metrics > span {
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    animation: journeyMetricRise 4.5s ease-in-out infinite;
}

.journey-metrics > span:nth-child(2) { animation-delay: 0.45s; }
.journey-metrics > span:nth-child(3) { animation-delay: 0.9s; }
.journey-metrics small { color: rgba(255, 255, 255, 0.58); font-size: 0.62rem; }
.journey-metrics strong { font-family: var(--font-en); font-size: 1.55rem; }
.journey-metrics em { color: #5ee1c6; font-family: var(--font-en); font-size: 0.66rem; font-style: normal; font-weight: 800; }

.journey-pipeline {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.journey-pipeline > div {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 236px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.journey-pipeline > div > b { color: rgba(255, 255, 255, 0.64); font-size: 0.68rem; }
.journey-pipeline > div > span { display: flex; align-items: center; gap: 7px; min-height: 56px; padding: 9px; color: #eef7f4; background: rgba(255, 255, 255, 0.08); border: 1px solid transparent; border-radius: 11px; }
.journey-pipeline > div > span.highlight { border-color: rgba(243, 190, 85, 0.34); box-shadow: 0 8px 22px rgba(243, 190, 85, 0.08); }
.journey-pipeline > div > span.won { border-color: rgba(66, 215, 189, 0.28); background: rgba(66, 215, 189, 0.1); }
.journey-pipeline span i { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, #159c89, #5061a8); border-radius: 9px; font-family: var(--font-en); font-size: 0.58rem; font-style: normal; font-weight: 800; }
.journey-pipeline span small { overflow: hidden; font-family: var(--font-en); font-size: 0.58rem; text-overflow: ellipsis; white-space: nowrap; }

@keyframes journeyTabProgress { from { width: 0; } to { width: 100%; } }
@keyframes journeyPanelIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes journeyTyping { 0%, 70%, 100% { transform: translateY(0); opacity: 0.35; } 35% { transform: translateY(-4px); opacity: 1; } }
@keyframes journeyScorePulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 26px rgba(66, 215, 189, 0.13); } 50% { transform: scale(1.035); box-shadow: 0 0 42px rgba(66, 215, 189, 0.28); } }
@keyframes journeyProcessPulse { 0%, 68%, 100% { transform: translateX(0); border-color: rgba(255, 255, 255, 0.11); } 12%, 24% { transform: translateX(6px); border-color: rgba(66, 215, 189, 0.38); background: rgba(66, 215, 189, 0.1); } }
@keyframes journeyMetricRise { 0%, 68%, 100% { transform: translateY(0); border-color: rgba(255, 255, 255, 0.11); } 14%, 26% { transform: translateY(-6px); border-color: rgba(243, 190, 85, 0.38); background: rgba(243, 190, 85, 0.1); } }

html[data-theme="dark"] .journey-tab,
html[data-theme="dark"] .journey-panel { background: rgba(27, 31, 29, 0.96); border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .journey-tab { color: #e4ece8; }
html[data-theme="dark"] .journey-tab small { color: #97a49f; }
html[data-theme="dark"] .journey-tab.active small { color: rgba(255, 255, 255, 0.75); }
html[data-theme="dark"] .journey-panel-copy h3 { color: #f2f6f4; }
html[data-theme="dark"] .journey-panel-copy > p { color: #aebbb6; }
html[data-theme="dark"] .journey-benefits li { color: #d8e2de; }
html[data-theme="dark"] .journey-agent-features article { background: rgba(255, 255, 255, 0.055); border-color: rgba(255, 255, 255, 0.11); }
html[data-theme="dark"] .journey-agent-features strong { color: #edf4f1; }
html[data-theme="dark"] .journey-agent-features small { color: #9ba8a3; }

@media (max-width: 1020px) {
    .journey-panel { grid-template-columns: minmax(0, 1fr); }
    .journey-demo { min-height: 500px; margin: 0 28px 28px; }
}

@media (max-width: 720px) {
    .customer-journey-block > .section-header .section-title { font-size: clamp(1.85rem, 8.4vw, 2.45rem); }
    .journey-tabs { gap: 7px; margin-bottom: 18px; }
    .journey-tab { grid-template-columns: 28px minmax(0, 1fr); gap: 7px; min-height: 70px; padding: 10px 8px 14px; border-radius: 14px; }
    .journey-tab-number { width: 28px; height: 28px; border-radius: 8px; }
    .journey-tab > i { display: none; }
    .journey-tab strong { font-size: 0.75rem; }
    .journey-tab small { font-size: 0.64rem; }
    .journey-panel { border-radius: 24px; }
    .journey-panel-copy { padding: 28px 20px 30px; }
    .journey-panel-copy h3 { font-size: 1.75rem; }
    .journey-panel-copy > p { font-size: 0.94rem; }
    .journey-channel-ribbon { width: 100%; padding: 9px; }
    .journey-channel-ribbon i { width: 25px; height: 25px; font-size: 0.68rem; }
    .journey-channel-ribbon strong { font-size: 0.7rem; }
    .journey-demo { min-height: 430px; margin: 0 12px 12px; padding: 12px; border-radius: 19px; }
    .journey-inbox-layout { grid-template-columns: 1fr; }
    .journey-conversations { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 9px; }
    .journey-conversations > strong { grid-column: 1 / -1; }
    .journey-conversations > span { grid-template-columns: 26px minmax(0, 1fr); padding: 7px; }
    .journey-conversations > span i { width: 26px; height: 26px; }
    .journey-conversations small { display: none; }
    .journey-chat-person { margin-bottom: 16px; }
    .journey-ai-score { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 13px; }
    .journey-score-ring { width: 100px; height: 100px; padding: 14px; }
    .journey-score-ring::before { width: 76px; height: 76px; }
    .journey-score-ring strong { font-size: 1.35rem; }
    .journey-metrics { gap: 6px; }
    .journey-metrics > span { min-height: 90px; padding: 10px 8px; }
    .journey-metrics strong { font-size: 1.25rem; }
    .journey-pipeline { gap: 6px; }
    .journey-pipeline > div { min-height: 190px; padding: 8px; }
    .journey-pipeline > div > span { min-height: 48px; padding: 6px; }
    .journey-pipeline span i { width: 25px; height: 25px; }
    .journey-agent-features article { grid-template-columns: 40px minmax(0, 1fr) 24px; min-height: 68px; padding: 10px; }
    .journey-agent-features article > img,
    .journey-agent-features article > i:first-child { width: 38px; height: 38px; }
    .journey-agent-demo .journey-demo-top { min-height: 54px; margin: -12px -12px 12px; padding-inline: 12px; }
    .journey-agent-analysis { padding: 12px; }
    .journey-agent-analysis-head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
    .journey-agent-analysis-head > img { width: 38px; height: 38px; }
    .journey-agent-analysis-head > span { padding: 6px 7px; }
    .journey-agent-fields { gap: 7px; }
    .journey-agent-route { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; padding: 11px; }
    .journey-agent-route > i { width: 36px; height: 36px; }
}

@media (max-width: 430px) {
    .journey-tabs { margin-inline: -3px; }
    .journey-tab { grid-template-columns: 24px minmax(0, 1fr); padding-inline: 6px; }
    .journey-tab-number { width: 24px; height: 24px; font-size: 0.67rem; }
    .journey-tab strong { font-size: 0.7rem; }
    .journey-tab small { display: none; }
    .journey-panel-copy { padding-inline: 17px; }
    .journey-channel-ribbon i:nth-of-type(n+5) { display: none; }
    .journey-benefits li { align-items: flex-start; font-size: 0.83rem; }
    .journey-demo { min-height: 420px; margin-inline: 9px; }
    .journey-conversations > span:nth-of-type(3) { display: none; }
    .journey-conversations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-process-list > span { grid-template-columns: 34px minmax(0, 1fr) auto; padding-inline: 9px; }
    .journey-pipeline span small { font-size: 0.51rem; }
    .journey-agent-analysis-head > div small { display: none; }
    .journey-agent-analysis-head > span b { font-size: 0.58rem; }
    .journey-agent-fields > span { grid-template-columns: minmax(0, 1fr); gap: 2px; min-height: 47px; }
    .journey-agent-fields b { text-align: start; }
    .journey-agent-route > div strong { font-size: 0.67rem; }
    .journey-agent-route > div small { display: none; }
}

/* AI-generated CRM section. */
.crm-language-section {
    order: 7;
    scroll-margin-top: 92px;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 14%, rgba(76, 91, 157, 0.1), transparent 28rem),
        radial-gradient(circle at 88% 82%, rgba(19, 151, 135, 0.12), transparent 30rem),
        #f8faf9;
    border-block: 1px solid #e5ece9;
}

.crm-language-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
    gap: clamp(36px, 6vw, 92px);
    align-items: center;
}

.crm-language-copy .section-eyebrow { margin-inline: 0; }
.crm-language-copy .section-title {
    max-width: 700px;
    margin-bottom: 22px;
    font-size: clamp(2.45rem, 4.1vw, 4rem);
    line-height: 1.2;
}
.crm-language-copy .section-title span { color: #238a91; font-family: var(--font-en); }
.crm-language-copy .section-desc { max-width: 720px; margin-inline: 0; line-height: 2; }

.crm-language-features { display: grid; gap: 18px; margin: 30px 0; }
.crm-language-features article {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}
.crm-language-features article > i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: linear-gradient(145deg, #178f84, #5863a6);
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(46, 91, 110, 0.18);
}
.crm-language-features strong,
.crm-language-features small { display: block; }
.crm-language-features strong { margin-bottom: 4px; color: #173c36; font-size: 1rem; }
.crm-language-features small { color: #6b7c77; font-size: 0.88rem; line-height: 1.65; }
.crm-language-cta { gap: 12px; min-width: 228px; justify-content: center; }

.crm-builder-demo {
    direction: rtl;
    overflow: hidden;
    min-height: 570px;
    color: #173b36;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dce6e2;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(29, 69, 61, 0.14);
}
.crm-builder-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 72px;
    padding: 14px 20px;
    border-bottom: 1px solid #e3eae7;
    background: rgba(250, 252, 251, 0.92);
}
.crm-builder-status {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 7px 11px;
    color: #168a79;
    background: #e6f4ef;
    border-radius: 999px;
    font-family: var(--font-en);
    font-size: 0.72rem;
}
.crm-builder-status i { width: 7px; height: 7px; background: #1bb68e; border-radius: 50%; animation: crmStatusPulse 1.7s ease-in-out infinite; }
.crm-builder-top p { margin: 0; min-width: 0; }
.crm-builder-top strong,
.crm-builder-top small { display: block; }
.crm-builder-top strong { color: #24443f; font-size: 0.88rem; }
.crm-builder-top small { margin-top: 2px; color: #7b8c87; font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-window-dots { display: flex; gap: 7px; direction: ltr; }
.crm-window-dots i { width: 11px; height: 11px; background: #dfe4ef; border-radius: 50%; }

.crm-builder-body { display: grid; gap: 17px; padding: 20px; }
.crm-prompt-card {
    padding: 16px;
    color: #fff;
    background: linear-gradient(135deg, #113e3b, #1d315a);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(19, 50, 57, 0.16);
}
.crm-prompt-card > span { display: block; margin-bottom: 10px; color: #8ce0d0; font-size: 0.72rem; font-weight: 800; }
.crm-prompt-card p { display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 0; padding: 10px 12px; background: rgba(255, 255, 255, 0.07); border-radius: 11px; }
.crm-prompt-card p > i { color: #47ceb5; }
.crm-prompt-card strong { font-size: 0.82rem; line-height: 1.65; }
.crm-prompt-card em { display: inline-block; width: 2px; height: 21px; background: #47ceb5; animation: crmCursorBlink 0.9s step-end infinite; }

.crm-generated-block {
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #e2e9e6;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(12px);
    animation: crmBlockReveal 7.2s ease-in-out infinite;
}
.crm-generated-block:nth-of-type(3) { animation-delay: 0.55s; }
.crm-generated-block:nth-of-type(4) { animation-delay: 1.1s; }
.crm-generated-block h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; color: #236f66; font-size: 0.76rem; }
.crm-generated-block h3 > i { color: #2aa793; }
.crm-generated-block h3 em { margin-inline-start: auto; padding: 4px 8px; color: #14886f; background: #e9f6f1; border-radius: 999px; font-size: 0.6rem; font-style: normal; }
.crm-generated-entities > div,
.crm-generated-fields > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.crm-generated-entities span {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    color: #29534d;
    background: #edf7f4;
    border: 1px solid #cbe5de;
    border-radius: 11px;
    font-size: 0.74rem;
}
.crm-generated-entities span i { color: #238d80; }
.crm-generated-pipeline > div { display: flex; align-items: center; gap: 6px; }
.crm-generated-pipeline > div span { flex: 1; padding: 9px 6px; color: #4f4f80; text-align: center; background: #f1effa; border: 1px solid #dedaf1; border-radius: 10px; font-size: 0.66rem; font-weight: 800; }
.crm-generated-pipeline > div span:nth-of-type(3) { color: #fff; background: linear-gradient(135deg, #258f87, #5c5fa4); border-color: transparent; animation: crmStageFocus 7.2s ease-in-out infinite; }
.crm-generated-pipeline > div i { color: #9ba7a4; font-size: 0.55rem; }
.crm-generated-fields span { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 7px 10px; border: 1px solid #e1e7e4; border-radius: 10px; }
.crm-generated-fields small { color: #4d625d; font-size: 0.66rem; }
.crm-generated-fields b { color: #89938f; font-size: 0.59rem; }

.crm-builder-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 8px 18px;
    border-top: 1px solid #e4ebe8;
}
.crm-builder-footer > span { width: 9px; height: 9px; background: #d3ddd9; border-radius: 50%; }
.crm-builder-footer > span.active { width: 26px; background: #258f82; border-radius: 999px; }
.crm-builder-footer small { display: flex; gap: 5px; align-items: center; margin-inline-start: auto; color: #238a76; font-size: 0.65rem; font-weight: 800; }

@keyframes crmStatusPulse { 0%, 100% { opacity: 0.45; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes crmCursorBlink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes crmBlockReveal { 0%, 8% { opacity: 0; transform: translateY(12px); } 17%, 82% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes crmStageFocus { 0%, 28%, 100% { box-shadow: none; } 40%, 74% { box-shadow: 0 7px 18px rgba(61, 95, 145, 0.25); transform: translateY(-2px); } }

@media (max-width: 1080px) {
    .crm-language-grid { grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr); gap: 30px; }
    .crm-language-copy .section-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
}

@media (max-width: 900px) {
    .crm-language-grid { grid-template-columns: minmax(0, 1fr); }
    .crm-language-copy { text-align: center; }
    .crm-language-copy .section-eyebrow,
    .crm-language-copy .section-desc,
    .crm-language-copy .section-title { margin-inline: auto; }
    .crm-language-features { max-width: 620px; margin-inline: auto; text-align: start; }
    .crm-builder-demo { width: min(100%, 680px); margin-inline: auto; }
}

@media (max-width: 560px) {
    .crm-language-copy .section-title { font-size: clamp(2rem, 10vw, 2.65rem); }
    .crm-language-copy .section-desc { font-size: 0.96rem; line-height: 1.8; }
    .crm-language-features article { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
    .crm-language-features article > i { width: 46px; height: 46px; border-radius: 13px; }
    .crm-language-features small { font-size: 0.8rem; }
    .crm-builder-demo { min-height: 0; border-radius: 22px; }
    .crm-builder-top { grid-template-columns: auto minmax(0, 1fr); min-height: 64px; padding: 11px 12px; }
    .crm-window-dots { display: none; }
    .crm-builder-body { gap: 11px; padding: 12px; }
    .crm-prompt-card { padding: 12px; }
    .crm-prompt-card strong { font-size: 0.72rem; }
    .crm-generated-block { padding: 11px; }
    .crm-generated-pipeline > div { gap: 3px; }
    .crm-generated-pipeline > div span { padding-inline: 3px; font-size: 0.56rem; }
    .crm-generated-pipeline > div i { display: none; }
    .crm-generated-fields small { font-size: 0.57rem; }
    .crm-generated-fields b { display: none; }
    .crm-builder-footer small { display: none; }
}

[data-theme="dark"] .crm-language-section {
    background:
        radial-gradient(circle at 14% 14%, rgba(89, 103, 176, 0.15), transparent 28rem),
        radial-gradient(circle at 88% 82%, rgba(24, 161, 142, 0.13), transparent 30rem),
        #0d1110;
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .crm-language-features strong { color: #ecf8f5; }
[data-theme="dark"] .crm-language-features small { color: #a9b9b5; }
[data-theme="dark"] .crm-builder-demo { background: #121816; border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .crm-builder-top,
[data-theme="dark"] .crm-builder-footer { background: #141b19; border-color: rgba(255, 255, 255, 0.09); }
[data-theme="dark"] .crm-builder-top strong { color: #e9f4f1; }
[data-theme="dark"] .crm-generated-block { background: #17201d; border-color: rgba(255, 255, 255, 0.09); }
[data-theme="dark"] .crm-generated-entities span { color: #d8efea; background: rgba(36, 150, 132, 0.12); border-color: rgba(61, 185, 164, 0.22); }
[data-theme="dark"] .crm-generated-fields span { border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .crm-generated-fields small { color: #d2dfdc; }

/* Why Shawky AI: four practical advantages. */
.solutions-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(77, 92, 163, 0.07), transparent 26rem),
        radial-gradient(circle at 88% 82%, rgba(31, 151, 136, 0.07), transparent 28rem),
        var(--bg-primary);
}

.why-shawky-header {
    max-width: 1000px;
    margin: 0 auto 54px;
    text-align: center;
}
.why-shawky-header .section-eyebrow { margin-inline: auto; }
.why-shawky-header .section-title {
    max-width: 860px;
    margin-inline: auto;
    font-size: clamp(2.3rem, 4vw, 3.55rem);
    font-weight: 900;
    line-height: 1.17;
}
.why-shawky-header .section-title span {
    display: inline;
    color: transparent;
    background: linear-gradient(100deg, #142d29 0%, #142d29 28%, #178f83 48%, #5c61a6 66%, #142d29 86%);
    background-size: 240% 100%;
    background-position: 100% 50%;
    background-clip: text;
    -webkit-background-clip: text;
}
.why-shawky-header.visible .section-title {
    animation: whyTitleReveal 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.why-shawky-header.visible .section-title span {
    animation: whyTitleSweep 4.8s ease-in-out 600ms infinite;
}
.why-shawky-header .section-desc {
    max-width: 700px;
    margin: 22px auto 0;
    font-size: 1.08rem;
}

.why-shawky-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.why-shawky-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 30px 28px 26px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 252, 0.9));
    border: 1px solid #dfe6e8;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(25, 53, 58, 0.06);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.why-shawky-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    opacity: 0;
    background: linear-gradient(90deg, #159485, #5c61a6);
    transition: opacity 240ms ease;
}
.why-shawky-card:hover {
    transform: translateY(-7px);
    border-color: rgba(44, 137, 129, 0.26);
    box-shadow: 0 24px 54px rgba(25, 53, 58, 0.12);
}
.why-shawky-card:hover::before { opacity: 1; }
.why-card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    color: #4f5798;
    background: #eeecf8;
    border-radius: 17px;
    font-size: 1.25rem;
}
.why-shawky-card.governed .why-card-icon { color: #b57a15; background: #fff4df; }
.why-shawky-card.unified .why-card-icon { color: #188c7c; background: #e4f3ef; }
.why-shawky-card.launch .why-card-icon { color: #278f88; background: #eaf5f2; }
.why-shawky-card h3 {
    margin: 0 0 12px;
    color: #152d29;
    font-size: 1.2rem;
    line-height: 1.45;
}
.why-shawky-card p {
    margin: 0 0 22px;
    color: #6c7c78;
    font-size: 0.93rem;
    line-height: 1.9;
}
.why-shawky-card > small {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 10px;
    color: #4d4f91;
    background: #eeecf8;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
}
.why-shawky-card.governed > small { color: #9e6810; background: #fff1d8; }
.why-shawky-card.unified > small,
.why-shawky-card.launch > small { color: #147867; background: #e4f3ee; }

@media (max-width: 1100px) {
    .why-shawky-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-shawky-card { min-height: 280px; }
}

@media (max-width: 620px) {
    .why-shawky-header { margin-bottom: 34px; }
    .why-shawky-header .section-title { font-size: clamp(2rem, 10vw, 2.75rem); }
    .why-shawky-header .section-desc { font-size: 0.98rem; line-height: 1.8; }
    .why-shawky-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .why-shawky-card { min-height: 0; padding: 24px; border-radius: 20px; }
    .why-card-icon { width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; }
    .why-shawky-card p { margin-bottom: 18px; font-size: 0.9rem; }
}

[data-theme="dark"] .solutions-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(77, 92, 163, 0.13), transparent 26rem),
        radial-gradient(circle at 88% 82%, rgba(31, 151, 136, 0.1), transparent 28rem),
        var(--bg-primary);
}
[data-theme="dark"] .why-shawky-card {
    background: linear-gradient(145deg, rgba(24, 30, 29, 0.98), rgba(19, 24, 28, 0.96));
    border-color: rgba(255, 255, 255, 0.09);
}
[data-theme="dark"] .why-shawky-card h3 { color: #edf7f4; }
[data-theme="dark"] .why-shawky-card p { color: #a8b7b3; }
[data-theme="dark"] .why-shawky-header .section-title span {
    background-image: linear-gradient(100deg, #eff8f5 0%, #eff8f5 28%, #53d0ba 48%, #989de5 66%, #eff8f5 86%);
}

@keyframes whyTitleReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.97); filter: blur(7px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes whyTitleSweep {
    0%, 18% { background-position: 100% 50%; }
    55%, 72% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Connected integrations ecosystem. */
.connected-ecosystem-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(29, 150, 135, 0.09), transparent 30rem),
        radial-gradient(circle at 82% 74%, rgba(87, 93, 165, 0.1), transparent 32rem),
        #edf4f3;
    border-block: 1px solid #dfe9e6;
}
.connected-ecosystem-header { max-width: 960px; margin: 0 auto 28px; text-align: center; }
.connected-ecosystem-header .section-eyebrow { margin-inline: auto; }
.connected-ecosystem-header .section-title {
    margin-inline: auto;
    font-size: clamp(2.45rem, 4.6vw, 4rem);
    line-height: 1.24;
}
.connected-ecosystem-header .section-title span {
    color: transparent;
    background: linear-gradient(100deg, #168f83, #5963a5 68%);
    background-clip: text;
    -webkit-background-clip: text;
}
.connected-ecosystem-header .section-desc { max-width: 760px; margin: 20px auto 0; color: #6c7e79; font-size: 1.04rem; }
.ecosystem-network {
    position: relative;
    display: grid;
    grid-template-columns: minmax(270px, 330px) minmax(180px, 1fr) minmax(270px, 330px);
    grid-template-rows: repeat(2, minmax(238px, auto));
    gap: 64px 40px;
    align-items: stretch;
    min-height: 540px;
    max-width: 1240px;
    margin: 0 auto;
    isolation: isolate;
}
.ecosystem-network::before,
.ecosystem-network::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(50, 146, 133, 0.09);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.ecosystem-network::before { width: 280px; height: 280px; }
.ecosystem-network::after { width: 390px; height: 390px; }
.ecosystem-hub {
    position: relative;
    z-index: 4;
    grid-column: 2;
    grid-row: 1 / 3;
    place-self: center;
    display: grid;
    place-items: center;
    width: 164px;
    height: 164px;
    padding: 18px;
    text-align: center;
    background: #fff;
    border: 5px solid #269789;
    border-radius: 50%;
    box-shadow: 0 0 0 13px rgba(38, 151, 137, 0.08), 0 24px 50px rgba(34, 84, 76, 0.2);
    animation: ecosystemHubPulse 3.4s ease-in-out infinite;
}
.ecosystem-hub > span { display: grid; place-items: center; width: 54px; height: 54px; background: #f7faf9; border-radius: 15px; }
.ecosystem-hub img { width: 40px; height: 40px; object-fit: contain; }
.ecosystem-hub strong { color: #143b35; font-family: var(--font-en); font-size: 1rem; }
.ecosystem-hub small { color: #268e80; font-size: 0.66rem; font-weight: 900; }
.ecosystem-wire {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 39%;
    height: 3px;
    background: linear-gradient(90deg, #2b9c8d, #7180c0);
    border-radius: 999px;
    transform-origin: left center;
    box-shadow: 0 0 12px rgba(43, 156, 141, 0.3);
}
.ecosystem-wire i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #f0b13a;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(240, 177, 58, 0.65);
    transform: translateY(-50%);
    animation: ecosystemDataFlow 3.8s linear infinite;
}
.ecosystem-wire.wire-one { transform: rotate(-28deg); }
.ecosystem-wire.wire-two { transform: rotate(-152deg); }
.ecosystem-wire.wire-three { transform: rotate(28deg); }
.ecosystem-wire.wire-four { transform: rotate(152deg); }
.ecosystem-wire.wire-two i { animation-delay: -0.9s; }
.ecosystem-wire.wire-three i { animation-delay: -1.8s; }
.ecosystem-wire.wire-four i { animation-delay: -2.7s; }
.ecosystem-group {
    position: relative;
    z-index: 3;
    width: auto;
    min-height: 238px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dde6e4;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(35, 65, 60, 0.13);
}
.ecosystem-group.ecosystem-crm { grid-column: 1; grid-row: 1; }
.ecosystem-group.ecosystem-commerce { grid-column: 3; grid-row: 1; }
.ecosystem-group.ecosystem-payments { grid-column: 1; grid-row: 2; }
.ecosystem-group.ecosystem-operations { grid-column: 3; grid-row: 2; }
.ecosystem-group h3 { display: flex; gap: 9px; align-items: center; margin: 0 0 17px; color: #1c3732; font-size: 1rem; }
.ecosystem-group h3 > i { display: grid; place-items: center; width: 34px; height: 34px; color: #248f80; background: #e8f5f1; border-radius: 10px; }
.ecosystem-payments h3 > i { color: #625ca5; background: #f0eef9; }
.ecosystem-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ecosystem-logos > span {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e8edeb;
    border-radius: 13px;
    box-shadow: 0 6px 15px rgba(30, 54, 50, 0.05);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.ecosystem-logos > span:hover { transform: translateY(-4px); border-color: rgba(39, 147, 132, .28); box-shadow: 0 12px 22px rgba(30, 54, 50, 0.1); }
.ecosystem-logos i,
.ecosystem-logos strong { color: #51609d; font-family: var(--font-en); font-size: 1.35rem; }
.ecosystem-logos img { display: block; width: 34px; height: 34px; object-fit: contain; }
.ecosystem-logos .brand-salesforce img { width: 48px; height: 34px; }
.ecosystem-logos .brand-woo img { width: 42px; }
.ecosystem-logos .brand-dynamics img { width: 48px; height: 34px; }
.ecosystem-logos .brand-zid img { width: 46px; height: 34px; }
.ecosystem-logos .brand-paytabs img,
.ecosystem-logos .brand-hyperpay img { width: 58px; height: 34px; }
.ecosystem-logos b { margin-top: 4px; color: #667671; font-family: var(--font-en); font-size: 0.56rem; }
.brand-salesforce i { color: #159ed9; }
.brand-hubspot i { color: #ff6b4b; }
.brand-shopify i { color: #75aa41; }
.brand-woo i { color: #9458a8; }
.brand-stripe i { color: #635bff; }
.brand-slack i { color: #492649; }
.brand-google i { color: #4285f4; }
.brand-salla strong { color: #1f7a64; }
.brand-zid strong { color: #5f50c8; }
.brand-fawry strong { color: #147bb5; }
.brand-paytabs strong { color: #273d9a; font-size: 0.9rem; }
.brand-hyperpay strong { color: #1a80bc; font-size: 0.84rem; }
.brand-zapier strong { color: #ff4f00; font-size: 0.92rem; }
.brand-make strong { color: #7155d9; font-size: 0.96rem; }
.ecosystem-footnote { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 2px; }
.ecosystem-footnote span { display: inline-flex; gap: 7px; align-items: center; padding: 9px 13px; color: #35534d; background: rgba(255,255,255,.78); border: 1px solid #dce7e3; border-radius: 999px; font-family: var(--font-en); font-size: 0.72rem; font-weight: 800; }
.ecosystem-footnote i { color: #278f82; }
.ecosystem-footnote b { font-family: var(--font-ar); }

@keyframes ecosystemHubPulse {
    0%, 100% { box-shadow: 0 0 0 13px rgba(38,151,137,.08), 0 24px 50px rgba(34,84,76,.2); }
    50% { box-shadow: 0 0 0 24px rgba(38,151,137,.03), 0 30px 58px rgba(34,84,76,.27); }
}
@keyframes ecosystemDataFlow {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: calc(100% - 12px); opacity: 0; }
}

@media (max-width: 1060px) {
    .ecosystem-network { grid-template-columns: minmax(250px, 286px) minmax(160px, 1fr) minmax(250px, 286px); gap: 46px 30px; min-height: 522px; }
    .ecosystem-group { padding: 18px; }
    .ecosystem-wire { width: 37%; }
}
@media (max-width: 860px) {
    .connected-ecosystem-header { margin-bottom: 38px; }
    .ecosystem-network { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 0; }
    .ecosystem-network::before,
    .ecosystem-network::after,
    .ecosystem-wire { display: none; }
    .ecosystem-hub,
    .ecosystem-network > .ecosystem-group { position: relative; inset: auto; grid-column: auto; grid-row: auto; width: auto; min-height: 0; transform: none; }
    .ecosystem-hub { grid-column: 1 / -1; justify-self: center; width: 150px; height: 150px; margin-bottom: 8px; }
    .ecosystem-group { padding: 18px; }
}
@media (max-width: 560px) {
    .connected-ecosystem-header .section-title { font-size: clamp(2rem, 10vw, 2.7rem); }
    .connected-ecosystem-header .section-desc { font-size: 0.96rem; line-height: 1.8; }
    .ecosystem-network { grid-template-columns: minmax(0, 1fr); }
    .ecosystem-hub { grid-column: auto; width: 138px; height: 138px; }
    .ecosystem-group { border-radius: 19px; }
    .ecosystem-logos > span { min-height: 66px; }
}

[data-theme="dark"] .connected-ecosystem-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(29,150,135,.12), transparent 30rem),
        radial-gradient(circle at 82% 74%, rgba(87,93,165,.15), transparent 32rem),
        #101615;
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .connected-ecosystem-header .section-desc { color: #aabbb6; }
[data-theme="dark"] .ecosystem-hub { background: #161e1c; border-color: #2eaa99; }
[data-theme="dark"] .ecosystem-hub > span { background: #111715; }
[data-theme="dark"] .ecosystem-hub strong { color: #eff8f5; }
[data-theme="dark"] .ecosystem-group { background: rgba(21,28,26,.95); border-color: rgba(255,255,255,.09); }
[data-theme="dark"] .ecosystem-group h3 { color: #ebf5f2; }
[data-theme="dark"] .ecosystem-logos > span { background: #111715; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .ecosystem-logos b { color: #a9bbb6; }
[data-theme="dark"] .ecosystem-footnote span { color: #d4e3df; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.09); }

/* Industry-specific solutions replacing the portfolio gallery. */
.industry-tailored-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(82, 94, 163, 0.08), transparent 30rem),
        radial-gradient(circle at 92% 72%, rgba(23, 147, 132, 0.08), transparent 32rem),
        var(--bg-secondary);
    border-block: 1px solid var(--border-color);
}
.industry-tailored-header {
    max-width: 1040px;
    margin: 0 auto 52px;
    text-align: center;
}
.industry-tailored-header .section-eyebrow { margin-inline: auto; }
.industry-tailored-header .section-title {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(2.35rem, 4.3vw, 3.8rem);
    line-height: 1.23;
}
.industry-tailored-header .section-desc {
    max-width: 930px;
    margin: 22px auto 0;
    font-size: 1.05rem;
    line-height: 1.95;
}
.industry-tailored-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.industry-tailored-card {
    --industry-accent: #258e82;
    --industry-soft: #e8f5f1;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dde7e3;
    border-radius: 25px;
    box-shadow: 0 18px 42px rgba(31, 66, 59, 0.07);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.industry-tailored-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--industry-accent), transparent 92%);
}
.industry-tailored-card:hover {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--industry-accent) 28%, #dce5e1);
    box-shadow: 0 26px 58px rgba(31, 66, 59, 0.13);
}
.industry-tailored-card.realty { --industry-accent: #5663a4; --industry-soft: #eeeff9; }
.industry-tailored-card.ecommerce { --industry-accent: #d59422; --industry-soft: #fff4df; }
.industry-tailored-card.travel { --industry-accent: #2e7ca4; --industry-soft: #e9f3f8; }
.industry-tailored-card.education { --industry-accent: #7860a7; --industry-soft: #f1ecf8; }
.industry-tailored-card.automotive { --industry-accent: #c55f52; --industry-soft: #fbebe8; }
.industry-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.industry-card-head > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--industry-soft);
    border-radius: 16px;
    font-size: 1.55rem;
}
.industry-card-head h3 { margin: 0; color: var(--industry-accent); font-size: 1rem; }
.industry-journey { display: block; margin-bottom: 12px; color: #183a34; font-size: 1.28rem; line-height: 1.55; }
.industry-tailored-card > p { margin: 0 0 20px; color: #657771; font-size: 0.96rem; line-height: 1.85; }
.industry-crm-note {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: auto;
    padding: 15px;
    color: #4d625c;
    background: var(--industry-soft);
    border-radius: 15px;
    font-size: 0.85rem;
    line-height: 1.75;
}
.industry-crm-note i {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    color: #fff;
    background: var(--industry-accent);
    border-radius: 10px;
}
.industry-card-foot {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.industry-card-foot b { display: flex; gap: 4px; color: var(--industry-accent); font-family: var(--font-en); font-size: 0.8rem; }
.industry-card-foot b span { font-family: var(--font-ar); }
.industry-card-foot a,
.all-industries-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #173f38;
    font-size: 0.8rem;
    font-weight: 900;
    transition: gap 200ms ease, color 200ms ease;
}
.industry-card-foot a:hover,
.all-industries-link:hover { gap: 13px; color: var(--accent-blue); }
.all-industries-link {
    width: max-content;
    max-width: 100%;
    margin: 32px auto 0;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

/* Customer outcomes. */
.result-impact-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 8% 15%, rgba(86, 99, 173, 0.3), transparent 31rem),
        radial-gradient(circle at 92% 88%, rgba(26, 158, 138, 0.26), transparent 34rem),
        #101a1c;
}
.result-impact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.17;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.result-impact-block { position: relative; z-index: 1; }
.result-impact-header { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.result-impact-header .section-eyebrow { margin-inline: auto; color: #efb447; }
.result-impact-header .section-title { color: #fff; font-size: clamp(2.35rem, 4.2vw, 3.8rem); }
.result-impact-header .section-desc { max-width: 760px; margin: 20px auto 0; color: #bcc9c6; font-size: 1.02rem; line-height: 1.9; }
.result-impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.result-impact-card {
    min-height: 275px;
    padding: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    box-shadow: 0 22px 46px rgba(0,0,0,.16);
    transition: transform 230ms ease, background 230ms ease, border-color 230ms ease;
}
.result-impact-card:hover { transform: translateY(-6px); background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.065)); border-color: rgba(92, 210, 190, 0.3); }
.result-impact-card > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.result-impact-card > div span { font-size: 1.55rem; }
.result-impact-card em { padding: 5px 9px; color: #75ddc8; background: rgba(62, 194, 169, 0.12); border-radius: 999px; font-size: 0.7rem; font-style: normal; font-weight: 900; }
.result-impact-card em.down { color: #f4be56; background: rgba(244, 190, 86, 0.12); }
.result-impact-card > strong { display: block; margin-bottom: 7px; color: #f2b543; font-family: var(--font-en); font-size: clamp(2.35rem, 4vw, 3.25rem); line-height: 1; }
.result-impact-card.visible > strong { animation: resultNumberPop 750ms cubic-bezier(.2,.8,.2,1) both; }
.result-impact-card h3 { margin: 0 0 10px; color: #fff; font-size: 1.08rem; }
.result-impact-card p { margin: 0; color: #afbfbb; font-size: 0.9rem; line-height: 1.78; }
.result-disclaimer { margin: 26px auto 0; color: #92a39f; text-align: center; font-size: 0.76rem; }
.result-impact-cta {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 34px;
    padding: 24px 28px;
    overflow: hidden;
    background: linear-gradient(105deg, rgba(28, 144, 130, .28), rgba(79, 87, 157, .24), rgba(227, 159, 35, .16));
    background-size: 220% 100%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    animation: resultCtaFlow 7s ease-in-out infinite;
}
.result-cta-icon { display: grid; place-items: center; width: 64px; height: 64px; color: #161b1a; background: #efb13b; border-radius: 18px; font-size: 1.3rem; }
.result-impact-cta h3 { margin: 0 0 5px; color: #fff; font-size: 1.35rem; }
.result-impact-cta p { margin: 0; color: #bcc9c6; font-size: 0.92rem; }
.result-impact-cta .btn { gap: 10px; min-width: 150px; justify-content: center; }

@keyframes resultNumberPop { from { opacity: 0; transform: translateY(18px) scale(.86); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes resultCtaFlow { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }

@media (max-width: 1100px) {
    .industry-tailored-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .result-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .industry-tailored-header,
    .result-impact-header { margin-bottom: 34px; }
    .industry-tailored-header .section-title,
    .result-impact-header .section-title { font-size: clamp(2rem, 9.8vw, 2.7rem); }
    .industry-tailored-header .section-desc,
    .result-impact-header .section-desc { font-size: 0.96rem; line-height: 1.8; }
    .industry-tailored-grid,
    .result-impact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .industry-tailored-card { min-height: 0; padding: 22px; border-radius: 21px; }
    .industry-card-head > span { width: 48px; height: 48px; font-size: 1.35rem; }
    .industry-journey { font-size: 1.14rem; }
    .industry-tailored-card > p { font-size: 0.91rem; }
    .industry-crm-note { font-size: 0.8rem; }
    .industry-card-foot { align-items: flex-end; }
    .all-industries-link { width: 100%; justify-content: center; border-radius: 16px; text-align: center; }
    .result-impact-card { min-height: 0; padding: 22px; }
    .result-impact-cta { grid-template-columns: 52px minmax(0, 1fr); padding: 20px; }
    .result-cta-icon { width: 52px; height: 52px; border-radius: 14px; }
    .result-impact-cta .btn { grid-column: 1 / -1; width: 100%; }
}

[data-theme="dark"] .industry-tailored-card { background: rgba(20, 27, 25, 0.96); border-color: rgba(255,255,255,.09); }
[data-theme="dark"] .industry-journey { color: #eef8f5; }
[data-theme="dark"] .industry-tailored-card > p { color: #a9b9b5; }
[data-theme="dark"] .industry-crm-note { color: #c3d1cd; background: color-mix(in srgb, var(--industry-accent) 13%, #151b19); }
[data-theme="dark"] .industry-card-foot a,
[data-theme="dark"] .all-industries-link { color: #e8f3f0; }

/* Keep the new flow directly before the AI Sales Agent section. */
main > .unified-flow-section { order: 5; }
main > .customer-journey-section { order: 6; }
main > .crm-language-section { order: 7; }
main > .home-sales-agent { order: 8; }
main > .systems-section { order: 9; }
main > .products-section { order: 10; }
main > .solutions-section { order: 11; }
main > .integrations-section { order: 12; }
main > .connected-ecosystem-section { order: 13; }
main > .industry-tailored-section { order: 14; }
main > .result-impact-section { order: 15; }
main > .pricing-section { order: 16; }
main > .audit-section { order: 17; }
main > .faq-section { order: 18; }
main > .cta-section { order: 19; }

/* AI Sales Agent: a living pipeline from prospect to qualified reply. */
main .home-sales-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

main .home-sales-shell::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -190px;
    right: -130px;
    width: 560px;
    height: 560px;
    opacity: 0.72;
    background: radial-gradient(circle, rgba(233, 164, 38, 0.3) 0%, rgba(233, 164, 38, 0.1) 34%, transparent 70%);
    filter: blur(7px);
    border-radius: 50%;
    pointer-events: none;
    animation: salesShellGlow 8s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate;
}

main .home-sales-shell::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0.13;
    background: linear-gradient(112deg, transparent 30%, rgba(255, 209, 112, 0.2) 47%, transparent 58%);
    transform: translateX(70%);
    pointer-events: none;
    animation: salesShellSweep 7s ease-in-out infinite;
}

main .home-sales-copy,
main .home-sales-board {
    position: relative;
    z-index: 2;
}

main .home-sales-copy .section-eyebrow::before {
    transform-origin: center;
    animation: salesSparkSpin 2.4s ease-in-out infinite;
}

main .home-sales-copy .section-title {
    animation: salesTitleGlow 5.5s ease-in-out infinite;
}

main .home-sales-points span {
    position: relative;
    overflow: hidden;
    animation: salesPointPulse 5.8s ease-in-out infinite;
}

main .home-sales-points span:nth-child(2) { animation-delay: 0.55s; }
main .home-sales-points span:nth-child(3) { animation-delay: 1.1s; }

main .home-sales-board {
    overflow: hidden;
    transform-origin: center;
    animation: salesBoardFloat 5.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
    will-change: transform, box-shadow;
}

main .home-sales-board::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 98px;
    right: 49px;
    bottom: 56px;
    width: 2px;
    opacity: 0.5;
    background: repeating-linear-gradient(180deg, rgba(233, 164, 38, 0.86) 0 7px, transparent 7px 13px);
    animation: salesPipelineRail 0.9s linear infinite;
}

main .home-sales-board::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: -42%;
    left: -30%;
    width: 160%;
    height: 34%;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(233, 164, 38, 0.16), rgba(255, 255, 255, 0.65), transparent);
    transform: rotate(-4deg);
    pointer-events: none;
    animation: salesBoardScan 6.6s ease-in-out infinite;
}

main .home-sales-board-head,
main .home-sales-lead {
    position: relative;
    z-index: 1;
}

main .home-sales-board-head span {
    display: inline-flex;
    animation: salesLivePulse 1.5s ease-in-out infinite;
}

main .home-sales-lead {
    --sales-stage-delay: 0s;
    overflow: hidden;
    isolation: isolate;
    transform-origin: center;
    animation: salesPipelineStage 6.6s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--sales-stage-delay);
    will-change: transform, border-color, box-shadow;
}

main .home-sales-lead:nth-child(3) { --sales-stage-delay: 1.25s; }
main .home-sales-lead:nth-child(4) { --sales-stage-delay: 2.5s; }

main .home-sales-lead::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -35% auto -35% -48%;
    width: 30%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    transform: skewX(-16deg);
    pointer-events: none;
    animation: salesCardShine 6.6s ease-in-out infinite;
    animation-delay: var(--sales-stage-delay);
}

main .home-sales-lead > * {
    position: relative;
    z-index: 1;
}

main .home-sales-lead > i,
main .home-sales-lead > b {
    will-change: transform, filter;
    animation: salesStageDetail 6.6s cubic-bezier(0.36, 0, 0.2, 1) infinite;
    animation-delay: var(--sales-stage-delay);
}

main .home-sales-copy .hero-actions .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: salesCtaPulse 3.2s ease-in-out infinite;
}

main .home-sales-copy .hero-actions .btn-primary::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -40% auto -40% -45%;
    width: 28%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    animation: salesCtaShine 3.2s ease-in-out infinite;
}

@keyframes salesShellGlow {
    0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.48; }
    100% { transform: translate3d(-110px, 100px, 0) scale(1.18); opacity: 0.86; }
}

@keyframes salesShellSweep {
    0%, 15% { transform: translateX(78%); opacity: 0; }
    32% { opacity: 0.18; }
    68% { opacity: 0.12; }
    88%, 100% { transform: translateX(-78%); opacity: 0; }
}

@keyframes salesSparkSpin {
    0%, 100% { transform: scale(1) rotate(0); text-shadow: 0 0 0 rgba(233, 164, 38, 0); }
    48% { transform: scale(1.3) rotate(22deg); text-shadow: 0 0 18px rgba(233, 164, 38, 0.75); }
}

@keyframes salesTitleGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(233, 164, 38, 0); }
    50% { text-shadow: 0 12px 38px rgba(233, 164, 38, 0.11); }
}

@keyframes salesPointPulse {
    0%, 68%, 100% { transform: translateY(0); border-color: rgba(255, 255, 255, 0.11); box-shadow: none; }
    12%, 24% { transform: translateY(-4px); border-color: rgba(233, 164, 38, 0.48); box-shadow: 0 9px 24px rgba(233, 164, 38, 0.1); }
}

@keyframes salesBoardFloat {
    0%, 100% { transform: rotate(-1.2deg) translateY(0); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75); }
    50% { transform: rotate(0.25deg) translateY(-13px) scale(1.012); box-shadow: 0 42px 86px -28px rgba(0, 0, 0, 0.86), 0 0 0 6px rgba(233, 164, 38, 0.07); }
}

@keyframes salesPipelineRail {
    to { background-position: 0 13px; }
}

@keyframes salesBoardScan {
    0%, 9% { top: -42%; opacity: 0; }
    15% { opacity: 0.6; }
    72% { top: 108%; opacity: 0.3; }
    78%, 100% { top: 112%; opacity: 0; }
}

@keyframes salesLivePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(29, 191, 100, 0)); }
    50% { transform: scale(1.09); filter: drop-shadow(0 0 8px rgba(29, 191, 100, 0.48)); }
}

@keyframes salesPipelineStage {
    0%, 58%, 100% { transform: translateX(0) scale(1); border-color: #e5ded0; box-shadow: none; }
    7% { transform: translateX(5px) scale(1.014); border-color: rgba(233, 164, 38, 0.52); box-shadow: 0 10px 28px rgba(140, 91, 13, 0.11); }
    13% { transform: translateX(11px) scale(1.028); border-color: rgba(233, 164, 38, 0.9); box-shadow: 0 17px 38px rgba(140, 91, 13, 0.2), 0 0 0 5px rgba(233, 164, 38, 0.08); }
    23% { transform: translateX(3px) scale(1.01); border-color: rgba(233, 164, 38, 0.38); box-shadow: 0 8px 20px rgba(140, 91, 13, 0.08); }
}

@keyframes salesCardShine {
    0%, 6%, 27%, 100% { left: -48%; opacity: 0; }
    10% { opacity: 0.86; }
    22% { left: 124%; opacity: 0; }
}

@keyframes salesStageDetail {
    0%, 58%, 100% { transform: scale(1) rotate(0); }
    9% { transform: scale(1.1) rotate(-4deg); }
    14% { transform: scale(1.22) rotate(4deg); filter: drop-shadow(0 7px 12px rgba(151, 98, 16, 0.2)); }
    23% { transform: scale(1) rotate(0); filter: none; }
}

@keyframes salesCtaPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(233, 164, 38, 0.18); }
    50% { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(233, 164, 38, 0.32); }
}

@keyframes salesCtaShine {
    0%, 18% { left: -45%; opacity: 0; }
    28% { opacity: 0.78; }
    54% { left: 125%; opacity: 0; }
    100% { left: 125%; opacity: 0; }
}

@media (max-width: 1020px) {
    main .home-sales-board {
        animation-name: salesBoardFloatStacked;
    }
    @keyframes salesBoardFloatStacked {
        0%, 100% { transform: translateY(0); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75); }
        50% { transform: translateY(-9px) scale(1.008); box-shadow: 0 38px 78px -28px rgba(0, 0, 0, 0.82), 0 0 0 5px rgba(233, 164, 38, 0.06); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .flow-message,
    .flow-core,
    .flow-core-badge i,
    .flow-core-grid span,
    .flow-output,
    .flow-core::before,
    .flow-core::after,
    .unified-flow-canvas::after,
    .flow-message::after,
    .flow-output::after,
    .flow-message > i,
    .flow-output > i,
    .flow-core-logo,
    .flow-particle {
        animation: none;
    }
    .flow-particles { display: none; }
    main .home-sales-shell::before,
    main .home-sales-shell::after,
    main .home-sales-copy .section-eyebrow::before,
    main .home-sales-copy .section-title,
    main .home-sales-points span,
    main .home-sales-board,
    main .home-sales-board::before,
    main .home-sales-board::after,
    main .home-sales-board-head span,
    main .home-sales-lead,
    main .home-sales-lead::after,
    main .home-sales-lead > i,
    main .home-sales-lead > b,
    main .home-sales-copy .hero-actions .btn-primary,
    main .home-sales-copy .hero-actions .btn-primary::after,
    .journey-tab-progress,
    .journey-panel,
    .journey-typing i,
    .journey-score-ring,
    .journey-process-list > span,
    .journey-metrics > span,
    .journey-agent-analysis,
    .journey-agent-analysis-head > span i,
    .journey-agent-fields > span,
    .journey-agent-confidence > span i,
    .journey-agent-route,
    .crm-builder-status i,
    .crm-prompt-card em,
    .crm-generated-block,
    .crm-generated-pipeline > div span:nth-of-type(3),
    .why-shawky-header.visible .section-title,
    .why-shawky-header.visible .section-title span,
    .result-impact-card.visible > strong,
    .result-impact-cta,
    .ecosystem-hub,
    .ecosystem-wire i {
        animation: none;
    }
    .crm-generated-block { opacity: 1; transform: none; }
    .journey-tab.active .journey-tab-progress { width: 100%; }
}
