/* 
 * S2 Shine Global Styles
 * Centralized styles extracted from Google Stitch generated files.
 */

/* Icon configuration */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism containers */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0px 10px 30px rgba(0, 51, 102, 0.05);
}

/* Scroll reveal mechanism */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar concealment */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Web Component representation */
threejs-scene {
    display: block;
}

/* Color gradients */
.text-gradient {
    background: linear-gradient(135deg, #001e40 0%, #0059bb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulse/Shimmer animations */
.shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Graphic/image shimmers */
.image-shimmer {
    position: relative;
    overflow: hidden;
}
.image-shimmer::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: imageShimmer 2.5s infinite;
}
@keyframes imageShimmer {
    100% { transform: translateX(100%); }
}

/* Premium micro-animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Hover highlights */
.underline-animation {
    position: relative;
}
.underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0059bb;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Dynamic shadows */
.cta-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 89, 187, 0.4);
}

/* General tab selections */
.tab-button.active {
    border-bottom: 2px solid #0059bb;
    color: #0059bb;
    font-weight: 600;
}
.hero-dot {
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
#hero-animation-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Animated Gradients */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gradient-animate {
    background-size: 200% 200% !important;
    animation: gradientShift 15s ease infinite !important;
}
