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

/* Hide mobile animation section on desktop */
.mobile-animation {
    display: none;
}

:root {
    --bg-primary: #0A0E1A;
    --bg-secondary: #1A1F3A;
    --accent-primary: #00D4FF;
    --accent-secondary: #6B5B95;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #6B7280;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #6B5B95 100%);
    --gradient-secondary: linear-gradient(135deg, #1A1F3A 0%, #0A0E1A 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--glass-bg);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Data Flow Animation */
.data-flow-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.data-input, .data-output {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-snippet, .schema-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    opacity: 0;
    animation-fill-mode: both;
}

.data-snippet:nth-child(1) { animation-delay: 0s; }
.data-snippet:nth-child(2) { animation-delay: 0.5s; }
.data-snippet:nth-child(3) { animation-delay: 1s; }
.data-snippet:nth-child(4) { animation-delay: 1.5s; }

.schema-item:nth-child(1) { animation-delay: 2s; }
.schema-item:nth-child(2) { animation-delay: 2.5s; }
.schema-item:nth-child(3) { animation-delay: 3s; }
.schema-item:nth-child(4) { animation-delay: 3.5s; }

@keyframes float {
    0%, 20% { opacity: 0; transform: translateY(20px); }
    50%, 80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

.data-processor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.westos-core {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: expand 2s ease-in-out infinite;
}

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

@keyframes expand {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    transform: rotate(45deg);
}

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

/* Sections */
section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p, .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Problem/Solution */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.before h3 {
    color: #ff6b6b;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.after h3 {
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.chaos-grid, .order-grid {
    display: grid;
    gap: 1rem;
}

.chaos-item, .order-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.chaos-item {
    border-color: rgba(255, 107, 107, 0.3);
}

.order-item {
    border-color: rgba(0, 212, 255, 0.3);
}

.chaos-item:hover, .order-item:hover {
    transform: translateY(-5px);
}

/* Deployment Options */
.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.deployment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.deployment-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, var(--glass-bg) 100%);
}

.deployment-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.deployment-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.deployment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

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

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.deployment-features {
    text-align: left;
    margin-bottom: 2rem;
}

.feature-item {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

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

.deployment-note {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.deployment-note strong {
    color: var(--accent-primary);
}

/* Privacy Section */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.privacy-feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.privacy-feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.1);
}

.privacy-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

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

.privacy-feature p {
    color: var(--text-secondary);
    text-align: left;
}

/* How It Works */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: left;
    flex: 1;
    max-width: 350px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.step p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.step-examples span {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.step-transformation {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-transformation .before {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.step-transformation .becomes {
    text-align: center;
    color: var(--accent-primary);
    margin: 0.5rem 0;
}

.step-transformation .after {
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

.step-actions {
    display: grid;
    gap: 0.4rem;
}

.step-actions span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Integrations */
.integration-categories {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.integration-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.integration-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.integration-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.integration-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.05);
}

.integration-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.integration-item:hover .integration-icon {
    transform: scale(1.1);
    background: rgba(0, 212, 255, 0.2);
}

.integration-item span {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.integration-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.integration-note {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.integration-note strong {
    color: var(--accent-primary);
}


/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-secondary);
}

/* Workflow Demos */
.workflow-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.workflow-tab {
    /* Reset button defaults */
    border: none;
    outline: none;
    font-family: inherit;
    margin: 0;
    
    /* Custom styles */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.workflow-tab:hover, .workflow-tab.active {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

.workflow-content {
    position: relative;
    min-height: 400px;
}

.workflow-demo {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.workflow-demo.active {
    display: block;
}

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

.workflow-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.workflow-before, .workflow-after {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Mock UI Elements */
.mock-email {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    color: #333;
    font-family: system-ui, -apple-system, sans-serif;
}

.email-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.email-body {
    font-style: italic;
    line-height: 1.6;
}

.mock-excel {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mock-excel table {
    width: 100%;
    border-collapse: collapse;
    color: #333;
    font-size: 0.9rem;
    table-layout: fixed;
}

.mock-excel th, .mock-excel td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
    vertical-align: top;
    word-wrap: break-word;
}

.mock-excel th:last-child, .mock-excel td:last-child {
    border-right: none;
}

.mock-excel th {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.mock-excel .highlight {
    background: #fff3cd;
    font-weight: 600;
    animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% { background: #fff3cd; }
    50% { background: #ffeaa7; }
}

.mock-slack {
    background: #4a154b;
    border-radius: 10px;
    padding: 1.5rem;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
}

.slack-message, .slack-response {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.slack-message {
    background: rgba(255, 255, 255, 0.1);
}

.slack-response {
    background: rgba(0, 212, 255, 0.2);
    border-left: 3px solid var(--accent-primary);
}

.mock-erp {
    background: #e8f4fd;
    border-radius: 10px;
    padding: 1.5rem;
    color: #1f2937;
    font-family: system-ui, -apple-system, sans-serif;
}

.erp-action {
    font-weight: 600;
    margin-bottom: 1rem;
}

.po-details {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.po-details div {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Processing Steps */
.processing-steps, .network-updates, .intelligence-feed, .auto-steps {
    margin-top: 1rem;
}

.step, .update, .intel-item, .auto-step {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
    font-size: 0.9rem;
}

/* Terminal Demo */
.terminal-demo {
    background: #1A1F2E;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-header {
    background: #2A2F3E;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.terminal-body {
    padding: 2rem;
    font-family: 'Monaco', 'Consolas', monospace;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.prompt {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.command {
    color: var(--text-primary);
}

.cursor {
    width: 2px;
    height: 1.2rem;
    background: var(--accent-primary);
    animation: blink 1s infinite;
}

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

.terminal-output {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.terminal-output.show {
    opacity: 1;
}

/* Try It Now Popup */
.try-it-popup {
    position: fixed;
    top: 50%;
    right: -500px;
    transform: translateY(-50%);
    width: 450px;
    max-width: 90vw;
    max-height: 80vh;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.try-it-popup.active {
    right: 2rem;
    opacity: 1;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    padding: 2rem 2rem 1rem;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.popup-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.popup-header p {
    color: var(--text-secondary);
    margin: 0;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.popup-channels {
    padding: 1rem 2rem;
}

.channel-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.channel-option:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.channel-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: var(--text-primary);
}

.channel-info {
    flex: 1;
}

.channel-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.channel-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.channel-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-address {
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-primary);
    border: 1px solid var(--glass-border);
}

.copy-btn, .whatsapp-btn, .slack-btn, .chat-btn, .email-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover, .whatsapp-btn:hover, .slack-btn:hover, .chat-btn:hover, .email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.copy-btn.copied {
    background: #10b981;
    transform: scale(0.95);
}

.popup-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.popup-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.popup-footer strong {
    color: var(--accent-primary);
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .try-it-popup {
        position: fixed;
        top: auto;
        bottom: -100%;
        right: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: 80vh;
        border-radius: 20px 20px 0 0;
        background: rgba(10, 14, 26, 0.95);
    }
    
    .try-it-popup.active {
        bottom: 0;
        right: 0;
    }
    
    .popup-header, .popup-channels, .popup-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .channel-option {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .channel-info {
        text-align: center;
    }
    
    .channel-action {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .email-address {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* CTA Section */
.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta {
    background: var(--gradient-secondary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    color: var(--text-primary);
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Improved Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-links.nav-open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
        text-align: center;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 100vh;
        max-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Hide desktop animation in hero on mobile */
    .hero-visual {
        display: none;
    }
    
    /* Mobile animation section - only visible on mobile */
    .mobile-animation {
        display: block;
        padding: 3rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 212, 255, 0.02);
    }
    
    .mobile-animation .data-flow-container {
        transform: scale(0.8);
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .data-flow-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        transform: scale(0.9);
    }
    
    .data-snippet, .schema-item {
        padding: 0.75rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .westos-core {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }
    
    .before-after {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .integration-orbit {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .orbit-center {
        position: relative;
        transform: none;
    }
    
    .westos-hub {
        width: 100px;
        height: 100px;
        font-size: 1.1rem;
        position: static;
    }
    
    .integration-icons {
        position: static;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0;
        max-width: 320px;
    }
    
    .integration-item {
        position: static !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        border-radius: 12px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        transition: all 0.3s ease;
    }
    
    .integration-item:hover {
        background: rgba(0, 212, 255, 0.1);
        border-color: var(--accent-primary);
        transform: scale(1.05) !important;
    }
    
    .integration-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .integration-item span {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile deployment options */
    .deployment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deployment-card {
        padding: 1.5rem;
    }
    
    .deployment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    /* Mobile privacy section */
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .privacy-feature {
        padding: 1.5rem;
    }
    
    .privacy-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Mobile workflow demos */
    .workflow-tabs {
        gap: 0.5rem;
        margin: 2rem 0 1rem;
    }
    
    .workflow-tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .workflow-split {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        align-self: center;
        justify-self: center;
    }
    
    .workflow-before, .workflow-after {
        padding: 1.5rem;
    }
    
    .mock-excel table {
        font-size: 0.8rem;
    }
    
    .mock-excel th, .mock-excel td {
        padding: 0.5rem;
    }
    
    .mock-slack, .mock-email, .mock-erp {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile integrations */
    .integration-categories {
        gap: 2rem;
    }
    
    .integration-category {
        padding: 1.5rem;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .integration-item {
        padding: 1rem;
    }
    
    .integration-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Mobile CTA stats */
    .cta-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Enhanced mobile sections */
    section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-header p, .section-subtitle {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    /* Mobile terminal improvements */
    .terminal-demo {
        margin: 2rem 0.5rem;
        border-radius: 12px;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .terminal-output {
        font-size: 0.75rem;
        line-height: 1.4;
        max-height: 200px;
        overflow-y: auto;
    }
    
    /* Touch-friendly improvements */
    .feature-card {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .btn-primary.large, .btn-secondary.large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        min-height: 50px;
    }
    
    /* Reduce motion for mobile performance */
    @media (prefers-reduced-motion: reduce) {
        .data-snippet, .schema-item {
            animation: none;
        }
        
        .westos-core, .core-pulse {
            animation: none;
        }
        
        .scroll-indicator {
            animation: none;
        }
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .integration-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .integration-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .integration-item span {
        font-size: 0.7rem;
    }
    
    .terminal-body {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .data-flow-container {
        transform: scale(0.8);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}