:root {
    --primary: #090a0b;
    --secondary: #52525b;
    --accent: #2563eb;
    --bg-white: #ffffff;
    --bg-offwhite: #f7f7f8;
    --border: #e4e4e7;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Space Mono', monospace;
    --spacing-section: 8rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-body);
    color: var(--primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Version Badge */
.version-badge {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: #999;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-code);
    font-size: 0.7rem;
    border-radius: 50%;
    z-index: 999;
    opacity: 0.7;
    pointer-events: none;
    font-weight: 600;
}

/* Navbar */
.navbar {
    padding: 0.72rem 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.navbar .container,
.hero .container {
    max-width: 1380px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.15rem;
    min-height: 3.1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: block;
    height: clamp(24px, 1.8vw, 34px);
    width: auto;
    max-width: min(48vw, 245px);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.15rem;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    margin-left: 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    border-color: var(--border);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
}

.nav-links .btn-sm {
    padding: 0.55rem 1rem;
}

.nav-toggle {
    display: none;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    cursor: pointer;
}

.nav-toggle-line {
    width: 1.05rem;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 10, 11, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 295;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 330px);
    height: 100vh;
    background: var(--bg-white);
    border-left: 1px solid var(--border);
    box-shadow: -14px 0 36px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.24s ease;
    z-index: 300;
    padding: 1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.mobile-nav-close {
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 6px;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.5rem 0.2rem;
}

.mobile-nav-links .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.35rem;
}

body.nav-open {
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-1px);
}

/* Utils */
.section {
    padding: var(--spacing-section) 0;
}

.bg-offwhite {
    background-color: var(--bg-offwhite);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-header p {
    color: var(--secondary);
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

/* Hero */
.hero {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 11rem; /* Space for the bottom stack strip */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 0;
}

.hero-text-block {
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.hero-demo-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0;
    position: relative;
    z-index: 10;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.demo-tab {
    background: #f4f4f5;
    border: 1px solid var(--border);
    border-bottom: 1px solid #fff;
    padding: 0.85rem 1.75rem;
    border-radius: 8px 8px 0 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    outline: none;
}

.demo-tab img {
    width: 18px;
    height: 18px;
    filter: grayscale(100%);
    opacity: 0.6;
}

.demo-tab:not(.active) {
    border-bottom-color: var(--border);
}

.demo-tab:hover:not(.active) {
    background: #e4e4e7;
}

.demo-tab.active {
    background: #fff;
    color: var(--primary);
    border-color: var(--border);
    border-bottom-color: #fff;
}

.demo-tab.active img {
    filter: none;
    opacity: 1;
}

.demo-window {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.demo-scene {
    animation: fadeIn 0.4s ease-in-out;
}

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

.hero h1 {
    font-size: 4.8rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: flex-start;
}

.hero-stack-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.stack-strip-subheading {
    display: none; /* Hide subheading to make strip truly flush and full-bleed as per prompt */
}

.stack-shell {
    width: 100%;
    padding: 1rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    margin: 0;
    display: block;
}

.stack-marquee {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.stack-marquee::before,
.stack-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 1;
    pointer-events: none;
}

.stack-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.stack-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.stack-marquee-inner {
    display: flex;
    width: max-content;
    animation: stack-scroll-right 34s linear infinite;
}

.stack-track {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    flex-shrink: 0;
}

.stack-item {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    padding: 0.75rem 1.55rem;
    background: transparent;
    white-space: nowrap;
}

.stack-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.92;
}

.stack-item span {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
    letter-spacing: 0.01em;
}

@keyframes stack-scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0%);
    }
}

/* Demo Section */
.overline {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-family: var(--font-code);
    color: var(--secondary);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.text-block h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.lead {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--secondary);
    line-height: 1.7;
}

.demo-heading-block {
    max-width: 760px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.demo-heading-block h2 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.demo-heading-block .lead {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.2rem;
}

.demo-wrapper-wide {
    max-width: 980px;
    margin: 0 auto;
}

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

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 0;
    position: relative;
    color: var(--primary);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 1rem;
}

/* HTML/CSS Chat UIs */
.demo-channel {
    width: 100%;
}

.caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--secondary);
    background: #fafafa;
    border-top: 1px solid var(--border);
    font-weight: 500;
}

/* Common UI settings */
.slack-ui, .teams-ui, .wa-ui {
    display: flex;
    height: 480px;
    background: #fff;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1c1d;
    text-align: left;
}

/* SLACK UI */
.slack-sidebar {
    width: 240px;
    background: #3F0E40;
    color: #cbabce;
    display: flex;
    flex-direction: column;
}

.slack-workspace-name {
    padding: 16px 20px;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.slack-workspace-name .chevron {
    font-size: 10px;
}

.slack-channels {
    padding: 16px 0;
}

.slack-channel-title {
    padding: 0 20px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
}

.slack-channel {
    padding: 6px 20px;
    font-size: 15px;
    cursor: pointer;
}

.slack-channel.active {
    background: #1164A3;
    color: #fff;
}

.slack-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.slack-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e2e2;
    font-weight: 900;
    font-size: 15px;
}

