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

:root {
    /* Colors inspired by Supernova */
    --color-primary: #007AFF;
    --color-primary-dark: #0056CC;
    --color-primary-light: #E6F3FF;
    --color-secondary: #5856D6;
    --color-accent: #FF6B6B;
    --color-success: #34C759;
    --color-warning: #FF9500;

    /* Neutrals */
    --color-background: #FFFFFF;
    --color-surface: #F8F9FA;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    /* Text colors */
    --color-text-primary: #1F2937;
    --color-text-secondary: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-text-inverse: #FFFFFF;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section-Specific Animated Backgrounds */
.hero-bg, .services-bg, .contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Hero Background - Interstellar Theme */
.hero-bg {
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(52, 199, 89, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 10% 60%, rgba(255, 149, 0, 0.07) 0%, transparent 35%);
}

/* Services Background - Tech Theme */
.services-bg {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
}

/* Contact Background - Minimal Theme */
.contact-bg {
    background:
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

/* Tech Elements */
.tech-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-element {
    position: absolute;
    font-size: var(--font-size-xl);
    font-weight: 600;
    opacity: 0.1;
    color: var(--color-primary);
    animation: floatTech 15s infinite ease-in-out;
}

.tech-element.code {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-family: 'Courier New', monospace;
}

.tech-element.api {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    font-family: 'Courier New', monospace;
}

.tech-element.cloud {
    top: 35%;
    left: 80%;
    animation-delay: 4s;
    font-size: var(--font-size-2xl);
}

.tech-element.database {
    top: 60%;
    left: 5%;
    animation-delay: 6s;
}

.tech-element.mobile {
    top: 70%;
    right: 20%;
    animation-delay: 8s;
}

.tech-element.web {
    top: 45%;
    left: 30%;
    animation-delay: 10s;
}

.tech-element.rocket {
    top: 20%;
    left: 70%;
    animation-delay: 12s;
    font-size: var(--font-size-2xl);
}

.tech-element.gear {
    top: 80%;
    left: 60%;
    animation-delay: 14s;
    animation: rotateTech 20s infinite linear;
}

.tech-element.lightning {
    top: 10%;
    left: 50%;
    animation-delay: 16s;
    color: var(--color-warning);
}

.tech-element.ai {
    top: 50%;
    right: 10%;
    animation-delay: 18s;
    color: var(--color-secondary);
}

@keyframes floatTech {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 0.3; }
    50% { transform: translateY(-10px) rotate(-5deg); opacity: 0.2; }
    75% { transform: translateY(-30px) rotate(3deg); opacity: 0.25; }
}

@keyframes rotateTech {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Space Elements */
.space-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: var(--color-primary);
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
    box-shadow: 0 0 4px rgba(0, 122, 255, 0.6);
}

.star:nth-child(2n) {
    background: #ff6b6b;
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.7);
}

.star:nth-child(3n) {
    background: #a855f7;
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.6);
}

.star:nth-child(5n) {
    background: #34d399;
    box-shadow: 0 0 4px rgba(52, 211, 153, 0.5);
}

