/* ============================================
   CASEMEISTER LANDING - PROFESSIONAL SAAS
   Multiple Heroes + Hover Effects
   ============================================ */

:root {
    --primary: #012E33;
    --primary-dark: #011f23;
    --primary-light: #f5f5f5;
    --background: #F2FBEF;
    --background-alt: #E9FAE7;
    --foreground: #012E33;
    --foreground-muted: #6b7280;
    --border: #e5e5e5;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

/* Lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Glow effect */
.hover-glow {
    transition: all 0.3s ease;
    position: relative;
}
.hover-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}
.hover-glow:hover::before {
    opacity: 0.1;
}
.hover-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Tilt effect for mockups */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}
[data-tilt]:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.02);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(250, 249, 247, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-mark {
    color: #ffffff;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}
.logo:hover .logo-mark {
    color: #ffffff;
    transform: rotate(0deg) scale(1.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--foreground); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    color: #ffffff !important;
    background: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--foreground);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}
.btn-ghost:hover {
    background: rgba(0,0,0,0.05);
}

.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--background);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-xl {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block { width: 100%; }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 6rem 1.25rem 3rem;
    max-width: 1400px;
    
    text-align: center;
}

.hero-main {
    padding-top: 5rem;
}

.hero.alt-bg {
    background: var(--background-alt);
    max-width: none;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.hero-content {
    max-width: 100%;
}

.hero-mockup {
    width: 100%;
    max-width: 600px;
}

.hero-mockup.left {
    order: 0;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.feature-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero h1, .hero h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.hero-desc, .hero p {
    font-size: 1.2rem;
    color: var(--foreground-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 320px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
}

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

.hero-stat strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--foreground);
}

.hero-stat span {
    font-size: 0.9rem;
    color: var(--foreground-muted);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
    display: inline-block;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--foreground);
}

.feature-list svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   MOCKUP WINDOWS - Modern 2024 Style
   ============================================ */
.mockup-window {
    background: var(--white);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.04),
        0 1px 2px rgba(0,0,0,0.02),
        0 4px 8px rgba(0,0,0,0.03),
        0 16px 32px rgba(0,0,0,0.04),
        0 32px 64px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(250,249,247,0.4) 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.window-dots {
    display: flex;
    gap: 6px;
    opacity: 0.5;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
}

.window-title {
    font-size: 0.75rem;
    color: var(--foreground-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.window-actions {
    display: flex;
    gap: 8px;
    opacity: 0.4;
}

/* App Mockup */
.mockup-app {
    display: flex;
    min-height: 420px;
}

.app-sidebar {
    width: 56px;
    background: var(--foreground);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2px;
    padding: 0 6px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    color: rgba(255,255,255,0.9);
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 8px;
}
.sidebar-nav .nav-item:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
}
.sidebar-nav .nav-item.active {
    background: rgba(255,255,255,0.12);
}

.app-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--background);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.content-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.mock-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.mock-btn.primary {
    color: white;
    background: var(--primary);
}
.mock-btn.primary:hover {
    background: var(--primary-dark);
}

/* Dossier Cards */
.dossier-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dossier-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dossier-card:hover {
    background: var(--background);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.dossier-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}
