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

/* Use CSS Custom Properties for consistent spacing and responsive design */
:root {
    --container-max-width: min(1200px, 90vw);
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    /* Refined Typography Scale - Apple/Linear inspired */
    --font-size-hero: clamp(2.75rem, 6vw, 4.25rem);
    --font-size-h2: clamp(1.875rem, 4vw, 2.75rem);
    --font-size-h3: clamp(1.375rem, 2.8vw, 1.875rem);
    --font-size-body-large: clamp(1.125rem, 2vw, 1.25rem);
    --font-size-body: clamp(1rem, 1.8vw, 1.125rem);
    --font-size-small: clamp(0.875rem, 1.5vw, 1rem);
    --font-size-nav: clamp(0.9rem, 1.6vw, 1rem);
    
    /* Refined font weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    --section-spacing: clamp(3rem, 8vw, 6rem);
    
    /* Better line heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
}

body {
    margin: 0;
    padding: 0;
    padding-bottom: 120px; /* Add space for fixed footer */
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: var(--line-height-normal);
    color: #121212;
    background-color: #FFFFFF;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    letter-spacing: -0.01em; /* Subtle letter spacing for better readability */
}

a {
    color: #00AB6C;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: #008B57;
}

nav {
    background-color: #ffffff;
    border-bottom: 1px solid #DBDBDB;
    position: relative;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1.5rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

nav::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 25%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent);
    z-index: 1;
}

/* Add third decorative line */
.nav-left::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: 25%;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), transparent);
    z-index: 1;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #121212;
}

.nav-right {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
}

.nav-link {
    color: #121212;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-link:hover {
    color: #767676;
}

.nav-cta {
    background-color: #00AB6C;
    color: white !important;
    padding: 0.625rem 1.25rem !important;
    border: 1px solid #00AB6C;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-decoration: none;
}

.nav-cta:hover {
    background-color: #008B57;
    border-color: #008B57;
    color: white !important;
    transform: none;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: var(--section-spacing) auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.container {
    max-width: var(--container-max-width);
    margin: var(--section-spacing) auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: #121212;
}

.subtitle {
    font-size: 1.25rem;
    color: #767676;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.primary-button {
    background-color: #00AB6C;
    color: white;
    border: 1px solid #00AB6C;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body);
    letter-spacing: -0.01em;
    border-radius: 4px;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.25rem, 3vw, 1.5rem);
    text-decoration: none;
}

.primary-button:hover {
    background-color: #008B57;
    border-color: #008B57;
    color: white;
    transform: none;
}

.secondary-button {
    background-color: transparent;
    color: #1a1a1a;
    border: none;
}

.secondary-button:hover {
    background-color: #f5f5f5;
}

.no-credit {
    font-size: 0.6rem;
    color: #666;
    margin-top: 0.5rem;
}

.preview-section {
    padding: 2rem 0 4rem;
    background-color: #EDEDED;
}

.preview-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.preview-card {
    background: white;
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin: 0 auto;
    min-height: 500px;
    height: clamp(500px, 50vw, 800px);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.02) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.03) 100%
    );
    pointer-events: none;
    z-index: 5;
}

.preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.slack-status {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.slack-status svg {
    color: rgba(255, 255, 255, 0.9);
    width: 16px;
    height: 16px;
}

.slack-text {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 6px;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00AB6C;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 171, 108, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 171, 108, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 171, 108, 0);
    }
}

.main-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.sound-wave {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-bottom: 10px;
    z-index: 20;
}

