/* ============================================
   CONWO PLATFORM PAGE STYLES
   Apple-inspired design for software product
   ============================================ */

/* CSS Variables */
.cw {
    --cw-bg: #000;
    --cw-text: #f5f5f7;
    --cw-accent: #00c7be;
    --cw-accent-2: #0071e3;
    --cw-muted: #86868b;
    --cw-surface: #1d1d1f;
    --cw-surface-2: #171717;
    --cw-gradient: linear-gradient(135deg, #00c7be 0%, #0071e3 100%);
    --cw-transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   HERO SECTION
   ============================================ */
.cw-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--cw-bg);
}

.cw-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cw-hero__gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 199, 190, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cw-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.cw-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
}

.cw-hero__eyebrow {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: var(--cw-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cw-hero__title {
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 24px;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cw-hero__subtitle {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    color: var(--cw-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.cw-hero__description {
    font-size: 19px;
    color: var(--cw-muted);
    line-height: 1.5;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cw-hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cw-hero__visual {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cw-hero__dashboard {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1),
        0 40px 80px rgba(0,0,0,0.5),
        0 0 100px rgba(0, 199, 190, 0.2);
}

.cw-hero__dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

.cw-hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 50px;
    background: linear-gradient(
0deg, black, transparent);
    width: 100%;
    z-index: 2;
    color: var(--cw-muted);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.cw-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 980px;
    transition: all 0.3s var(--cw-transition);
    cursor: pointer;
    border: none;
}

.cw-btn--primary {
    background: var(--cw-accent-2);
    color: #fff;
}

.cw-btn--primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.cw-btn--secondary {
    background: rgba(255,255,255,0.1);
    color: var(--cw-text);
    backdrop-filter: blur(10px);
}

.cw-btn--secondary:hover {
    background: rgba(255,255,255,0.15);
}

.cw-btn--large {
    padding: 18px 36px;
    font-size: 19px;
}

.cw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cw-accent-2);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s var(--cw-transition);
}

.cw-link:hover {
    gap: 12px;
}

/* ============================================
   STATS MARQUEE
   ============================================ */
.cw-stats-grid {
    background: var(--cw-bg);
    padding: 80px 0;
    position: relative;
}

.cw-stats-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
}

.cw-stats-grid__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.cw-stats-grid__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    text-align: center;
}

.cw-stats-grid__divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.cw-stats-grid__number {
    font-size: 48px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cw-stats-grid__label {
    font-size: 14px;
    color: var(--cw-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */
.cw-section {
    padding: 120px 0;
    background: var(--cw-bg);
    color: var(--cw-text);
}

.cw-section__header {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.cw-section__header--left {
    text-align: left;
    margin: 0 0 40px;
}

.cw-section__eyebrow {
    display: inline-block;
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 500;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.cw-section__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
}

.cw-section__subtitle {
    font-size: clamp(15px, 2.1vw, 18px);
    color: var(--cw-muted);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

/* ============================================
   BENTO GRID (Modules)
   ============================================ */
.cw-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cw-bento__card {
    background: var(--cw-surface);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--cw-transition), box-shadow 0.3s var(--cw-transition);
}

.cw-bento__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 199, 190, 0.1);
}

.cw-bento__card--wide {
    grid-column: span 2;
}

.cw-bento__title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--cw-text);
}

.cw-bento__description {
    font-size: 14px;
    color: var(--cw-muted);
    line-height: 1.5;
    margin: 0 0 20px;
}

/* Widget containers */
.cw-bento__widget {
    margin-top: 0px;
}

.cw-bento__widget--center {
    display: flex;
    justify-content: center;
}

/* Charts - Area/Line */
.cw-bento__chart {
    width: 100%;
    height: auto;
    display: block;
}

.cw-bento__line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: bentoDraw 2s ease forwards 0.3s;
}

.cw-bento__line--cost {
    animation-duration: 1.5s;
    animation-delay: 0.5s;
}

.cw-bento__area {
    opacity: 0;
    animation: bentoFadeIn 0.8s ease forwards 1.8s;
}

.cw-bento__dot {
    opacity: 0;
    animation: bentoFadeIn 0.4s ease forwards var(--dot-delay, 0.5s);
}

.cw-bento__dot--active {
    filter: drop-shadow(0 0 8px rgba(0, 199, 190, 0.6));
}

/* Stats row */
.cw-bento__stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--cw-surface-2);
}

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

.cw-bento__stat-value {
    font-size: 20px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cw-bento__stat-label {
    font-size: 12px;
    color: var(--cw-muted);
}

/* Donut chart */
.cw-bento__donut {
    width: 260px;
    height: 260px;
}

.cw-bento__donut-seg {
    stroke-dashoffset: 377;
}

.cw-bento__donut-seg--1 {
    animation: bentoDonut1 1.2s ease forwards 0.3s;
}

.cw-bento__donut-seg--2 {
    animation: bentoDonut2 1.2s ease forwards 0.6s;
}

.cw-bento__donut-seg--3 {
    animation: bentoDonut3 1.2s ease forwards 0.9s;
}

/* Legend */
.cw-bento__legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cw-bento__legend-item {
    font-size: 12px;
    color: var(--cw-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cw-bento__legend-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--legend-color);
}

/* Horizontal bar chart */
.cw-bento__bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cw-bento__bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cw-bento__bar-label {
    font-size: 11px;
    color: var(--cw-muted);
    width: 90px;
    flex-shrink: 0;
    text-align: right;
}

.cw-bento__bar-track {
    flex: 1;
    height: 30px;
    background: var(--cw-surface-2);
    border-radius: 8px;
    overflow: hidden;
}

.cw-bento__bar-fill {
    height: 100%;
    width: 0;
    background: var(--bar-color);
    border-radius: 6px;
    animation: bentoBarFill 1s ease forwards;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.cw-bento__bar-fill span {
    font-size: 10px;
    font-weight: 600;
    color: white;
    opacity: 0;
    animation: bentoFadeIn 0.3s ease forwards 1.5s;
}

.cw-bento__bar-row:nth-child(1) .cw-bento__bar-fill { animation-delay: 0.2s; }
.cw-bento__bar-row:nth-child(2) .cw-bento__bar-fill { animation-delay: 0.35s; }
.cw-bento__bar-row:nth-child(3) .cw-bento__bar-fill { animation-delay: 0.5s; }
.cw-bento__bar-row:nth-child(4) .cw-bento__bar-fill { animation-delay: 0.65s; }
.cw-bento__bar-row:nth-child(5) .cw-bento__bar-fill { animation-delay: 0.8s; }
.cw-bento__bar-row:nth-child(6) .cw-bento__bar-fill { animation-delay: 0.95s; }

/* Vertical bars (SVG) */
.cw-bento__vbar {
    transform: scaleY(0);
    transform-origin: center bottom;
    transform-box: fill-box;
    animation: bentoGrow 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s + 0.3s);
}

/* Cost display */
.cw-bento__cost-display {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cw-bento__cost-main {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.cw-bento__cost-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--cw-text);
}

.cw-bento__cost-period {
    font-size: 14px;
    color: var(--cw-muted);
}

.cw-bento__cost-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.cw-bento__cost-badge--positive {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.cw-bento__sparkline {
    width: 100%;
    height: auto;
    display: block;
}

/* Mini stats */
.cw-bento__mini-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--cw-surface-2);
}

