/* AnchorChat.io Landing Page with Complete Ocean Environment */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif !important;
    background: linear-gradient(180deg, #001122 0%, #003366 25%, #004488 50%, #0066aa 75%, #0088cc 100%) !important;
    color: #fff !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.6 !important;
    position: relative !important;
    overflow-x: hidden !important;
}

/* Ocean Environment Base */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(100, 200, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Floating Bubbles */
.ocean-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: bubbleFloat 8s infinite linear;
    opacity: 0;
}

.bubble:nth-child(1) { left: 10%; width: 8px; height: 8px; animation-delay: 0s; animation-duration: 6s; }
.bubble:nth-child(2) { left: 20%; width: 12px; height: 12px; animation-delay: 1s; animation-duration: 8s; }
.bubble:nth-child(3) { left: 35%; width: 6px; height: 6px; animation-delay: 2s; animation-duration: 7s; }
.bubble:nth-child(4) { left: 50%; width: 10px; height: 10px; animation-delay: 3s; animation-duration: 9s; }
.bubble:nth-child(5) { left: 65%; width: 14px; height: 14px; animation-delay: 4s; animation-duration: 6s; }
.bubble:nth-child(6) { left: 80%; width: 8px; height: 8px; animation-delay: 5s; animation-duration: 8s; }
.bubble:nth-child(7) { left: 90%; width: 16px; height: 16px; animation-delay: 6s; animation-duration: 10s; }

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    100% {
        transform: translateY(-20vh) scale(0);
        opacity: 0;
    }
}

/* Underwater Light Rays */
.light-rays {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 150, 255, 0.03) 50%, transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(0, 200, 255, 0.02) 50%, transparent 60%),
        linear-gradient(225deg, transparent 40%, rgba(100, 200, 255, 0.025) 50%, transparent 60%);
    animation: lightRayShimmer 12s ease-in-out infinite;
}

@keyframes lightRayShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) rotate(0deg);
    }
    25% {
        opacity: 0.6;
        transform: translateX(10px) rotate(1deg);
    }
    50% {
        opacity: 0.4;
        transform: translateX(-5px) rotate(-0.5deg);
    }
    75% {
        opacity: 0.7;
        transform: translateX(15px) rotate(1.5deg);
    }
}

/* Floating Particles */
.ocean-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) { left: 5%; width: 2px; height: 2px; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; width: 3px; height: 3px; animation-delay: 2s; }
.particle:nth-child(3) { left: 25%; width: 1px; height: 1px; animation-delay: 4s; }
.particle:nth-child(4) { left: 35%; width: 2px; height: 2px; animation-delay: 6s; }
.particle:nth-child(5) { left: 45%; width: 3px; height: 3px; animation-delay: 8s; }
.particle:nth-child(6) { left: 55%; width: 1px; height: 1px; animation-delay: 10s; }
.particle:nth-child(7) { left: 65%; width: 2px; height: 2px; animation-delay: 12s; }
.particle:nth-child(8) { left: 75%; width: 3px; height: 3px; animation-delay: 14s; }
.particle:nth-child(9) { left: 85%; width: 1px; height: 1px; animation-delay: 16s; }
.particle:nth-child(10) { left: 95%; width: 2px; height: 2px; animation-delay: 18s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

/* Ocean Current Effect */
.ocean-current {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 0% 50%, rgba(0, 150, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(0, 200, 255, 0.03) 0%, transparent 50%);
    animation: oceanCurrent 20s ease-in-out infinite;
}

@keyframes oceanCurrent {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    25% {
        transform: translateX(20px) scale(1.02);
    }
    50% {
        transform: translateX(-10px) scale(0.98);
    }
    75% {
        transform: translateX(15px) scale(1.01);
    }
}

/* Ocean Floor Effect */
.ocean-floor {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(30, 64, 175, 0.1) 30%, rgba(30, 64, 175, 0.2) 60%, rgba(15, 23, 42, 0.4) 100%),
        radial-gradient(ellipse at 20% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: oceanFloorGlow 8s ease-in-out infinite;
}

@keyframes oceanFloorGlow {
    0%, 100% {
        opacity: 0.6;
        filter: brightness(1);
    }
    25% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
    50% {
        opacity: 0.7;
        filter: brightness(0.9);
    }
    75% {
        opacity: 0.9;
        filter: brightness(1.1);
    }
}

/* Enhanced Bubble Trails */
.bubble-trail {
    position: fixed;
    pointer-events: none;
    z-index: 1;
}

.bubble-small {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: bubbleTrail 6s infinite linear;
}

.bubble-trail:nth-child(1) {
    left: 20%;
    bottom: 0;
}

.bubble-trail:nth-child(2) {
    left: 60%;
    bottom: 0;
    animation-delay: -3s;
}

.bubble-trail:nth-child(3) {
    left: 80%;
    bottom: 0;
    animation-delay: -1.5s;
}

@keyframes bubbleTrail {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-50px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-100vh) scale(1);
    }
    100% {
        transform: translateY(-110vh) scale(0);
        opacity: 0;
    }
}

