.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #22d3ee, #06b6d4);
    z-index: 9999;
    transition: width 0.1s ease;
    width: 0%;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.matrix-char {
    position: absolute;
    font-family: monospace;
    font-size: 14px;
    color: rgba(6, 182, 212, 0.3);
    animation: matrix-fall linear infinite;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: orb-float 20s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: orb-float 25s ease-in-out infinite reverse;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.cursor {
    animation: blink 1s infinite;
    color: #22d3ee;
}

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

.btn-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    color: #0a0a0f;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #22d3ee;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(34, 211, 238, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

.feature-card, .pricing-card, .step-card {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.reveal-section {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(30px);
    transition: clip-path 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
}

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

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

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-content {
    transform: translate(-50%, -50%) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-slide {
    flex-shrink: 0;
}

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

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.pricing-toggle {
    color: #9ca3af;
}

.pricing-toggle.active {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    color: #0a0a0f;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22d3ee;
    transition: width 0.3s ease;
}

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

.typing-demo {
    position: relative;
}

.typing-demo::after {
    content: '|';
    color: #22d3ee;
    animation: typing-cursor 1s infinite;
}

@keyframes typing-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.generated-text {
    position: relative;
}

@keyframes text-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-message {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-icon, .close-icon {
    transition: opacity 0.3s ease;
}

.error-message {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

input:focus, textarea:focus, select:focus {
    outline: none;
}

.counter {
    font-variant-numeric: tabular-nums;
}

.testimonials-container {
    will-change: transform;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .gradient-orb {
        width: 300px !important;
        height: 300px !important;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(34, 211, 238, 0.3);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #12121a;
}

::-webkit-scrollbar-thumb {
    background: #222230;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22d3ee;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.demo-window {
    animation: float-demo 6s ease-in-out infinite;
}

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

.step-card {
    opacity: 0;
    transform: translateY(20px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.pricing-card:hover {
    transform: translateY(-5px);
}