/* Brand gradient */
.brand-gradient {
    background-color: #0F3D91;
    background-image: linear-gradient(135deg, #0F3D91 0%, #1E5BD7 50%, #22A6F2 100%);
}

.brand-gradient-text {
    background: linear-gradient(135deg, #0F3D91 0%, #1E5BD7 50%, #22A6F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero geometric background pattern — layered via pseudo-element
   so it doesn't overwrite the brand-gradient background-image */
.hero-pattern {
    position: relative;
}
.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(34, 166, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 91, 215, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(15, 175, 154, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Floating geometric shapes for hero */
.hero-shape {
    position: absolute;
    border-radius: 4px;
    opacity: 0.08;
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) { animation-delay: 0s; }
.hero-shape:nth-child(2) { animation-delay: -5s; }
.hero-shape:nth-child(3) { animation-delay: -10s; }
.hero-shape:nth-child(4) { animation-delay: -15s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 61, 145, 0.12);
}

/* Navbar transition */
.navbar-solid {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* GSAP handles reveal animations via autoAlpha.
   This prevents a flash of content before GSAP initializes. */
.reveal {
    visibility: hidden;
}

/* Smooth underline for links */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Value icon pulse */
.value-icon {
    transition: transform 0.3s ease;
}
.value-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Stats counter glow */
.stat-number {
    text-shadow: 0 0 40px rgba(30, 91, 215, 0.15);
}

/* Subtle page section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
}

/* Product card image placeholder shimmer */
.shimmer {
    background: linear-gradient(110deg, #E2E8F0 8%, #F1F5F9 18%, #E2E8F0 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Button glow effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-glow:hover::after {
    width: 300px;
    height: 300px;
}
