/* ============================================
   NINJA AI - Standalone CSS
   Refactored from React inline styles
   ============================================ */

/* === CSS RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    line-height: inherit;
    overflow-x: hidden;
}

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

button {
    font: inherit;
    color: inherit;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
}

input {
    font: inherit;
    color: inherit;
    background-color: transparent;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* === CSS VARIABLES === */
:root {
    --color-dark-green: #0e220e;
    --color-green: #235524;
    --color-bright-green: #47C163;
    --color-bright-green-hover: #3da856;
    --color-yellow: #f6d045;
    --color-yellow-hover: #ead64d;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-100: #f9f9f9;
    --color-gray-200: #f5f5f5;
    --color-gray-border: #e5e7e5;
    --color-text-primary: #0e220e;
    --color-text-secondary: rgba(14, 34, 14, 0.7);
    --color-text-tertiary: rgba(14, 34, 14, 0.6);
    
    --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 40px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* === LAYOUT === */
.page-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-sans);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.container-lg {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* === FIXED FRAME (WHITE BORDER) === */
.fixed-frame {
    position: fixed;
    inset: 0;
    border: 12px solid white;
    pointer-events: none;
    z-index: 9999;
}

/* === STICKY BOTTOM BAR === */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(100%);
    opacity: 0;
}

.sticky-bottom-bar.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-bottom-bar-inner {
    background: white;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom: none;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    pointer-events: auto;
    margin-bottom: 12px;
}

.inverted-corner-left-bottom {
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 5px 5px 0 0 white;
    z-index: 1;
}

.inverted-corner-right-bottom {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-bottom-left-radius: 20px;
    box-shadow: -5px 5px 0 0 white;
    z-index: 1;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 12px;
    z-index: 100;
    pointer-events: none;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0 0 32px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    padding: 16px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    position: relative;
    pointer-events: auto;
}

.inverted-corner-left-top {
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    box-shadow: 5px -5px 0 0 white;
    z-index: 1;
}

.inverted-corner-right-top {
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -5px -5px 0 0 white;
    z-index: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: flex-start;
}

.nav-link {
    color: var(--color-dark-green);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-normal);
}

.btn-text {
    color: var(--color-dark-green);
    font-size: 15px;
    padding: 8px 16px;
    background: none;
}

.btn-text:hover {
    opacity: 0.7;
}

.btn-primary {
    background-color: var(--color-bright-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--color-bright-green-hover);
}