.cw-bento__mini-stats span {
    font-size: 12px;
    color: var(--cw-muted);
}

.cw-bento__mini-stats em {
    font-style: normal;
    font-weight: 600;
    color: var(--cw-text);
}

/* Bento Animations */
@keyframes bentoDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes bentoFadeIn {
    to { opacity: 1; }
}

@keyframes bentoBarFill {
    to { width: var(--bar-width); }
}

@keyframes bentoGrow {
    to { transform: scaleY(1); }
}

@keyframes bentoDonut1 {
    to { stroke-dashoffset: 113; }
}

@keyframes bentoDonut2 {
    to { stroke-dashoffset: 302; }
}

@keyframes bentoDonut3 {
    to { stroke-dashoffset: 339; }
}

@keyframes bentoChatIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bentoChatOut {
    to { opacity: 0; transform: translateY(-5px); }
}

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

@keyframes bentoShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes bentoBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

@keyframes bentoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* AI Chat Card */
.cw-bento__card--full {
    grid-column: 1 / -1;
}

.cw-bento__card--chat {
    background: linear-gradient(135deg, var(--cw-surface) 0%, rgba(0, 199, 190, 0.03) 100%);
    border: 1px solid rgba(0, 199, 190, 0.08);
    position: relative;
}

.cw-bento__card--chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c7be, #0071e3, #a855f7, #00c7be);
    background-size: 200% 100%;
    animation: bentoShimmerLine 3s linear infinite;
    z-index: 1;
}

.cw-bento__chat-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 199, 190, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cw-bento__chat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--cw-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cw-bento__title--chat {
    font-size: 28px;
}

.cw-bento__chat-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cw-bento__chat-prompts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.cw-bento__chat-prompt {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--cw-muted);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cw-bento__chat-prompt-icon {
    color: var(--cw-accent);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s;
}

.cw-bento__chat-prompt:hover {
    border-color: rgba(0, 199, 190, 0.3);
    background: rgba(0, 199, 190, 0.04);
    color: var(--cw-text);
}

.cw-bento__chat-prompt:hover .cw-bento__chat-prompt-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Chat window mockup */
.cw-bento__chat-window {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.cw-bento__chat-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cw-bento__chat-window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cw-bento__chat-window-dot:nth-child(1) { background: #ef4444; }
.cw-bento__chat-window-dot:nth-child(2) { background: #facc15; }
.cw-bento__chat-window-dot:nth-child(3) { background: #22c55e; }

.cw-bento__chat-window-title {
    font-size: 11px;
    color: var(--cw-muted);
    margin-left: 8px;
    font-weight: 500;
}

.cw-bento__chat-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.cw-bento__chat-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    align-items: end;
}

.cw-bento__chat-row--user {
    justify-content: flex-end;
    align-items: end;
}

.cw-bento__chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cw-surface-2);
    color: var(--cw-muted);
    font-weight: 700;
    font-size: 11px;
    border: 1px solid var(--cw-border);
    overflow: hidden;
    flex-shrink: 0;
}

.cw-bento__chat-avatar--ai {
    background: rgb(250 251 251);
    border: 1px solid rgb(224 234 251);
    padding: 3px;
}

.cw-bento__chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Chat bubbles */
.cw-bento__chat-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 90%;
}

.cw-bento__chat-bubble--user {
    background: var(--cw-surface-2);
    color: var(--cw-text);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    opacity: 0;
    transform: translateY(10px);
    animation: bentoChatIn 0.5s ease forwards 0.3s;
}

.cw-bento__chat-bubble--ai {
    background: rgba(0, 199, 190, 0.04);
    border: 1px solid rgba(0, 199, 190, 0.1);
    color: var(--cw-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    opacity: 0;
    transform: translateY(10px);
    animation: bentoChatIn 0.5s ease forwards 1.6s;
    position: relative;
    overflow: hidden;
}

.cw-bento__chat-bubble--ai::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 199, 190, 0.06), transparent);
    animation: bentoShimmer 2.5s ease-in-out infinite 2.5s;
}

.cw-bento__chat-bubble--ai strong {
    color: var(--cw-accent);
    font-weight: 600;
}

/* Typing indicator */
.cw-bento__chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    align-self: flex-start;
    opacity: 0;
    animation: bentoChatIn 0.3s ease forwards 0.8s, bentoChatOut 0.3s ease forwards 1.5s;
}

.cw-bento__chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cw-accent);
    animation: bentoBounce 1.2s ease-in-out infinite;
}

.cw-bento__chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.cw-bento__chat-typing span:nth-child(3) { animation-delay: 0.3s; }

/* AI tag with pulse */
.cw-bento__chat-ai-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--cw-accent);
    margin-bottom: 8px;
}

.cw-bento__chat-ai-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cw-accent);
    animation: bentoPulse 2s ease-in-out infinite;
}

/* ============================================
   DASHBOARD SHOWCASE
   ============================================ */
.cw-dashboard__showcase {
    position: relative;
}

.cw-dashboard__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.cw-dashboard__screen {
    position: relative;
    z-index: 1;
}

.cw-dashboard__screen img {
    width: 100%;
    height: auto;
    display: block;
}

.cw-dashboard__glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 199, 190, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cw-dashboard__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.cw-dashboard__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cw-dashboard__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cw-surface);
    border-radius: 12px;
    color: var(--cw-accent);
}

.cw-dashboard__feature-text h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
}