.star:nth-child(7n) {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.star:nth-child(1) { width: 2px; height: 2px; top: 20%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { width: 3px; height: 3px; top: 40%; left: 85%; animation-delay: 1s; }
.star:nth-child(3) { width: 2px; height: 2px; top: 60%; left: 25%; animation-delay: 2s; }
.star:nth-child(4) { width: 4px; height: 4px; top: 80%; left: 75%; animation-delay: 3s; }
.star:nth-child(5) { width: 2px; height: 2px; top: 30%; left: 60%; animation-delay: 4s; }

.star.small { width: 1px; height: 1px; }
.star.medium { width: 3px; height: 3px; }
.star.large { width: 5px; height: 5px; }

.star.small:nth-child(6) { top: 25%; left: 40%; animation-delay: 0.5s; }
.star.small:nth-child(7) { top: 70%; left: 90%; animation-delay: 1.5s; }
.star.small:nth-child(8) { top: 15%; left: 80%; animation-delay: 2.5s; }

.star.medium:nth-child(9) { top: 45%; left: 10%; animation-delay: 3.5s; }
.star.medium:nth-child(10) { top: 85%; left: 45%; animation-delay: 4.5s; }

.star.large:nth-child(11) { top: 10%; left: 30%; animation-delay: 5s; }
.star.large:nth-child(12) { top: 65%; left: 70%; animation-delay: 6s; }

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

/* Geometric Patterns */
.geometric-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pattern {
    position: absolute;
    border: 2px solid rgba(0, 122, 255, 0.1);
    animation: geometricFloat 12s infinite ease-in-out;
}

.pattern.hexagon {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 20%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 0s;
}

.pattern.triangle {
    width: 0;
    height: 0;
    top: 50%;
    left: 80%;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(88, 86, 214, 0.1);
    border: none;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(88, 86, 214, 0.1);
    width: 50px;
    height: 43px;
    animation-delay: 2s;
}

.pattern.circle {
    width: 40px;
    height: 40px;
    top: 75%;
    left: 30%;
    border-radius: 50%;
    animation-delay: 4s;
}

.pattern.square {
    width: 35px;
    height: 35px;
    top: 20%;
    left: 90%;
    animation-delay: 6s;
}

.pattern.diamond {
    width: 30px;
    height: 30px;
    top: 85%;
    left: 80%;
    transform: rotate(45deg);
    animation-delay: 8s;
}

@keyframes geometricFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    33% { transform: translateY(-15px) rotate(120deg); opacity: 0.3; }
    66% { transform: translateY(-5px) rotate(240deg); opacity: 0.2; }
}

/* Floating Orbs */
.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: orbFloat 20s infinite ease-in-out;
}

.orb.primary {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.2), rgba(0, 122, 255, 0.05));
    top: 40%;
    left: 5%;
    animation-delay: 0s;
}

.orb.secondary {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(88, 86, 214, 0.2), rgba(88, 86, 214, 0.05));
    top: 20%;
    right: 10%;
    animation-delay: 7s;
}

.orb.accent {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.03));
    bottom: 20%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Constellation Lines */
.constellation {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.constellation-line {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 0.5;
    stroke-dasharray: 2, 5;
    animation: constellationPulse 8s infinite ease-in-out;
}

@keyframes constellationPulse {
    0%, 100% { opacity: 0.1; stroke-dashoffset: 0; }
    50% { opacity: 0.3; stroke-dashoffset: 10; }
}

/* Section-specific hover effects */
.hero:hover .hero-bg .quantum-particle {
    animation-duration: 20s;
}

.process-section:hover .services-bg .tech-element {
    animation-duration: 6s;
    transform: scale(1.1);
}

.cta-section:hover .contact-bg .orb {
    animation-duration: 12s;
}

/* Hero nebula effect */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 25% 25%, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 30%, transparent 70%),
        radial-gradient(ellipse at 75% 75%, rgba(255, 107, 107, 0.12) 0%, rgba(255, 149, 0, 0.06) 25%, transparent 65%),
        radial-gradient(ellipse at 15% 85%, rgba(52, 199, 89, 0.10) 0%, rgba(59, 130, 246, 0.08) 35%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(168, 85, 247, 0.14) 0%, rgba(99, 102, 241, 0.07) 40%, transparent 75%);
    animation: nebulaShift 25s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 107, 107, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(52, 199, 89, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255, 149, 0, 0.09) 0%, transparent 35%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: nebulaCounterShift 30s infinite ease-in-out reverse;
    pointer-events: none;
    z-index: -2;
}

@keyframes nebulaShift {
    0%, 100% {
        transform: scale(1) rotate(0deg) translateX(0);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.15) rotate(90deg) translateX(20px);
        opacity: 1;
    }
    50% {
        transform: scale(0.9) rotate(180deg) translateX(-10px);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.05) rotate(270deg) translateX(15px);
        opacity: 0.95;
    }
}

@keyframes nebulaCounterShift {
    0%, 100% {
        transform: scale(1.1) rotate(0deg) translateY(0);
        opacity: 0.6;
    }
    33% {
        transform: scale(0.95) rotate(-120deg) translateY(-15px);
        opacity: 0.8;
    }
    66% {
        transform: scale(1.2) rotate(-240deg) translateY(10px);
        opacity: 0.7;
    }
}

/* Services binary rain effect */
.services-bg::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 200%;
    background-image:
        linear-gradient(transparent, transparent 98%, rgba(99, 102, 241, 0.1) 100%);
    background-size: 2px 100px;
    animation: binaryRain 15s linear infinite;
    pointer-events: none;
    z-index: -1;
}@keyframes binaryRain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0%); }
}

