/* AI Web Builder - Landing Page */
:root {
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124, 58, 237, 0.4);
    --indigo: #6366f1;
}

* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 25px 5px var(--accent-glow); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Navbar */
.nav-landing {
    transition: all 0.3s ease;
    background: transparent;
}

.nav-landing.scrolled {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--indigo));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero */
.hero-bg {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: url('../img/hero.jpg') center/cover no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(3, 7, 18, 0.5) 0%,
        rgba(3, 7, 18, 0.35) 40%,
        rgba(3, 7, 18, 0.5) 80%,
        rgb(3, 7, 18) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(10px);
}

.hero-headline {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* Buttons */
.btn-cta {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-outline {
    border: 1px solid rgba(124, 58, 237, 0.5);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.8);
    transform: translateY(-2px);
}

/* Steps / Pipeline */
.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.step-number {
    background: linear-gradient(135deg, var(--accent), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-connector {
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

/* Glass cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card .card-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Portfolio glow */
.portfolio-img {
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.2), 0 0 120px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

/* Stats bar */
.stats-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.stats-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(3, 7, 18) 0%, rgba(3, 7, 18, 0.85) 50%, rgb(3, 7, 18) 100%);
}

.stat-value {
    background: linear-gradient(135deg, #ffffff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact form */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-btn {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    transition: all 0.3s ease;
}

.form-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-btn .spinner {
    display: none;
}

.form-btn.loading .spinner {
    display: inline-block;
}

.form-btn.loading .btn-text {
    display: none;
}

/* Floating animations for demo badges */
.animate-float-slow {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Gallery cards */
.gallery-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.gallery-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(124, 58, 237, 0.15);
}

/* Testimonial card quote */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(124, 58, 237, 0.15);
    font-family: Georgia, serif;
}

/* FAQ */
.faq-item summary {
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Pricing */
.pricing-popular {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.pricing-popular:hover {
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.25);
}

/* Footer */
.footer-gradient {
    background: linear-gradient(180deg, rgb(3, 7, 18) 0%, rgb(10, 10, 30) 100%);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #030712; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 300px;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }

    .hero-headline {
        font-size: 2.25rem;
        line-height: 1.15;
    }
}