.cw-dashboard__feature-text p {
    font-size: 14px;
    color: var(--cw-muted);
    margin: 0;
}

/* ============================================
   SAFETY SECTION
   ============================================ */
.cw-safety__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cw-safety__card {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 32px 28px 28px;
    text-align: center;
    transition: transform 0.3s var(--cw-transition), box-shadow 0.3s var(--cw-transition);
}

.cw-safety__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cw-safety__widget-wrap {
    margin-bottom: 20px;
}

.cw-safety__widget {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cw-safety__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
}

.cw-safety__description {
    font-size: 14px;
    color: var(--cw-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- Safety SVG Animations --- */

/* RTLS: Pulse rings expanding */
.safety-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: safetyPulse 3s ease-out infinite var(--pd, 0s);
}

/* RTLS: Radar sweep */
.safety-sweep {
    transform-origin: 100px 70px;
    animation: safetySweep 4s linear infinite;
}

/* RTLS: Floating tracked dots */
.safety-float {
    transform-box: fill-box;
    animation: safetyFloat 5s ease-in-out infinite var(--fd, 0s);
}

/* Fall: Person tilting */
.safety-tilt {
    transform-origin: 100px 110px;
    animation: safetyTilt 4s ease-in-out infinite;
}

/* Fall: Alert blinking */
.safety-alert-blink {
    animation: safetyBlink 4s ease-in-out infinite;
}

/* Zone: Dot moving between zones */
.safety-zone-dot {
    transform-box: fill-box;
    animation: safetyZoneMove 5s ease-in-out infinite;
}

/* Emergency: Radiating waves */
.safety-wave {
    transform-origin: center;
    transform-box: fill-box;
    animation: safetyWaveExpand 2.4s ease-out infinite var(--wd, 0s);
}

/* Emergency: Beacon pulse */
.safety-beacon {
    animation: safetyBeacon 1.5s ease-in-out infinite;
}

/* Machine: Gear rotation */
.safety-gear {
    transform-origin: 72px 70px;
    animation: safetyGear 4s ease-in-out infinite;
}

/* Machine: Approaching dot */
.safety-approach {
    transform-box: fill-box;
    animation: safetyApproach 4s ease-in-out infinite;
}

/* Machine: Stop sign flash */
.safety-stop-flash {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    animation: safetyStopFlash 4s ease-in-out infinite;
}

/* Barrier: Proximity pulse */
.safety-proximity {
    animation: safetyProximity 2s ease-in-out infinite;
}

/* Barrier: Intruder approaching */
.safety-intruder {
    transform-box: fill-box;
    animation: safetyIntruder 3s ease-in-out infinite;
}

/* Barrier: Alert badge */
.safety-barrier-alert {
    animation: safetyBlink 3s ease-in-out infinite;
}

/* Safety Keyframes */
@keyframes safetyPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(7); opacity: 0; }
}

@keyframes safetySweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes safetyFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(6px, -4px); }
    50% { transform: translate(-4px, 6px); }
    75% { transform: translate(4px, 3px); }
}

@keyframes safetyTilt {
    0%, 25% { transform: rotate(0deg); }
    35%, 65% { transform: rotate(40deg); }
    75%, 100% { transform: rotate(0deg); }
}

@keyframes safetyBlink {
    0%, 30% { opacity: 0; }
    35%, 70% { opacity: 1; }
    75%, 100% { opacity: 0; }
}

@keyframes safetyZoneMove {
    0%, 25% { transform: translateX(0); }
    35%, 65% { transform: translateX(88px); }
    75%, 100% { transform: translateX(0); }
}

@keyframes safetyWaveExpand {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(6); opacity: 0; }
}

@keyframes safetyBeacon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes safetyGear {
    0% { transform: rotate(0deg); }
    45% { transform: rotate(360deg); }
    50%, 100% { transform: rotate(365deg); }
}

@keyframes safetyApproach {
    0%, 10% { transform: translateX(0); opacity: 0.6; }
    45%, 55% { transform: translateX(-45px); opacity: 1; }
    70%, 100% { transform: translateX(0); opacity: 0.6; }
}

@keyframes safetyStopFlash {
    0%, 42% { opacity: 0; transform: scale(0.5); }
    48% { opacity: 1; transform: scale(1.15); }
    52%, 70% { opacity: 1; transform: scale(1); }
    80%, 100% { opacity: 0; transform: scale(0.5); }
}

@keyframes safetyProximity {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes safetyIntruder {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-20px); }
    60% { transform: translateY(-20px); }
}

/* ============================================
   INTEGRATIONS
   ============================================ */

/* 2-column layout: features left, visual right */
.cw-integrations__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.cw-integrations__left {
    text-align: left;
}

.cw-integrations__left .cw-section__eyebrow,
.cw-integrations__left .cw-section__title,
.cw-integrations__left .cw-section__subtitle {
    text-align: left;
}

.cw-integrations__left .cw-section__subtitle {
    max-width: 420px;
}

/* Features list */
.cw-integrations__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.cw-integrations__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--cw-surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cw-integrations__feature:hover {
    transform: translateX(6px);
    border-color: rgba(0, 199, 190, 0.15);
}

.cw-integrations__feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 199, 190, 0.1);
    border-radius: 10px;
    color: var(--cw-accent);
    flex-shrink: 0;
}

.cw-integrations__feature h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
}

.cw-integrations__feature p {
    font-size: 14px;
    color: var(--cw-muted);
    margin: 0;
}

/* Orbital Visual */
.cw-integrations__visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: hidden;
}

/* Orbit rings */
.cw-integrations__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 199, 190, 0.1);
}

.cw-integrations__ring--1 {
    inset: 15%;
    animation: intOrbitRingSpin 60s linear infinite;
}

.cw-integrations__ring--2 {
    inset: 2%;
    border-color: rgba(0, 113, 227, 0.08);
    animation: intOrbitRingSpin 90s linear infinite reverse;
}

/* Center hub */
.cw-integrations__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cw-surface);
    border-radius: 50%;
    z-index: 3;
    border: 1px solid rgba(0, 199, 190, 0.2);
    box-shadow: 0 0 40px rgba(0, 199, 190, 0.15), 0 0 80px rgba(0, 113, 227, 0.08);
}

.cw-integrations__logo {
    font-size: 16px;
    letter-spacing: 0.05em;
}

/* Triple pulse rings */
.cw-integrations__pulse {
    position: absolute;
    inset: -16px;
    border: 1.5px solid var(--cw-accent);
    border-radius: 50%;
    opacity: 0;
    animation: intPulseRing 3s ease-out infinite;
}

