/* Landing Page Styles - Matching App Theme */

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

/* ForgeReel Logo Styles */
.forgereel-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.forgereel-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 10px;
}

.logo-icon-inner {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 4px;
}

.logo-icon-inner::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: white;
    border-radius: 2px;
    opacity: 0.3;
}

.logo-icon-inner::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    line-height: 1;
    z-index: 2;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoShine 4s ease-in-out infinite;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.logo-text .forge {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .reel {
    background: linear-gradient(135deg, #0ea5e9 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 99, 235, 0.6);
    }
}

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

/* Logo for footer (smaller version) */
.forgereel-logo-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon-footer {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon-inner-footer {
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 3px;
    position: relative;
}

.logo-icon-inner-footer::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    line-height: 1;
}

.logo-text-footer {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #111827;
}

/* Navigation */
#navbar {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #2563eb, #0ea5e9);
    transition: width 0.3s ease;
}

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

/* Smooth scrolling for sections */
section {
    scroll-margin-top: 80px;
}

/* Modal backdrop */
#login-modal, #signup-modal {
    backdrop-filter: blur(4px);
}

/* Modal animations */
.modal-enter {
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 60px;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: none;
}

#mobile-menu.active {
    max-height: 500px;
    display: block !important;
}

/* Feature cards hover effect */
.bg-gray-800:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Button hover effects */
button, a.button {
    transition: all 0.3s ease;
}

/* Form inputs */
input, select, textarea {
    transition: all 0.3s ease;
}

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

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Dark Animated Background for Hero Section */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Animated gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(37, 99, 235, 0) 70%);
    top: -200px;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(14, 165, 233, 0) 70%);
    top: 40%;
    right: -150px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(67, 56, 202, 0.25) 0%, rgba(67, 56, 202, 0) 70%);
    bottom: -150px;
    left: 50%;
    animation-duration: 35s;
    animation-delay: -10s;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -80px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 60px) scale(0.9);
    }
}

/* Subtle mesh gradient overlay */
.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 20% 30%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(14, 165, 233, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(67, 56, 202, 0.05) 0px, transparent 50%);
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}

/* Animated Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.15);
    backdrop-filter: blur(1px);
    animation: floatParticle 20s linear infinite;
}

/* Different sizes for particles */
.particle-1, .particle-5, .particle-9 {
    width: 4px;
    height: 4px;
    background: rgba(96, 165, 250, 0.2);
    box-shadow: 0 0 6px rgba(96, 165, 250, 0.3);
}

.particle-2, .particle-6, .particle-10 {
    width: 6px;
    height: 6px;
    background: rgba(14, 165, 233, 0.18);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
}

.particle-3, .particle-7, .particle-11 {
    width: 3px;
    height: 3px;
    background: rgba(147, 197, 253, 0.15);
    box-shadow: 0 0 5px rgba(147, 197, 253, 0.2);
}

.particle-4, .particle-8, .particle-12 {
    width: 5px;
    height: 5px;
    background: rgba(59, 130, 246, 0.16);
    box-shadow: 0 0 7px rgba(59, 130, 246, 0.25);
}

/* Initial positions */
.particle-1 { left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle-2 { left: 20%; animation-duration: 30s; animation-delay: -2s; }
.particle-3 { left: 30%; animation-duration: 28s; animation-delay: -4s; }
.particle-4 { left: 40%; animation-duration: 32s; animation-delay: -1s; }
.particle-5 { left: 50%; animation-duration: 26s; animation-delay: -3s; }
.particle-6 { left: 60%; animation-duration: 29s; animation-delay: -5s; }
.particle-7 { left: 70%; animation-duration: 31s; animation-delay: -2s; }
.particle-8 { left: 80%; animation-duration: 27s; animation-delay: -4s; }
.particle-9 { left: 15%; animation-duration: 33s; animation-delay: -1s; }
.particle-10 { left: 35%; animation-duration: 28s; animation-delay: -3s; }
.particle-11 { left: 55%; animation-duration: 30s; animation-delay: -5s; }
.particle-12 { left: 75%; animation-duration: 26s; animation-delay: -2s; }

/* Floating particle animation */
@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Additional subtle geometric shapes */
.particles-container::before,
.particles-container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 8px;
    opacity: 0.3;
    animation: rotateShape 40s linear infinite;
}

.particles-container::before {
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation-duration: 50s;
}

.particles-container::after {
    bottom: 15%;
    left: 15%;
    transform: rotate(-30deg);
    animation-duration: 60s;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) translate(0, 0);
        opacity: 0.2;
    }
    50% {
        transform: rotate(180deg) translate(30px, -30px);
        opacity: 0.4;
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
        opacity: 0.2;
    }
}

