/* ══════════════════════════════════════════════════
   Compliance-Safe Outreach — Page Styles
   ══════════════════════════════════════════════════ */

/* ── Hero Layout ────────────────────────────────── */
.cso-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-primary);
    overflow: hidden;
}

.cso-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    animation: csoGridDrift 20s linear infinite;
}

.cso-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(48, 209, 88, 0.08) 0%, rgba(0, 113, 227, 0.04) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: csoGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes csoGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes csoGlowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.06); }
}

.cso-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cso-hero-text {
    animation: csoFadeSlideUp 0.8s ease-out both;
}

.cso-hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(48, 209, 88, 0.08);
    color: #30d158;
    margin-bottom: 24px;
}

.cso-hero-overline svg {
    width: 14px;
    height: 14px;
}

.cso-hero-text .headline-hero {
    margin-bottom: 20px;
}

.cso-hero-text .subhead {
    margin-bottom: 36px;
    max-width: 480px;
}

.cso-hero-trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.cso-hero-trust-dots {
    display: flex;
    gap: 4px;
}

.cso-hero-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
}

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

/* ── Hero Right ────────────────────────────────── */
.cso-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: csoFadeSlideUp 0.8s 0.3s ease-out both;
    min-height: 540px;
}

/* ── Phone Mockup ───────────────────────────────── */
.cso-phone-wrap {
    position: relative;
    z-index: 2;
}

.cso-phone {
    position: relative;
    width: 270px;
    background: #111;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.18),
        0 16px 40px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: csoPhoneFloat 6s ease-in-out infinite;
    z-index: 2;
}

.cso-phone::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(48, 209, 88, 0.12), transparent 70%);
    filter: blur(16px);
    z-index: -1;
}

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

.cso-screen {
    background: var(--bg-section);
    border-radius: 34px;
    overflow: hidden;
}

.cso-screen-header {
    padding: 12px 16px 10px;
    text-align: center;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cso-screen-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30d158, #0071e3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.cso-screen-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.cso-chat {
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 220px;
}

.cso-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cso-msg.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cso-msg-ai {
    align-self: flex-start;
    background: #e9e9eb;
    color: #000;
    border-bottom-left-radius: 4px;
}

.cso-msg-user {
    align-self: flex-end;
    background: #30d158;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.cso-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: #e9e9eb;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    opacity: 0;
    transition: opacity 0.25s;
}

.cso-typing.visible { opacity: 1; }

.cso-typing-dot {
    width: 7px;
    height: 7px;
    background: #86868b;
    border-radius: 50%;
    animation: csoTypingBounce 1.4s infinite;
}

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

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