.cw-integrations__pulse--2 {
    animation-delay: 1s;
}

.cw-integrations__pulse--3 {
    animation-delay: 2s;
}

@keyframes intPulseRing {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Orbit container */
.cw-integrations__orbit {
    position: absolute;
    inset: 0;
    z-index: 2;
    animation: intOrbitSpin 80s linear infinite;
}

/* Orbiting items */
.cw-integrations__item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cw-surface-2);
    border-radius: 16px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(190px) rotate(calc(-1 * var(--angle)));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(0, 199, 190, 0.08);
    animation: intItemFloat 3s ease-in-out infinite var(--float-delay);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.cw-integrations__item img,
.cw-integrations__item svg {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    animation: intCounterSpin 80s linear infinite;
}

.cw-integrations__item:hover {
    box-shadow: 0 0 30px rgba(0, 199, 190, 0.3);
    border-color: rgba(0, 199, 190, 0.3);
}

/* Animations */
@keyframes intOrbitSpin {
    to { transform: rotate(360deg); }
}

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

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

@keyframes intItemFloat {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* ============================================
   DEVICE SYNC
   ============================================ */
.cw-sync {
    background: var(--cw-surface);
}

.cw-sync .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cw-sync__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cw-sync__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--cw-muted);
}

.cw-sync__feature svg {
    color: var(--cw-accent);
    flex-shrink: 0;
}

.cw-sync__visual {
    position: relative;
}

.cw-sync__visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.cw-results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.cw-results__card {
    background: var(--cw-surface);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s var(--cw-transition);
}

.cw-results__card:hover {
    transform: translateY(-4px);
}

.cw-results__logo {
    height: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-results__logo img {
    height: 100%;
    width: auto;
    opacity: 0.7;
    filter: grayscale(1) brightness(2);
}

.cw-results__metric {
    margin-bottom: 12px;
}

.cw-results__number {
    font-size: 64px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.cw-results__unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--cw-accent);
}

.cw-results__label {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.cw-results__detail {
    font-size: 14px;
    color: var(--cw-muted);
    margin: 0;
}

.cw-results__cta {
    text-align: center;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cw-cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.cw-cta__bg {
    position: absolute;
    inset: 0;
}

.cw-cta__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 199, 190, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 113, 227, 0.2) 0%, transparent 50%);
}

.cw-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cw-cta__title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 20px;
}

.cw-cta__subtitle {
    font-size: 19px;
    color: var(--cw-muted);
    line-height: 1.5;
    margin: 0 0 40px;
}

.cw-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cw-cta__note {
    font-size: 14px;
    color: var(--cw-muted);
    margin: 0;
}

/* ============================================
   WORKFLOW OPTIMIZATION
   ============================================ */
.cw-workflow__pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cw-workflow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 140px;
    position: relative;
}

.cw-workflow__step-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--cw-surface);
    border: 3px solid var(--cw-surface-2);
}

.cw-workflow__step-circle svg {
    position: absolute;
    inset: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    transform: rotate(-90deg);
}

.cw-workflow__step-circle svg circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.cw-workflow__step-circle svg circle.track {
    stroke: var(--cw-surface-2);
}

.cw-workflow__step-circle svg circle.fill {
    stroke: var(--cw-accent);
    transition: stroke-dashoffset 1s var(--cw-transition);
}

.cw-workflow__step-pct {
    font-size: 22px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cw-workflow__step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cw-text);
    text-align: center;
}

.cw-workflow__step-arrow {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cw-muted);
    align-self: flex-start;
    margin-top: 36px;
}

.cw-workflow__ai-card {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(0, 199, 190, 0.15);
    position: relative;
    overflow: hidden;
}

.cw-workflow__ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cw-gradient);
}

.cw-workflow__ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 199, 190, 0.1);
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.cw-workflow__ai-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.cw-workflow__ai-desc {
    font-size: 15px;
    color: var(--cw-muted);
    margin: 0 0 20px;
    line-height: 1.5;
}

.cw-workflow__ai-transfer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cw-surface-2);
    border-radius: 12px;
    padding: 16px 20px;
}

.cw-workflow__ai-transfer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cw-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.cw-workflow__ai-transfer-info {
    flex: 1;
}

.cw-workflow__ai-transfer-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
}

.cw-workflow__ai-transfer-role {
    font-size: 13px;
    color: var(--cw-muted);
    margin: 0;
}

.cw-workflow__ai-transfer-arrow {
    color: var(--cw-accent);
    flex-shrink: 0;
}

.cw-workflow__ai-transfer-dest {
    font-size: 14px;
    font-weight: 600;
    color: var(--cw-accent);
    flex-shrink: 0;
}

.cw-workflow__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cw-workflow__stat {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.cw-workflow__stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}

.cw-workflow__stat-label {
    font-size: 13px;
    color: var(--cw-muted);
    font-weight: 500;
}

/* ============================================
   AI INTELLIGENCE ENGINE
   ============================================ */
.cw-ai__tabs {
    display: flex;
    gap: 4px;
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cw-ai__tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--cw-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--cw-transition);
    font-family: inherit;
}

.cw-ai__tab.active {
    background: var(--cw-surface-2);
    color: var(--cw-text);
}

.cw-ai__tab:hover:not(.active) {
    color: var(--cw-text);
}

.cw-ai__panel {
    display: none;
}

.cw-ai__panel.active {
    display: block;
}

.cw-ai__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cw-ai__card {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
    transition: transform 0.3s var(--cw-transition);
}

.cw-ai__card:hover {
    transform: translateY(-4px);
}

.cw-ai__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 199, 190, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--cw-accent);
}

.cw-ai__card-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.cw-ai__card-value {
    font-size: 28px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 4px;
    line-height: 1.2;
}

.cw-ai__card-desc {
    font-size: 13px;
    color: var(--cw-muted);
    margin: 0;
    line-height: 1.4;
}

.cw-ai__chat {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
}

.cw-ai__chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cw-ai__chat-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cw-ai__chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.cw-ai__chat-avatar--user {
    background: var(--cw-surface-2);
    color: var(--cw-muted);
}

.cw-ai__chat-avatar--ai {
    background: var(--cw-gradient);
    color: #fff;
}

.cw-ai__chat-bubble {
    background: var(--cw-surface-2);
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--cw-text);
    max-width: 80%;
}

