@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .floating-nav {
        padding: 0.75rem 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-container {
        padding: 0 1rem;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
        margin: 0;
        box-sizing: border-box;
    }
    
    .hero-container {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    
    .workflow-nodes {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    
    .connection-arrow {
        transform: rotate(90deg);
    }
    
    .automations-grid {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .workflow-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .company-logo {
        width: 100px;
        height: 50px;
    }
    
    .logos-track {
        gap: 2rem;
    }
}

/* Performance Optimizations - Phase 6 */
.integration-logo svg,
.automation-icon svg,
.feature-icon svg {
    will-change: transform;
}

.company-logo img {
    will-change: filter;
}

.automation-card::before {
    will-change: left;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logos-track {
        animation: none;
    }
}

/* Focus Styles */
.nav-link:focus {
    outline: none;
}

.cta-primary:focus,
.cta-secondary:focus,
.pricing-cta:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .floating-nav {
        display: none;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .workflow-demo {
        break-inside: avoid;
    }
}

/* Fixed Navigation - Simplified */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

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

.nav-brand .logo {
    height: 22px; /* Reduced by half from 45px */
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .floating-nav {
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    
    .nav-container {
        max-width: 100vw;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-brand .logo {
        height: 40px;
    }
    
    .floating-nav {
        padding: 0.75rem 0;
    }
}

/* Additional mobile layout fixes */
@media (max-width: 768px) {
    /* Remove the duplicate styles that are already in the first mobile media query */
}

/* LogicLabs AI - Landing Page Styles v2.0 */
/* Light Theme Variables */
:root {
    --primary-bg: #ffffff;
    --alternate-bg: #f8f9fa;
    --card-bg: #ffffff;
    --primary-text: #1a1a1a;
    --secondary-text: #6b7280;
    --accent-color: #ff6b35;
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: var(--primary-bg) !important;
    color: var(--primary-text) !important;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    max-width: 100vw; /* Ensure no overflow */
    box-sizing: border-box;
}

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

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    background: var(--primary-bg);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.cta-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-text);
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Workflow Demo */
.workflow-demo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-medium);
    animation: scaleIn 1.5s ease-out 0.8s both, float 6s ease-in-out 1.8s infinite;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

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

.demo-actions {
    display: flex;
    gap: 0.5rem;
}

.demo-btn {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.demo-content {
    padding: 1.5rem;
}

.workflow-nodes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 2rem;
    background: var(--accent-color);
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    animation: scaleIn 0.6s ease-out backwards;
}

.node:nth-child(1) { animation-delay: 0.2s; }
.node:nth-child(3) { animation-delay: 0.4s; }
.node:nth-child(5) { animation-delay: 0.6s; }
.node:nth-child(7) { animation-delay: 0.8s; }

.node-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-label {
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
}

.connection-arrow {
    color: var(--secondary-text);
    font-size: 1rem;
    font-weight: bold;
    transform: rotate(90deg);
    animation: fadeIn 0.5s ease-out backwards;
}

.connection-arrow:nth-child(2) { animation-delay: 0.3s; }
.connection-arrow:nth-child(4) { animation-delay: 0.5s; }
.connection-arrow:nth-child(6) { animation-delay: 0.7s; }

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

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    animation: fadeInUp 1s ease-out, countUp 2s ease-out 1s;
}

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

.stat-label {
    color: var(--secondary-text);
    font-size: 0.9rem;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

/* Trusted Companies Section */
.trusted-companies-section {
    padding: 4rem 0 6rem;
    background: var(--primary-bg);
    overflow: hidden;
}

.company-logos-scroll {
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.company-logo {
    flex-shrink: 0;
    height: 60px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: var(--transition);
}

.company-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.company-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow-light);
    border-color: var(--accent-color);
}

.company-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

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

/* Second row animation - opposite direction */
.logos-track-reverse {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll-logos-reverse 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-logos-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Second row spacing */
.company-logos-scroll.second-row {
    margin-top: 2rem;
}

/* Automations Section */
.automations-section {
    padding: 8rem 0;
    background: var(--alternate-bg);
}

.automations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.automation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.automation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.automation-card:hover::before {
    left: 100%;
}

.automation-card:hover {
    box-shadow: 0 8px 30px var(--shadow-medium);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.automation-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition);
}

.automation-icon svg {
    transition: var(--transition);
}

.automation-card:hover .automation-icon {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.automation-card:hover .automation-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.automation-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.automation-description {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.automation-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Integrations Section */
.integrations-section {
    padding: 8rem 0;
    background: var(--primary-bg);
}

.integrations-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--secondary-text);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-weight: 500;
}

.category-tab.active,
.category-tab:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

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

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    animation: scaleIn 0.6s ease-out;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--accent-color);
}