.btn-yellow {
    background-color: var(--color-yellow);
    color: var(--color-dark-green);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-yellow:hover {
    background-color: var(--color-yellow-hover);
}

.btn-dark {
    background-color: var(--color-dark-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-dark:hover {
    background-color: #1a3a1a;
}

.btn-large {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-dark {
    background-color: rgba(0,0,0,0.1);
}

/* === HERO SECTION === */
.hero-wrapper {
    width: 100%;
    background-color: white;
    padding: 12px;
}

.hero-section {
    width: 100%;
    padding-bottom: 100px;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: var(--radius-3xl);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-content {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 56px;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-title {
    color: var(--color-dark-green);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 600;
    margin: 0;
}

.hero-subtitle {
    color: rgba(14, 34, 14, 0.8);
    font-size: 21px;
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-ghost {
    color: var(--color-text-tertiary);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    background: none;
    border: none;
}

.btn-ghost:hover {
    color: var(--color-dark-green);
}

/* === HERO WIDGET === */
.hero-widget-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 16px;
    position: relative;
}

.hero-widget-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(to bottom, #e5e5e5, transparent);
    border-radius: 20px;
    opacity: 0.5;
    filter: blur(4px);
    z-index: 0;
}

.hero-widget {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* === EXPERT QA WIDGET === */
.expert-widget {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all var(--transition-normal);
    width: 100%;
    max-width: 100%;
    font-family: var(--font-sans);
}

.expert-widget.is-active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.expert-widget-showroom {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background-color: #f8faf8;
    transition: all var(--transition-normal);
    border-bottom: none;
}

.expert-widget.is-active .expert-widget-showroom {
    max-height: 60px;
    opacity: 1;
    border-bottom: 1px solid #e8efe8;
}

.expert-widget-showroom-inner {
    padding: 12px 16px;
}

.showroom-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #e8efe8;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-green);
}

.showroom-btn-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.expert-widget-header {
    display: flex;
    gap: 16px;
    padding: 16px;
    padding-bottom: 0;
}

.expert-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.expert-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.expert-status {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
}

.expert-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.expert-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.expert-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.expert-badge {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 100px;
}

.expert-helper {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.expert-helper-highlight {
    font-weight: 500;
    color: #1a1a1a;
}

.expert-conversation-controls {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.expert-control-btn {
    padding: 4px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.expert-control-btn.active {
    background: #f5f5f5;
}

/* Conversation Area */
.expert-conversation {
    min-height: 120px;
    max-height: 200px;
    padding: 16px;
    overflow-y: auto;
    display: none;
}

.expert-conversation.visible {
    display: block;
}

.expert-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expert-message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.expert-message.user {
    align-items: flex-end;
    align-self: flex-end;
}

.expert-message.ai {
    align-items: flex-start;
    align-self: flex-start;
}

.expert-message-bubble {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 12px 12px 12px 2px;
}

.expert-message.user .expert-message-bubble {
    background-color: #f5f5f5;
    color: #1a1a1a;
    border-radius: 12px 12px 2px 12px;
    border: 1px solid #e5e5e5;
}

.expert-message.ai .expert-message-bubble {
    background-color: #1a1a1a;
    color: #fff;
}

/* Content Area (Marquee / List) */
.expert-content {
    padding: 12px 0;
    min-height: 60px;
}

.expert-content.hidden {
    display: none;
}

.expert-marquee-wrapper {
    position: relative;
    overflow: hidden;
    height: 40px;
}

.expert-marquee-track {
    display: flex;
    gap: 8px;
    padding-left: 16px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.expert-question-btn {
    white-space: nowrap;
    border: 1px solid #e5e5e5;
    background-color: #fafafa;
    color: #666;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
}

.expert-question-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

.expert-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px;
}

.expert-list-wrapper.hidden {
    display: none;
}

.expert-list-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.expert-list-btn:hover {
    background-color: #f0f0f0;
}

.expert-list-btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.expert-list-btn-arrow {
    flex-shrink: 0;
    margin-left: 8px;
}

/* Floating suggestions in conversation mode */
.expert-floating-suggestions {
    padding: 0 16px;
    padding-bottom: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.expert-floating-suggestions.hidden {
    display: none;
}

.expert-floating-btn {
    white-space: nowrap;
    border: 1px solid #e5e5e5;
    background-color: #fafafa;
    color: #666;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
}

/* Input Footer */
.expert-input-container {
    padding: 16px;
    padding-top: 8px;
}

.expert-input-wrapper {
    display: flex;
    align-items: center;
    padding-left: 12px;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    transition: all var(--transition-fast);
    position: relative;
}

.expert-input-wrapper.focused {
    background-color: #fff;
    border-color: #ccc;
    box-shadow: 0 0 0 0.5px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.08);
}

.expert-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    padding-right: 40px;
    font-size: 14px;
    outline: none;
    color: #1a1a1a;
}

.expert-input::placeholder {
    color: #999;
}

.expert-send-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.expert-send-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.expert-disclaimer {
    text-align: center;
    padding-bottom: 12px;
}

.expert-disclaimer p {
    font-size: 10px;
    color: #999;
    margin: 0;
}

/* === CASE STUDY SECTION === */
.case-study-section {
    width: auto;
    margin: 0 12px; /* Match hero-wrapper padding of 12px */
    background-color: #ecf0eb;
    padding: 96px 48px;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-3xl); /* Rounded corners everywhere */
}

.case-study-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 64px;
    align-items: center;
}

.ninja-card {
    width: 400px;
    max-width: 100%;
    height: 520px;
    flex-shrink: 0;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background-color: white;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}

.ninja-card-image {
    position: absolute;
    inset: 0;
}

.ninja-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.ninja-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}

.ninja-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    padding-bottom: 48px;
}

.ninja-card-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 16px;
    font-weight: 500;
}

.ninja-card-text {
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* Case Study Content */
.case-study-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    gap: 48px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.case-study-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-study-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-full);
    width: fit-content;
    backdrop-filter: blur(4px);
}

.case-study-badge span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-quote {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--color-dark-green);
    font-weight: 500;
    margin: 0;
}

.case-study-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-study-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e5e5;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.case-study-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-author-name {
    font-weight: 700;
    color: var(--color-dark-green);
    font-size: 18px;
}

.case-study-author-title {
    font-size: 15px;
    color: var(--color-text-tertiary);
}

.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(14,34,14,0.1);
}