.cw-ai__chat-input {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--cw-surface-2);
    border-radius: 12px;
    padding: 8px 12px;
}

.cw-ai__chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--cw-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.cw-ai__chat-input input::placeholder {
    color: var(--cw-muted);
}

.cw-ai__chat-input button {
    background: var(--cw-gradient);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.cw-ai__anomalies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cw-ai__anomaly {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 20px;
    border-left: 3px solid;
    transition: transform 0.3s var(--cw-transition);
}

.cw-ai__anomaly:hover {
    transform: translateY(-2px);
}

.cw-ai__anomaly--critical {
    border-color: #ff453a;
}

.cw-ai__anomaly--warning {
    border-color: #ff9f0a;
}

.cw-ai__anomaly--info {
    border-color: var(--cw-accent);
}

.cw-ai__anomaly-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.cw-ai__anomaly-count {
    font-size: 24px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 2px;
    line-height: 1.2;
}

.cw-ai__anomaly-desc {
    font-size: 12px;
    color: var(--cw-muted);
    margin: 0;
}

/* ============================================
   WAREHOUSE INTELLIGENCE
   ============================================ */
.cw-warehouse__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.cw-warehouse__heatmap {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
}

.cw-warehouse__heatmap-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 20px;
}

.cw-warehouse__heatmap-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 6px;
}

.cw-warehouse__heatmap-cell {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: transform 0.2s ease;
    cursor: default;
}

.cw-warehouse__heatmap-cell:hover {
    transform: scale(1.1);
}

.cw-warehouse__heatmap-cell--hot {
    background: rgba(0, 199, 190, 0.6);
}

.cw-warehouse__heatmap-cell--warm {
    background: rgba(0, 199, 190, 0.35);
}

.cw-warehouse__heatmap-cell--cool {
    background: rgba(0, 199, 190, 0.15);
}

.cw-warehouse__heatmap-cell--cold {
    background: rgba(255, 255, 255, 0.05);
}

.cw-warehouse__heatmap-cell--golden {
    background: rgba(255, 214, 10, 0.5);
    border: 1px solid rgba(255, 214, 10, 0.3);
}

.cw-warehouse__heatmap-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 11px;
    color: var(--cw-muted);
}

.cw-warehouse__heatmap-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cw-warehouse__heatmap-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.cw-warehouse__suggestions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cw-warehouse__suggestion {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 199, 190, 0.1);
    transition: transform 0.3s var(--cw-transition);
}

.cw-warehouse__suggestion:hover {
    transform: translateY(-2px);
}

.cw-warehouse__suggestion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cw-warehouse__suggestion-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.cw-warehouse__suggestion-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 199, 190, 0.1);
    border-radius: 980px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cw-accent);
}

.cw-warehouse__suggestion-desc {
    font-size: 13px;
    color: var(--cw-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.cw-warehouse__suggestion-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--cw-surface-2);
    border-radius: 10px;
    font-size: 13px;
    color: var(--cw-text);
}

.cw-warehouse__suggestion-action code {
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    color: var(--cw-accent);
    background: rgba(0, 199, 190, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.cw-warehouse__stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cw-warehouse__stat {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.cw-warehouse__stat-number {
    font-size: 28px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}

.cw-warehouse__stat-label {
    font-size: 12px;
    color: var(--cw-muted);
    font-weight: 500;
}

.cw-warehouse__stat--alert .cw-warehouse__stat-number {
    background: linear-gradient(135deg, #ff453a, #ff9f0a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   WORKFORCE PERFORMANCE
   ============================================ */
/* Workforce Sticky Layout */
.cw-workforce__layout {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 48px;
    align-items: start;
}

.cw-workforce__sticky {
    position: sticky;
    top: 100px;
    text-align: left;
}

.cw-workforce__sticky .cw-section__eyebrow {
    text-align: left;
}

.cw-workforce__sticky .cw-section__title {
    text-align: left;
}

.cw-workforce__sticky .cw-section__subtitle {
    text-align: left;
    max-width: 400px;
}

.cw-workforce__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cw-workforce__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cw-workforce__kpi {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: transform 0.3s var(--cw-transition), box-shadow 0.3s var(--cw-transition);
}

.cw-workforce__kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cw-workforce__kpi-widget {
    margin-bottom: 12px;
}

.cw-workforce__kpi-widget svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cw-workforce__kpi-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.cw-workforce__kpi-label {
    font-size: 14px;
    color: var(--cw-muted);
    font-weight: 500;
    margin: 0;
}

/* SVG Widget Animations */
.wf-gauge-fill {
    animation: wfGaugeFill 1.5s ease forwards 0.3s;
}

.wf-progress-fill {
    animation: wfProgressFill 1.5s ease forwards 0.3s;
}

.wf-cost-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: wfCostDraw 1.5s ease forwards 0.5s;
}

/* A/B Comparison Chart */
.cw-workforce__ab {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
}

.cw-workforce__ab-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cw-workforce__ab-legend {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw-workforce__ab-legend--a::before,
.cw-workforce__ab-legend--b::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.cw-workforce__ab-legend--a {
    color: var(--cw-accent);
}

.cw-workforce__ab-legend--a::before {
    background: var(--cw-accent);
}

.cw-workforce__ab-legend--b {
    color: var(--cw-accent-2);
}

.cw-workforce__ab-legend--b::before {
    background: var(--cw-accent-2);
}

.cw-workforce__ab-vs {
    font-size: 11px;
    font-weight: 700;
    color: var(--cw-muted);
    background: var(--cw-surface-2);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.cw-workforce__ab-chart {
    width: 100%;
    height: auto;
    display: block;
}

.wf-val {
    opacity: 0;
    animation: bentoFadeIn 0.3s ease forwards 1.5s;
}

/* Alert Banner with Animated Pulse */
.cw-workforce__alert {
    background: linear-gradient(135deg, rgba(255, 69, 58, 0.08), rgba(255, 159, 10, 0.08));
    border: 1px solid rgba(255, 69, 58, 0.15);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.cw-workforce__alert-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff453a, #ff9f0a, #ff453a);
    background-size: 200% 100%;
    animation: bentoShimmerLine 2s linear infinite;
}

.cw-workforce__alert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 69, 58, 0.15);
    border-radius: 10px;
    color: #ff453a;
    flex-shrink: 0;
}

.cw-workforce__alert-content {
    flex: 1;
}

.cw-workforce__alert-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
}

.cw-workforce__alert-desc {
    font-size: 13px;
    color: var(--cw-muted);
    margin: 0;
}

.cw-workforce__alert-value {
    font-size: 22px;
    font-weight: 700;
    color: #ff453a;
    flex-shrink: 0;
}

/* Workforce Keyframes */
@keyframes wfGaugeFill {
    to { stroke-dashoffset: 21; }
}

@keyframes wfProgressFill {
    to { stroke-dashoffset: 161; }
}

@keyframes wfCostDraw {
    to { stroke-dashoffset: 0; }
}


/* ============================================
   DELIVERY COMMAND CENTER
   ============================================ */
.cw-delivery__timeline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
    position: relative;
    padding: 0 40px;
}

.cw-delivery__timeline::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--cw-surface-2);
    z-index: 0;
}

