/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--logo-dark-green);
}

/* Hide horizontal scrollbar */
body {
    overflow-x: hidden;
}

:root {
    /* Dark Theme (Default) */
    --primary-gradient: linear-gradient(135deg, #1a4d3a 0%, #2d7a5a 100%);
    --secondary-gradient: linear-gradient(135deg, #1a4d3a 0%, #4a9d7a 100%);
    --accent-gradient: linear-gradient(135deg, #2d7a5a 0%, #4a9d7a 100%);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(26, 77, 58, 0.3);
    
    /* Professional Green Theme */
    --logo-dark-green: #1a4d3a;
    --logo-white: #ffffff;
    --text-dark-green: #1a4d3a;
    --accent-green: #2d7a5a;
    --light-green: #4a9d7a;
    
    /* Theme-specific variables */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --surface-bg: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --text-muted: #6a7a8a;
    --text-inverse: #000000;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(10, 10, 10, 0.95);
    --navbar-bg-scrolled: rgba(10, 10, 10, 0.98);
}

/* Light Theme */
[data-theme="light"] {
    --primary-gradient: linear-gradient(135deg, #2d7a5a 0%, #4a9d7a 100%);
    --secondary-gradient: linear-gradient(135deg, #4a9d7a 0%, #6bb6a0 100%);
    --accent-gradient: linear-gradient(135deg, #4a9d7a 0%, #6bb6a0 100%);
    --dark-bg: #ffffff;
    --card-bg: rgba(0, 0, 0, 0.02);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(45, 122, 90, 0.2);
    
    /* Professional Green Theme - Light */
    --logo-dark-green: #1a4d3a;
    --logo-white: #1a1a1a;
    --text-dark-green: #1a4d3a;
    --accent-green: #2d7a5a;
    --light-green: #4a9d7a;
    
    /* Light theme-specific variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --surface-bg: rgba(0, 0, 0, 0.02);
    --surface-hover: rgba(0, 0, 0, 0.05);
    --text-muted: #6c757d;
    --text-inverse: #ffffff;
    --border-subtle: rgba(0, 0, 0, 0.05);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.98);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary) !important;
    background: var(--bg-primary) !important;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    vertical-align: middle;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--logo-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-left: 0;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}


/* Buttons */
.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 25px 50px rgba(26, 77, 58, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(26, 77, 58, 0.1) 0%, transparent 70%);
    padding: 120px 0 120px 0;
    transition: background 0.3s ease;
}

[data-theme="light"] .hero {
    background: radial-gradient(ellipse at center, rgba(45, 122, 90, 0.05) 0%, transparent 70%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: var(--accent-gradient);
    opacity: 0.6;
    animation: streamFlow 3s infinite linear;
}

.stream-1 { left: 10%; animation-delay: 0s; }
.stream-2 { left: 30%; animation-delay: 0.5s; }
.stream-3 { left: 60%; animation-delay: 1s; }
.stream-4 { left: 80%; animation-delay: 1.5s; }

@keyframes streamFlow {
    0% { transform: translateY(-100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    z-index: 1002;
    position: relative;
    overflow: hidden;
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.2; }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.title-part-1 {
    color: #ffffff;
    display: block;
}

.title-part-2 {
    color: var(--accent-green);
    display: block;
    font-size: 0.9em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle-line {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-explanation {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-style: italic;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spreadsheet-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.spreadsheet-mockup {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateX(5deg); }
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

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

.agent-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28ca42;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
    padding: 20px;
    height: 200px;
}

.grid-cell {
    background: var(--card-bg);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-cell {
    background: rgba(74, 157, 122, 0.1);
    border-left: 3px solid #4a9d7a;
    transition: all 0.3s ease;
}

/* All cells use the same green theme */
.api-cell,
.pdf-cell,
.web-cell,
.spreadsheet-cell,
.voice-cell,
.terminal-cell {
    background: rgba(74, 157, 122, 0.1);
    border-left: 3px solid #4a9d7a;
}

.grid-cell:hover {
    transform: scale(1.02);
}

/* All cells use the same green hover effect */
.api-cell:hover,
.pdf-cell:hover,
.web-cell:hover,
.spreadsheet-cell:hover,
.voice-cell:hover,
.terminal-cell:hover {
    background: rgba(74, 157, 122, 0.2);
    box-shadow: 0 0 15px rgba(74, 157, 122, 0.3);
}

.cell-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 25px;
    font-family: 'Courier New', monospace;
}

.cell-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.agent-indicator {
    color: #4a9d7a;
    font-size: 16px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Unique animations for each cell type - all in green theme */
.api-cell .agent-indicator {
    color: #4a9d7a;
    animation: apiPulse 2s ease-in-out infinite;
}

.pdf-cell .agent-indicator {
    color: #4a9d7a;
    animation: pdfShake 2s ease-in-out infinite;
}

.web-cell .agent-indicator {
    color: #4a9d7a;
    animation: webGlow 2s ease-in-out infinite;
}

.spreadsheet-cell .agent-indicator {
    color: #4a9d7a;
    animation: spreadsheetBounce 2s ease-in-out infinite;
}

.voice-cell .agent-indicator {
    color: #4a9d7a;
    animation: voiceWave 2s ease-in-out infinite;
}

.terminal-cell .agent-indicator {
    color: #4a9d7a;
    animation: terminalBlink 2s ease-in-out infinite;
}

/* API cell animation - pulsing connection */
@keyframes apiPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(74, 157, 122, 0.4);
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(74, 157, 122, 0.1);
    }
}

/* PDF cell animation - document shake */
@keyframes pdfShake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-2px) rotate(-2deg);
    }
    75% {
        transform: translateX(2px) rotate(2deg);
    }
}

/* Web cell animation - globe glow */
@keyframes webGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(74, 157, 122, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(74, 157, 122, 0.8));
    }
}

/* Spreadsheet cell animation - table bounce */
@keyframes spreadsheetBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Voice cell animation - sound wave */
@keyframes voiceWave {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Terminal cell animation - cursor blink */
@keyframes terminalBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

.data-sources {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.source {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    animation: sourceFloat 4s ease-in-out infinite;
}

.source-1 { top: -80px; left: 20%; animation-delay: 0s; }
.source-2 { top: -80px; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.source-3 { top: -80px; right: 20%; animation-delay: 1s; }
.source-4 { bottom: -80px; left: 20%; animation-delay: 1.5s; }
.source-5 { bottom: -80px; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.source-6 { bottom: -80px; right: 20%; animation-delay: 2.5s; }

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

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse at top left, rgba(26, 77, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(74, 157, 122, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 77, 58, 0.12) 0%, rgba(45, 122, 90, 0.08) 25%, rgba(20, 20, 20, 0.95) 50%, rgba(26, 77, 58, 0.10) 75%, rgba(45, 122, 90, 0.12) 100%);
    position: relative;
    transition: background 0.3s ease;
}

[data-theme="light"] .how-it-works {
    background: 
        radial-gradient(ellipse at top left, rgba(45, 122, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(74, 157, 122, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(45, 122, 90, 0.06) 0%, rgba(74, 157, 122, 0.04) 25%, rgba(248, 249, 250, 0.95) 50%, rgba(45, 122, 90, 0.05) 75%, rgba(74, 157, 122, 0.06) 100%);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(26, 77, 58, 0.05) 0%, transparent 30%, transparent 70%, rgba(45, 122, 90, 0.05) 100%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #4a9d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
    position: relative;
    z-index: 1;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.step:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.step:nth-child(even) .step-demo {
    order: -1;
}

.step-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    font-size: 120px;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-content p:first-of-type {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-demo {
    position: relative;
}

.demo-spreadsheet {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: demoFloat 4s ease-in-out infinite;
}

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

.demo-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

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

.demo-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.collecting { background: #60a5fa; }
.status-indicator.processing { background: #a78bfa; }
.status-indicator.acting { background: #34d399; }

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    padding: 20px;
}

.demo-cell {
    background: var(--card-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    min-height: 100px;
    transition: all 0.3s ease;
}

/* Zero-latency hover effect for email cell */
.demo-cell.email-cell {
    transition: none !important;
    cursor: pointer;
}

.demo-cell.email-cell:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(26, 77, 58, 0.4) !important;
    transition: none !important;
}

.demo-cell.email-cell:hover .email-popup {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
    transition: none !important;
}

.cell-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.cell-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: loadingDots 1.5s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDots {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.cell-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.success-icon {
    color: #28ca42;
    font-size: 16px;
    animation: successPulse 0.6s ease-out;
}

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

.agent-badge, .action-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-badge {
    background: var(--accent-gradient);
}

.data-flow {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
}

.flow-arrow {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
    position: relative;
    margin: 20px 0;
    animation: flowPulse 2s infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -12px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 12px solid #a78bfa;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    filter: drop-shadow(2px 0 4px rgba(167, 139, 250, 0.3));
}

.flow-arrow::before {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 8px solid #60a5fa;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.command-panel {
    position: absolute;
    right: -200px;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-preview {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlighted-cell {
    background: rgba(96, 165, 250, 0.15) !important;
    border: 2px solid #60a5fa !important;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.2);
}

/* Removed step highlighting animations to prevent unwanted green highlights */

/* Removed step highlighting keyframe animations */

/* Conversion process animations */
@keyframes conversionDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes conversionSuccess {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(40, 202, 66, 0.5);
    }
    100% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(40, 202, 66, 0.4);
    }
}

@keyframes conversionComplete {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Source element styling for step 1 */
.source {
    transition: all 0.3s ease;
}

.source:hover {
    transform: scale(1.05);
}

/* Ensure source elements are visible and styled */
.step-1 .source {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 4px;
    font-size: 12px;
    color: #60a5fa;
    display: inline-block;
}

/* Hoverable cell styling for step 3 */
.email-cell {
    cursor: default;
    position: relative;
    transition: all 0.3s ease;
    animation: cellPulse 2s ease-in-out infinite;
    overflow: visible;
    border: 3px solid rgba(26, 77, 58, 0.9) !important;
    box-shadow: 
        0 0 0 2px rgba(26, 77, 58, 0.4),
        0 0 20px rgba(26, 77, 58, 0.3),
        inset 0 0 0 1px rgba(26, 77, 58, 0.2);
    background: rgba(26, 77, 58, 0.05) !important;
}

/* Removed email-cell hover effect to prevent unwanted green highlights */

.email-cell::after {
    content: 'Hover over me!';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(74, 157, 122, 0.95) 0%, rgba(45, 122, 90, 0.95) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    opacity: 1;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(26, 77, 58, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Removed email-cell hover effect for ::after pseudo-element */

@keyframes cellPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(26, 77, 58, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(26, 77, 58, 0.1);
    }
}

@keyframes clickMePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 0.9;
    }
}

.email-cell::after {
    animation: clickMePulse 2s ease-in-out infinite;
}

.demo-grid.highlighted {
    position: relative;
}

.demo-grid.highlighted::after {
    content: 'Right-click here';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.demo-grid.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1px;
    height: 450px;
}

.header-cell {
    background: rgba(96, 165, 250, 0.2) !important;
    font-weight: 600;
    border-bottom: 2px solid #60a5fa !important;
}

.new-column {
    background: rgba(167, 139, 250, 0.15) !important;
    border: 2px dashed #a78bfa !important;
    position: relative;
}

.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #a78bfa;
    color: white;
    font-size: 8px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.email-popup {
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    transform: translateY(-50%);
    background: var(--card-bg);
    transition: none !important;
    animation: none !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 250px;
    opacity: 1;
    visibility: visible;
}

.computer-mouse {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    z-index: 1001;
    pointer-events: none;
    color: #60a5fa;
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
    animation: mouseMove 3s ease-in-out infinite;
}

@keyframes mouseMove {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
    }
    25% {
        transform: translate(-45%, -55%) scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(96, 165, 250, 1));
    }
    75% {
        transform: translate(-55%, -45%) scale(1.1) rotate(-5deg);
        filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
    }
}

/* Enhanced mobile-specific mouse animation - more prominent and attention-grabbing */
@keyframes mouseMoveMobile {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.8));
    }
    20% {
        transform: translate(-48%, -52%) scale(1.2) rotate(3deg);
        filter: drop-shadow(0 0 15px rgba(96, 165, 250, 1));
    }
    40% {
        transform: translate(-50%, -50%) scale(1.4) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(96, 165, 250, 1));
    }
    60% {
        transform: translate(-52%, -48%) scale(1.2) rotate(-3deg);
        filter: drop-shadow(0 0 15px rgba(96, 165, 250, 1));
    }
    80% {
        transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.9));
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.8));
    }
}

.email-popup-standalone {
    position: absolute;
    top: 120px;
    right: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    backdrop-filter: blur(20px);
    transition: none !important;
    animation: none !important;
    border: 2px solid #64748b;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(100, 116, 139, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.email-popup-standalone.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: none !important;
}

@keyframes emailShake {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(100, 116, 139, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    10% {
        transform: translateX(-2px) translateY(-1px) rotate(-1deg);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    20% {
        transform: translateX(2px) translateY(1px) rotate(1deg);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(100, 116, 139, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    30% {
        transform: translateX(-1px) translateY(-2px) rotate(-0.5deg);
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(59, 130, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    40% {
        transform: translateX(1px) translateY(2px) rotate(0.5deg);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: translateX(0) translateY(0) rotate(0deg);
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(59, 130, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    60% {
        transform: translateX(-1px) translateY(1px) rotate(-0.3deg);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    70% {
        transform: translateX(1px) translateY(-1px) rotate(0.3deg);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(100, 116, 139, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    80% {
        transform: translateX(0) translateY(0) rotate(0deg);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    90% {
        transform: translateX(-0.5px) translateY(0.5px) rotate(-0.2deg);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(100, 116, 139, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* Responsive positioning for email popup */
@media (max-width: 768px) {
    .email-popup-standalone {
        top: 100px;
        right: 10px;
        max-width: 180px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .email-popup-standalone {
        top: 80px;
        right: 5px;
        max-width: 160px;
        padding: 10px;
    }
}

.email-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.email-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.email-subject {
    font-weight: 700;
    color: #f8fafc;
    font-size: 16px;
    flex: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.email-preview {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes popupSlide {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.email-draft {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    min-width: 200px;
}

.email-content {
    margin-top: 8px;
}

.email-subject {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 13px;
}

.email-preview {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.command, .preview-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-primary);
    animation: slideInRight 0.5s ease;
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(-50%) scale(0.9); }
    to { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes fadeOutScale {
    from { opacity: 1; transform: translateY(-50%) scale(1); }
    to { opacity: 0; transform: translateY(-50%) scale(0.9); }
}

/* Built By Engineers Section - Clean and Minimal */
.built-by {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, #0f2a1f 0%, #1a4d3a 25%, #2d7a5a 50%, #1a4d3a 75%, #0f2a1f 100%),
        radial-gradient(ellipse at center, rgba(45, 122, 90, 0.15) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

/* Simplified background - no particles */
.built-by-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

/* Ensure content sits above background */
.built-by .container {
    position: relative;
    z-index: 1;
}

.built-by-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}



.built-by-text {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.built-by-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

.built-by-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #e2e8f0 !important;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.company-logos {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    margin: 20px 0;
}


.logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
    animation: marquee 25s ease-in-out infinite;
    will-change: transform;
    width: 200%; /* Ensure proper width for seamless loop */
    flex-shrink: 0; /* Prevent logos from shrinking */
}

.company-logos:hover .logo-track {
    animation-play-state: paused;
}

.logo-asset {
    width: 120px;
    height: 72px;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    position: relative;
}


.logo-asset:hover {
    transform: scale(1.05) translateY(-2px);
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.aws-logo {
    background-image: url('assets/logos/aws-logo.png');
    background-size: 60%;
}

.google-logo {
    background-image: url('assets/logos/google-logo.png');
    background-size: 55%;
}

.facebook-logo {
    background-image: url('assets/logos/facebook-logo.png');
    background-size: 80%;
}

.barclays-logo {
    background-image: url('assets/logos/barclays-logo.png');
    background-size: 90%;
}


/* Smoother marquee animation */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    50% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Data Privacy Section */
.data-privacy {
    padding: 100px 0;
    background: 
        radial-gradient(ellipse at top left, rgba(26, 77, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(74, 157, 122, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 77, 58, 0.12) 0%, rgba(45, 122, 90, 0.08) 25%, rgba(10, 10, 10, 0.95) 50%, rgba(26, 77, 58, 0.10) 75%, rgba(45, 122, 90, 0.12) 100%);
    position: relative;
    transition: background 0.3s ease;
}

[data-theme="light"] .data-privacy {
    background: 
        radial-gradient(ellipse at top left, rgba(45, 122, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(74, 157, 122, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(45, 122, 90, 0.06) 0%, rgba(74, 157, 122, 0.04) 25%, rgba(248, 249, 250, 0.95) 50%, rgba(45, 122, 90, 0.05) 75%, rgba(74, 157, 122, 0.06) 100%);
}

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

.privacy-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #4a9d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content > p {
    font-size: 20px;
    color: #a0b3c7;
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: privacyFloat 10s ease-in-out infinite, privacyGlow 8s ease-in-out infinite, privacyBreath 14s ease-in-out infinite, privacyEntrance 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

.privacy-card:nth-child(1) { animation-delay: 0s, 0s, 0s, 0.2s; }
.privacy-card:nth-child(2) { animation-delay: 1.5s, 1.2s, 0.5s, 0.4s; }
.privacy-card:nth-child(3) { animation-delay: 3s, 2.4s, 1s, 0.6s; }

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a9d7a, #2d7a5a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 157, 122, 0.4);
    box-shadow: 0 15px 35px rgba(74, 157, 122, 0.15), 0 0 0 1px rgba(74, 157, 122, 0.1);
    animation-play-state: paused;
}

.privacy-card:hover::before {
    opacity: 1;
}

.privacy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d7a5a 0%, #4a9d7a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(45, 122, 90, 0.3);
    transition: all 0.3s ease;
}

.privacy-card:hover .privacy-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 15px 40px rgba(45, 122, 90, 0.5);
    animation: iconPulse 0.6s ease-out;
}

.privacy-icon i {
    font-size: 32px;
    color: #ffffff;
}

.privacy-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.privacy-card p {
    font-size: 16px;
    color: #a0b3c7;
    line-height: 1.6;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.badge-item:hover {
    background: rgba(74, 157, 122, 0.1);
    border-color: rgba(74, 157, 122, 0.3);
    transform: translateY(-2px);
}

.badge-item i {
    font-size: 16px;
    color: #4a9d7a;
}

.badge-item i:not(:last-child) {
    margin-right: 6px;
}

.badge-item i {
    flex-shrink: 0;
}

.badge-item span {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* Results Section */
.results {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, var(--bg-primary) 100%);
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .results {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-primary) 100%);
}

/* Results Background Animation */
.results-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.data-flow-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.flow-particle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(74, 157, 122, 0.1);
    border: 1px solid rgba(74, 157, 122, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(74, 157, 122, 0.4);
    font-size: 10px;
    animation: dataFlow 20s linear infinite;
    opacity: 0.6;
}

.flow-particle::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.flow-particle[data-icon="chart-line"]::before { content: '\f201'; }
.flow-particle[data-icon="coins"]::before { content: '\f51e'; }
.flow-particle[data-icon="bullhorn"]::before { content: '\f0a1'; }
.flow-particle[data-icon="briefcase"]::before { content: '\f0b1'; }
.flow-particle[data-icon="cogs"]::before { content: '\f085'; }
.flow-particle[data-icon="calendar"]::before { content: '\f133'; }

/* Staggered positioning and animation delays */
.flow-particle:nth-child(1) { 
    top: 15%; 
    left: 10%; 
    animation-delay: 0s; 
    animation-duration: 25s;
}
.flow-particle:nth-child(2) { 
    top: 25%; 
    left: 20%; 
    animation-delay: 2s; 
    animation-duration: 22s;
}
.flow-particle:nth-child(3) { 
    top: 35%; 
    left: 15%; 
    animation-delay: 4s; 
    animation-duration: 28s;
}
.flow-particle:nth-child(4) { 
    top: 45%; 
    left: 25%; 
    animation-delay: 6s; 
    animation-duration: 24s;
}
.flow-particle:nth-child(5) { 
    top: 55%; 
    left: 12%; 
    animation-delay: 8s; 
    animation-duration: 26s;
}
.flow-particle:nth-child(6) { 
    top: 65%; 
    left: 22%; 
    animation-delay: 10s; 
    animation-duration: 23s;
}
.flow-particle:nth-child(7) { 
    top: 20%; 
    left: 80%; 
    animation-delay: 1s; 
    animation-duration: 27s;
}
.flow-particle:nth-child(8) { 
    top: 30%; 
    left: 85%; 
    animation-delay: 3s; 
    animation-duration: 25s;
}
.flow-particle:nth-child(9) { 
    top: 40%; 
    left: 75%; 
    animation-delay: 5s; 
    animation-duration: 24s;
}
.flow-particle:nth-child(10) { 
    top: 50%; 
    left: 88%; 
    animation-delay: 7s; 
    animation-duration: 26s;
}

@keyframes dataFlow {
    0% {
        transform: translateX(-50px) translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(-20px) rotate(360deg);
        opacity: 0;
    }
}

.results-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.results-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #4a9d7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.workflow-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: workflowFloat 8s ease-in-out infinite, workflowGlow 6s ease-in-out infinite, workflowBreath 12s ease-in-out infinite, workflowEntrance 0.8s ease-out forwards, workflowPulse 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    opacity: 0;
    transform: translateY(30px);
}

.workflow-item:nth-child(1) { animation-delay: 0s, 0s, 0s, 0.1s, 0s; }
.workflow-item:nth-child(2) { animation-delay: 1s, 0.8s, 0.2s, 0.3s, 0.5s; }
.workflow-item:nth-child(3) { animation-delay: 2s, 1.6s, 0.4s, 0.5s, 1s; }
.workflow-item:nth-child(4) { animation-delay: 3s, 2.4s, 0.6s, 0.7s, 1.5s; }
.workflow-item:nth-child(5) { animation-delay: 4s, 3.2s, 0.8s, 0.9s, 2s; }
.workflow-item:nth-child(6) { animation-delay: 5s, 4s, 1s, 1.1s, 2.5s; }

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

@keyframes workflowGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(45, 90, 135, 0.1); }
    50% { box-shadow: 0 8px 30px rgba(45, 122, 90, 0.2); }
}

@keyframes workflowBreath {
    0%, 100% { 
        border-color: var(--border-color);
        background: var(--card-bg);
    }
    50% { 
        border-color: rgba(74, 157, 122, 0.3);
        background: rgba(74, 157, 122, 0.02);
    }
}

@keyframes workflowEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes workflowPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(45, 90, 135, 0.1);
    }
    50% { 
        transform: scale(1.01);
        box-shadow: 0 6px 25px rgba(74, 157, 122, 0.15);
    }
}

/* Privacy Card Animations */
@keyframes privacyFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

@keyframes privacyGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(74, 157, 122, 0.05); }
    50% { box-shadow: 0 8px 30px rgba(74, 157, 122, 0.1); }
}

@keyframes privacyBreath {
    0%, 100% { 
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
    }
    50% { 
        border-color: rgba(74, 157, 122, 0.2);
        background: rgba(74, 157, 122, 0.03);
    }
}

@keyframes privacyEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}


.workflow-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}


.workflow-item:hover::before {
    transform: scaleX(1);
}

.workflow-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 157, 122, 0.15), 0 0 0 1px rgba(74, 157, 122, 0.1);
    animation-play-state: paused;
}

.workflow-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 48px;
}

.workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
}

.workflow-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.workflow-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, #0f2a1f 0%, #1a4d3a 25%, #2d7a5a 50%, #1a4d3a 75%, #0f2a1f 100%),
        radial-gradient(ellipse at center, rgba(45, 122, 90, 0.15) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.cta-background,
.built-by-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-particles,
.built-by-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cta .particle,
.built-by-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s infinite linear;
}

.cta .particle:nth-child(1), .built-by-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.cta .particle:nth-child(2), .built-by-particles .particle:nth-child(2) { left: 30%; animation-delay: 1s; }
.cta .particle:nth-child(3), .built-by-particles .particle:nth-child(3) { left: 50%; animation-delay: 2s; }
.cta .particle:nth-child(4), .built-by-particles .particle:nth-child(4) { left: 70%; animation-delay: 3s; }
.cta .particle:nth-child(5), .built-by-particles .particle:nth-child(5) { left: 90%; animation-delay: 4s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    transition: none;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.cta-content p {
    font-size: 22px;
    margin-bottom: 48px;
    color: #e2e8f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
}

.cta-main-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1a4d3a;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-main-button:hover::before {
    left: 100%;
}

.cta-main-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 6px 20px rgba(255, 255, 255, 0.2);
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 20px;
    color: #28ca42;
    margin-bottom: 4px;
}

.feature-item span {
    font-size: 14px;
    color: #e2e8f0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}


/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    min-height: 200px;
    position: relative;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-signature {
    text-align: left;
}

.signature-text {
    font-size: 16px;
    color: #a0b3c7;
    margin-bottom: 4px;
    font-style: italic;
}

.signature-team {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.social-link .x-icon,
.social-link .linkedin-icon {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.social-link .linkedin-icon {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.amal-logo {
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-feedback {
    text-align: center;
    max-width: 400px;
    position: relative;
    z-index: 10;
}

.feedback-email-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.feedback-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.feedback-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a9d7a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    background: rgba(74, 157, 122, 0.2);
    border: 2px solid rgba(74, 157, 122, 0.4);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(74, 157, 122, 0.1);
}

.feedback-email:hover {
    background: rgba(74, 157, 122, 0.15);
    border-color: rgba(74, 157, 122, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 157, 122, 0.2);
}

.feedback-email i {
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #a0b3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4a9d7a;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #6a7a8a;
    font-size: 14px;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 32px 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .step:nth-child(even) .step-demo {
        order: 0;
    }
    
    .results-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .command-panel, .action-preview {
        position: static;
        transform: none;
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
    }
    
    .company-logos {
        height: 70px;
    }
    
    .logo-track {
        gap: 32px;
        animation: marquee 20s ease-in-out infinite;
    }
    
    .built-by-title {
        font-size: 15px;
    }
    
    .built-by-subtitle {
        font-size: 13px;
    }
    
    .privacy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .workflow-examples {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .privacy-content h2 {
        font-size: 40px;
    }
    
    .privacy-content > p {
        font-size: 18px;
    }
    
    .compliance-badges {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 40px;
    }
    
    .results-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .before-after {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* COMPLETE MOBILE OVERHAUL - NO OVERLAPPING */
    
    /* Reset and basic layout */
    .container {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
        overflow: visible !important;
    }
    
    /* Navigation - Simplified */
    .nav-container {
        padding: 0 20px;
        height: 60px;
        flex-wrap: wrap;
    }
    
    .nav-logo {
        flex: 1;
        min-width: 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .nav-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    
    
    .btn-primary, .btn-secondary {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 36px;
    }
    
    /* Hero Section - Clean and Simple */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        display: block;
        text-align: center;
        gap: 0;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .title-part-1 {
        display: block;
        margin-bottom: 8px;
    }
    
    .title-part-2 {
        font-size: 24px;
        display: block;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        display: flex !important;
        justify-content: center;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .stat {
        margin-bottom: 0;
        flex: 1;
        max-width: 120px;
    }
    
    .stat-number {
        font-size: 32px;
        display: block;
        margin-bottom: 4px;
        font-variant-numeric: tabular-nums;
    }
    
    .stat-label {
        font-size: 14px;
        display: block;
    }
    
    .stat-explanation {
        font-size: 11px;
        display: block;
        margin-top: 2px;
    }
    
    .hero-cta {
        display: block;
        gap: 12px;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        margin-bottom: 12px;
        display: block;
    }
    
    /* Hero Visual - Simplified */
    .hero-visual {
        margin-top: 40px;
    }
    
    .spreadsheet-container {
        max-width: 100%;
        padding: 0;
    }
    
    .spreadsheet-mockup {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .mockup-header {
        padding: 12px 16px;
    }
    
    .mockup-title {
        font-size: 13px;
    }
    
    .agent-status {
        font-size: 11px;
    }
    
    .mockup-grid {
        display: grid !important; /* Show grid on mobile with unique animations */
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 1px !important;
        padding: 8px !important;
        height: auto !important;
        min-height: 120px !important;
    }
    
    /* Mobile-specific cell styling */
    .grid-cell {
        padding: 8px !important;
        font-size: 10px !important;
        min-height: 50px !important;
    }
    
    .agent-indicator {
        font-size: 12px !important;
    }
    
    .cell-value {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    
    .data-sources {
        display: none; /* Hide floating elements */
    }
    
    /* How It Works - Simplified */
    .how-it-works {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .steps-container {
        gap: 50px;
    }
    
    .step {
        display: block;
        padding: 30px 0;
        text-align: center;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .step-header {
        display: block;
        margin-bottom: 30px;
    }
    
    .step-number {
        font-size: 48px;
        display: block;
        margin-bottom: 16px;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .step-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .step-content p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .step-demo {
        margin-top: 20px;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .demo-spreadsheet {
        max-width: 100%;
        border-radius: 12px;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    .demo-header {
        padding: 12px 16px;
    }
    
    .demo-title {
        font-size: 13px;
    }
    
    .demo-grid {
        display: none; /* Hide complex demos on mobile */
    }
    
    .command-panel, .action-preview {
        display: none; /* Hide floating elements */
    }
    
    /* Built By Section - Simplified */
    .built-by {
        padding: 40px 0;
    }
    
    .built-by-content {
        max-width: 100%;
    }
    
    .built-by-text {
        margin-bottom: 24px;
    }
    
    .built-by-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .built-by-subtitle {
        font-size: 12px;
    }
    
    .company-logos {
        height: 60px;
    }
    
    .logo-track {
        gap: 24px;
        animation: marquee 15s ease-in-out infinite;
    }
    
    .logo-asset {
        width: 60px;
        height: 36px;
    }
    
    /* Results Section - Simplified */
    .results {
        padding: 60px 0;
    }
    
    .results-content {
        max-width: 100%;
    }
    
    .results-text h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .results-text p {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .workflow-examples {
        display: block;
        gap: 20px;
    }
    
    .workflow-item {
        padding: 12px;
        margin-bottom: 16px;
        text-align: center;
        min-height: 140px !important;
    }
    
    .workflow-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 8px;
        border-radius: 8px;
    }
    
    .workflow-icon i {
        font-size: 16px;
    }
    
    .workflow-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .workflow-item p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .workflow-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .workflow-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Data Privacy - Simplified */
    .data-privacy {
        padding: 60px 0;
    }
    
    .privacy-content {
        max-width: 100%;
    }
    
    .privacy-content h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .privacy-content > p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .privacy-cards {
        display: block;
        gap: 20px;
    }
    
    .privacy-card {
        padding: 24px 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .privacy-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 16px;
    }
    
    .privacy-icon i {
        font-size: 20px;
    }
    
    .privacy-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
        min-height: auto;
    }
    
    .privacy-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .compliance-badges {
        display: block;
        gap: 12px;
        margin-top: 30px;
    }
    
    .badge-item {
        padding: 8px 16px;
        margin-bottom: 8px;
        display: inline-block;
    }
    
    /* CTA Section - Simplified */
    .cta {
        padding: 60px 0;
    }
    
    .cta-content {
        max-width: 100%;
    }
    
    .cta-content h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .cta-main-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .cta-note {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .cta-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }
    
    .feature-item {
        padding: 16px 12px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
    
    /* Footer - Simplified */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        max-width: 100%;
    }
    
    .footer-main {
        display: block;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-signature {
        margin-bottom: 20px;
    }
    
    .signature-text {
        font-size: 14px;
    }
    
    .signature-team {
        font-size: 16px;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 12px;
    }
    
    .social-link {
        width: 20px;
        height: 20px;
    }
    
    .social-link .x-icon,
    .social-link .linkedin-icon {
        font-size: 16px;
    }
    
    .footer-feedback {
        margin-bottom: 20px;
    }
    
    .feedback-text {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feedback-email {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .footer-links {
        gap: 16px;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    /* Modal - Simplified */
    .modal-content {
        width: 90%;
        margin: 5% auto;
        max-width: 350px;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 20px 20px 0;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .btn-full {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    /* Hide all complex animations and floating elements */
    .data-streams,
    .stream,
    .cta-particles,
    .particle,
    .data-flow-particles,
    .flow-particle {
        display: none !important;
    }
    
    /* Ensure no overlapping - but allow specific elements to maintain positioning */
    * {
        position: static !important;
        transform: none !important;
        z-index: auto !important;
    }
    
    /* Exception: Allow email-cell ::after pseudo-element to maintain absolute positioning for "hover me" text */
    .step-3 .demo-cell[data-cell="C1"].email-cell::after {
        position: absolute !important;
        top: 2px !important; /* Position at the top of the cell */
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        content: 'Tap me!' !important; /* Change text for mobile users */
        font-size: 9px !important; /* Smaller font for mobile */
        padding: 3px 6px !important; /* Smaller padding to fit in cell */
        background: linear-gradient(135deg, rgba(74, 157, 122, 0.9) 0%, rgba(45, 122, 90, 0.9) 100%) !important;
        color: white !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        box-shadow: 0 2px 8px rgba(26, 77, 58, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .hero-background {
        display: none;
    }
    
    /* Force proper spacing */
    section {
        margin: 0;
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    /* Mobile-only: Hide the horizontal tab with "Amal" animation */
    .hero-visual {
        display: none !important;
    }
    
    /* Prevent any absolute positioning issues */
    .email-popup,
    .context-menu,
    .computer-mouse {
        display: none !important;
    }
    
    /* Ensure text is readable */
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Mobile-only: Make step 2 animation look like a 3x3 table - clean and professional */
    .step-2 .demo-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 1px !important;
        padding: 8px !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 160px !important;
        max-height: 180px !important;
        box-sizing: border-box !important;
    }
    
    /* Mobile-only: Make step 2 cells more compact - professional look */
    .step-2 .demo-cell {
        padding: 6px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: auto !important;
    }
    
    /* Mobile-only: Conversion animation adjustments */
    .step-2 .demo-cell[data-cell="C2"] .cell-text {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
    
    .step-2 .conversion-loading-dots {
        margin-top: 2px !important;
    }
    
    .step-2 .conversion-loading-dots span {
        width: 3px !important;
        height: 3px !important;
    }
    
    /* Mobile-only: Make step 1 animation visible */
    .step-1 .demo-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(1, 1fr) !important;
        padding: 12px !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 70px !important;
        box-sizing: border-box !important;
    }
    
    /* Mobile-only: Make step 1 cells more compact */
    .step-1 .demo-cell {
        padding: 8px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Mobile-only: Hide step 3 status text */
    .step-3 .demo-status span {
        display: none !important;
    }
    
    /* Mobile-only: Make step 3 animation visible with uniform grid */
    .step-3 .demo-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(3, 60px) !important;
        gap: 1px !important;
        padding: 8px !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 220px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        width: 100% !important;
    }
    
    /* Mobile-only: Make step 3 cells uniform and compact */
    .step-3 .demo-cell {
        padding: 8px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: 60px !important;
        height: 60px !important;
        max-height: 60px !important;
        box-sizing: border-box !important;
        border: 1px solid var(--border-color) !important;
        background: var(--card-bg) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Mobile-only: Ensure cell content is uniform */
    .step-3 .demo-cell .cell-label {
        font-size: 10px !important;
        color: var(--text-secondary) !important;
        font-weight: 600 !important;
        margin-bottom: 2px !important;
        line-height: 1 !important;
    }
    
    .step-3 .demo-cell .cell-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 !important;
        gap: 2px !important;
        margin-top: 8px !important; /* Add top margin to make room for "Tap me!" text */
    }
    
    .step-3 .demo-cell .cell-text {
        font-size: 11px !important;
        color: var(--text-primary) !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        word-break: break-word !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    /* Mobile-only: Ensure C1 cell content is visible by default */
    .step-3 .demo-cell[data-cell="C1"] .cell-text {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    
    /* Mobile-only: Hide popup by default on cell C1, show on click */
    .step-3 .demo-cell[data-cell="C1"].email-cell .email-popup {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
    
    /* Mobile-only: Show popup when cell is clicked/tapped */
    .step-3 .demo-cell[data-cell="C1"].email-cell.clicked .email-popup {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: calc(100% + 10px) !important;
        transform: translateY(-50%) !important;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
        backdrop-filter: blur(20px) !important;
        border: 2px solid #64748b !important;
        border-radius: 20px !important;
        padding: 16px !important;
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(100, 116, 139, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        z-index: 1000 !important;
        min-width: 200px !important;
        max-width: 250px !important;
    }
    
    /* Mobile-only: Ensure popup doesn't overflow on very small screens */
    @media (max-width: 400px) {
        .step-3 .demo-cell[data-cell="C1"].email-cell.clicked .email-popup {
            left: calc(100% + 5px) !important;
            min-width: 180px !important;
            max-width: 200px !important;
            padding: 12px !important;
        }
    }
    
    /* Mobile-only: Hide email popup from other cells in step 3 */
    .how-it-works .step-3 .demo-cell:not([data-cell="C1"]) .email-popup {
        display: none !important;
    }
    
    /* Mobile-only: Show mouse cursor ONLY on C1 cell specifically - positioned to the right */
    .step-3 .demo-cell[data-cell="C1"] .computer-mouse {
        display: block !important;
        position: absolute !important;
        top: 50% !important;    /* Center vertically */
        left: 70% !important;   /* Position to the right side of cell */
        transform: translate(-50%, -50%) !important;
        width: 28px !important;
        height: 28px !important;
        pointer-events: none !important;
        color: #60a5fa !important;
        font-size: 20px !important;
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.8)) !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: mouseMoveMobile 2.5s ease-in-out infinite !important;
    }
    
    /* Mobile-only: Add enhanced green border to C1 cell while maintaining uniform size */
    .step-3 .demo-cell[data-cell="C1"].email-cell {
        border: 2px solid rgba(26, 77, 58, 0.9) !important;
        box-shadow: 
            0 0 0 1px rgba(26, 77, 58, 0.4),
            0 0 8px rgba(26, 77, 58, 0.3),
            inset 0 0 0 1px rgba(26, 77, 58, 0.2) !important;
        background: rgba(26, 77, 58, 0.05) !important;
        min-height: 60px !important;
        height: 60px !important;
        max-height: 60px !important;
    }
    
    /* Mobile-only: Ensure all highlighted cells have uniform styling */
    .step-3 .demo-cell.highlighted-cell {
        border: 1px solid #60a5fa !important;
        background: rgba(96, 165, 250, 0.15) !important;
        min-height: 60px !important;
        height: 60px !important;
        max-height: 60px !important;
    }
    
    
    /* Mobile-only: Hide mouse cursor from all other cells */
    .step-3 .demo-cell:not([data-cell="C1"]) .computer-mouse {
        display: none !important;
    }
    
    /* Mobile-only: Style popup content when clicked */
    .step-3 .demo-cell[data-cell="C1"].email-cell.clicked .email-popup .email-subject {
        font-weight: 700 !important;
        color: #f8fafc !important;
        font-size: 16px !important;
        flex: 1 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
        margin-bottom: 12px !important;
    }
    
    .step-3 .demo-cell[data-cell="C1"].email-cell.clicked .email-popup .email-preview {
        color: #cbd5e1 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Mobile-only: Make all company logos smaller so they all fit visibly */
    .aws-logo {
        background-size: 40% !important;
    }
    
    .google-logo {
        background-size: 35% !important;
    }
    
    .facebook-logo {
        background-size: 55% !important;
    }
    
    .barclays-logo {
        background-size: 47% !important;
    }
}