.slack-chat {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.slack-input-area {
    padding: 0 20px 20px;
}

.slack-input-box {
    border: 1px solid #868686;
    border-radius: 8px;
    padding: 12px 16px;
    color: #616061;
    font-size: 15px;
    background: #fff;
}

.slack-message {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.slack-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
}

.user-avatar { 
    background: #1164A3; 
}

.agent-avatar { 
    background: #090a0b; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-weight: bold; 
    font-family: var(--font-heading); 
    font-size: 20px;
}

.agent-avatar::after { 
    content: "G"; 
}

.slack-msg-header {
    margin-bottom: 6px;
    font-size: 15px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.slack-author {
    font-weight: 900;
    color: #1d1c1d;
}

.slack-time {
    font-size: 12px;
    color: #616061;
}

.slack-app-badge {
    font-size: 10px;
    font-family: var(--font-code);
    background: #e2e2e2;
    padding: 2px 5px;
    border-radius: 3px;
    color: #1d1c1d;
    font-weight: 700;
}

.slack-msg-text {
    font-size: 15px;
    line-height: 1.5;
}

.slack-msg-attachment {
    margin-top: 10px;
    border-left: 4px solid #e8e8e8;
    padding-left: 16px;
}

.slack-attachment-title {
    font-weight: 700;
    color: #1264a3;
    margin-bottom: 12px;
    font-size: 14px;
}

.slack-attachment-actions {
    display: flex;
    gap: 10px;
}

.slack-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
}

.approve-btn {
    background: #007a5a;
    color: #fff;
    border-color: #007a5a;
}

/* TEAMS UI */
.teams-sidebar {
    width: 240px;
    background: #ebebeb;
    color: #242424;
    display: flex;
    flex-direction: column;
}

.teams-workspace {
    padding: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #242424;
}

.teams-channels {
    padding: 0;
}

.teams-channel {
    padding: 8px 20px;
    font-size: 14px;
    color: #242424;
    cursor: pointer;
}

.teams-channel.active {
    background: #fff;
    font-weight: 600;
}

.teams-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

.teams-header {
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 18px;
}

.teams-chat {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.teams-message {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.teams-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.teams-msg-content {
    background: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    max-width: 80%;
}

.teams-author {
    font-weight: 600;
    color: #242424;
    font-size: 13px;
    margin-bottom: 4px;
}

.teams-time {
    color: #616161;
    font-weight: 400;
    font-size: 12px;
    margin-left: 6px;
}

.teams-text {
    font-size: 14px;
    line-height: 1.5;
}

.teams-card {
    margin-top: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
}

.teams-card-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.teams-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: #6264A7;
    color: #fff;
}

.teams-input-area {
    padding: 0 20px 20px;
    background: #f5f5f5;
}

.teams-input-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 16px;
    color: #616161;
    font-size: 14px;
}

/* WHATSAPP UI */
.wa-ui {
    background: #efeae2;
    flex-direction: column;
}

.wa-header {
    background: #075E54;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.wa-title {
    font-weight: 600;
    font-size: 16px;
}

.wa-chat {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wa-message {
    display: flex;
    margin-bottom: 16px;
    width: 100%;
}

.wa-message.user-msg {
    justify-content: flex-end;
}

.wa-bubble {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.4;
    max-width: 75%;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

.user-msg .wa-bubble {
    background: #dcf8c6;
}

.agent-msg .wa-bubble, .agent-reply-msg .wa-bubble {
    background: #fff;
}

.wa-actions {
    margin-top: 8px;
}

.wa-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: #075E54;
    color: #fff;
    width: 100%;
}

.wa-input-area {
    padding: 10px;
    background: #f0f0f0;
}

.wa-input-box {
    background: #fff;
    border-radius: 20px;
    padding: 12px 16px;
    color: #888;
    font-size: 15px;
}

/* Animations */
.user-msg, .agent-msg, .agent-reply-msg, .approve-btn {
    opacity: 0;
}

.scene-active .user-msg {
    animation: popInMessage 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.5s;
}
.scene-active .agent-msg {
    animation: popInMessage 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 2.5s;
}
.scene-active .approve-btn {
    animation: clickButton 0.5s ease forwards;
    animation-delay: 4.5s;
}
.scene-active .agent-reply-msg {
    animation: popInMessage 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 5.5s;
}

@keyframes popInMessage {
    0% { opacity: 0; transform: translateY(15px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes clickButton {
    0% { transform: scale(1); }
    40% { transform: scale(0.92); filter: brightness(0.9); }
    100% { transform: scale(1); background-color: #f4f4f4; color: #666; border-color: #ddd; }
}

.user-msg { }
.agent-msg { }
.agent-reply-msg { }
.approve-btn { }

/* Compliance Cards */
.card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    text-align: left;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: #d4d4d8;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Engagement / Process */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.step-item {
    padding: 2.35rem 1.5rem 2.2rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2.5rem;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.step-number {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 1;
}

.step-item h3 {
    font-size: 1.28rem;
    margin-bottom: 0.85rem;
}

.step-item p {
    color: var(--secondary);
    font-size: 0.96rem;
    line-height: 1.7;
}

.pricing-cue {
    text-align: center;
    margin-top: 4rem;
    padding: 1.5rem 2.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pricing-cue p {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Case Studies */
.case-card {
    padding: 3.5rem 2.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: transform 0.2s;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    border-color: #000;
}

.case-meta {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-family: var(--font-code);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.case-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Integrations */
.logos-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    opacity: 0.5;
    filter: grayscale(100%);
}

.logo-pill {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

/* CTA */
.cta-box {
    background: var(--primary);
    color: var(--bg-white);
    padding: 7rem 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: var(--bg-white);
    font-size: 4.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.cta-box p {
    color: #a1a1aa;
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    font-family: var(--font-body);
}

.cta-box .btn-primary {
    background: var(--bg-white);
    color: var(--primary);
    padding: 1.1rem 3rem;
    font-size: 1rem;
}

.cta-box .btn-primary:hover {
    background: #f0f0f0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.copyright {
    color: var(--secondary);
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 1.05rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-logo {
        max-width: 220px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .navbar { position: sticky; top: 0; padding: 0.55rem 0; }
    .nav-container { flex-wrap: nowrap; align-items: center; }
    .nav-logo { height: clamp(22px, 5.3vw, 28px); max-width: 188px; }
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-text-block { text-align: center; margin: 0 auto; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-demo-wrapper { margin: 0 auto; width: 100%; max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
    .demo-window { width: 100%; box-sizing: border-box; }
    .hero h1 { font-size: 3.5rem; }
    .hero-sub { font-size: 1.15rem; }
    .grid-2, .grid-3, .steps-grid { grid-template-columns: 1fr; gap: 4rem; }
    .steps-grid { border-top: none; }
    .step-item { border-top: 1px solid var(--border); padding: 2rem 0; }
    .step-item::after { display: none; }
    .hero { height: auto; min-height: 100vh; padding: 4.4rem 0 8rem 0; }
    .hero-content { min-height: auto; padding-top: 1.8rem; padding-bottom: 2rem; }
    .cta-box h2 { font-size: 3rem; }
    
    .demo-heading-block h2 { font-size: 2.35rem; }
    .demo-heading-block .lead { font-size: 1.02rem; }
    
    .stack-strip-subheading { font-size: 0.7rem; }
    .stack-shell { padding: 1.05rem 0; }
    .stack-marquee::before,
    .stack-marquee::after { width: 45px; }
    .stack-track { gap: 0; padding: 0; }
    .stack-item { padding: 0.45rem 0.95rem; gap: 0.35rem; }
    .stack-item img { width: 14px; height: 14px; }
    .stack-item span { font-size: 0.72rem; }
    
    .slack-sidebar, .teams-sidebar { display: none; }
    .slack-ui, .teams-ui, .wa-ui { height: auto; min-height: 400px; box-sizing: border-box; }
    .slack-chat, .teams-chat, .wa-chat { padding: 15px; box-sizing: border-box; }
    .demo-tabs { flex-wrap: wrap; justify-content: flex-start; margin-left: 1rem; margin-right: 1rem; }
    .demo-tab { flex: 1; justify-content: center; padding: 0.75rem 0.5rem; font-size: 0.85rem; }
}

@media (max-width: 600px) {
    .container { padding: 0 0.95rem; }
    .nav-logo { height: clamp(20px, 6.5vw, 26px); max-width: 172px; }
    .nav-toggle { width: 2.15rem; height: 2.15rem; }
    .mobile-nav-drawer { width: min(88vw, 300px); }
    .hero h1 { font-size: 2.85rem; line-height: 1.1; }
    .hero { min-height: auto; padding-top: 4.1rem; padding-bottom: 8rem; }
    .hero-sub { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-content { min-height: auto; padding-top: 1.4rem; padding-bottom: 0; }
    .demo-heading-block h2 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2.5rem; }
    .cta-box { padding: 5rem 1.5rem; }
    .demo-tabs { margin-left: 0; margin-right: 0; }
    
    /* Ensure chat contents do not overflow horizontally */
    .slack-msg-content, .teams-msg-content { max-width: calc(100vw - 100px); word-break: break-word; }
    .slack-attachment-actions { flex-wrap: wrap; gap: 8px; }
    .slack-btn { width: 100%; text-align: center; }
    .wa-bubble { max-width: 85%; word-break: break-word; }
    .teams-card-actions .teams-btn { width: 100%; }
}