.cw-delivery__timeline::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--cw-gradient);
    z-index: 1;
}

.cw-delivery__stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cw-delivery__stage-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cw-gradient);
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(0, 199, 190, 0.4);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.cw-delivery__stage-card {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    width: 90%;
}

.cw-delivery__stage-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: white;
}

.cw-delivery__stage-time {
    font-size: 24px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.cw-delivery__stage-unit {
    font-size: 12px;
    color: var(--cw-muted);
    margin-top: 2px;
}

.cw-delivery__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.cw-delivery__stats-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cw-delivery__stat-card {
    background: var(--cw-surface);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cw-delivery__stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 199, 190, 0.1);
    border-radius: 12px;
    color: var(--cw-accent);
    flex-shrink: 0;
}

.cw-delivery__stat-info {
    flex: 1;
}

.cw-delivery__stat-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--cw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 2px;
}

.cw-delivery__stat-label {
    font-size: 13px;
    color: var(--cw-muted);
}

.cw-delivery__issues {
    background: var(--cw-surface);
    border-radius: 20px;
    padding: 28px;
}

.cw-delivery__issues-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 20px;
}

.cw-delivery__issue-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cw-delivery__issue {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--cw-surface-2);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.cw-delivery__issue:hover {
    transform: translateX(4px);
}

.cw-delivery__issue-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cw-delivery__issue-dot--critical {
    background: #ff453a;
}

.cw-delivery__issue-dot--warning {
    background: #ff9f0a;
}

.cw-delivery__issue-dot--info {
    background: var(--cw-accent);
}

.cw-delivery__issue-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.cw-delivery__issue-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--cw-muted);
}

/* Section benefit message */
.cw-benefit {
    text-align: center;
    margin-top: 56px;
}

.cw-benefit__text {
    font-size: 21px;
    font-weight: 500;
    font-style: italic;
    color: var(--cw-muted);
    margin: 0;
}

/* ============================================
   FAQ
   ============================================ */
.cw-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cw-faq__item {
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 20px;
    padding: 0 24px;
}

.cw-faq__item:first-child {
    border: 1px solid rgb(255 255 255 / 10%);
}

.cw-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--cw-text);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
}

.cw-faq__question:hover {
    color: var(--cw-accent);
}

.cw-faq__question-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cw-surface);
    flex-shrink: 0;
    transition: transform 0.3s var(--cw-transition), background 0.3s ease;
}
.cw-faq__question-icon svg{
    width: 12px;
    height: 12px;
}

.cw-faq__item.active .cw-faq__question-icon {
    transform: rotate(45deg);
    background: var(--cw-accent);
    color: #000;
}

.cw-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--cw-transition), padding 0.4s var(--cw-transition);
}

.cw-faq__item.active .cw-faq__answer {
    max-height: 300px;
}

.cw-faq__answer-inner {
    padding: 0 0 24px;
    font-size: 15px;
    color: var(--cw-muted);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .cw-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-bento__card--wide {
        grid-column: span 2;
    }

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

    .cw-warehouse__stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 991px) {
    .cw-section {
        padding: 80px 0;
    }

    .cw-sync .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cw-sync__visual {
        order: -1;
    }

    .cw-dashboard__features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .cw-integrations__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cw-integrations__left {
        text-align: center;
    }

    .cw-integrations__left .cw-section__eyebrow,
    .cw-integrations__left .cw-section__title,
    .cw-integrations__left .cw-section__subtitle {
        text-align: center;
    }

    .cw-integrations__left .cw-section__subtitle {
        max-width: 100%;
    }

    .cw-integrations__visual {
        max-width: 420px;
    }

    .cw-integrations__item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
    }

    .cw-workflow__pipeline {
        gap: 8px;
    }

    .cw-workflow__step-arrow {
        width: 24px;
    }

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

    .cw-ai__grid,
    .cw-ai__anomalies {
        grid-template-columns: 1fr;
    }

    .cw-ai__tabs {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .cw-warehouse__content {
        grid-template-columns: 1fr;
    }

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

    .cw-workforce__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cw-workforce__sticky {
        position: static;
        text-align: center;
    }

    .cw-workforce__sticky .cw-section__eyebrow,
    .cw-workforce__sticky .cw-section__title,
    .cw-workforce__sticky .cw-section__subtitle {
        text-align: center;
    }

    .cw-workforce__sticky .cw-section__subtitle {
        max-width: 100%;
    }

    .cw-workforce__ab-head {
        flex-direction: column;
        gap: 10px;
    }

    .cw-delivery__content {
        grid-template-columns: 1fr;
    }

    .cw-delivery__timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 0 0 10px;
    }

    .cw-delivery__timeline::before,
    .cw-delivery__timeline::after {
        top: 0;
        left: 10px;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .cw-delivery__stage {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 8px 0;
    }

    .cw-delivery__stage-dot {
        margin-bottom: 0;
    }

    .cw-delivery__stage-card {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .cw-hero {
        padding: 100px 16px 60px;
    }

    .cw-hero__description {
        font-size: 17px;
    }

    .cw-hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .cw-section__header {
        margin-bottom: 48px;
    }

    .cw-bento {
        grid-template-columns: 1fr;
    }

    .cw-bento__card--wide,
    .cw-bento__card--full {
        grid-column: span 1;
    }

    .cw-bento__chat-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cw-safety__grid {
        grid-template-columns: 1fr;
    }

    .cw-results__grid {
        grid-template-columns: 1fr;
    }

    .cw-results__number {
        font-size: 48px;
    }

    .cw-workflow__pipeline {
        flex-direction: column;
        align-items: center;
    }

    .cw-workflow__step-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }

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

    .cw-workforce__alert {
        flex-direction: column;
        text-align: center;
    }

    .cw-integrations__visual {
        max-width: 300px;
    }

    .cw-integrations__item {
        width: 48px;
        height: 48px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
    }

    .cw-integrations__item img,
    .cw-integrations__item svg {
        width: 24px;
        height: 24px;
    }

    .cw-cta {
        padding: 100px 0;
    }

    .cw-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    /* Stats grid mobile */
    .cw-stats-grid {
        padding: 60px 0;
    }

    .cw-stats-grid__inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .cw-stats-grid__item {
        flex: 0 0 50%;
        padding: 24px 16px;
    }

    .cw-stats-grid__divider {
        display: none;
    }

    .cw-stats-grid__number {
        font-size: 36px;
    }

    /* Donut chart mobile */
    .cw-bento__donut {
        width: 200px;
        height: 200px;
    }

    /* Chat glow mobile */
    .cw-bento__chat-glow {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -40px;
    }

    /* Heatmap grid mobile */
    .cw-warehouse__heatmap-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Workforce row collapse */
    .cw-workforce__row {
        grid-template-columns: 1fr;
    }

    /* Touch targets - minimum 44px */
    .cw-faq__question {
        min-height: 52px;
        padding: 16px 0;
    }

    .cw-faq__question-icon {
        width: 36px;
        height: 36px;
    }

    .cw-bento__chat-prompt {
        padding: 14px 16px;
        min-height: 44px;
    }

    /* Small font fixes for mobile readability */
    .cw-bento__stat-label {
        font-size: 13px;
    }

    .cw-bento__bar-label {
        font-size: 12px;
    }

    .cw-bento__bar-fill span {
        font-size: 11px;
    }

    .cw-bento__legend-item {
        font-size: 13px;
    }

    .cw-bento__chat-badge {
        font-size: 12px;
    }

    .cw-bento__chat-ai-tag {
        font-size: 11px;
    }

    /* Bento card padding reduction */
    .cw-bento__card {
        padding: 24px;
    }

    /* Section padding reduction */
    .cw-section {
        padding: 80px 0;
    }
}