.dossier-status.open { background: #22c55e; }
.dossier-status.pending { background: #eab308; }
.dossier-status.closed { background: #a3a3a3; }

.dossier-info {
    flex: 1;
    min-width: 0;
}

.dossier-id {
    font-size: 0.75rem;
    color: var(--foreground-muted);
}

.dossier-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dossier-info p {
    font-size: 0.8rem;
    color: var(--foreground-muted);
    margin: 0;
}

.dossier-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

.dossier-meta .amount {
    font-weight: 600;
    color: var(--foreground);
}

/* Kanban Mockup */
.mockup-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
    min-height: 400px;
    background: var(--background);
}

.kanban-column {
    background: transparent;
    border-radius: 12px;
    padding: 0;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
    color: var(--foreground-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.column-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.column-dot.todo { background: #a3a3a3; }
.column-dot.progress { background: #3b82f6; }
.column-dot.done { background: #22c55e; }

.column-count {
    margin-left: auto;
    background: rgba(0,0,0,0.05);
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
}

.kanban-card {
    background: var(--white);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.kanban-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.kanban-card.done {
    opacity: 0.5;
}

/* Kanban card drag animation */
.kanban-card.dragging {
    animation: cardDrag 2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

@keyframes cardDrag {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(3px) rotate(0.5deg);
    }
    75% {
        transform: translateX(-3px) rotate(-0.5deg);
    }
}

.kanban-card p {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    color: var(--foreground);
    line-height: 1.4;
}

.card-priority {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.card-priority.high { background: #fef2f2; color: #ef4444; }
.card-priority.medium { background: #fffbeb; color: #f59e0b; }

.card-meta {
    margin-top: 0.375rem;
    font-size: 0.7rem;
    color: var(--foreground-muted);
}

/* Time Tracking Mockup */
.mockup-timetrack {
    padding: 1.25rem;
    background: var(--background);
    min-height: 400px;
}

.time-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.time-total {
    display: flex;
    flex-direction: column;
}

.time-label {
    font-size: 0.7rem;
    color: var(--foreground-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.time-value {
    font-size: 1.375rem;
    font-weight: 700;
}

.time-value.highlight {
    color: var(--foreground);
}

.time-entries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-entry {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.time-entry:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.time-entry.active {
    background: var(--white);
    box-shadow: 0 0 0 2px var(--foreground), 0 4px 12px rgba(0,0,0,0.1);
}

.entry-time {
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

.entry-hours {
    font-size: 1.1rem;
    font-weight: 700;
}

.entry-rate {
    font-size: 0.75rem;
    color: var(--foreground-muted);
}

.entry-info {
    flex: 1;
}

.entry-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.entry-info p {
    font-size: 0.8rem;
    color: var(--foreground-muted);
    margin: 0;
}

.entry-amount {
    font-weight: 600;
    color: var(--foreground);
}

.entry-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.timer-value {
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

.stop-btn {
    padding: 0.5rem 1rem;
    background: #ef4444;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.stop-btn:hover { background: #dc2626; }

/* AI Chat Mockup */
.mockup-ai {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    background: var(--background);
}

.ai-chat {
    flex: 1;
    padding: 1.25rem;
    overflow: auto;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0,0,0,0.06);
    color: var(--foreground-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.message-avatar.ai {
    color: white;
    background: var(--foreground);
}

.message-content {
    flex: 1;
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.chat-message.user .message-content,
.chat-message.user .message-content p {
    color: #ffffff !important;
    background: var(--foreground);
}

.message-content p {
    margin: 0 0 0.625rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.message-content p:last-child { margin-bottom: 0; }

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.125rem;
}

.message-content li {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.ai-input {
    display: flex;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
}

.ai-input input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    background: var(--background);
    transition: all 0.2s ease;
}

.ai-input input:focus {
    border-color: var(--foreground);
    background: var(--white);
}

.send-btn {
    color: white;
    width: 40px;
    height: 40px;
    background: var(--foreground);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Typing Indicator */
.typing-message .message-content {
    padding: 0.75rem 1rem;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--foreground-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Email Mockup */
.mockup-email {
    display: flex;
    min-height: 380px;
}

.email-sidebar {
    width: 140px;
    background: var(--background);
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 0.875rem;
}

.email-folder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--foreground-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.email-folder:hover {
    background: rgba(0,0,0,0.04);
    color: var(--foreground);
}

.email-folder.active {
    background: var(--white);
    color: var(--foreground);
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.folder-count {
    color: white;
    margin-left: auto;
    background: var(--foreground);
    padding: 0.125rem 0.375rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
}

.email-list {
    flex: 1;
    background: var(--white);
}

.email-item {
    display: grid;
    grid-template-columns: 130px 1fr 65px;
    grid-template-rows: auto auto;
    gap: 0.125rem 0.875rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.15s ease;
}

.email-item:hover {
    background: var(--background);
}

.email-item.unread {
    background: rgba(0,0,0,0.02);
}

.email-sender {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--foreground);
}

.email-subject {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-preview {
    grid-column: span 2;
    font-size: 0.85rem;
    color: var(--foreground-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-time {
    text-align: right;
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

.email-dossier {
    grid-column: 3;
    text-align: right;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* Email Linked Indicator */
.email-linked {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    font-size: 0.65rem;
    color: #22c55e;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    animation: linkPulse 2s ease-in-out infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.email-linked svg {
    flex-shrink: 0;
}

@keyframes linkPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Email New Animation */
.email-new {
    animation: emailSlideIn 0.5s ease-out, emailHighlight 2s ease-in-out 0.5s infinite;
}

@keyframes emailSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes emailHighlight {
    0%, 100% { background: rgba(0,0,0,0.02); }
    50% { background: rgba(34, 197, 94, 0.05); }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 3rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--background-alt);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.step-number {
    color: white;
    width: 48px;
    height: 48px;
    background: var(--foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--foreground-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FEATURES GRID SECTION
   ============================================ */
.features-section {
    margin: 0 auto;
    padding: 3rem 1.25rem;
    max-width: 1400px;
    
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--foreground-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--white);
    border: none;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--background);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--foreground);
    transition: all 0.25s ease;
}

.feature-card:hover .feature-icon {
    color: var(--background);
    background: var(--foreground);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 3rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TELEPHONY SECTION
   ============================================ */
.telephony-section {
    padding: 3rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--background-alt);
}

.telephony-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.telephony-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.telephony-icon {
    width: 48px;
    height: 48px;
    background: var(--background);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--foreground);
}

.telephony-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.telephony-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.telephony-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground-muted);
}

.telephony-card p {
    font-size: 0.8rem;
    color: var(--foreground-muted);
    margin: 0;
}

.telephony-info {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.telephony-info p {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    margin: 0;
}

.telephony-info strong {
    color: var(--foreground);
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-section {
    padding: 3rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.875rem;
}

.comparison-table th {
    background: var(--background);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--foreground-muted);
}

.comparison-table th.highlight-col {
    color: white;
    background: var(--foreground);
}

.comparison-table td.highlight-col {
    background: rgba(0,0,0,0.02);
    font-weight: 500;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--background);
}

.comparison-table tbody tr:hover td.highlight-col {
    background: rgba(0,0,0,0.04);
}

.comparison-table .check {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .partial {
    color: #f59e0b;
    font-size: 0.8rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: 3rem 1.25rem;
    background: var(--background-alt);
}

.pricing-section .section-header {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
    
}

.pricing-card.featured {
    order: -1;
}

.pricing-card {
    padding: 2rem;
    background: var(--white);
    border: none;
    border-radius: 20px;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.pricing-card.featured {
    box-shadow: 0 0 0 2px var(--foreground), 0 8px 32px rgba(0,0,0,0.12);
}

.pricing-badge {
    color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.375rem 1rem;
    background: var(--foreground);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-card h3 {
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-card.featured .price {
    color: var(--foreground);
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--foreground-muted);
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.625rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--foreground-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* New pricing grid */
.pricing-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-amount.enterprise {
    margin-bottom: 2rem;
}

.pricing-amount .price-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Modules card */
.modules-card {
    background: var(--background-alt);
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    gap: 1.5rem;
}

.module-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.module-info strong {
    font-size: 0.95rem;
    color: var(--foreground);
}

.module-info span {
    font-size: 0.8rem;
    color: var(--foreground-muted);
}

.module-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    white-space: nowrap;
}

.module-price small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--foreground-muted);
}

/* Trust badges */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--foreground);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.trust-icon {
    flex-shrink: 0;
    color: var(--foreground-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 3rem 1.25rem;
    background: var(--primary);
    text-align: center;
}

.cta-content {
    margin: 0 auto;
    max-width: 600px;
    
}

.cta-content h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 2.5rem 1.25rem;
    background: var(--foreground);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand .logo span { color: white; }

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-mark {
    background: var(--primary) !important;
    color: #ffffff;
    background: var(--primary);
}

.footer-brand p {
    color: rgba(255,255,255,0.8) !important;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

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

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
    max-width: 1200px;
    
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */

/* Small tablets (480px+) */
@media (min-width: 480px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: none;
        width: auto;
    }

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

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

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

    .how-it-works-section,
    .features-section,
    .faq-section,
    .telephony-section,
    .comparison-section,
    .pricing-section,
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .telephony-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer {
        padding: 3rem 1.5rem;
    }
}

/* Tablets (768px+) */
@media (min-width: 768px) {
    .hero {
        padding: 7rem 2rem 4rem;
        gap: 2.5rem;
    }

    .hero-main {
        padding-top: 6rem;
    }

    .hero h1, .hero h2 {
        font-size: 2.5rem;
    }

    .hero-mockup {
        max-width: 700px;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
    color: white;
        font-size: 2rem;
    }

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

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

/* Small desktops (1024px+) */
@media (min-width: 1024px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 8rem 2.5rem 5rem;
        text-align: left;
        min-height: 100vh;
    }

    .hero-main {
        padding-top: 8rem;
    }

    .hero.alt-bg {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .hero-content {
        max-width: 540px;
    }

    .hero-mockup {
        max-width: none;
    }

    .hero-mockup.left {
        order: -1;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .hero h1, .hero h2 {
        font-size: 3rem;
    }

    .how-it-works-section,
    .features-section,
    .faq-section,
    .telephony-section,
    .comparison-section,
    .pricing-section,
    .cta-section {
        padding: 5rem 2.5rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        order: 0;
    }

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

    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .trust-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .cta-content h2 {
    color: white;
        font-size: 2.5rem;
    }

    .footer {
        padding: 4rem 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1.5fr 2fr;
        gap: 4rem;
    }
}

/* Large desktops (1280px+) */
@media (min-width: 1280px) {
    .hero {
        padding: 8rem 4rem 5rem;
        gap: 4rem;
    }

    .hero.alt-bg {
        padding-left: calc((100vw - 1400px) / 2 + 3rem);
        padding-right: calc((100vw - 1400px) / 2 + 3rem);
    }

    .hero h1, .hero h2 {
        font-size: 3.25rem;
    }

    .how-it-works-section,
    .features-section,
    .faq-section,
    .telephony-section,
    .comparison-section,
    .pricing-section,
    .cta-section {
        padding: 6rem 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .footer {
        padding: 4rem;
    }
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #012E33 0%, #1a1a2e 50%, #012E33 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.splash-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.splash-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.splash-highlight {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.splash-features {
    
    max-width: 700px;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0 auto 4rem auto;
}

.splash-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    min-width: 120px;
}

.splash-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.splash-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-icon svg {
    stroke: #6ee7b7;
}

.splash-feature-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.splash-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

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

@media (max-width: 768px) {
    .splash-features {
    
    max-width: 700px;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .splash-feature-card {
        padding: 1rem 1.25rem;
        min-width: 80px;
    }
    .splash-usps {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .splash-headline {
        font-size: 2rem;
    }
    .splash-statement {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .splash-features {
    
    max-width: 700px;
        gap: 1.5rem;
    }
    .splash-feature-card {
        padding: 1.5rem 2rem;
        min-width: 120px;
    }
}

/* Splash Comparison */
.splash-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.comparison-old {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.comparison-arrow {
    color: rgba(16, 185, 129, 0.7);
    font-size: 1.2rem;
}

.comparison-new {
    color: rgba(239, 68, 68, 0.9);
    font-weight: 500;
}

.splash-statement {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .splash-features {
    
    max-width: 700px;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .splash-feature-card {
        padding: 1rem 1.25rem;
        min-width: 80px;
    }
    .splash-usps {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .splash-headline {
        font-size: 2rem;
    }
    .splash-statement {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .comparison-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    .comparison-arrow {
        transform: rotate(90deg);
    }
}

/* Document Editor Mockup */
.mockup-docs {
    background: var(--white);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.docs-toolbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.toolbar-btn {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toolbar-btn:hover {
    background: #f0f0f0;
}

.toolbar-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.toolbar-select {
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.8rem;
    background: var(--white);
}

.docs-content {
    padding: 2rem;
    min-height: 280px;
    font-family: 'Times New Roman', serif;
    line-height: 1.8;
    position: relative;
}

.docs-content h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    text-align: center;
}

.docs-content p {
    font-size: 0.95rem;
}

.docs-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Phone Mockup */
.mockup-phone {
    background: var(--white);
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.caller-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.caller-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.caller-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.caller-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.caller-number {
    color: var(--foreground-muted);
    font-size: 0.9rem;
}

.caller-case {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 500;
}

.call-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.call-status.incoming {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.call-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.phone-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.phone-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.phone-btn.accept {
    background: #22c55e;
}

.phone-btn.accept:hover {
    background: #16a34a;
}

.phone-btn.decline {
    background: #fee2e2;
    color: #dc2626;
}

.phone-btn.decline:hover {
    background: #fecaca;
}

.recent-calls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-call {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem;
    background: var(--background);
    border-radius: 8px;
}

.call-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.call-icon.outgoing {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.call-icon.incoming {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.call-info {
    display: flex;
    flex-direction: column;
}

.call-info span:first-child {
    font-weight: 500;
    font-size: 0.9rem;
}

.call-time {
    color: var(--foreground-muted);
    font-size: 0.8rem;
}

/* Splash USPs */
.splash-usps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.usp-item svg {
    stroke: #34d399;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .splash-features {
    
    max-width: 700px;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .splash-feature-card {
        padding: 1rem 1.25rem;
        min-width: 80px;
    }
    .splash-usps {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .splash-headline {
        font-size: 2rem;
    }
    .splash-statement {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .splash-usps {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* AI Highlight Box */
.ai-highlight {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: var(--foreground);
    font-size: 1.05rem;
}

.ai-highlight strong {
    color: #059669;
}

/* Word-style Document Mockup */
.mockup-word {
    background: #f3f3f3;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.word-ribbon {
    background: var(--white);
    border-bottom: 1px solid #d4d4d4;
}

.ribbon-tabs {
    display: flex;
    gap: 0;
    padding: 0.5rem 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.ribbon-tab {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: var(--foreground-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.ribbon-tab.active {
    color: #217346;
    border-bottom-color: #217346;
    background: #f8f8f8;
}

.ribbon-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f8f8;
}

.ribbon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
}

.ribbon-buttons {
    display: flex;
    gap: 2px;
}

.ribbon-row {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.ribbon-btn {
    width: 28px;
    height: 24px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ribbon-btn:hover {
    background: #e5e5e5;
    border-color: #c5c5c5;
}

.ribbon-btn.active {
    background: #cce4f7;
    border-color: #98c6ea;
}

.ribbon-btn.small {
    width: 24px;
    height: 20px;
    font-size: 0.7rem;
}

.ribbon-btn.clipboard {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.ribbon-select {
    padding: 0.2rem 0.4rem;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    font-size: 0.75rem;
    background: var(--white);
}

.ribbon-select.font {
    width: 100px;
}

.ribbon-select.size {
    width: 45px;
}

.ribbon-label {
    font-size: 0.65rem;
    color: var(--foreground-muted);
    margin-top: 4px;
}

.ribbon-divider {
    width: 1px;
    height: 60px;
    background: #d4d4d4;
    margin: 0 0.5rem;
}

.word-ruler {
    height: 20px;
    background: var(--white);
    border-bottom: 1px solid #d4d4d4;
    position: relative;
}

.ruler-marks {
    position: absolute;
    left: 60px;
    right: 60px;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #999 0px,
        #999 1px,
        transparent 1px,
        transparent 10px
    );
}

.word-page {
    background: #f3f3f3;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.page-content {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    min-height: 250px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    font-family: 'Calibri', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-content h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.page-content .meta {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.page-content p {
    margin-bottom: 0.8rem;
}

.page-content .typing {
    color: var(--foreground);
}

.word-cursor {
    color: #000;
    animation: wordBlink 1s infinite;
    font-weight: 100;
}

@keyframes wordBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.word-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    background: #217346;
    font-size: 0.7rem;
}

.word-statusbar .autosave {
    color: #90EE90;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */
@media (max-width: 480px) {
    .splash-features {
    
    max-width: 700px;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .splash-feature-card {
        padding: 0.875rem 1rem;
        min-width: 70px;
        flex: 1 1 calc(33% - 0.5rem);
    }
    .splash-feature-card span {
        font-size: 0.75rem;
    }
    .splash-icon {
        width: 44px;
        height: 44px;
    }
    .splash-icon svg {
        width: 22px;
        height: 22px;
    }
    .splash-usps {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .usp-item {
        font-size: 0.9rem;
    }
    .splash-headline {
        font-size: 1.75rem;
    }
    .splash-tagline {
        font-size: 1rem;
    }
    /* Phone mockup mobile */
    .mockup-phone {
        padding: 1rem;
    }
    .caller-info {
        gap: 0.75rem;
    }
    .caller-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .caller-name {
        font-size: 0.95rem;
    }
    .caller-number, .caller-case {
        font-size: 0.8rem;
    }
    .call-actions {
        gap: 0.5rem;
    }
    .call-btn {
        width: 50px;
        height: 50px;
    }
    /* Word mockup mobile */
    .ribbon-tabs {
        overflow-x: auto;
        padding: 0.25rem 0.5rem 0;
    }
    .ribbon-tab {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
    }
    .ribbon-toolbar {
        overflow-x: auto;
        padding: 0.25rem 0.5rem;
    }
    .ribbon-group-label {
        font-size: 0.6rem;
    }
    .word-content {
        padding: 1rem;
    }
    .word-content h2 {
        font-size: 1rem;
    }
    .word-content p {
        font-size: 0.8rem;
    }
    /* Hero sections mobile */
    .hero h2 {
        font-size: 1.5rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .mockup-container {
        max-width: 100%;
    }
    /* Pricing cards mobile */
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    /* FAQ mobile */
    .faq-item summary {
        font-size: 0.95rem;
        padding: 1rem;
    }
}

/* Splash features tablet - 3 per row */
@media (max-width: 768px) {
    .splash-features {
    
        max-width: 500px;
        gap: 1rem;
    }
    .splash-feature-card {
        padding: 1rem 1.25rem;
        min-width: 100px;
    }
}

/* Splash features mobile - 2 per row */
@media (max-width: 480px) {
    .splash-features {
    
        max-width: 280px;
        gap: 0.75rem;
    }
    .splash-feature-card {
        padding: 0.75rem 1rem;
        min-width: 80px;
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Lettermark Logo with dot */
.logo-mark {
    position: relative;
    background: linear-gradient(135deg, #012E33 0%, #034a52 100%);
}
.logo-mark span:first-child {
    position: relative;
    z-index: 1;
}
.logo-dot {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* ============================================
   LEGAL PAGES (Privacy, Voorwaarden, AVG)
   ============================================ */
.legal-page {
    padding: 120px 1.25rem 4rem;
    min-height: 100vh;
    background: var(--background);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.legal-update {
    color: var(--foreground-muted);
    font-size: 0.875rem;
}

.legal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--foreground);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--foreground);
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: var(--foreground);
}

.legal-content p {
    color: var(--foreground-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--foreground-muted);
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-info-box {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-info-box p {
    margin: 0.25rem 0;
}

.legal-highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, #034a52 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.legal-highlight-box h3 {
    color: white;
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.legal-highlight-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.legal-table th {
    background: var(--background);
    font-weight: 600;
    color: var(--foreground);
}

.legal-table td {
    color: var(--foreground-muted);
}

.legal-cta {
    background: var(--background);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.legal-cta h3 {
    margin: 0 0 0.5rem;
}

.legal-cta p {
    margin-bottom: 1.5rem;
}

/* AVG Page specific */
.avg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.avg-card {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
}

.avg-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #034a52 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.avg-icon svg {
    stroke: white;
}

.avg-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--foreground);
}

.avg-card p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--foreground-muted);
}

.faq-item-inline {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.faq-item-inline h4 {
    margin: 0 0 0.5rem;
    color: var(--foreground);
}

.faq-item-inline p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Responsive legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 1rem 3rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .avg-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-table {
        font-size: 0.8125rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 0.75rem;
    }
}

/* ============================================
   TRIAL PAGE
   ============================================ */
.trial-page {
    padding: 120px 1.25rem 4rem;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--background) 0%, #e8f4f5 100%);
}

.trial-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.trial-content {
    padding-top: 2rem;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #034a52 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.trial-badge svg {
    stroke: white;
}

.trial-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.trial-subtitle {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.trial-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.trial-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.trial-feature svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.trial-form-container {
    position: sticky;
    top: 100px;
}

.trial-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.trial-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 46, 51, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.8125rem;
    color: var(--foreground-muted);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.trial-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--foreground-muted);
    margin-top: 1rem;
}

.trial-note a {
    color: var(--primary);
    text-decoration: none;
}

.trial-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--foreground-muted);
}

.trust-item svg {
    stroke: var(--primary);
}

/* What's Included */
.trial-included {
    padding: 4rem 1.25rem;
    background: var(--white);
}

.included-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.included-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.included-subtitle {
    color: var(--foreground-muted);
    margin-bottom: 3rem;
}

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

.included-item {
    padding: 1.5rem;
    background: var(--background);
    border-radius: 16px;
}

.included-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #034a52 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.included-icon svg {
    stroke: white;
}

.included-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.included-item p {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    margin: 0;
}

/* Trial FAQ */
.trial-faq {
    padding: 4rem 1.25rem;
    background: var(--background);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.trial-faq h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.trial-faq-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
}

.trial-faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.trial-faq-item p {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    margin: 0;
    line-height: 1.6;
}

/* Trial CTA */
.trial-cta {
    padding: 4rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, #034a52 100%);
    text-align: center;
}

.trial-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.trial-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

/* Responsive Trial Page */
@media (max-width: 900px) {
    .trial-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trial-content {
        text-align: center;
        padding-top: 0;
    }
    
    .trial-features {
        align-items: center;
    }
    
    .trial-form-container {
        position: static;
    }
    
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trial-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .trial-content h1 {
        font-size: 2rem;
    }
    
    .trial-form-card {
        padding: 1.5rem;
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .trial-trust {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   MOBILE MENU FIX
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.875rem 1rem;
        border-radius: 8px;
    }
    
    .nav-links a:hover {
        background: var(--background);
    }
    
    .nav-links .btn {
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        gap: 5px;
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--foreground);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-container {
        position: relative;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ============================================
   CHAT WIDGET
   ============================================ */
#cm-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#cm-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #012E33 0%, #034a52 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(1, 46, 51, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

#cm-chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(1, 46, 51, 0.5);
}

#cm-chat-toggle svg {
    stroke: white;
    transition: transform 0.3s, opacity 0.3s;
}

#cm-chat-toggle .cm-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

#cm-chat-widget.cm-open #cm-chat-toggle .cm-icon-chat {
    opacity: 0;
    transform: rotate(90deg);
}

#cm-chat-widget.cm-open #cm-chat-toggle .cm-icon-close {
    opacity: 1;
    transform: rotate(0);
}

#cm-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

#cm-chat-widget.cm-open #cm-chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#cm-chat-header {
    background: linear-gradient(135deg, #012E33 0%, #034a52 100%);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cm-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cm-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
}

.cm-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #012E33;
}

.cm-header-text {
    display: flex;
    flex-direction: column;
}

.cm-header-text strong {
    font-size: 0.9375rem;
}

.cm-header-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

#cm-chat-minimize {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#cm-chat-minimize:hover {
    background: rgba(255,255,255,0.2);
}

#cm-chat-minimize svg {
    stroke: white;
}

#cm-chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8f9fa;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.cm-message {
    max-width: 85%;
    animation: cm-fadeIn 0.3s ease;
}

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

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

.cm-message.cm-bot {
    align-self: flex-start;
}

.cm-message-content {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cm-user .cm-message-content {
    background: linear-gradient(135deg, #012E33 0%, #034a52 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.cm-bot .cm-message-content {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cm-bot .cm-message-content p {
    margin: 0 0 0.5rem;
}

.cm-bot .cm-message-content p:last-child {
    margin-bottom: 0;
}

.cm-suggestions {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 0.5rem !important;
}

.cm-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cm-quick-actions button {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.2s;
}

.cm-quick-actions button:hover {
    background: #e0e0e0;
}

.cm-typing {
    display: flex;
    gap: 4px;
    padding: 0.25rem 0;
}

.cm-typing span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: cm-bounce 1.4s infinite ease-in-out both;
}

.cm-typing span:nth-child(1) { animation-delay: -0.32s; }
.cm-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes cm-bounce {
    0%, 80%, 100% { transform: scale(0.6); }
    40% { transform: scale(1); }
}

#cm-chat-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid #eee;
}

#cm-chat-form {
    display: flex;
    gap: 0.5rem;
}

#cm-chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s;
}

#cm-chat-input:focus {
    border-color: #012E33;
}

#cm-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #012E33 0%, #034a52 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#cm-chat-send:hover {
    transform: scale(1.05);
}

#cm-chat-send svg {
    stroke: white;
}

.cm-disclaimer {
    font-size: 0.6875rem;
    color: #999;
    text-align: center;
    margin: 0.5rem 0 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
    #cm-chat-widget {
        bottom: 10px !important;
        right: 10px !important;
    }

    #cm-chat-window {
        width: calc(100vw - 20px) !important;
        height: auto !important;
        max-height: calc(100vh - 140px) !important;
        min-height: 300px;
        bottom: 70px !important;
        right: -5px !important;
        border-radius: 12px;
        top: auto !important;
    }

    #cm-chat-messages {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        max-height: 50vh;
        min-height: 150px;
    }

    #cm-chat-header {
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }

    #cm-chat-input-area {
        flex-shrink: 0;
    }

    #cm-chat-toggle {
        width: 54px;
        height: 54px;
    }
}

/* ============================================
   MOBILE FIXES
   ============================================ */

/* Ensure chat widget is always visible */
#cm-chat-widget {
    position: fixed !important;
    z-index: 99999 !important;
}

/* Fix body overflow for chat */
body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Email mockup mobile fix */
@media (max-width: 768px) {
    .mockup-email {
        flex-direction: column;
    }
    
    .email-sidebar {
        flex-direction: row;
        width: 100%;
        padding: 0.5rem;
        gap: 0.5rem;
        overflow-x: auto;
    }
    
    .email-folder {
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
        font-size: 0.75rem;
    }
    
    .email-list {
        max-height: 200px;
    }
    
    .email-item {
        padding: 0.75rem;
    }
    
    .email-sender {
        font-size: 0.8125rem;
    }
    
    .email-subject {
        font-size: 0.875rem;
    }
    
    .email-preview {
        display: none;
    }
    
    .email-time {
        font-size: 0.6875rem;
    }
    
    /* Hide complex mockups on very small screens */
    .mockup-word,
    .mockup-phone,
    .mockup-kanban,
    .mockup-timetrack,
    .mockup-ai {
        transform: scale(0.85);
        transform-origin: top center;
    }
}

@media (max-width: 480px) {
    .hero-mockup {
        display: none;
    }
    
    .hero.hero-feature {
        padding: 3rem 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
    }
}
