/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Futuristic Automation Theme */
    --primary-color: #5FD068;
    --primary-dark: #4AB853;
    --secondary-color: #2E3192;
    --accent-color: #00D9FF;
    --dark-bg: #0A0E27;
    --dark-card: #131836;
    --dark-hover: #1A1F45;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #7A8BA0;
    --gradient-primary: linear-gradient(135deg, #5FD068 0%, #00D9FF 100%);
    --gradient-secondary: linear-gradient(135deg, #2E3192 0%, #5FD068 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* Subtle Fog/Mist Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(95, 208, 104, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(46, 49, 146, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(95, 208, 104, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 217, 255, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: fogMove 60s linear infinite;
}

@keyframes fogMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Ensure content is above fog */
nav, section, footer {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hidden {
    display: none;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(95, 208, 104, 0.1);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    height: 70px;
}

.logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Improved header button visibility */
.nav-links .btn-primary {
    background: linear-gradient(135deg, rgba(95, 208, 104, 1) 0%, rgba(0, 217, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: 1rem;
    color: #0A0E27;
    box-shadow: 0 4px 15px rgba(95, 208, 104, 0.5);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-links .btn-primary:hover {
    background: linear-gradient(135deg, rgba(95, 208, 104, 1) 0%, rgba(0, 217, 255, 1) 100%);
    box-shadow: 0 6px 25px rgba(95, 208, 104, 0.7);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(95, 208, 104, 0.3);
}

.btn-large {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(95, 208, 104, 0.4);
}

.btn-full {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#particles {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.badge {
    display: inline-block;
    background: rgba(95, 208, 104, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(95, 208, 104, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 100;
    pointer-events: none;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ================================
   STATS SECTION
   ================================ */
.stats {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--dark-card);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(95, 208, 104, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(95, 208, 104, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

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

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(95, 208, 104, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

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

/* ================================
   SECTIONS
   ================================ */
.why-section,
.features,
.process,
.use-cases,
.faq {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-subtitle.centered {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* ================================
   WHY SECTION
   ================================ */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    margin-top: var(--spacing-xl);
    overflow: visible;
    min-height: 650px;
}

.why-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.point {
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(95, 208, 104, 0.05);
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.workflow-visualization {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 0;
    animation: fadeInUp 0.8s ease forwards;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-diagram {
    width: 100%;
    height: 100%;
    min-height: 550px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
    overflow: visible !important;
}

.workflow-node {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
}

.workflow-node:hover {
    transform: scale(1.08);
}

.workflow-node:hover circle,
.workflow-node:hover rect {
    stroke-width: 3;
    filter: drop-shadow(0 0 15px rgba(95, 208, 104, 0.9));
}

.workflow-node text {
    pointer-events: none;
}

@media (max-width: 768px) {
    .workflow-visualization {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .workflow-diagram {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .workflow-visualization {
        padding: var(--spacing-md);
    }
}

/* ================================
   FEATURES SECTION
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--dark-card);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(95, 208, 104, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(95, 208, 104, 0.2);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    animation: float 3s ease-in-out infinite;
}

.feature-icon svg {
    filter: drop-shadow(0 4px 8px rgba(95, 208, 104, 0.3));
}

.feature-card:nth-child(even) .feature-icon {
    animation-delay: 1.5s;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

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

/* ================================
   PROCESS SECTION
   ================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
}

.process-step {
    position: relative;
    padding: var(--spacing-lg);
}

/* Arrows between process steps */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--spacing-lg) / 2 - 15px);
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--spacing-lg) / 2 - 20px);
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #5FD068;
    border-top: 2px solid #5FD068;
    opacity: 0.7;
}

.process-step:last-child::after,
.process-step:last-child::before {
    display: none;
}

@media (max-width: 768px) {
    .process-step::after,
    .process-step::before {
        display: none;
    }
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   USE CASES SECTION
   ================================ */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.use-case-card {
    background: var(--dark-card);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(95, 208, 104, 0.1);
    transition: all 0.4s ease;
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(95, 208, 104, 0.2);
}

.use-case-icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.use-case-icon svg {
    filter: drop-shadow(0 3px 6px rgba(95, 208, 104, 0.3));
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-card);
    margin: var(--spacing-xl) 0;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

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

/* ================================
   FAQ SECTION
   ================================ */
.faq-list {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--dark-card);
    border-radius: 15px;
    border: 1px solid rgba(95, 208, 104, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-form-wrapper {
    background: var(--dark-card);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(95, 208, 104, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: var(--dark-bg);
    border: 1px solid rgba(95, 208, 104, 0.2);
    border-radius: 10px;
    padding: var(--spacing-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(95, 208, 104, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-card);
    padding: 0 0 var(--spacing-sm);
    border-top: 1px solid rgba(95, 208, 104, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    align-items: start;
    padding-top: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.footer-logo {
    height: 350px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    margin-bottom: 0;
    margin-top: -80px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 500px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    margin-top: var(--spacing-sm);
    border-top: 1px solid rgba(95, 208, 104, 0.1);
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(95, 208, 104, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(95, 208, 104, 0);
    }
}

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

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

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Scroll Animation Trigger */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: var(--spacing-md);
        border-left: 1px solid rgba(95, 208, 104, 0.1);
        height: calc(100vh - 70px);
        transition: right 0.3s ease;
        align-items: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid,
    .features-grid,
    .process-steps,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-visualization {
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