/* 768px rules merged into 767px above */

@media (max-width: 480px) {
    .cw-stats-grid__number {
        font-size: 30px;
    }

    .cw-stats-grid__label {
        font-size: 12px;
    }

    .cw-bento__card {
        padding: 24px;
    }

    .cw-bento__stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .cw-bento__cost-value {
        font-size: 24px;
    }

    .cw-bento__bar-label {
        width: 60px;
        font-size: 10px;
    }

    /* Donut chart small phones */
    .cw-bento__donut {
        width: 160px;
        height: 160px;
    }

    /* Integrations orbit small phones */
    .cw-integrations__item {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(80px) rotate(calc(-1 * var(--angle)));
    }

    .cw-integrations__item img,
    .cw-integrations__item svg {
        width: 22px;
        height: 22px;
    }

    .cw-integrations__center {
        width: 80px;
        height: 80px;
    }

    .cw-integrations__logo {
        font-size: 12px;
    }

    .cw-integrations__visual {
        max-width: 240px;
    }
}

/* ============================================
   LIGHT MODE (body.bg-white)
   conwo-light.html uses body.bg-white
   conwo.html stays dark (no .bg-white on body)
   ============================================ */

/* Override CSS Variables — no space: .cw is ON body itself */
body.bg-white.cw {
    --cw-bg: #fff;
    --cw-text: #1d1d1f;
    --cw-muted: #6e6e73;
    --cw-surface: #f5f5f7;
    --cw-surface-2: #e8e8ed;
}

/* Hero */
body.bg-white .cw-hero {
    background: var(--cw-bg);
}

body.bg-white .cw-hero__gradient {
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.08) 0%, transparent 60%);
}

body.bg-white .cw-hero__grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

body.bg-white .cw-hero__scroll-hint {
    background: linear-gradient(0deg, #fff, transparent);
    color: var(--cw-muted);
}

body.bg-white .cw-hero__dashboard {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08),
        0 10px 10px rgba(0,0,0,0.12),
        0 0 100px rgba(0, 113, 227, 0.08);
}

/* Buttons */
body.bg-white .cw-btn--secondary {
    background: rgba(0,0,0,0.06);
    color: var(--cw-text);
    backdrop-filter: blur(10px);
}

body.bg-white .cw-btn--secondary:hover {
    background: rgba(0,0,0,0.1);
}

/* Stats Grid */
body.bg-white .cw-stats-grid {
    background: var(--cw-bg);
}

body.bg-white .cw-stats-grid::before {
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%);
}

body.bg-white .cw-stats-grid__divider {
    background: rgba(0, 0, 0, 0.08);
}

/* Sections */
body.bg-white .cw-section {
    background: var(--cw-bg);
    color: var(--cw-text);
}

/* Bento Cards */
body.bg-white .cw-bento__card {
    background: var(--cw-surface);
}

body.bg-white .cw-bento__card:hover {
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.08);
}

body.bg-white .cw-bento__stats {
    border-top-color: var(--cw-surface-2);
}

body.bg-white .cw-bento__bar-track {
    background: var(--cw-surface-2);
}

body.bg-white .cw-bento__card--chat {
    background: linear-gradient(135deg, var(--cw-surface) 0%, rgba(0, 113, 227, 0.03) 100%);
    border-color: rgba(0, 113, 227, 0.1);
}

body.bg-white .cw-bento__chat-glow {
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, transparent 70%);
}

body.bg-white .cw-bento__chat-prompt {
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--cw-muted);
}

body.bg-white .cw-bento__chat-prompt:hover {
    border-color: rgba(0, 113, 227, 0.3);
    background: rgba(0, 113, 227, 0.04);
    color: var(--cw-text);
}

body.bg-white .cw-bento__chat-window {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.bg-white .cw-bento__chat-window-bar {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.bg-white .cw-bento__chat-bubble--user {
    background: var(--cw-surface-2);
    color: var(--cw-text);
}

body.bg-white .cw-bento__chat-bubble--ai {
    background: rgba(0, 113, 227, 0.04);
    border-color: rgba(0, 113, 227, 0.1);
    color: var(--cw-text);
}

body.bg-white .cw-bento__chat-bubble--ai::after {
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.04), transparent);
}