/* Pulsing tech grid */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: techGridPulse 12s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}

@keyframes techGridPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.02); }
}

/* Quantum particles */
.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    animation: quantumFloat 25s linear infinite;
    opacity: 0;
    box-shadow: 0 0 6px rgba(0, 122, 255, 0.5);
}

.quantum-particle:nth-child(odd) {
    animation-delay: -12s;
    background: linear-gradient(45deg, var(--color-accent), #10b981);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.4);
}

.quantum-particle:nth-child(3n) {
    background: linear-gradient(45deg, #a855f7, #f59e0b);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
    width: 5px;
    height: 5px;
}

.quantum-particle:nth-child(5n) {
    background: linear-gradient(45deg, #34d399, #3b82f6);
    box-shadow: 0 0 7px rgba(52, 211, 153, 0.5);
    animation-duration: 30s;
}

@keyframes quantumFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(-10px) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Nebula dust particles */
.nebula-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dust-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 100%);
    border-radius: 50%;
    animation: dustFloat 35s linear infinite;
    filter: blur(1px);
}

.dust-particle:nth-child(2n) {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, rgba(255, 149, 0, 0.2) 50%, transparent 100%);
    width: 12px;
    height: 12px;
    animation-duration: 40s;
}

.dust-particle:nth-child(3n) {
    background: radial-gradient(circle, rgba(52, 199, 89, 0.35) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    width: 6px;
    height: 6px;
    animation-duration: 30s;
}

.dust-particle:nth-child(4n) {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 100%);
    width: 10px;
    height: 10px;
    animation-duration: 45s;
}

@keyframes dustFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translate(10px, -20px) rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-30px, -100px) rotate(180deg) scale(1.2);
    }
    90% {
        opacity: 0.4;
        transform: translate(20px, -200px) rotate(315deg) scale(0.8);
    }
    100% {
        transform: translate(0, -250px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Scanning lines effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(99, 102, 241, 0.8),
        transparent
    );
    animation: scanMove 8s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes scanMove {
    0% { transform: translateY(-2px); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Data stream effect */
.data-stream {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(99, 102, 241, 0.8),
        transparent
    );
    animation: dataFlow 6s linear infinite;
    opacity: 0.7;
}

.data-stream:nth-child(even) {
    animation-delay: -3s;
    background: linear-gradient(to bottom,
        transparent,
        rgba(168, 85, 247, 0.8),
        transparent
    );
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100px) scaleY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
        transform: translateY(0) scaleY(1);
    }
    90% {
        opacity: 0.7;
        transform: translateY(calc(100vh - 100px)) scaleY(1);
    }
    100% {
        transform: translateY(100vh) scaleY(0);
        opacity: 0;
    }
}

/* Removed - replaced with section-specific styles above */

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
    animation: slideDown 0.6s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    text-decoration: none;
}

.nav-logo img {
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin: 0;
}

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

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.2s ease;
}

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

/* Buttons */
.btn-primary, .btn-outline, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
    animation: buttonPulse 0.3s ease-out;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary-light);
}

.btn-primary-large, .btn-secondary-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-base);
    border-radius: var(--radius-lg);
}

.btn-primary-large {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-primary);
}

.btn-secondary-large {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-primary-xl, .btn-outline-xl {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
}

.btn-primary-xl {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-primary);
}

.btn-outline-xl {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.04) 30%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.09) 0%, rgba(255, 107, 107, 0.05) 25%, transparent 55%),
        radial-gradient(ellipse at 40% 40%, rgba(255, 107, 107, 0.07) 0%, rgba(255, 149, 0, 0.03) 35%, transparent 50%),
        radial-gradient(ellipse at 60% 10%, rgba(52, 199, 89, 0.06) 0%, rgba(59, 130, 246, 0.04) 40%, transparent 65%);
    animation: heroBackground 18s ease-in-out infinite;
}

@keyframes heroBackground {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

.hero-container {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-primary-light);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--spacing-2xl);
    animation: slideUp 0.8s ease-out;
}

.badge-text {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    font-weight: 500;
}

.hero-animation {
    margin-bottom: var(--spacing-2xl);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.flow-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.flow-item {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-xl);
    animation: flowAnimation 4s ease-in-out infinite;
}

