/* --- FIXED CSS FOR MOBILE LOCK --- */
html, body { 
    font-family: 'Inter', sans-serif; 
    background-color: #000; 
    
    /* THE LOCK: This prevents side-to-side scrolling */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    touch-action: pan-y; /* Allows vertical scroll but hints against horizontal */
}

/* Premium Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 50;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animated Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
    z-index: -1;
    /* Ensure blobs don't trigger scroll bars */
    max-width: 100vw; 
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #22c55e; animation-delay: 0s; }
.blob-2 { bottom: 10%; right: -10%; width: 400px; height: 400px; background: #065f46; animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: #166534; opacity: 0.2; animation-duration: 15s; }

@keyframes float {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* 3D Tilt Effect CSS */
.tilt-card {
    transition: transform 0.1s;
    transform-style: preserve-3d;
}

/* CSS iPhone Frame */
.iphone-mockup {
    width: 280px;
    height: 560px;
    border: 8px solid #333;
    border-radius: 40px;
    position: relative;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: 0 auto;
}
.iphone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #333;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}
.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #111, #000);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.screen-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, rgba(0,0,0,0) 70%);
    border: 1px solid rgba(34,197,94,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(34,197,94,0.1);
    animation: pulse-glow 3s infinite;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 30px rgba(34,197,94,0.1); }
    50% { box-shadow: 0 0 60px rgba(34,197,94,0.3); }
    100% { box-shadow: 0 0 30px rgba(34,197,94,0.1); }
}