@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #07162c;
    --primary-light: #0f294a;
    --primary-accent: #38bdf8;
    --primary-accent-glow: rgba(56, 189, 248, 0.15);
    --secondary: #2563eb;
    --secondary-light: #3b82f6;
    --dark: #030712;
    --light-bg: #f8fafc;
    --card-bg-light: #ffffff;
    --card-border-light: rgba(226, 232, 240, 0.8);
    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: #334155;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Glowing background orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

.orb-1 {
    top: 5%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(37, 99, 235, 0.05) 75%);
}

.orb-2 {
    top: 40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(56, 189, 248, 0.02) 70%);
}

.orb-3 {
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(37, 99, 235, 0.05) 70%);
}

/* Floating Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1.5deg) scale(1.02); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float-slow {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

/* Glassmorphism Header and Navigation */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass.scrolled {
    background: rgba(7, 22, 44, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.glass.scrolled a {
    color: rgba(241, 245, 249, 0.85);
}

.glass.scrolled a:hover {
    color: var(--primary-accent);
}

.glass.scrolled .logo-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass.scrolled .nav-link-item {
    color: #cbd5e1;
}

.glass.scrolled .nav-link-item:hover {
    color: #38bdf8;
}

.glass.scrolled .hamburger {
    background: white;
}
.glass.scrolled .hamburger::before, .glass.scrolled .hamburger::after {
    background: white;
}

/* Hamburger Icon styling */
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.mobile-menu-toggle.active .hamburger {
    background: transparent !important;
}
.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 22, 44, 0.5);
    backdrop-filter: blur(8px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 10% 20%, #07162c 0%, #020712 100%);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Custom premium buttons */
.btn-premium {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-accent) 100%);
    color: white !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 30px -5px rgba(56, 189, 248, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.5);
    filter: brightness(1.05);
}

.btn-premium:active {
    transform: translateY(-1px);
}

.btn-premium-outline {
    position: relative;
    border: 2px solid rgba(56, 189, 248, 0.4);
    background: transparent;
    color: var(--primary-accent) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-premium-outline:hover {
    background: rgba(56, 189, 248, 0.06);
    border-color: var(--primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -10px rgba(56, 189, 248, 0.3);
}

/* Feature grid cards */
.feature-card {
    background: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    padding: 2.25rem 2rem;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10;
    will-change: transform, box-shadow;
}

/* Staggered card floating animation (continuous) */
.feature-card:nth-child(1) { animation: cardFloat 8s ease-in-out infinite; }
.feature-card:nth-child(2) { animation: cardFloat 8s ease-in-out infinite 1.5s; }
.feature-card:nth-child(3) { animation: cardFloat 8s ease-in-out infinite 3s; }
.feature-card:nth-child(4) { animation: cardFloat 8s ease-in-out infinite 0.7s; }
.feature-card:nth-child(5) { animation: cardFloat 8s ease-in-out infinite 2.2s; }
.feature-card:nth-child(6) { animation: cardFloat 8s ease-in-out infinite 3.7s; }

@keyframes cardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0px); }
}

.feature-card:hover {
    transform: translateY(-14px) scale(1.02) !important;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    animation-play-state: paused !important; /* Pause continuous floating when hovering */
}

/* Continuous Staggered Shimmer sweep animation */
.feature-card::after, .process-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, transparent 35%, rgba(56, 189, 248, 0.05) 48%, rgba(37, 99, 235, 0.05) 52%, transparent 65%);
    transform: translateX(-100%);
    z-index: 1;
    pointer-events: none;
    animation: shimmerSweep 6s infinite ease-in-out;
}

/* Staggered Shimmer Delays */
.feature-card:nth-child(1)::after, .process-column:nth-child(1)::after { animation-delay: 0s; }
.feature-card:nth-child(2)::after, .process-column:nth-child(2)::after { animation-delay: 1.5s; }
.feature-card:nth-child(3)::after, .process-column:nth-child(3)::after { animation-delay: 3s; }
.feature-card:nth-child(4)::after { animation-delay: 0.7s; }
.feature-card:nth-child(5)::after { animation-delay: 2.2s; }
.feature-card:nth-child(6)::after { animation-delay: 3.7s; }

@keyframes shimmerSweep {
    0% { transform: translateX(-100%); }
    40%, 100% { transform: translateX(100%); }
}

/* Hover Sweep Speed Boost */
.feature-card:hover::after, .process-column:hover::after {
    animation: shimmerSweep 1.5s infinite linear !important;
}

