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

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    min-height: 100vh;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.ai {
    color: #00d4ff;
    text-shadow: 0 0 10px #00d4ff;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(90deg); }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* AI Brain Animation */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
}

.neural-network {
    width: 100%;
    height: 100%;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
}

.neural-network::before,
.neural-network::after {
    content: '';
    position: absolute;
    border: 1px solid #4ecdc4;
    border-radius: 50%;
}

.neural-network::before {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: rotate 8s linear infinite reverse;
}

.neural-network::after {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation: rotate 6s linear infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

/* Demo Section */
.demo-section {
    padding: 4rem 2rem;
    text-align: center;
}

.demo-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.workflow-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s;
    opacity: 0.5;
    transform: scale(0.9);
}

.step.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.arrow {
    font-size: 2rem;
    color: #00d4ff;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Features */
.features {
    padding: 4rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

footer p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.email-link {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s;
}

.email-link:hover {
    text-shadow: 0 0 10px #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links a:not([href="#contact"]) {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .workflow-animation {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}