.cso-screen-input {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cso-screen-input-field {
    flex: 1;
    height: 32px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.cso-screen-input-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #30d158;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cso-screen-input-send svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

/* ── Notification ──────────────────────────────── */
.cso-notif {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.cso-notif.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cso-notif-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #30d158;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cso-notif-icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

/* ── Floating Badges ────────────────────────────── */
.cso-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 3;
}

.cso-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.cso-badge-1 {
    top: 8%;
    right: -40px;
    animation: csoBadgeFloat1 4s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.cso-badge-2 {
    bottom: 32%;
    left: -50px;
    animation: csoBadgeFloat2 4.5s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.cso-badge-3 {
    bottom: 10%;
    right: -30px;
    animation: csoBadgeFloat3 3.8s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.cso-badge.visible { animation-play-state: running; }

.cso-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cso-badge-icon svg {
    width: 14px;
    height: 14px;
}

@keyframes csoBadgeFloat1 { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
@keyframes csoBadgeFloat2 { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
@keyframes csoBadgeFloat3 { 0% { transform: translateY(0); } 100% { transform: translateY(-7px); } }

/* ── Section Spacing ───────────────────────────── */
.cso-process,
.cso-benefits,
.cso-related,
.cso-state-grid,
.cso-audit { padding: 100px 0; }

/* ── Process Steps ──────────────────────────────── */
.cso-process { text-align: center; }
.cso-process .headline-section { margin-bottom: 12px; }
.cso-process .subhead { margin: 0 auto 56px; max-width: 500px; }

.cso-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.cso-step {
    text-align: center;
    padding: 0 16px;
}

.cso-step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(48, 209, 88, 0.08);
    color: #30d158;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cso-step:hover .cso-step-num {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(48, 209, 88, 0.15);
}

.cso-step .headline-card {
    margin-bottom: 10px;
    font-size: 20px;
}

.cso-step .body-text {
    font-size: 15px;
}

/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 1 — Interactive State TCPA Grid
   ══════════════════════════════════════════════════ */
.cso-state-grid {
    background: var(--bg-section);
}

.cso-state-grid .headline-section { text-align: center; margin-bottom: 12px; }
.cso-state-grid .subhead { text-align: center; margin: 0 auto 56px; max-width: 540px; }

.cso-grid-wrap {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.cso-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.cso-grid-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.cso-grid-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #30d158;
}

.cso-grid-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #30d158;
    animation: csoLivePulse 2s ease-in-out infinite;
}

@keyframes csoLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(48, 209, 88, 0); }
}

.cso-grid-body {
    padding: 28px;
}

/* State tiles grid */
.cso-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}

.cso-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
}

.cso-tile.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cso-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.cso-tile-code {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.cso-tile-hours {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    white-space: nowrap;
}

/* Tile color variants */
.cso-tile-standard {
    background: rgba(48, 209, 88, 0.04);
}
.cso-tile-standard .cso-tile-code { color: #30d158; }
.cso-tile-standard:hover { border-color: rgba(48, 209, 88, 0.3); }

.cso-tile-strict {
    background: rgba(0, 113, 227, 0.04);
}
.cso-tile-strict .cso-tile-code { color: #0071e3; }
.cso-tile-strict:hover { border-color: rgba(0, 113, 227, 0.3); }

.cso-tile-restrictive {
    background: rgba(120, 75, 250, 0.04);
}
.cso-tile-restrictive .cso-tile-code { color: #784bfa; }
.cso-tile-restrictive:hover { border-color: rgba(120, 75, 250, 0.3); }

/* State detail popup */
.cso-tile-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
}

.cso-tile:hover .cso-tile-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cso-tile-popup-state {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cso-tile-popup-rule {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cso-tile-popup-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 980px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 6px;
}

.cso-tile-popup-badge-standard {
    background: rgba(48, 209, 88, 0.1);
    color: #1a8a3e;
}

.cso-tile-popup-badge-strict {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

.cso-tile-popup-badge-restrictive {
    background: rgba(120, 75, 250, 0.1);
    color: #784bfa;
}

/* Legend */
.cso-grid-legend {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cso-grid-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.cso-grid-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.cso-grid-legend-dot-green { background: #30d158; }
.cso-grid-legend-dot-blue { background: #0071e3; }
.cso-grid-legend-dot-purple { background: #784bfa; }

/* Grid counters */
.cso-grid-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
}

.cso-grid-counter-item {
    text-align: center;
}

.cso-grid-counter-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.cso-grid-counter-num.green { color: #30d158; }
.cso-grid-counter-num.accent { color: var(--accent); }
.cso-grid-counter-num.purple { color: #784bfa; }

.cso-grid-counter-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 4px;
}


/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 2 — Live Compliance Audit Trail
   ══════════════════════════════════════════════════ */
.cso-audit {
    text-align: center;
}

.cso-audit .headline-section { margin-bottom: 12px; }
.cso-audit .subhead { margin: 0 auto 56px; max-width: 540px; }

.cso-audit-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.cso-audit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.cso-audit-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cso-audit-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.cso-audit-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(48, 209, 88, 0.08);
    color: #30d158;
}

.cso-audit-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
    animation: csoLivePulse 2s ease-in-out infinite;
}

.cso-audit-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.cso-audit-items {
    max-height: 420px;
    overflow: hidden;
    position: relative;
}

.cso-audit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cso-audit-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cso-audit-item:last-child {
    border-bottom: none;
}

.cso-audit-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cso-audit-item-icon svg {
    width: 16px;
    height: 16px;
}

.cso-audit-item-icon-green {
    background: rgba(48, 209, 88, 0.1);
}
.cso-audit-item-icon-green svg {
    stroke: #30d158;
    fill: none;
    stroke-width: 2;
}

.cso-audit-item-icon-blue {
    background: rgba(0, 113, 227, 0.1);
}
.cso-audit-item-icon-blue svg {
    stroke: #0071e3;
    fill: none;
    stroke-width: 2;
}

.cso-audit-item-icon-purple {
    background: rgba(120, 75, 250, 0.1);
}
.cso-audit-item-icon-purple svg {
    stroke: #784bfa;
    fill: none;
    stroke-width: 2;
}

.cso-audit-item-icon-red {
    background: rgba(255, 69, 58, 0.1);
}
.cso-audit-item-icon-red svg {
    stroke: #ff453a;
    fill: none;
    stroke-width: 2;
}

.cso-audit-item-body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.cso-audit-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.cso-audit-item-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 3px;
    line-height: 1.4;
}

.cso-audit-item-time {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}

.cso-audit-item-result {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 980px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 6px;
}

.cso-audit-item-result-pass {
    background: rgba(48, 209, 88, 0.1);
    color: #1a8a3e;
}

.cso-audit-item-result-queued {
    background: rgba(120, 75, 250, 0.1);
    color: #784bfa;
}

.cso-audit-item-result-blocked {
    background: rgba(255, 69, 58, 0.1);
    color: #ff453a;
}

.cso-audit-item-result-honored {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

.cso-audit-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.cso-audit-counter-item {
    text-align: center;
}

.cso-audit-counter-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.cso-audit-counter-num.green { color: #30d158; }
.cso-audit-counter-num.accent { color: var(--accent); }
.cso-audit-counter-num.purple { color: #784bfa; }

.cso-audit-counter-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 4px;
}

/* ── Benefits Bento Grid ── */
.cso-benefits { text-align: center; }
.cso-benefits .headline-section { margin-bottom: 12px; }
.cso-benefits .subhead { margin: 0 auto 56px; max-width: 520px; }

.cso-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.cso-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
.cso-bento-grid .bento-card:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.cso-bento-grid .bento-card:nth-child(6) { grid-column: 2 / 4; }

.cso-bento-grid .bento-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cso-bento-grid .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.cso-bento-grid .bento-card-graphic svg {
    transition: transform 0.4s ease;
}

.cso-bento-grid .bento-card:hover .bento-card-graphic svg {
    transform: scale(1.05);
}

.cso-bento-grid .bento-card-graphic .pulse-ring {
    animation: csoIconPulse 3s ease-in-out infinite;
}

@keyframes csoIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* ── Related Use Cases ── */
.cso-related { text-align: center; }
.cso-related .headline-section { margin-bottom: 12px; }
.cso-related .subhead { margin: 0 auto 48px; max-width: 480px; }

.cso-related .feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cso-related .feature-card .ind-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
}

.cso-related .feature-card:hover .ind-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cso-related .ind-icon-graphic {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cso-related .ind-icon-graphic-blue  { background: rgba(0, 113, 227, 0.04); }
.cso-related .ind-icon-graphic-green { background: rgba(29, 185, 84, 0.04); }
.cso-related .ind-icon-graphic-purple { background: rgba(120, 75, 250, 0.04); }

.cso-related .feature-card:hover .ind-icon-graphic {
    transform: translateY(-4px);
}

.cso-related .ind-icon-graphic svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cso-related .feature-card:hover .ind-icon-graphic svg {
    transform: scale(1.08);
}

/* ── Device Morph Dashboard Section ───────────── */
.cso-device-morph {
    position: relative;
    height: 300vh;
    background: var(--bg-primary);
}

.cso-device-morph-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cso-device-frame {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 56vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.cso-device-frame .app-demo-titlebar {
    flex-shrink: 0;
}

.cso-device-frame .app-demo-body {
    flex: 1;
    height: auto;
}

.cso-device-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 110;
}

.cso-device-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 111;
    opacity: 0;
    transform: translateY(24px);
}

.cso-device-content .headline-section {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cso-device-content .subhead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
    .cso-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

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

    .cso-hero-text .hero-actions {
        justify-content: center;
    }

    .cso-hero-trust {
        justify-content: center;
    }

    .cso-badge { display: none; }

    .cso-phone { width: 250px; }

    .cso-device-frame {
        width: 90%;
    }

    .cso-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .cso-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
    .cso-bento-grid .bento-card:nth-child(2) { grid-column: 1; grid-row: auto; }
    .cso-bento-grid .bento-card:nth-child(6) { grid-column: 1 / 3; }

    .cso-grid-legend { flex-wrap: wrap; gap: 16px; }
    .cso-grid-counter { gap: 24px; }
    .cso-audit-counter { gap: 24px; }
    .cso-tiles { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
}

@media (max-width: 768px) {
    .cso-hero { padding: 140px 0 60px; }

    .cso-process,
    .cso-benefits,
    .cso-related,
    .cso-state-grid,
    .cso-audit { padding: 80px 0; }

    .cso-phone { width: 240px; border-radius: 36px; padding: 10px; }
    .cso-screen { border-radius: 28px; }
    .cso-chat { min-height: 200px; padding: 10px 10px; }
    .cso-msg { font-size: 12px; }

    .cso-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }

    .cso-device-morph { height: 250vh; }
    .cso-device-frame {
        width: 94%;
        height: 40vh;
    }
    .cso-device-frame .app-demo-sidebar { display: none; }
    .cso-device-frame .app-demo-body { grid-template-columns: 1fr; }
    .cso-device-content { padding: 24px; }
    .cso-device-content .headline-section { font-size: 28px; }
    .cso-device-content .subhead { font-size: 16px; }

    .cso-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }
    .cso-bento-grid .bento-card:nth-child(1),
    .cso-bento-grid .bento-card:nth-child(2),
    .cso-bento-grid .bento-card:nth-child(6) { grid-column: 1; grid-row: auto; }

    .cso-grid-body { padding: 20px 16px; }
    .cso-grid-counter { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
    .cso-grid-counter-num { font-size: 22px; }

    .cso-audit-item { padding: 12px 16px; gap: 10px; }
    .cso-audit-counter { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
    .cso-audit-counter-num { font-size: 20px; }

    .cso-tiles { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
    .cso-tile { padding: 8px 2px; }
    .cso-tile-code { font-size: 12px; }
    .cso-tile-hours { font-size: 8px; }
    .cso-tile-popup { display: none; }
}

@media (max-width: 480px) {
    .cso-audit-item-time { display: none; }
    .cso-audit-item-icon { width: 30px; height: 30px; border-radius: 8px; }
    .cso-audit-item-icon svg { width: 14px; height: 14px; }
}