/* Glowing Border Top Highlight - Pulsing continuously */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary));
    z-index: 2;
    animation: pulseOpacity 4s infinite ease-in-out;
}

.feature-card:nth-child(1)::before { animation-delay: 0s; }
.feature-card:nth-child(2)::before { animation-delay: 1.5s; }
.feature-card:nth-child(3)::before { animation-delay: 3s; }
.feature-card:nth-child(4)::before { animation-delay: 0.7s; }
.feature-card:nth-child(5)::before { animation-delay: 2.2s; }
.feature-card:nth-child(6)::before { animation-delay: 3.7s; }

@keyframes pulseOpacity {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.feature-card:hover::before {
    opacity: 1 !important;
    animation: none !important;
}

/* Premium Icon Container with Continuous Breathing Glow */
.premium-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: var(--secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1.75rem;
    animation: glowBreathe 4s infinite ease-in-out;
}

.feature-card:nth-child(1) .premium-icon-container { animation-delay: 0s; }
.feature-card:nth-child(2) .premium-icon-container { animation-delay: 1.5s; }
.feature-card:nth-child(3) .premium-icon-container { animation-delay: 3s; }
.feature-card:nth-child(4) .premium-icon-container { animation-delay: 0.7s; }
.feature-card:nth-child(5) .premium-icon-container { animation-delay: 2.2s; }
.feature-card:nth-child(6) .premium-icon-container { animation-delay: 3.7s; }

@keyframes glowBreathe {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
        transform: scale(1.04);
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    }
}

.feature-card:hover .premium-icon-container {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-accent) 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.35) !important;
    transform: scale(1.08) !important;
    animation: none !important;
}

.feature-card:hover .premium-icon-container i {
    transform: rotate(10deg) scale(1.08);
}

.premium-icon-container i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Process Timelines (How it works) */
.process-column {
    background: white;
    border-radius: 32px;
    padding: 3rem 2.25rem;
    box-shadow: 0 15px 40px -15px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--card-border-light);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

/* Staggered process column continuous floating */
.process-column:nth-child(1) { animation: cardFloat 8s ease-in-out infinite 0.3s; }
.process-column:nth-child(2) { animation: cardFloat 8s ease-in-out infinite 1.8s; }
.process-column:nth-child(3) { animation: cardFloat 8s ease-in-out infinite 3.3s; }

.process-column:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    animation-play-state: paused !important; /* Pause floating when hovering */
}

/* Process Number with Continuous Breathing Glow */
.process-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    flex-shrink: 0;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: numberGlowBreathe 4s infinite ease-in-out;
}

.process-column:nth-child(1) .process-number { animation-delay: 0.3s; }
.process-column:nth-child(2) .process-number { animation-delay: 1.8s; }
.process-column:nth-child(3) .process-number { animation-delay: 3.3s; }

@keyframes numberGlowBreathe {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
        transform: scale(1.08);
    }
}

.process-column:hover .process-number {
    transform: scale(1.18) !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.55) !important;
    animation: none !important;
}

.process-number-1 { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-accent) 100%); }
.process-number-2 { background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary) 100%); }

.timeline-connector {
    position: absolute;
    left: 45px;
    top: 50px;
    bottom: 20px;
    width: 2px;
    background: rgba(226, 232, 240, 0.8);
    z-index: 1;
}

.process-column:hover .timeline-connector {
    background: linear-gradient(to bottom, var(--primary-accent), transparent);
}

/* Contact premium cards */
.contact-card-premium {
    background: white;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--card-border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -15px rgba(15, 23, 42, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-premium:hover .contact-icon-wrapper {
    transform: scale(1.08) rotate(5deg);
}

.contact-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    transition: all 0.3s;
}

.contact-link-premium i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.contact-card-premium:hover .contact-link-premium i {
    transform: translateX(4px);
}

/* Initial state for scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Specific class definitions for scroll animations */
.animate-fadeInUp {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-fadeInDown {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-fadeIn {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Premium Rotating Product Carousel styles */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    position: absolute;
    height: 320px; /* h-80 in Tailwind is 20rem or 320px */
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95) translateY(12px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 20px 30px rgba(56, 189, 248, 0.22));
    pointer-events: none;
}

@media (min-width: 768px) {
    .carousel-img {
        height: 390px; /* md:h-[390px] */
    }
}

.carousel-img.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