.case-study-stats {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--color-dark-green);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-label {
    font-size: 15px;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-see-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-bright-green);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(71, 193, 99, 0.3);
    transition: all var(--transition-normal);
    width: fit-content;
    margin-top: 8px;
}

.btn-see-live:hover {
    background-color: var(--color-bright-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 193, 99, 0.4);
}

/* Screenshot Container */
.screenshot-container {
    flex: 0 0 auto;
    max-width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
    position: relative;
    display: inline-block;
}

.screenshot-container img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 600px;
}

.screenshot-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: rgba(14,34,14,0.5);
    font-size: 14px;
    text-align: center;
    padding: 80px 40px;
    min-width: 300px;
    min-height: 200px;
}

/* === VALUE PROPOSITIONS === */
.value-props-section {
    width: 100%;
    padding: 128px 16px;
}

.value-props-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.8px;
    color: var(--color-dark-green);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 500;
}

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

.value-prop-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    background-color: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-border);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.value-prop-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-green);
}

.value-prop-icon.yellow {
    background-color: #fcf2cb;
}

.value-prop-icon.teal {
    background-color: #bfe7e6;
}

.value-prop-icon.green {
    background-color: #cbeed3;
}

.value-prop-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark-green);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.value-prop-text {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* === HOW IT WORKS SECTION === */
.how-it-works-section {
    width: 100%;
    background-color: #ffffff;
    padding: 120px 16px;
    border-top: 1px solid var(--color-gray-border);
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-it-works-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 500;
    color: var(--color-dark-green);
    margin-bottom: 24px;
}

.how-it-works-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
}

.bento-card {
    background-color: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    padding: 48px;
    border: 1px solid var(--color-gray-border);
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow: hidden;
    position: relative;
}

.bento-card-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 100px;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 0.8;
    pointer-events: none;
}

.bento-card-1 {
    grid-column: 1;
    grid-row: 1;
}

.bento-card-2 {
    grid-column: 2 / 4;
    grid-row: 1;
}

.bento-card-3 {
    grid-column: 1 / 3;
    grid-row: 2;
}

.bento-card-4 {
    grid-column: 3;
    grid-row: 2;
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.bento-step-number {
    background-color: var(--color-dark-green);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.bento-card-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-dark-green);
    letter-spacing: -0.5px;
}

.bento-card-text {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-frame {
    background-color: #f8f8f8;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d0d0d0;
}

.browser-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #ffffff;
}

.browser-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.browser-logo-placeholder {
    width: 90px;
    height: 18px;
    background-color: #e0e0e0;
    border-radius: 3px;
}

.browser-nav-links {
    display: flex;
    gap: 8px;
}

.browser-nav-link {
    width: 40px;
    height: 16px;
    background-color: #e0e0e0;
    border-radius: 8px;
}

.browser-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.browser-image-placeholder {
    width: 150px;
    height: 150px;
    background-color: #e0e0e0;
    border-radius: 6px;
    flex-shrink: 0;
}

.browser-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.browser-text-line {
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 2px;
}

.browser-text-line.w-100 { width: 100%; }
.browser-text-line.w-75 { width: 75%; }
.browser-text-line.w-85 { width: 85%; }
.browser-text-line.w-55 { width: 55%; }
.browser-text-line.w-65 { width: 65%; }

.browser-cart-btn {
    background-color: #ffffff;
    color: #666666;
    border: 1px solid #d0d0d0;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin-top: 8px;
    width: fit-content;
}

.browser-separator {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-top: 4px;
    margin-bottom: 8px;
}

.script-highlight {
    position: relative;
    margin-top: 0;
}

.script-bar {
    background-color: #34c759;
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    overflow: visible;
}

.script-cursor {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg) scaleX(-1);
    z-index: 10;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}

.script-code {
    font-size: 11px;
    color: #ffffff;
    font-family: monospace;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.3;
}

