/* Premium Hero UI 2024 */
:root {
    --premium-orange: #f59e0b;
    --premium-red: #ef4444;
    --premium-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --bg-dark: #0a0a0d;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Navbar Override for Premium Hero Page */
@media (max-width: 1024px) {
    .navbar {
        background: #0a0a0d !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .navbar .nav-menu a, 
    .navbar .hamburger {
        color: #ffffff !important;
    }

    .navbar .nav-logo {
        filter: brightness(0) invert(1);
    }

    .nav-menu {
        background: #0a0a0d !important;
    }
}

.premium-hero {
    position: relative;
    padding: 120px 0 100px;
    background-color: var(--bg-dark);
    color: white;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Background Effects */
.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.25;
    pointer-events: none;
    animation: orbFloat 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--premium-orange);
    top: -200px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--premium-red);
    bottom: -100px;
    right: 5%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    top: 30%;
    left: 45%;
    opacity: 0.08;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(10deg); }
}

.premium-hero-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Content Styles */
.hero-badge-wrap {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--premium-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.hero-badge-premium i {
    font-size: 0.9rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.gradient-text {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-family: var(--font-body);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-premium.primary {
    background: var(--premium-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-premium.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-premium.primary:hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}

.btn-premium.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.btn-premium.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s;
}

.btn-premium.primary:hover::after {
    left: 120%;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

/* Visual Side */
.hero-visual {
    position: relative;
    animation: floatImage 6s infinite ease-in-out;
}

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

.visual-wrapper {
    position: relative;
    padding: 20px;
}

.glass-frame {
    background: transparent;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 0;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-frame:hover {
    transform: scale(1.02);
}

.hero-video,
.hero-3d-viewer {
    width: 100%;
    height: 100%;
    min-height: 440px;
    display: block;
    border-radius: 0;
    background-color: transparent;
    --progress-bar-color: var(--premium-orange);
    --progress-bar-height: 4px;
}

.hero-3d-viewer {
    min-height: 440px;
}

@media (max-width: 768px) {
    .hero-3d-viewer {
        min-height: 320px;
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    z-index: 3;
    animation: cardFloat 4s infinite ease-in-out;
}

.card-1 {
    top: 5%;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 5%;
    right: -40px;
    animation-delay: 1s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .premium-hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .premium-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 20px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        max-width: 550px;
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin-bottom: 50px;
    }

    .btn-premium {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-width: 180px;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .visual-wrapper {
        max-width: 700px;
        margin: 0 auto;
    }

    .floating-card {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }

    .glass-frame {
        border-radius: 24px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .premium-hero {
        padding: 80px 0 40px;
    }

    .hero-badge-premium {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .btn-premium {
        width: 100%;
        max-width: 320px;
        padding: 12px 24px;
    }

    .hero-stats {
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        align-items: center;
    }

    .hero-stats .stat-item:last-child {
        grid-column: span 2;
    }

    .visual-wrapper {
        padding: 10px;
    }

    .floating-card {
        display: none; /* Hide floating cards on very small screens to reduce clutter */
    }
}

/* Client Logos Section */
.client-logos-section {
    background: #fdfcfb; /* Subtle off-white background */
    padding: 100px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logos-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.client-logos-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.orange-text {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.2));
}

.client-logos-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.65;
    max-width: 800px;
    margin: 0 auto;
}

.logos-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.logos-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}

.row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 825px;
}

.logo-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 110px;
    width: 100%;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .row-4, .row-3 {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .row-4, .row-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .logo-item {
        height: 85px;
        padding: 15px;
    }

    .client-logos-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .client-logos-header {
        margin-bottom: 40px;
    }
    
    .logo-item img {
        max-height: 35px;
    }
}

.logo-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .client-logos-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .client-logos-grid {
        gap: 15px;
    }
    
    .logo-item {
        padding: 15px;
        height: 90px;
    }
    
    .logo-item img {
        max-height: 40px;
    }
}
