/* ===================================
   LobbyBase - Modern Landing Page CSS
   =================================== */

/* Root Variables */
:root {
    --primary-color: #00b4ff;
    --primary-dark: #0099DD;
    --primary-light: #33C4FF;
    --secondary-color: #00C896;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 800;
}

.display-4 {
    font-size: 3rem;
    font-weight: 800;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.display-6 {
    font-size: 2rem;
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Futuristic Background Animation */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.15);
    border: 2px solid rgba(0, 180, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: floatBubble 20s infinite ease-in-out;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 5%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.bubble-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation-duration: 16s;
    animation-delay: -7s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    top: 50%;
    right: 30%;
    animation-duration: 20s;
    animation-delay: -10s;
}

.bubble-6 {
    width: 90px;
    height: 90px;
    bottom: 10%;
    left: 50%;
    animation-duration: 17s;
    animation-delay: -12s;
}

.bubble-7 {
    width: 55px;
    height: 55px;
    top: 15%;
    left: 40%;
    animation-duration: 19s;
    animation-delay: -14s;
}

.bubble-8 {
    width: 85px;
    height: 85px;
    top: 70%;
    right: 25%;
    animation-duration: 21s;
    animation-delay: -16s;
}

.bubble-9 {
    width: 65px;
    height: 65px;
    top: 45%;
    left: 25%;
    animation-duration: 16s;
    animation-delay: -18s;
}

.bubble-10 {
    width: 75px;
    height: 75px;
    bottom: 30%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: -20s;
}

.bubble-11 {
    width: 50px;
    height: 50px;
    top: 20%;
    right: 40%;
    animation-duration: 14s;
    animation-delay: -22s;
}

.bubble-12 {
    width: 95px;
    height: 95px;
    bottom: 40%;
    right: 30%;
    animation-duration: 23s;
    animation-delay: -24s;
}

/* Large Circles */
.large-circle {
    opacity: 0.1;
    border-width: 3px;
}

.circle-1 {
    width: 180px;
    height: 180px;
    top: 5%;
    left: 50%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: 25%;
    animation-duration: 28s;
    animation-delay: -10s;
}

.circle-3 {
    width: 160px;
    height: 160px;
    top: 55%;
    left: 8%;
    animation-duration: 22s;
    animation-delay: -15s;
}

/* Orbital Paths */
.orbital-path {
    position: absolute;
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-radius: 50%;
    animation: rotateOrbit 30s linear infinite;
}

.orbital-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-duration: 25s;
}

.orbital-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 15%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbital-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation-duration: 35s;
}

.orbital-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Globe */
.globe-container {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    animation: floatGlobe 8s ease-in-out infinite;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.3), rgba(0, 180, 255, 0.1));
    border: 2px solid rgba(0, 180, 255, 0.4);
    position: relative;
    animation: rotateGlobe 20s linear infinite;
    box-shadow: 
        inset 0 0 50px rgba(0, 180, 255, 0.2),
        0 0 30px rgba(0, 180, 255, 0.3);
}

.globe-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(0, 180, 255, 0.2), transparent);
    border: 1px solid rgba(0, 180, 255, 0.3);
}

.globe-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: 
        linear-gradient(rgba(0, 180, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* Animations */
@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) translateX(-15px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(25px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes rotateOrbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateGlobe {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatGlobe {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-60%) translateX(10px);
    }
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: -5%;
}

.card-2 {
    bottom: 10%;
    left: -5%;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Trust Bar */
.trust-bar {
    padding: 3rem 0;
}

.trust-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Industry Cards */
.industry-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stat-item {
    padding: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars i {
    font-size: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* CTA Section */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Utility Classes */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.bg-primary-subtle {
    background-color: rgba(0, 180, 255, 0.1);
}

.bg-success-subtle {
    background-color: rgba(0, 200, 150, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 991px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .floating-card {
        position: static;
        margin-top: 1rem;
        animation: none;
    }
    
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

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

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Footer Styles */
footer h5 {
    color: white !important;
}

.footer-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 18px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

.footer-logo:hover {
    opacity: 1;
}

/* Print Styles */
@media print {
    .navbar,
    .floating-card,
    footer {
        display: none;
    }
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar Styling (Webkit) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
