body {
    background-color: #f4efea;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E"),
        radial-gradient(circle at 10% 20%, rgba(169, 154, 146, 0.25), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(25, 49, 72, 0.10), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5), transparent 60%);
    background-attachment: fixed;
    color: #193148;
}
.glacier-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 1);
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px rgba(25, 49, 72, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.6);
}
.glacier-btn {
    background: linear-gradient(135deg, #193148, #2c4c6e);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(25, 49, 72, 0.2), inset 1px 1px 2px rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-weight: 600;
}
.glacier-btn:active {
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
}
.text-gradient-ice {
    background: linear-gradient(to right, #193148, #a99a92);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.soft-etched-line {
    border-bottom: 1px solid rgba(169, 154, 146, 0.2);
}
.shadow-glacier-card {
    box-shadow: 0 25px 50px -12px rgba(25, 49, 72, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.shadow-ice-glow {
    box-shadow: 0 0 30px rgba(169, 154, 146, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.5);
}
.shadow-soft-ice {
    box-shadow: 0 10px 30px rgba(25, 49, 72, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Animations for How We Work Section */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.float-anim {
    animation: float 4s ease-in-out infinite;
}
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-wrapper.is-visible .process-step {
    opacity: 1;
    transform: translateY(0);
}
.connection-line-bg {
    overflow: hidden;
}
.connection-line {
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}
.process-wrapper.is-visible .connection-line {
    width: 100%;
}
.step-icon-wrapper {
    transition: all 0.3s ease;
}
.process-step:hover .step-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(123, 209, 250, 0.4), inset 0 0 10px rgba(123, 209, 250, 0.2);
    border-color: rgba(123, 209, 250, 0.6);
}

/* How We Work 3D Flipping Circle Styles */
.process-flip-container {
    perspective: 1200px;
    width: 420px;
    height: 420px;
}
@media (max-width: 640px) {
    .process-flip-container {
        width: 320px;
        height: 320px;
    }
}
.process-flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    /* Rotation is driven directly by scroll position — no CSS transition needed */
}
.process-flip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 9999px; /* Rounded full */
    box-shadow: 0 20px 80px rgba(0,0,0,0.7), inset 0 0 60px rgba(0,0,0,0.35);
}
.process-flip-face.front {
    z-index: 2;
    transform: rotateY(0deg);
}
.process-flip-face.back {
    transform: rotateY(180deg);
}
.process-progress-dot {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Why Kaen — Stagger Slide-in Animation */
.why-kaen-item {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-kaen-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}


/* Strong text shadow for readability over videos */
.text-shadow-strong {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0px 0px 8px rgba(0, 0, 0, 0.7);
}

/* Dark transparent glass for boxes over video */
.dark-glass {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