/* Training Modal Mockup */
.training-modal {
    width: 100%;
    background-color: #1a1a1a;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.training-modal-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.training-modal-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    margin-top: 8px;
    line-height: 1.5;
}

.training-dropzone {
    width: 100%;
    min-height: 200px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    background-color: rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 24px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.training-dropzone:hover {
    border-color: rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.04);
}

.training-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.training-icon-separator {
    width: 2px;
    height: 24px;
    background-color: rgba(255,255,255,0.2);
}

.training-dropzone p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    text-align: center;
}

.training-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.training-btn-cancel {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.training-btn-cancel:hover {
    background-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.training-btn-create {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.training-btn-create:hover {
    background-color: rgba(255,255,255,0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Iframe Container */
.iframe-container {
    width: 100%;
    height: 600px;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Session Details Card */
.session-card {
    width: 100%;
    background-color: #282828;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2px;
}

.session-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.session-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.session-badge-converted {
    background-color: #34c759;
    color: #ffffff;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.session-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 2px;
}

.session-meta-item {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.session-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-top: 2px;
    margin-bottom: -2px;
}

.session-tab {
    padding: 8px 16px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background-color: transparent;
    color: rgba(255,255,255,0.6);
}

.session-tab.active {
    background-color: #ffffff;
    color: #282828;
    border-radius: 8px 8px 0 0;
    margin-bottom: -1px;
}

.session-transcript {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.session-message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-message.customer {
    align-items: flex-end;
    width: 100%;
}

.session-message.agent {
    align-items: flex-start;
    width: 100%;
}

.session-message-bubble {
    padding: 10px 14px;
    max-width: 85%;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.session-message.customer .session-message-bubble {
    background-color: #ffffff;
    color: #282828;
    border-radius: 12px 12px 4px 12px;
}

.session-message.agent .session-message-bubble {
    background-color: #3a3a3c;
    color: #ffffff;
    border-radius: 12px 12px 12px 4px;
}

.session-message-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.session-message-time {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.session-vote-buttons {
    display: flex;
    gap: 1px;
    align-items: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 2px;
}

.session-vote-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.session-vote-btn:hover {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
}

/* === FOUNDERS SECTION === */
.founders-section {
    width: 100%;
    padding: 100px 16px;
    background-color: #ffffff;
}

.founders-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.founders-badge {
    display: inline-block;
    background-color: var(--color-gray-100);
    color: var(--color-dark-green);
    border: 1px solid var(--color-gray-border);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.founders-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 500;
    color: var(--color-dark-green);
    margin-bottom: 32px;
}

.founders-profiles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.founder-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f0f0f0;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark-green);
    letter-spacing: -0.3px;
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
    max-width: 1000px;
    margin: 0 auto 56px auto;
    width: 100%;
}

.credential-card {
    background-color: var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--color-gray-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.credential-card.full-width {
    grid-column: 1 / -1;
    padding: 40px;
    gap: 16px;
}

.credential-card.tall {
    min-height: 320px;
    gap: 40px;
}

.credential-label {
    font-size: 16px;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credential-label-sm {
    font-size: 14px;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credential-value {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-dark-green);
    line-height: 1;
    letter-spacing: -2px;
}

.credential-text {
    font-size: 20px;
    color: var(--color-dark-green);
    font-weight: 500;
}

.credential-text-sm {
    font-size: 18px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.credential-logo {
    height: 48px;
    object-fit: contain;
    margin: 8px 0;
}

.credential-logo-sm {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.credential-logo-lg {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.credential-companies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    align-items: start;
}

.credential-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.credential-company-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(180deg, #0e220e 0%, rgba(14,34,14,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === FAQ SECTION === */
.faq-section {
    width: 100%;
    background-color: var(--color-gray-100);
    padding: 128px 16px;
}

.faq-title {
    font-size: 42px;
    font-weight: 500;
    color: var(--color-dark-green);
    margin-bottom: 64px;
    text-align: center;
    letter-spacing: -1.5px;
}

.faq-container {
    background-color: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-border);
    padding: 8px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-border);
}

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

.accordion-trigger {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.accordion-question {
    font-weight: 500;
    font-size: 18px;
    color: var(--color-dark-green);
    padding-right: 32px;
}

.accordion-icon {
    transition: transform var(--transition-slow);
    flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    padding-bottom: 0;
}

.accordion-item.open .accordion-content {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 24px;
}

.accordion-answer {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
}

/* === FOOTER === */
.footer {
    width: 100%;
    background-color: #ffffff;
    padding: 60px;
    margin-top: auto;
}

.footer-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background-color: var(--color-green);
    color: white;
    padding: 60px;
    border-radius: var(--radius-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.footer-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 40px;
}

.footer-form {
    background-color: white;
    padding: 8px;
    padding-left: 8px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 128px;
}

.footer-form-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    flex: 1;
    min-width: 200px;
}

.footer-form-icon {
    flex-shrink: 0;
}

.footer-form-input {
    border: none;
    outline: none;
    color: var(--color-dark-green);
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
    background: transparent;
}

.footer-form-input::placeholder {
    color: #a7bba7;
}

.footer-form-btn {
    background-color: var(--color-yellow);
    color: var(--color-dark-green);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.footer-form-btn-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 80px;
    gap: 40px;
}

.footer-logo {
    width: 300px;
    max-width: 100%;
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-nav-title {
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.footer-nav-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    width: 100%;
    margin-top: 96px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* === UTILITY CLASSES === */
.hidden {
    display: none !important;
}

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

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    /* --- Tablet & Small Desktop --- */
    
    /* Navbar: Hide links, keep logo & buttons */
    .nav-links {
        display: none;
    }
    
    .navbar-inner {
        padding: 12px 20px;
        grid-template-columns: auto 1fr; /* Logo left, buttons right */
        display: flex;
        justify-content: space-between;
    }
    
    .nav-logo {
        justify-content: flex-start;
    }

    /* Hero: Adjust padding and font sizes */
    .hero-title {
        font-size: 56px;
    }
    
    /* Bento Grid: Switch to 2 Columns */
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* 
       Tablet Layout:
       Row 1: Card 1 (Left), Card 2 (Right)
       Row 2: Card 3 (Left), Card 4 (Right)
    */
    .bento-card-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .bento-card-2 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .bento-card-3 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .bento-card-4 {
        grid-column: 2;
        grid-row: 2;
    }
    
    /* Case Study: Stack vertically if needed or tighten */
    .case-study-inner {
        gap: 40px;
    }
    
    .ninja-card {
        width: 100%;
        max-width: 400px; /* Keep max width */
    }
}

@media (max-width: 768px) {
    /* --- Mobile --- */

    /* Global Layout */
    .page-wrapper {
        overflow-x: hidden;
    }

    .container, .container-sm, .container-lg, .hero-inner, .case-study-inner, .founders-inner, .footer-inner {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    
    /* Navbar - Mobile Redesign */
    .navbar {
        position: fixed !important; /* Fixed header on mobile */
        top: 0;
        left: 0;
        right: 0;
        padding: 16px 20px; /* More breathing room: top/bottom and sides */
        width: 100%;
        background: transparent; /* Transparent - only the pill is visible */
        z-index: 1000;
        pointer-events: none; /* Allow clicks through transparent area */
    }

    .navbar-inner {
        padding: 12px 20px;
        border-radius: 100px;
        grid-template-columns: auto auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,0,0,0.06);
        max-width: none;
        margin: 0;
        background: white; /* White pill background */
        pointer-events: auto; /* Re-enable clicks on the pill itself */
    }

    .nav-logo img {
        height: 22px;
    }
    
    .nav-buttons {
        gap: 0;
    }
    
    .nav-buttons .btn-text {
        display: none !important; /* Remove Sign in button */
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
        height: 36px;
        white-space: nowrap;
    }

    .inverted-corner-left-top, .inverted-corner-right-top {
        display: none; /* Hide desktop corners */
    }

    /* Hero Section */
    .hero-wrapper {
        padding: 8px;
        padding-top: 100px; /* More space below floating header */
    }

    .hero-section {
        padding-bottom: 60px;
        border-radius: 32px;
        background-position: center top;
        padding-top: 40px;
    }
    
    .hero-content {
        padding-top: 0;
    }
    
    .hero-inner {
        gap: 32px;
    }
    
    .hero-title {
        font-size: 32px; /* Significantly smaller for mobile */
        letter-spacing: -1px;
        padding: 0 8px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 0 16px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 24px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Widget */
    .hero-widget-container {
        margin-top: 24px;
        padding: 0 8px;
    }

    /* Case Study - Card Style on Mobile */
    .case-study-section {
        padding: 40px 20px;
        margin: 8px;
        width: auto; /* Allow margin to take effect */
        border-radius: 32px; /* Match hero rounded aesthetic */
        border: none; /* Remove full-width borders */
    }

    .case-study-inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .ninja-card {
        transform: none; /* Remove rotation */
        height: 320px; /* Restrict height */
        width: 100%;
        border-radius: 24px;
    }
    
    .ninja-card-title {
        font-size: 36px;
    }
    
    .case-study-content {
        width: 100%;
        gap: 32px;
    }
    
    .case-study-text {
        gap: 32px;
        padding: 0 8px; /* Add internal breathing room */
    }
    
    .case-study-quote {
        font-size: 22px;
        line-height: 1.4;
    }
    
    .case-study-stats {
        gap: 32px;
        justify-content: flex-start;
    }
    
    .stat-value {
        font-size: 42px;
    }
    
    .screenshot-container {
        border-radius: 24px;
    }

    /* Value Props */
    .value-props-section {
        padding: 60px 16px;
    }
    
    .value-props-title {
        font-size: 32px;
        margin-bottom: 40px;
        padding: 0 16px;
    }
    
    .value-props-grid {
        grid-template-columns: 1fr; /* Force 1 column */
        gap: 16px;
        padding: 0 8px;
    }
    
    .value-prop-card {
        padding: 32px;
        border-radius: 24px;
    }

    /* How It Works (Bento) - 1 Column Stack */
    .how-it-works-section {
        padding: 60px 16px;
    }
    
    .how-it-works-title {
        font-size: 32px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-card {
        padding: 32px 24px;
        min-height: auto;
        gap: 24px;
        border-radius: 24px;
        overflow: visible; /* Allow number to show fully */
    }
    
    /* Reset grid positions for mobile stack */
    .bento-card-1, .bento-card-2, .bento-card-3, .bento-card-4 {
        grid-column: 1;
        grid-row: auto;
    }
    
    .bento-card-number {
        font-size: 56px; /* Slightly smaller for mobile */
        top: 16px;
        right: 16px;
        line-height: 1; /* Ensure full number height is calculated */
    }

    /* Founders */
    .founders-section {
        padding: 60px 16px;
    }
    
    .founders-title {
        font-size: 32px;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .credential-card {
        padding: 24px;
        border-radius: 24px;
    }
    
    .credential-card.tall {
        min-height: auto;
        padding: 32px;
    }
    
    .credential-companies {
        grid-template-columns: 1fr 1fr; /* Keep 2 columns for logos even on mobile */
    }

    /* FAQ */
    .faq-section {
        padding: 60px 16px;
    }
    
    .faq-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .faq-container {
        padding: 0 16px;
        border-radius: 24px;
    }
    
    .accordion-trigger {
        padding: 20px 0;
    }
    
    .accordion-question {
        font-size: 16px;
        padding-right: 16px;
    }

    /* Footer */
    .footer {
        padding: 8px;
        padding-bottom: 100px; /* Space for sticky bar */
    }
    
    .footer-inner {
        padding: 40px 20px;
        border-radius: 32px;
    }
    
    .footer-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .footer-form {
        flex-direction: column;
        padding: 8px;
        border-radius: 20px;
    }
    
    .footer-form-input-wrapper {
        width: 100%;
        padding: 12px;
    }
    
    .footer-form-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 48px;
        margin-top: 48px;
    }
    
    .footer-nav {
        flex-direction: column;
        justify-content: center;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-top: 60px;
    }
    
    /* Utility */
    .hidden-mobile {
        display: none;
    }
}

/* Fix for iframe height on mobile */
@media (max-width: 768px) {
    .iframe-container {
        height: 620px; /* Taller to show full cart content */
    }
    
    /* Bento card 3 (Sell) needs extra breathing room */
    .bento-card-3 {
        padding-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .iframe-container {
        height: 580px;
    }
}