/* Deep Ocean Ambiance */
.deep-ocean-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(16, 185, 129, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: deepGlow 15s ease-in-out infinite;
}

@keyframes deepGlow {
    0%, 100% {
        opacity: 0.3;
    }
    33% {
        opacity: 0.6;
    }
    66% {
        opacity: 0.4;
    }
}

/* Anchor Loading Screen */
.anchor-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 3s forwards;
}

.ocean-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
    animation: waveAnimation 3s ease-in-out infinite;
}

.wave2 {
    animation-delay: -1s;
    opacity: 0.7;
    height: 80px;
}

.wave3 {
    animation-delay: -2s;
    opacity: 0.5;
    height: 60px;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

.anchor-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: anchorDropAnimation 2.5s ease-out;
}

.anchor {
    font-size: 4rem;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: anchorSwing 2s ease-in-out infinite;
}

.chain {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -10px;
}

.chain-link {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #9ca3af, #6b7280);
    margin: 2px 0;
    border-radius: 2px;
    animation: chainExtend 0.3s ease-out forwards;
    transform: scaleY(0);
    transform-origin: top;
}

.chain-link:nth-child(1) { animation-delay: 0.5s; }
.chain-link:nth-child(2) { animation-delay: 0.7s; }
.chain-link:nth-child(3) { animation-delay: 0.9s; }
.chain-link:nth-child(4) { animation-delay: 1.1s; }
.chain-link:nth-child(5) { animation-delay: 1.3s; }

