/* ===================================
   FLUENCY MASTER LANDING PAGE STYLES
   Theme: Universe, Technology, Science
   =================================== */

/* ============= FONTS ============= */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-title,
.section-title,
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: -0.02em;
}

/* ============= COLOR VARIABLES ============= */
:root {
    --color-purple-primary: #8b5cf6;
    --color-purple-secondary: #6d28d9;
    --color-blue-primary: #3b82f6;
    --color-blue-secondary: #1e40af;
    --color-pink-primary: #ec4899;
    --color-cyan-primary: #06b6d4;
    --color-black-bg: #000000;
    --color-dark-bg: #0a0a0f;
    --color-overlay: rgba(0, 0, 0, 0.7);
}

/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--color-black-bg);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============= GRADIENT TEXT ============= */
.gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

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

/* ============= HERO SECTION ============= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(10, 10, 15, 0.85) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    z-index: 10;
    position: relative;
}

/* Logo */
.logo-container {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Hero Title */
.hero-title {
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5),
                 0 0 60px rgba(59, 130, 246, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    color: #d1d5db;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============= CTA BUTTONS ============= */
.cta-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4),
                0 0 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6),
                0 0 30px rgba(59, 130, 246, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

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

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fade-in-down 1s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* Scroll Indicator */
.scroll-indicator {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1 !important;
}

/* ============= FEATURES SECTION ============= */
.features-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0f 50%, #000000 100%);
    position: relative;
}

/* Stars Background Effect */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 30% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.3;
    animation: stars-move 60s linear infinite;
    pointer-events: none;
}

@keyframes stars-move {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 100% 100%;
    }
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0f 100%);
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(236, 72, 153, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
}

.testimonial-avatar {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* ============= TECHNOLOGY SECTION ============= */
.technology-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #000000 50%, #0a0a0f 100%);
    position: relative;
}

.tech-image-container {
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.tech-image-container img {
    transition: transform 0.5s ease;
}

.tech-image-container:hover img {
    transform: scale(1.05);
}

.tech-feature {
    background: rgba(139, 92, 246, 0.05);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.1);
}

/* ============= PRICING SECTION ============= */
.pricing-section {
    background: linear-gradient(180deg, #0a0a0f 0%, #000000 100%);
    position: relative;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: pricing-shine 3s ease-in-out infinite;
}

@keyframes pricing-shine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pricing-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.5);
    animation: pulse-badge 2s ease-in-out infinite;
}

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

.benefits-list li {
    opacity: 0;
    animation: fade-in-left 0.5s ease forwards;
}

.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }
.benefits-list li:nth-child(5) { animation-delay: 0.5s; }
.benefits-list li:nth-child(6) { animation-delay: 0.6s; }

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============= FOOTER ============= */
.footer-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0f 100%);
}

.social-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(59, 130, 246, 0.4) 100%);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* ============= SCROLL TO TOP BUTTON ============= */
.scroll-to-top {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.7);
}

/* ============= INTERSECTION OBSERVER ANIMATIONS ============= */
.feature-card,
.testimonial-card,
.tech-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate-visible,
.testimonial-card.animate-visible,
.tech-feature.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============= RESPONSIVE ADJUSTMENTS ============= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-background {
        object-position: center;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ============= CUSTOM SCROLLBAR ============= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7c3aed 0%, #2563eb 100%);
}

/* ============= SELECTION COLOR ============= */
::selection {
    background: rgba(139, 92, 246, 0.5);
    color: white;
}

::-moz-selection {
    background: rgba(139, 92, 246, 0.5);
    color: white;
}