.flow-item.from {
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
}

.flow-item.concept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-inverse);
    animation-delay: 0.5s;
    transform: scale(1.1);
}

.flow-item.to {
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
    animation-delay: 1s;
}

.flow-item.result {
    background: linear-gradient(135deg, var(--color-accent), var(--color-warning));
    color: var(--color-text-inverse);
    animation-delay: 1.5s;
    transform: scale(1.1);
}

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

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-xl);
    animation: slideUp 0.8s ease-out 0.4s both, nebulaGlow 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.cta-divider {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.section-number {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(90deg,
        var(--color-text-primary) 25%,
        var(--color-primary) 50%,
        var(--color-text-primary) 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.process-card {
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideInStagger 0.6s ease-out forwards;
}

.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.process-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
}

.process-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

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

/* Customers Section */
.customers-section {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
    text-align: center;
}

.customer-logo {
    padding: var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
    opacity: 0;
    animation: scaleInStagger 0.5s ease-out forwards;
}

.customer-logo:nth-child(1) { animation-delay: 0.1s; }
.customer-logo:nth-child(2) { animation-delay: 0.15s; }
.customer-logo:nth-child(3) { animation-delay: 0.2s; }
.customer-logo:nth-child(4) { animation-delay: 0.25s; }
.customer-logo:nth-child(5) { animation-delay: 0.3s; }
.customer-logo:nth-child(6) { animation-delay: 0.35s; }

.customer-logo:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    padding: var(--spacing-3xl);
    background-color: var(--color-background);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.cta-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border-light);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4xl);
}

.feature-section {
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border-light);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpSequence 0.7s ease-out forwards;
    transition: all 0.3s ease;
}

.feature-section:nth-child(1) { animation-delay: 0.1s; }
.feature-section:nth-child(2) { animation-delay: 0.2s; }
.feature-section:nth-child(3) { animation-delay: 0.3s; }

.feature-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
    animation: badgeGlow 3s ease-in-out infinite;
}

.feature-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.feature-section > p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.feature-visual {
    margin-top: var(--spacing-xl);
}

.threads-demo {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.thread-item {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-inverse);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: var(--font-size-sm);
    animation: threadAnimation 2s ease-in-out infinite;
}

.thread-item:nth-child(2) { animation-delay: 0.5s; }
.thread-item:nth-child(3) { animation-delay: 1s; }

@keyframes threadAnimation {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.02); }
}

.feature-list {
    display: grid;
    gap: var(--spacing-xl);
}

.feature-item h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-surface), var(--color-background));
    border-top: 1px solid var(--color-border-light);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.cta-buttons-large {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-subtitle {
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
}

.link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-surface);
    text-align: center;
    border-top: 1px solid var(--color-border-light);
}

.newsletter-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background-color: var(--color-background);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.social-item {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

.social-item:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background-color: var(--color-background);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

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

.contact-form select {
    cursor: pointer;
}

/* Responsive form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Hero subtitle */
.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--color-text-primary);
    color: var(--color-text-inverse);
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-inverse);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-text-inverse);
}

.footer-social {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--color-text-inverse);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nebulaGlow {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(168, 85, 247, 0.1),
            0 0 40px rgba(99, 102, 241, 0.05);
    }
    33% {
        text-shadow:
            0 0 25px rgba(255, 107, 107, 0.12),
            0 0 50px rgba(255, 149, 0, 0.06);
    }
    66% {
        text-shadow:
            0 0 30px rgba(52, 199, 89, 0.1),
            0 0 60px rgba(59, 130, 246, 0.05);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .section-header h2 {
        font-size: var(--font-size-3xl);
    }

    .flow-items {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding: var(--spacing-2xl) var(--spacing-md);
        min-height: 80vh;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section-container {
        padding: var(--spacing-3xl) var(--spacing-md);
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .cta-buttons-large {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-xl, .btn-outline-xl {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .flow-item {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Additional Animation Keyframes for Sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInStagger {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes scaleInStagger {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 122, 255, 0.6);
    }
}

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

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

@keyframes buttonPulse {
    0% {
        transform: translateY(-2px) scale(1.02);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
    100% {
        transform: translateY(-2px) scale(1.02);
    }
}

@keyframes textShimmer {
    0%, 100% {
        background-position: -200% center;
    }
    50% {
        background-position: 200% center;
    }
}