@keyframes anchorDropAnimation {
    0% {
        transform: translateY(-200px) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: translateY(20px) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

@keyframes anchorSwing {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@keyframes chainExtend {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.loading-text {
    margin-top: 2rem;
    text-align: center;
    color: white;
    z-index: 2;
    animation: textFadeIn 1s ease-out 1.5s both;
}

.loading-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.loading-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: loadingDots 1.5s ease-in-out infinite;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingDots {
    0%, 20% {
        content: 'Dropping anchor...';
    }
    40% {
        content: 'Dropping anchor..';
    }
    60% {
        content: 'Dropping anchor.';
    }
    80%, 100% {
        content: 'Dropping anchor...';
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Main content initially hidden */
.main-content {
    opacity: 0;
    animation: contentFadeIn 1s ease-out 3.5s forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Harbor arrival effect for main content */
.main-content.harbor-arrival {
    animation: harborArrival 1.5s ease-out 3.5s both;
}

@keyframes harborArrival {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    60% {
        transform: translateX(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced hover effects for feature cards */
.bg-white\/5:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced email button with nautical theme */
.bg-blue-600:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Main Content Container Styles */
.main-content-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 3rem 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ANDROID CHROME MOBILE FIX */
@media screen and (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    /* Android Chrome backdrop-filter fallback */
    .main-content-container {
        background: rgba(0, 0, 0, 0.95) !important;
        background-color: rgba(0, 0, 0, 0.95) !important;
        border: 2px solid rgba(59, 130, 246, 1) !important;
        border-radius: 1rem !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        /* Fallback for Android Chrome */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    /* Android Chrome may not support backdrop-filter properly */
    @supports not (backdrop-filter: blur(20px)) {
        .main-content-container {
            background: rgba(0, 0, 0, 0.98) !important;
        }
    }
    
    .main-content h1 {
        font-size: 2rem !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    }
    
    .main-content h2 {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    }
    
    .main-content p,
    .main-content div,
    .main-content span {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1) !important;
        font-weight: 600 !important;
    }
    
    .bg-white\/5 {
        background: rgba(0, 0, 0, 0.9) !important;
        border: 1px solid rgba(59, 130, 246, 0.8) !important;
        color: #ffffff !important;
    }
    
    .bg-white\/5 * {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 1) !important;
    }
    
    .bg-blue-600 {
        background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
        color: #ffffff !important;
        border: 1px solid rgba(59, 130, 246, 1) !important;
    }
    
    .status-badge {
        background: rgba(59, 130, 246, 0.9) !important;
        color: #ffffff !important;
        border: 1px solid rgba(59, 130, 246, 1) !important;
    }
    
    .main-content svg {
        color: #60a5fa !important;
    }
    
    .anchor {
        font-size: 2.5rem !important;
    }
    
    .loading-text h2 {
        font-size: 1.5rem !important;
    }
    
    .loading-text p {
        font-size: 1rem !important;
    }
}

/* Specific Android Chrome fixes */
@media screen and (max-width: 768px) {
    /* Force hardware acceleration for Android */
    .main-content-container,
    .ocean-bubbles,
    .light-rays,
    .ocean-current {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
    
    /* Android Chrome text rendering fix */
    .main-content * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Fix for Android Chrome color inheritance issues */
    .main-content h1,
    .main-content h2,
    .main-content h3,
    .main-content p,
    .main-content div,
    .main-content span {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

@media (max-width: 480px) {
    .main-content-container {
        padding: 1rem !important;
    }
    
    .main-content h1 {
        font-size: 1.75rem !important;
    }
    
    .main-content h2 {
        font-size: 1.25rem !important;
    }
    
    .anchor {
        font-size: 2rem !important;
    }
    
    .loading-text h2 {
        font-size: 1.25rem !important;
    }
}

/* Additional nautical-themed enhancements */
.anchor-loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Smooth sailing effect for the main content reveal */
.main-content {
    animation: smoothSailing 1s ease-out 3.5s both;
}

@keyframes smoothSailing {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateX(10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Animated Wave Dividers */
.wave-divider {
    animation: waveFlow 8s ease-in-out infinite;
    transform-origin: center;
}

.wave-divider path:nth-child(1) {
    animation: waveLayer1 12s ease-in-out infinite;
}

.wave-divider path:nth-child(2) {
    animation: waveLayer2 10s ease-in-out infinite reverse;
}

.wave-divider path:nth-child(3) {
    animation: waveLayer3 14s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(0) scaleX(1);
    }
    25% {
        transform: translateX(-2%) scaleX(1.02);
    }
    50% {
        transform: translateX(1%) scaleX(0.98);
    }
    75% {
        transform: translateX(-1%) scaleX(1.01);
    }
}

@keyframes waveLayer1 {
    0%, 100% {
        opacity: 0.25;
        transform: translateX(0);
    }
    33% {
        opacity: 0.35;
        transform: translateX(-3%);
    }
    66% {
        opacity: 0.15;
        transform: translateX(2%);
    }
}

@keyframes waveLayer2 {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0) scaleY(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(1.5%) scaleY(1.1);
    }
}

@keyframes waveLayer3 {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    25% {
        transform: translateX(-1%) scaleY(0.95);
    }
    50% {
        transform: translateX(2%) scaleY(1.05);
    }
    75% {
        transform: translateX(-0.5%) scaleY(0.98);
    }
}

/* Floating animation for feature cards */
.feature-card-float {
    animation: gentleFloat 6s ease-in-out infinite;
}

.feature-card-float:nth-child(2n) {
    animation-delay: -2s;
}

.feature-card-float:nth-child(3n) {
    animation-delay: -4s;
}

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

/* Subtle water ripple effect on hover */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.ripple-effect:hover::before {
    width: 300px;
    height: 300px;
}

/* Compass rose decoration */
.compass-decoration {
    position: relative;
}

.compass-decoration::after {
    content: '✦';
    position: absolute;
    top: -10px;
    right: -10px;
    color: rgba(59, 130, 246, 0.3);
    font-size: 1.2rem;
    animation: compassSpin 20s linear infinite;
}

@keyframes compassSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Scroll-triggered animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced hover effects for feature cards */
.feature-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2);
}

.feature-icon {
    transition: all 0.3s ease;
}

/* Interactive step cards */
.step-card {
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.step-card:hover::after {
    width: 200px;
    height: 200px;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 10px currentColor);
}

.step-icon {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Magnetic button effect */
.magnetic-button {
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.magnetic-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.magnetic-button:hover::before {
    left: 100%;
}

.magnetic-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* Parallax scroll effect for sections */
.parallax-section {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Glowing text effect on hover */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    transform: scale(1.02);
}

/* Pulsing status badge */
.status-badge {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

/* Interactive logo effect */
.interactive-logo {
    transition: all 0.4s ease;
    cursor: pointer;
}

.interactive-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.5));
}

/* Typewriter effect for tagline */
.typewriter {
    overflow: hidden;
    border-right: 2px solid rgba(59, 130, 246, 0.7);
    white-space: nowrap;
    animation: typing 3s steps(30, end) 4s both, blink-caret 0.75s step-end infinite 4s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(59, 130, 246, 0.7); }
}

/* Staggered animation delays for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Smooth reveal animation for sections */
.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive wave on scroll */
.wave-on-scroll {
    transform: translateY(20px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wave-on-scroll.in-view {
    transform: translateY(0);
    opacity: 1;
}