.bar {
    width: 4px;
    height: 100%;
    background-color: #333;
    margin: 0 2px;
    animation: bounce 1s infinite ease-in-out;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

.slack-message {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    max-width: 90%;
    width: 360px;
    transition: all 0.3s ease;
}

.slack-message:first-of-type {
    top: 50%;
    transform: translate(-50%, -50%);
}

.slack-message.response {
    top: calc(50% + 70px);
    opacity: 0;
    transform: translate(-50%, 20px);
}

.slack-message.response.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 4px;
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

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

.username {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.timestamp {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.message-content {
    padding: 0 12px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-align: left;
}

.mic-button {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
    z-index: 20;
}

.mic-button svg {
    width: 18px;
    height: 18px;
    color: rgba(0, 0, 0, 0.7);
}

.mic-button.recording {
    width: 140px;
    border-radius: 20px;
    background: rgba(0, 171, 108, 0.9);
    backdrop-filter: blur(4px);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.mic-button.recording svg {
    display: none;
}

.main-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #4158D0, #C850C0, #FFCC70);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
    margin-bottom: 24px;
}

.site-footer {
    background-color: #EDEDED;
    border-top: 1px solid #DBDBDB;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #767676;
}

.footer-left {
    font-weight: var(--font-weight-medium);
    color: #121212;
}

.footer-left a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-left a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #00AB6C;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.footer-left a:hover::after {
    transform: scaleX(1);
}

/* Manifesto page specific styling */
body:has(.manifesto-container) .site-footer {
    background-color: #ffffff;
}

.footer-right {
    color: #767676;
}

.footer-right a {
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #00AB6C;
}

.mic-button:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mic-button svg {
    color: #2d3b2d;
}

.music {
    width: 300px;
    height: 200px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    z-index: 30;
}

.music .bar {
    width: 12px;
    border-radius: 10px;
    background: #FFF;
    animation: loader 1.5s ease-in-out infinite;
}

@keyframes loader {
    0%,
    100% {
        height: 2px;
    }
    50% {
        height: 80px;
    }
}

.music .bar:nth-child(1) { background: #0300a0; animation-delay: 1s; }
.music .bar:nth-child(2) { background: #4e00df; animation-delay: 0.8s; }
.music .bar:nth-child(3) { background: #1827ff; animation-delay: 0.6s; }
.music .bar:nth-child(4) { background: #495bff; animation-delay: 0.4s; }
.music .bar:nth-child(5) { background: #00ffdd; animation-delay: 0.2s; }
.music .bar:nth-child(6) { background: #00ffdd; animation-delay: 0.2s; }
.music .bar:nth-child(7) { background: #495bff; animation-delay: 0.4s; }
.music .bar:nth-child(8) { background: #1827ff; animation-delay: 0.6s; }
.music .bar:nth-child(9) { background: #1827ff; animation-delay: 0.8s; }
.music .bar:nth-child(10) { background: #0300a0; animation-delay: 1s; }

.hidden {
    display: none;
}

/* Features Section Styles */
.features-section {
    padding: 6rem 0;
    background-color: #EDEDED;
}

.features-header-container {
    max-width: var(--container-max-width);
    margin: 0 auto 4rem;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.features-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 3.75rem;
    font-weight: 600;
    line-height: 1.05;
    color: #121212;
    margin: 0;
    letter-spacing: -0.03em;
}

.features-cta {
    text-align: right;
    padding-top: 0.5rem;
}

.features-cta .primary-button {
    margin-bottom: 0.5rem;
}

.features-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.feature-card {
    background: transparent;
    border-radius: 12px;
    border: 1px solid #E1E1E1;
    padding: 2rem 1.5rem;
    box-shadow: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.feature-card:hover {
    transform: none;
    border-color: #DBDBDB;
    box-shadow: none;
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
    color: #4a4a4a;
}

.feature-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #121212;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-family: 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1rem;
    color: #767676;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0;
    font-weight: 400;
}

/* Responsive adjustments for features grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 var(--container-padding);
    }

    .features-title {
        margin-bottom: 1.5rem;
    }

    .features-cta {
        text-align: center;
        width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .feature-card .feature-icon {
        margin: 0 auto 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.15rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* End Features Section Styles */

/* Medium screen responsive adjustments */
@media (max-width: 1024px) {
    .preview-card {
        max-width: 95%;
        height: 600px;
    }
}

/* General Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem var(--container-padding);
        gap: 0.5rem;
    }

    /* Hide decorative lines on mobile */
    nav::after,
    nav::before,
    .nav-left::after {
        display: none;
    }

    .nav-logo {
        height: 22px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-right {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }

    .nav-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem;
    }

    .hero-container {
        margin: 1.5rem auto 1rem;
    }

    h1 {
        font-size: 2.8rem; /* Reduce H1 font size */
    }

    .features-title {
        font-size: 2.5rem; /* Reduce features title font size */
    }

    .manifesto-container h1 { /* Target manifesto page title */
        font-size: 2rem;
    }

    .preview-card {
        max-width: 95%;
        height: 500px; /* Reduce height of preview card on mobile but keep it substantial */
    }

    .slack-message {
        width: 90%; /* Allow slack messages to be a bit wider relative to smaller card */
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons in main CTA */
        align-items: center;
    }

    .cta-buttons a button {
        width: 100%;
        max-width: 300px; /* Max width for stacked buttons */
    }

    .features-section .container,
    .container {
        padding: 0 1rem; /* Reduce side padding for containers */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .features-section {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem var(--container-padding);
    }
    .footer-left,
    .footer-right {
        margin-bottom: 0.5rem;
    }
    .footer-right {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem; /* Further reduce H1 for mobile */
    }

    .features-title {
        font-size: 2rem; /* Further reduce features title */
    }

    .manifesto-container h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .manifesto-container p {
        font-size: 1rem;
    }

    .preview-card {
        height: 450px; /* Keep it substantial even on small screens */
    }

    .slack-message {
        font-size: 12px; /* Reduce font size in slack messages slightly */
    }
    .slack-message .username, .slack-message .message-content {
        font-size: 12px;
    }
    .slack-message .timestamp {
        font-size: 10px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }
    .feature-card p {
        font-size: 0.85rem;
    }

    button,
    .primary-button {
        font-size: 0.9rem; /* Slightly smaller button text */
        padding: 0.7rem 1.2rem;
    }
}

/* New Features Layout Section */
.new-features-layout-section {
    padding: var(--section-spacing) 0;
}

/* Override default container text-align for this section if needed, or ensure rows handle alignment */
.new-features-layout-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: left;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    min-height: 450px; /* Prevents layout shifts when inbox content changes */
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    flex-direction: row-reverse; /* Image on the left, text on the right */
}

.feature-text-container {
    flex: 1;
    min-width: 0; /* Prevent flex item overflow */
}

/* Using .feature-layout-card styles for the text part */
.feature-layout-card.feature-text-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: all 0.3s ease;
}

.feature-layout-card.feature-text-container:hover {
    transform: none;
    box-shadow: none;
}

.feature-layout-card.feature-text-container h3 {
    font-size: 2.25rem;
    color: #121212;
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* NEW: Styles for paragraphs within the feature text container */
.feature-layout-card.feature-text-container p {
    font-size: 1.125rem;
    color: #767676;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

.feature-image-container {
    flex: 1;
    min-width: 0; /* Prevent flex item overflow */
    max-width: 100%;
    min-height: 400px; /* Prevents layout shifts when inbox content changes */
}

.feature-image-placeholder {
    flex: 1; /* Takes remaining space (65%) */
    min-width: 500px; /* Increased minimum width */
    height: 450px; /* Increased height */
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.05),
        0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: contain;
    max-height: clamp(250px, 35vw, 450px);
    min-height: 200px;
}

.feature-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.placeholder-content {
    padding: 2rem;
    font-weight: 500;
}

/* Responsive adjustments for the new feature rows */
@media (max-width: 992px) {
    .feature-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: 400px; /* Smaller min-height for tablet */
    }
    
    /* Fix order for the "calm" feature row - text should appear above interface on mobile/tablet */
    .calm-feature-row {
        flex-direction: column-reverse;
    }
    
    .feature-text-container,
    .feature-image-container {
        flex: none;
        max-width: 100%;
    }
    
    .feature-image-container {
        min-height: 350px; /* Smaller min-height for tablet */
    }
    
    .feature-image {
        max-height: clamp(200px, 40vw, 350px);
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .new-features-layout-section {
        padding: 2rem 0;
    }
    
    .feature-row {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        min-height: 350px; /* Smaller min-height for mobile */
    }
    
    /* Fix order for the "calm" feature row - text should appear above interface on mobile */
    .calm-feature-row {
        flex-direction: column-reverse;
    }
    
    .feature-image-container {
        min-height: 300px; /* Smaller min-height for mobile */
    }
    
    .feature-image {
        max-height: clamp(200px, 45vw, 300px);
    }
    
    .feature-layout-card.feature-text-container h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-layout-card.feature-text-container p {
        font-size: 1rem;
    }
}

/* Unified Inbox Diagram Styles */
.unified-inbox-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 3rem;
    transition: all 0.3s ease;
}

.unified-inbox-diagram:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.messaging-apps-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.app-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 100px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.app-logo.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.app-logo.whatsapp svg {
    color: white;
}

.app-logo.discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.app-logo.discord svg {
    color: white;
}

.app-logo.slack {
    background: linear-gradient(135deg, #4A154B, #611F69);
}

.app-logo.slack svg {
    color: white;
}

.app-logo.whatsapp,
.app-logo.discord,
.app-logo.slack {
    border: none;
}

.app-logo svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.arrows-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.arrow {
    color: #666;
}

.arrow svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

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

.saddle-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.saddle-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(26, 26, 26, 0.3);
}

.saddle-icon {
    width: 24px;
    height: 24px;
}

.saddle-logo span {
    font-size: 1.1rem;
    font-weight: 500;
}

.app-logo span {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE DESIGN - ORGANIZED MEDIA QUERIES ===== */

/* Small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 2rem;
        --font-size-hero: clamp(2rem, 8vw, 2.5rem);
        --font-size-h2: clamp(1.5rem, 6vw, 1.875rem);
        --font-size-nav: 0.75rem;
        --font-size-small: 0.8125rem;
    }
    
    /* Navigation - keep horizontal but make smaller */
    .nav-container {
        padding: 1rem var(--container-padding);
        gap: 0.5rem;
    }
    
    nav::after,
    nav::before,
    .nav-left::after {
        display: none;
    }
    
    .nav-logo {
        height: 20px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-right {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .nav-cta {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem;
    }
    

    
    /* Hero section */
    .hero-container {
        margin: 1.5rem auto 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
        line-height: var(--line-height-relaxed);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-buttons a button {
        width: 100%;
        max-width: 300px;
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Preview section */
    .preview-card {
        min-height: 400px;
        height: 60vh;
        max-width: 95%;
    }
    
    .slack-message {
        font-size: 0.75rem;
        margin: 0.75rem;
        width: 90%;
    }
    
    .slack-message .username,
    .slack-message .message-content {
        font-size: 0.75rem;
    }
    
    .slack-message .timestamp {
        font-size: 0.65rem;
    }
    
    /* Features section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
        font-weight: var(--font-weight-medium);
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: var(--line-height-relaxed);
    }
    
    /* New features layout */
    .new-features-layout-section {
        padding: 2rem 0;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Fix order for the "calm" feature row - text should appear above interface on mobile */
    .calm-feature-row {
        flex-direction: column-reverse;
    }
    
    .feature-text-container,
    .feature-image-container {
        flex: none;
        max-width: 100%;
    }
    
    .feature-image {
        max-height: clamp(180px, 50vw, 250px);
        width: 100%;
        object-fit: contain;
        min-height: 150px;
    }
    
    .feature-layout-card.feature-text-container h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        font-weight: var(--font-weight-medium);
        letter-spacing: -0.02em;
    }
    
    .feature-layout-card.feature-text-container p {
        font-size: 0.95rem;
        line-height: var(--line-height-relaxed);
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem var(--container-padding);
        font-size: 0.8125rem;
    }
    
    .footer-left,
    .footer-right {
        margin-bottom: 0.5rem;
    }
    
    .footer-right {
        margin-bottom: 0;
    }
}

/* Large mobile / Small tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --section-spacing: 3rem;
        --font-size-nav: 0.9rem;
    }
    
    .nav-container {
        padding: 1.25rem var(--container-padding);
        gap: 1rem;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .nav-cta {
        padding: 0.5625rem 1.125rem !important;
        font-size: 0.875rem;
    }
    
    .preview-card {
        height: clamp(500px, 60vw, 600px);
        max-width: 95%;
    }
    
    .slack-message {
        width: 85%;
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .feature-card h3 {
        font-weight: var(--font-weight-medium);
    }
    
    .feature-row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    /* Fix order for the "calm" feature row - text should appear above interface on mobile/tablet */
    .calm-feature-row {
        flex-direction: column-reverse;
    }
    
    .feature-image {
        max-height: clamp(200px, 45vw, 300px);
        width: 100%;
        object-fit: contain;
    }
}

/* Tablets and small laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --container-max-width: min(1200px, 92vw);
        --section-spacing: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .preview-card {
        height: clamp(600px, 45vw, 700px);
    }
    
    .feature-row {
        gap: clamp(2rem, 4vw, 3rem);
    }
    
    .feature-image {
        max-height: clamp(250px, 35vw, 400px);
        object-fit: contain;
    }
}

/* Large tablets and laptops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    :root {
        --container-max-width: min(1200px, 88vw);
        --section-spacing: 5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .preview-card {
        height: clamp(650px, 42vw, 750px);
    }
    
    .feature-row {
        gap: clamp(3rem, 5vw, 4rem);
    }
    
    .feature-image {
        max-height: clamp(300px, 30vw, 450px);
        object-fit: contain;
    }
}

/* Large screens and desktops (1441px - 1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
    :root {
        --container-max-width: min(1200px, 85vw);
        --font-size-hero: clamp(3.5rem, 4vw, 5rem);
        --font-size-h2: clamp(2rem, 3vw, 3rem);
        --section-spacing: 6rem;
    }
    
    .hero-container {
        max-width: min(1000px, 70vw);
    }
    
    .subtitle {
        max-width: min(800px, 60vw);
        font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .preview-card {
        height: clamp(700px, 40vw, 850px);
    }
    
    .feature-row {
        gap: clamp(4rem, 6vw, 5rem);
    }
    
    .feature-image {
        max-height: clamp(350px, 25vw, 500px);
        object-fit: contain;
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 1920px) {
    :root {
        --container-max-width: min(1200px, 80vw);
        --section-spacing: 8rem;
    }
    
    .hero-container {
        max-width: min(1200px, 65vw);
    }
    
    .subtitle {
        max-width: min(900px, 50vw);
        font-size: clamp(1.25rem, 1.3vw, 1.5rem);
    }
    
    .features-grid {
        gap: 4rem;
    }
    
    .preview-card {
        height: clamp(800px, 35vw, 1000px);
    }
    
    .feature-row {
        gap: clamp(5rem, 7vw, 6rem);
    }
    
    .feature-image {
        max-height: clamp(400px, 22vw, 600px);
        object-fit: contain;
    }
}

/* High resolution adjustments */
@media (-webkit-min-device-pixel-ratio: 2) {
    .feature-image,
    .preview-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Remove all old duplicate media queries below this line */

/* Message Demo Styles */
.message-demo {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.demo-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(18, 18, 18, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid #E1E1E1;
}

.saddle-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.app-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(18, 18, 18, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
    border: 1px solid #E1E1E1;
    user-select: none;
}

.app-icon.dragging {
    transition: none;
}



.app-icon:hover {
    animation: jiggle 0.4s ease-in-out infinite;
    transform: scale(1.02);
}

.app-icon:active {
    cursor: grabbing;
}

/* iOS-style jiggle animation */
@keyframes jiggle {
    0% { transform: scale(1.02) rotate(-2.5deg); }
    25% { transform: scale(1.02) rotate(2.5deg); }
    50% { transform: scale(1.02) rotate(-2.5deg); }
    75% { transform: scale(1.02) rotate(2.5deg); }
    100% { transform: scale(1.02) rotate(-2.5deg); }
}

.center-icon.drag-hover {
    background: linear-gradient(135deg, #00AB6C, #008B57);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 171, 108, 0.3);
    border-color: #00AB6C;
}

.center-icon.all-dissolved {
    background: linear-gradient(135deg, #00AB6C, #008B57);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 171, 108, 0.3);
    border-color: #00AB6C;
    transition: all 0.3s ease;
}

.app-icon svg {
    width: 28px;
    height: 28px;
    pointer-events: none;
}

/* Position app icons in a perfect circle - symmetrical arrangement */
.slack-icon {
    top: 5px;    /* Top center */
    left: 126px; /* Center horizontally */
}

.telegram-icon {
    top: 180px;  /* Bottom right (120 degrees) */
    left: 225px; 
}

.discord-icon {
    top: 50px;   /* Top right (60 degrees) */
    left: 225px;
}

.whatsapp-icon {
    top: 50px;   /* Top left (300 degrees) */
    left: 27px;
}

.gmail-icon {
    top: 180px;  /* Bottom left (240 degrees) */
    left: 27px;
}

.signal-icon {
    top: 247px;  /* Bottom center (180 degrees) */
    left: 126px; /* Center horizontally */
}

.demo-instruction {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.demo-instruction p {
    color: #767676;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

.reset-button {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    background: #00AB6C;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-button:hover {
    background: #008B57;
}

/* Message Input Styles */
.message-input-container {
    position: absolute;
    bottom: -140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 280px;
}

.message-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    font-size: 14px;
    color: #121212;
    background: white;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.message-input:focus {
    border-color: #00AB6C;
    box-shadow: 0 0 0 3px rgba(0, 171, 108, 0.1);
}

.message-input::placeholder {
    color: #767676;
}

.send-button {
    width: 48px;
    height: 48px;
    background: #00AB6C;
    border: none;
    border-radius: 11px; /* Like app icons, not fully rounded */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(0, 171, 108, 0.2);
}

.send-button:hover {
    background: #008B57;
    transform: translateY(-1px);
}

.send-button:active {
    transform: translateY(0);
}

.send-button svg {
    width: 20px;
    height: 20px;
}

/* Dissolve Animation */
@keyframes dissolve {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
    30% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: blur(0px);
    }
    70% {
        opacity: 0.3;
        transform: scale(0.8);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
        filter: blur(4px);
    }
}

.app-icon.dissolving {
    animation: dissolve 0.8s ease-out forwards;
    pointer-events: none;
}

/* Particle effect for dissolve */
.dissolve-particles {
    position: absolute;
    pointer-events: none;
    z-index: 20;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00AB6C;
    border-radius: 50%;
    animation: particle-float 1.5s ease-out forwards;
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .message-demo {
        height: 350px;
    }

    .demo-container {
        width: 280px;
        height: 280px;
    }

    .center-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .saddle-icon {
        width: 48px;
        height: 48px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
        border-radius: 9px;
    }

    .app-icon svg {
        width: 24px;
        height: 24px;
        pointer-events: none;
    }
    
    /* Adjust positions for smaller container and icons - perfect circle symmetrical */
    .slack-icon {
        top: 5px;    /* Top center */
        left: 120px; /* Center horizontally */
    }

    .telegram-icon {
        top: 168px;  /* Bottom right (120 degrees) */
        left: 210px;
    }

    .discord-icon {
        top: 47px;   /* Top right (60 degrees) */
        left: 210px;
    }

    .whatsapp-icon {
        top: 47px;   /* Top left (300 degrees) */
        left: 30px;
    }

    .gmail-icon {
        top: 168px;  /* Bottom left (240 degrees) */
        left: 30px;
    }

    .signal-icon {
        top: 230px;  /* Bottom center (180 degrees) */
        left: 120px; /* Center horizontally */
    }
    
    /* Mobile message input styles */
    .message-input-container {
        width: 250px;
        bottom: -120px;
    }
    
    .message-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .send-button {
        width: 42px;
        height: 42px;
        border-radius: 9px;
    }
    
    .send-button svg {
        width: 18px;
        height: 18px;
    }
}

/* Calm Message Demo Styles */
.calm-message-demo {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.calm-demo-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.calm-message-input-container {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    padding: 8px 12px;
    gap: 8px;
    width: 100%;
    max-width: 375px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(18, 18, 18, 0.08);
}

.calm-message-input-container:focus-within {
    border-color: #00AB6C;
    box-shadow: 0 0 0 3px rgba(0, 171, 108, 0.1);
}

.calm-message-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    font-family: inherit;
    min-width: 0;
    height: 20px;
    max-height: 120px;
    resize: none;
    overflow: hidden;
    line-height: 1.25;
}

.calm-message-input::placeholder {
    color: #9ca3af;
}

.calm-send-button {
    width: 32px;
    height: 32px;
    border: 1px solid #e9ecef;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #9ca3af;
    position: relative;
    padding: 0;
    flex-shrink: 0;
}

.calm-send-button:hover {
    background: rgba(156, 163, 175, 0.1);
    transform: translateY(-1px);
}

.calm-send-button:active {
    transform: translateY(0);
}

.calm-send-button svg {
    width: 16px;
    height: 16px;
    stroke: #9ca3af;
    fill: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: stroke 0.2s ease;
}

.calm-send-button.active {
    background: #00AB6C;
    border-color: #00AB6C;
    color: white;
}

.calm-send-button.active:hover {
    background: #008B57;
    border-color: #008B57;
    box-shadow: 0 4px 12px rgba(0, 171, 108, 0.3);
}

.calm-send-button.active svg {
    stroke: #ffffff;
}

.calm-mic-button {
    width: 48px;
    height: 48px;
    border: 1px solid #E1E1E1;
    background: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #121212;
    position: relative;
    padding: 0;
    box-shadow: 0 2px 8px rgba(18, 18, 18, 0.08);
}

.calm-mic-button:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18, 18, 18, 0.15);
}

.calm-mic-button:active {
    transform: translateY(0);
}

.calm-mic-button svg {
    width: 24px;
    height: 24px;
    stroke: #121212;
    fill: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .calm-message-demo {
        height: 320px;
    }
    
    .calm-message-input-container {
        padding: 6px 10px;
        border-radius: 10px;
        max-width: 325px;
    }
    
    .calm-message-input {
        font-size: 14px;
    }
    
    .calm-send-button {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }
    
    .calm-send-button svg {
        width: 14px;
        height: 14px;
        stroke: #9ca3af;
        fill: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: stroke 0.2s ease;
    }
    
    .calm-send-button.active svg {
        stroke: #ffffff;
    }
    
    .calm-mic-button {
        width: 42px;
        height: 42px;
    }
    
    .calm-mic-button svg {
        width: 20px;
        height: 20px;
        stroke: #121212;
        fill: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Dissolve complete state styling */
.dissolve-complete-state {
    z-index: 1000;
}

.dissolve-complete-content h3 {
    font-size: 16px;
    font-weight: 400;
    color: #121212;
    margin: 0 0 16px 0;
}

.dissolve-complete-content .primary-button {
    font-size: 16px;
    padding: 12px 24px;
    white-space: nowrap;
    min-width: max-content;
}

/* Inbox Demo Styles */
.inbox-demo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.inbox-container {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: -4px 4px 12px rgba(18, 18, 18, 0.06);
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-right: none;
    min-height: 320px;
}

.priority-section {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.priority-section:first-child {
    border-top: none;
}

.priority-section:last-child {
    border-bottom: none;
}

.priority-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px 12px 20px;
    background: transparent;
    border-bottom: 1px solid #d0d0d0;
}

.priority-header h4 {
    font-size: 12px;
    font-weight: 400;
    color: #767676;
    margin: 0;
    line-height: 1.2;
}

.priority-dot {
    font-size: 12px;
    color: #767676;
    font-weight: 400;
    line-height: 1;
}

.priority-subtitle {
    font-size: 12px;
    color: #767676;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.message-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.message-item:hover,
.message-item.keyboard-hover {
    background: #f8f9fa;
    cursor: pointer;
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    flex-shrink: 0;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    width: 100%;
}

.channel-name {
    font-size: 12px;
    font-weight: 400;
    color: #121212;
    width: 90px;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 6px;
}

.sender-name {
    font-size: 12px;
    font-weight: 400;
    color: #121212;
    width: 110px;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 6px;
}

.message-text {
    font-size: 12px;
    line-height: 1;
    color: #121212;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.action-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background: #e0e0e0;
}

/* Message Check Button */
.message-check-button {
    width: 28px;
    height: 28px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 9px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    margin-left: 10px;
    flex-shrink: 0;
}

.message-item:hover .message-check-button,
.message-item.keyboard-hover .message-check-button {
    opacity: 1;
    visibility: visible;
}

.message-check-button:hover {
    background: #00AB6C;
    border-color: #00AB6C;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 171, 108, 0.2);
}

.message-check-button:active {
    transform: translateY(0);
}

.message-check-button svg {
    width: 16px;
    height: 16px;
}

/* Message completion animations */
.message-flying-out {
    animation: flyOutRight 0.5s ease-in-out forwards;
    pointer-events: none;
}

@keyframes flyOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* Empty states */
.section-empty-state {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.section-empty-state p {
    margin: 0;
    font-size: 13px;
}

.inbox-complete-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    min-height: 300px;
}

.inbox-complete-state h3 {
    font-size: 16px;
    font-weight: 400;
    color: #121212;
    margin: 0 0 16px 0;
}

.inbox-complete-state p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.inbox-complete-state .primary-button {
    font-size: 16px;
    padding: 12px 24px;
}

/* Platform-specific icon styling - All grayscale */
.slack-platform svg {
    fill: #767676;
}

.whatsapp-platform svg {
    fill: #767676;
}

.discord-platform svg {
    fill: #767676;
}

/* Saddle-Style Download Page */
.download-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.download-app-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.saddle-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.download-beta-notice {
    margin-top: 1.5rem;
    text-align: center;
}

.download-beta-notice .beta-text {
    color: #767676;
    font-size: 0.9rem;
    font-weight: 400;
}

.download-instructions {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #E1E1E1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instruction-simple h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 0.75rem;
    text-align: center;
}

.instruction-simple p {
    color: #767676;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Responsive adjustments for download page */
@media (max-width: 768px) {
    .download-hero {
        padding-top: 1rem;
    }
    
    .saddle-logo-large {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }
    
    .download-instructions {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .instruction-simple h3 {
        font-size: 1.125rem;
    }
    
    .instruction-simple p {
        font-size: 0.9rem;
    }
    
    .download-primary-button {
        min-width: 180px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .inbox-demo {
        padding: 1rem;
        min-height: 280px;
    }
    
    .inbox-container {
        max-width: 100%;
        min-height: 280px;
    }
    
    .priority-header {
        padding: 12px 16px 8px 16px;
    }
    
    .priority-header h4 {
        font-size: 11px;
    }
    
    .priority-subtitle {
        font-size: 11px;
    }
    
    .message-item {
        padding: 8px 16px;
    }
    
    .platform-icon {
        width: 12px;
        height: 12px;
        margin-right: 8px;
    }
    
    .channel-name,
    .sender-name {
        font-size: 11px;
    }
    
    .message-text {
        font-size: 11px;
    }
    
    .message-check-button {
        width: 24px;
        height: 24px;
        margin-left: 8px;
    }
    
    .message-check-button svg {
        width: 14px;
        height: 14px;
    }
}