/* Dashboard */
body.bg-white .cw-dashboard__frame {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

body.bg-white .cw-dashboard__glow {
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
}

body.bg-white .cw-dashboard__feature-icon {
    background: var(--cw-surface);
}

/* Safety — bg-dark-6-gradian uses !important in global.css */
body.bg-white .cw-safety.bg-dark-6-gradian {
    background: #fff !important;
}

body.bg-white .cw-safety__card {
    background: var(--cw-surface);
}

body.bg-white .cw-safety__card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

/* Integrations */
body.bg-white .cw-integrations__feature {
    background: var(--cw-surface);
    border-color: rgba(0, 0, 0, 0.06);
}

body.bg-white .cw-integrations__center {
    background: var(--cw-surface);
    border-color: rgba(0, 113, 227, 0.2);
    box-shadow: 0 0 40px rgba(0, 113, 227, 0.08), 0 0 80px rgba(0, 113, 227, 0.04);
}

body.bg-white .cw-integrations__logo {
    color: var(--cw-text) !important;
}

body.bg-white .cw-integrations__item {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.bg-white .cw-integrations__item:hover {
    box-shadow: 0 0 30px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.3);
}

body.bg-white .cw-integrations__ring {
    border-color: rgba(0, 113, 227, 0.08);
}

body.bg-white .cw-integrations__ring--2 {
    border-color: rgba(0, 113, 227, 0.05);
}

/* Device Sync */
body.bg-white .cw-sync {
    background: #f5f5f7;
}

/* Workflow */
body.bg-white .cw-workflow__step-circle {
    background: var(--cw-surface);
    border-color: var(--cw-surface-2);
}

body.bg-white .cw-workflow__step-circle svg circle.track {
    stroke: var(--cw-surface-2);
}

body.bg-white .cw-workflow__ai-card {
    background: var(--cw-surface);
}

body.bg-white .cw-workflow__ai-transfer {
    background: var(--cw-surface-2);
}

body.bg-white .cw-workflow__stat {
    background: var(--cw-surface);
}

/* AI Intelligence */
body.bg-white .cw-ai__tabs {
    background: var(--cw-surface);
}

body.bg-white .cw-ai__tab {
    color: var(--cw-muted);
}

body.bg-white .cw-ai__tab.active {
    background: #fff;
    color: var(--cw-text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

body.bg-white .cw-ai__card {
    background: var(--cw-surface);
}

body.bg-white .cw-ai__chat {
    background: var(--cw-surface);
}

body.bg-white .cw-ai__chat-avatar--user {
    background: var(--cw-surface-2);
}

body.bg-white .cw-ai__chat-bubble {
    background: var(--cw-surface-2);
    color: var(--cw-text);
}

body.bg-white .cw-ai__chat-input {
    background: var(--cw-surface-2);
}

body.bg-white .cw-ai__chat-input input {
    color: var(--cw-text);
}

body.bg-white .cw-ai__anomaly {
    background: var(--cw-surface);
}

/* Warehouse */
body.bg-white .cw-warehouse__heatmap {
    background: var(--cw-surface);
}

body.bg-white .cw-warehouse__heatmap-cell {
    color: rgba(0,0,0,0.6);
}

body.bg-white .cw-warehouse__heatmap-cell--cold {
    background: rgba(0, 0, 0, 0.04);
}

body.bg-white .cw-warehouse__suggestion {
    background: var(--cw-surface);
    border-color: rgba(0, 113, 227, 0.1);
}

body.bg-white .cw-warehouse__suggestion-action {
    background: var(--cw-surface-2);
    color: var(--cw-text);
}

body.bg-white .cw-warehouse__stat {
    background: var(--cw-surface);
}

/* Workforce */
body.bg-white .cw-workforce__kpi {
    background: var(--cw-surface);
}

body.bg-white .cw-workforce__kpi:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

body.bg-white .cw-workforce__ab {
    background: var(--cw-surface);
}

body.bg-white .cw-workforce__ab-vs {
    background: var(--cw-surface-2);
}

/* Delivery */
body.bg-white .cw-delivery__timeline::before {
    background: var(--cw-surface-2);
}

body.bg-white .cw-delivery__stage-card {
    background: var(--cw-surface);
}

body.bg-white .cw-delivery__stage-name {
    color: var(--cw-text);
}

body.bg-white .cw-delivery__stat-card {
    background: var(--cw-surface);
}

body.bg-white .cw-delivery__issues {
    background: var(--cw-surface);
}

body.bg-white .cw-delivery__issue {
    background: var(--cw-surface-2);
}

/* Results */
body.bg-white .cw-results__card {
    background: var(--cw-surface);
}

body.bg-white .cw-results__logo img {
    filter: grayscale(1) brightness(0.5);
}

/* FAQ */
body.bg-white .cw-faq__item {
    border-color: #f3f3f3;
}

body.bg-white .cw-faq__item:first-child {
    border-color: rgba(0, 0, 0, 0.08);
}

body.bg-white .cw-faq__question {
    color: var(--cw-text);
}

body.bg-white .cw-faq__question-icon {
    background: var(--cw-surface);
}

body.bg-white .cw-faq__item.active .cw-faq__question-icon {
    color: #fff;
}

/* CTA */
body.bg-white .cw-cta {
    background: var(--cw-bg);
}

body.bg-white .cw-cta__gradient {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 113, 227, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 199, 190, 0.08) 0%, transparent 50%);
}

/* Links */
body.bg-white .cw-link {
    color: var(--cw-accent-2);
}

/* Environment Section — light override */
body.bg-white .pp-environment {
    background: #fff;
    color: #1d1d1f;
}

body.bg-white .pp-environment__eyebrow {
    color: #1d1d1f;
}

body.bg-white .pp-env-card {
    background: var(--cw-surface);
}

body.bg-white .pp-env-card__text {
    color: #1d1d1f;
}

body.bg-white .pp-env-card__btn {
    color: rgba(0, 0, 0, 0.4);
}

body.bg-white .pp-env-card__btn:hover {
    color: rgba(0, 0, 0, 0.7);
}

/* Values Section — light override */
body.bg-white .pp-values {
    background: #fff;
    color: #1d1d1f;
}

body.bg-white .pp-values__headline {
    color: #1d1d1f;
}

body.bg-white .pp-values__card {
    background: var(--cw-surface);
}

body.bg-white .pp-values__card-icon {
    color: #1d1d1f;
}

body.bg-white .pp-values__card-title {
    color: #1d1d1f;
}
