/* ============================================
   ULTRA-MODERN HERO SECTION
   Professional SaaS Product Design
   ============================================ */

.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    overflow: hidden;
    padding: 30px 0 60px;
}

/* Animated Tech Background */
.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.tech-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(248, 142, 14, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 142, 14, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite;
    transform: perspective(500px) rotateX(60deg);
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(100px);
    }
}

/* Particles */
.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(248, 142, 14, 0.8);
    border-radius: 50%;
    animation: particleFloat 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(248, 142, 14, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 60%; top: 10%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 80%; top: 60%; animation-delay: 6s; animation-duration: 22s; }
.particle:nth-child(5) { left: 30%; top: 40%; animation-delay: 1s; animation-duration: 17s; }
.particle:nth-child(6) { left: 70%; top: 30%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(7) { left: 50%; top: 70%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(8) { left: 90%; top: 40%; animation-delay: 7s; animation-duration: 21s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(40px, -40px) scale(1.1);
        opacity: 0.7;
    }
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(248, 142, 14, 0.4) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    bottom: -250px;
    left: -250px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Hero Content */
.hero-wrapper-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content-modern {
    color: white;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title-ultra {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text-primary {
    background: linear-gradient(135deg, #F98E0E 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text-primary::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F98E0E 0%, #FF6B35 100%);
    border-radius: 2px;
    opacity: 0.5;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #0066FF 0%, #00BFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-ultra {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 620px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Feature Pills */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(248, 142, 14, 0.5);
    transform: translateY(-2px);
}

.pill svg {
    width: 16px;
    height: 16px;
    color: #F98E0E;
}

/* Modern Buttons */
.hero-buttons-modern {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.btn-ultra {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-ultra {
    background: linear-gradient(135deg, #F98E0E 0%, #FF6B35 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(249, 142, 14, 0.4);
}

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

.btn-primary-ultra:hover::before {
    left: 100%;
}

.btn-primary-ultra:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 142, 14, 0.5);
}

.btn-secondary-ultra {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-ultra:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: #F98E0E;
    line-height: 1;
}

.trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual - Dashboard Window */
.hero-visual-modern {
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    padding: 60px 40px;
}

.dashboard-window {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.dashboard-window:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-controls span:nth-child(1) { background: #FF5F57; }
.window-controls span:nth-child(2) { background: #FFBD2E; }
.window-controls span:nth-child(3) { background: #28CA42; }

.window-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.window-content {
    position: relative;
    padding: 24px;
    background: rgba(15, 23, 42, 0.5);
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Code Terminal Overlay */
.code-terminal {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(248, 142, 14, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.terminal-prompt {
    color: #10B981;
    font-weight: bold;
}

.terminal-text {
    color: rgba(255, 255, 255, 0.8);
}

.terminal-cursor {
    width: 8px;
    height: 16px;
    background: #F98E0E;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s infinite ease-in-out;
    z-index: 10;
    color: white;
}

.float-1 {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 15%;
    right: 8%;
    animation-delay: 2s;
}

.float-3 {
    top: 40%;
    left: -5%;
    animation-delay: 4s;
}

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

.card-icon {
    font-size: 2rem;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-wrapper-modern {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual-modern {
        max-width: 700px;
        margin: 0 auto;
        padding: 40px 20px;
    }
    
    .floating-card {
        position: relative;
        display: inline-flex;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin: 12px;
    }
    
    .float-1, .float-2, .float-3 {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 15px 0 40px;
    }
    
    .hero-title-ultra {
        font-size: 2.25rem;
    }
    
    .hero-subtitle-ultra {
        font-size: 1.125rem;
    }
    
    .hero-buttons-modern {
        flex-direction: column;
    }
    
    .btn-ultra {
        width: 100%;
        justify-content: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .trust-divider {
        width: 100%;
        height: 1px;
    }
    
    .code-terminal {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .tech-grid {
        background-size: 50px 50px;
    }
}

@media (max-width: 480px) {
    .hero-pills {
        flex-direction: column;
    }
    
    .pill {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   COMPACT CLIENT LOGOS SECTION
   ========================================== */

.client-logos-compact {
    background: #F8F9FA;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #E9ECEF;
    border-top: 1px solid #E9ECEF;
}

.client-logos-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 142, 14, 0.2), transparent);
}

.client-logos-compact .client-logos-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-logos-compact .client-logos-track {
    display: flex;
    gap: 16px;
    animation: scroll-logos 40s linear infinite;
    will-change: transform;
}

.client-logos-compact .client-logos-track:hover {
    animation-play-state: paused;
}

.client-logos-compact .client-logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: #EBEBED;
    border-radius: 8px;
    border: 1px solid #DCDDE0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.client-logos-compact .client-logo-item:hover {
    background: white;
    border-color: #F98E0E;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(248, 142, 14, 0.2);
}

.client-logos-compact .client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.3);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logos-compact .client-logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive for Compact Logos */
@media (max-width: 768px) {
    .client-logos-compact {
        padding: 8px 0;
    }
    
    .client-logos-compact .client-logo-item {
        width: 100px;
        height: 45px;
        padding: 3px;
    }
    
    .client-logos-compact .client-logos-track {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .client-logos-compact {
        padding: 6px 0;
    }
    
    .client-logos-compact .client-logo-item {
        width: 80px;
        height: 38px;
        padding: 3px;
    }
    
    .client-logos-compact .client-logos-track {
        gap: 10px;
    }
}