.integration-logo {
    margin-bottom: 1rem;
    transition: var(--transition);
}

.integration-logo svg {
    transition: var(--transition);
}

.integration-card:hover .integration-logo svg {
    transform: scale(1.1);
}

.integration-name {
    font-weight: 600;
    color: var(--primary-text);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--alternate-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background: var(--primary-bg);
}

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.pricing-card.popular {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.pricing-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-text);
}

.price-period {
    color: var(--secondary-text);
    font-size: 1rem;
}

.pricing-description {
    color: var(--secondary-text);
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--primary-text);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--primary-text);
}

.pricing-cta.primary {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.pricing-cta:hover {
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--alternate-bg);
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

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

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--alternate-bg);
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--secondary-text);
    line-height: 1.6;
}

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

.footer-title {
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--secondary-text);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--secondary-text);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--secondary-text);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.animate {
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-text);
    margin-bottom: 1rem;
    opacity: 1;
}

.section-description {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 1;
}

/* Responsive Design - Phase 5 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .workflow-nodes {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* Apply animations to elements */
.hero-badge {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-actions {
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.workflow-demo {
    animation: scaleIn 1.5s ease-out 0.8s both, float 6s ease-in-out 1.8s infinite;
}

.floating-nav {
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover animations for interactive elements */
.automation-card {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.integration-card {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.pricing-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Stagger animations for grid items */
.automation-card:nth-child(1) { animation-delay: 0.1s; }
.automation-card:nth-child(2) { animation-delay: 0.2s; }
.automation-card:nth-child(3) { animation-delay: 0.3s; }
.automation-card:nth-child(4) { animation-delay: 0.4s; }
.automation-card:nth-child(5) { animation-delay: 0.5s; }
.automation-card:nth-child(6) { animation-delay: 0.6s; }

.integration-card:nth-child(1) { animation-delay: 0.05s; }
.integration-card:nth-child(2) { animation-delay: 0.1s; }
.integration-card:nth-child(3) { animation-delay: 0.15s; }
.integration-card:nth-child(4) { animation-delay: 0.2s; }
.integration-card:nth-child(5) { animation-delay: 0.25s; }
.integration-card:nth-child(6) { animation-delay: 0.3s; }
.integration-card:nth-child(7) { animation-delay: 0.35s; }
.integration-card:nth-child(8) { animation-delay: 0.4s; }

/* Workflow node animations */
.node {
    animation: scaleIn 0.6s ease-out backwards;
}

.node:nth-child(1) { animation-delay: 0.2s; }
.node:nth-child(3) { animation-delay: 0.4s; }
.node:nth-child(5) { animation-delay: 0.6s; }
.node:nth-child(7) { animation-delay: 0.8s; }

.connection-arrow {
    animation: fadeIn 0.5s ease-out backwards;
}

.connection-arrow:nth-child(2) { animation-delay: 0.3s; }
.connection-arrow:nth-child(4) { animation-delay: 0.5s; }
.connection-arrow:nth-child(6) { animation-delay: 0.7s; }

/* Stats counter animation */
.stat-value {
    animation: fadeInUp 1s ease-out, countUp 2s ease-out 1s;
}

/* Button hover animations */
.cta-primary, .cta-secondary, .nav-cta, .pricing-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-primary:hover, .nav-cta:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Logo hover animation */
.nav-brand .logo:hover {
    animation: pulse 0.8s ease-in-out;
}

/* Section animations - these will be triggered by scroll */
/*
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}
*/

/* Mobile animations remain the same */
@media (max-width: 768px) {
    /* Reduce animation distances for mobile */
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInLeft {
        0% {
            opacity: 0;
            transform: translateX(-20px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInRight {
        0% {
            opacity: 0;
            transform: translateX(20px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
} 