/* Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0099ff;
    --light-blue: #66ccff;
    --dark-blue: #003366;
    --ocean-blue: #006994;
    --water-cyan: #00bfff;
    --ice-blue: #b0e0e6;
    --steam-gray: #e6f3ff;
    --white: #ffffff;
    --black: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--water-cyan));
    --gradient-secondary: linear-gradient(135deg, var(--ocean-blue), var(--light-blue));
    --gradient-rainbow: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    overflow: hidden;
    height: 100vh;
    cursor: pointer;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Ocean Waves */
.ocean-waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.3), rgba(0, 153, 255, 0.2));
    border-radius: 50% 50% 0 0;
    animation: wave 8s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave-2 {
    animation-delay: 2s;
    opacity: 0.5;
}

.wave-3 {
    animation-delay: 4s;
    opacity: 0.3;
}

.wave-4 {
    animation-delay: 6s;
    opacity: 0.1;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: float-particle 10s linear infinite;
    opacity: 0.6;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }
.particle:nth-child(11) { left: 5%; animation-delay: 10s; }
.particle:nth-child(12) { left: 15%; animation-delay: 11s; }
.particle:nth-child(13) { left: 25%; animation-delay: 12s; }
.particle:nth-child(14) { left: 35%; animation-delay: 13s; }
.particle:nth-child(15) { left: 45%; animation-delay: 14s; }
.particle:nth-child(16) { left: 55%; animation-delay: 15s; }
.particle:nth-child(17) { left: 65%; animation-delay: 16s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Raindrops */
.raindrops {
    position: absolute;
    width: 100%;
    height: 100%;
}

.raindrop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--light-blue));
    border-radius: 0 0 50% 50%;
    animation: raindrop 3s linear infinite;
}

.raindrop:nth-child(1) { left: 5%; animation-delay: 0s; }
.raindrop:nth-child(2) { left: 15%; animation-delay: 0.3s; }
.raindrop:nth-child(3) { left: 25%; animation-delay: 0.6s; }
.raindrop:nth-child(4) { left: 35%; animation-delay: 0.9s; }
.raindrop:nth-child(5) { left: 45%; animation-delay: 1.2s; }
.raindrop:nth-child(6) { left: 55%; animation-delay: 1.5s; }
.raindrop:nth-child(7) { left: 65%; animation-delay: 1.8s; }
.raindrop:nth-child(8) { left: 75%; animation-delay: 2.1s; }
.raindrop:nth-child(9) { left: 85%; animation-delay: 2.4s; }
.raindrop:nth-child(10) { left: 95%; animation-delay: 2.7s; }

@keyframes raindrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Landing Container */
.landing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Logo Animation */
.logo-container {
    position: absolute;
    top: 10%;
    text-align: center;
    animation: logoFloat 4s ease-in-out infinite;
    box-shadow: 0 0 40px 10px rgba(0,191,255,0.15), 0 0 0 8px rgba(0,191,255,0.08);
    border-radius: 32px;
    border: 2px solid rgba(0,191,255,0.18);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-text {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.letter {
    display: inline-block;
    animation: letterGlow 2s ease-in-out infinite alternate;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(3) { animation-delay: 0.5s; }

.subscript {
    font-size: 2rem;
    vertical-align: sub;
    color: var(--water-cyan);
    animation: subscriptPulse 1.5s ease-in-out infinite;
}

.logo-subtitle {
    font-size: 1.2rem;
    color: var(--light-blue);
    margin-top: 0.5rem;
    opacity: 0.8;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes letterGlow {
    0% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(102, 204, 255, 0.8), 0 0 40px rgba(102, 204, 255, 0.6);
    }
}

@keyframes subscriptPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes logoGlow {
    0% { box-shadow: 0 0 40px 10px rgba(0,191,255,0.15), 0 0 0 8px rgba(0,191,255,0.08); }
    100% { box-shadow: 0 0 80px 20px rgba(0,191,255,0.25), 0 0 0 16px rgba(0,191,255,0.13); }
}

/* Water Droplets */
.water-droplets {
    position: absolute;
    width: 100%;
    height: 100%;
}

.droplet {
    position: absolute;
    width: 20px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: dropletFloat 6s ease-in-out infinite;
}

.droplet-1 { left: 10%; top: 20%; animation-delay: 0s; }
.droplet-2 { left: 20%; top: 30%; animation-delay: 1s; }
.droplet-3 { left: 30%; top: 25%; animation-delay: 2s; }
.droplet-4 { left: 40%; top: 35%; animation-delay: 3s; }
.droplet-5 { left: 50%; top: 20%; animation-delay: 4s; }

@keyframes dropletFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Interactive Elements */
.interactive-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 8s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.floating-icon:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.floating-icon .sparkle {
    position: absolute;
    pointer-events: none;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    transform: translate(-50%, -50%) scale(0.7);
    background: radial-gradient(circle, #fff 0%, #b3e0ff 60%, transparent 100%);
    border-radius: 50%;
    opacity: 0.7;
    animation: sparklePop 0.7s linear;
    z-index: 2;
}

@keyframes sparklePop {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.7); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.icon-1 { left: 5%; top: 15%; animation-delay: 0s; }
.icon-2 { left: 15%; top: 25%; animation-delay: 1s; }
.icon-3 { left: 25%; top: 20%; animation-delay: 2s; }
.icon-4 { left: 35%; top: 30%; animation-delay: 3s; }
.icon-5 { left: 45%; top: 15%; animation-delay: 4s; }
.icon-6 { left: 55%; top: 25%; animation-delay: 5s; }

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Central Message */
.central-message {
    text-align: center;
    z-index: 10;
    animation: centralFloat 2.5s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.title-word {
    display: inline-block;
    animation: titleAnimation 3s ease-in-out infinite;
}

.title-word-1 { animation-delay: 0s; }
.title-word-2 { animation-delay: 0.5s; }
.title-word-3 { animation-delay: 1s; }
.title-word-4 { animation-delay: 1.5s; }
.title-word-5 { animation-delay: 2s; }

@keyframes titleAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        color: var(--white);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        color: var(--water-cyan);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: subtitleGlow 2s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 0 0 10px rgba(102, 204, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    }
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--water-cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 204, 255, 0.3);
}

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover .button-ripple {
    width: 300px;
    height: 300px;
}

/* Molecules */
.molecules {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.molecule {
    position: absolute;
    width: 100px;
    height: 100px;
    animation: moleculeRotate 20s linear infinite;
}

.molecule-1 { left: 10%; top: 60%; animation-delay: 0s; }
.molecule-2 { left: 80%; top: 70%; animation-delay: 7s; }
.molecule-3 { left: 70%; top: 40%; animation-delay: 14s; }

.atom {
    position: absolute;
    border-radius: 50%;
}

.atom-1 {
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.5);
}

.atom-2 {
    top: 20%;
    left: 20%;
    width: 20px;
    height: 20px;
    background: var(--light-blue);
    animation: atomOrbit1 8s ease-in-out infinite;
}

.atom-3 {
    top: 20%;
    right: 20%;
    width: 20px;
    height: 20px;
    background: var(--water-cyan);
    animation: atomOrbit2 8s ease-in-out infinite;
}

.bond {
    position: absolute;
    background: var(--primary-blue);
    height: 3px;
    border-radius: 2px;
    transform-origin: left center;
}

.bond-1 {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translateY(-50%) rotate(-45deg);
    animation: bond1 8s ease-in-out infinite;
}

.bond-2 {
    top: 50%;
    left: 50%;
    width: 60px;
    transform: translateY(-50%) rotate(45deg);
    animation: bond2 8s ease-in-out infinite;
}

@keyframes moleculeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes atomOrbit1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes atomOrbit2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes bond1 {
    0%, 100% { transform: translateY(-50%) rotate(-45deg); }
    50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes bond2 {
    0%, 100% { transform: translateY(-50%) rotate(45deg); }
    50% { transform: translateY(-50%) rotate(35deg); }
}

/* Geometric Wave Loading Animation */
.loading-animation {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-height: 200px;
}

.geometric-waves {
    position: relative;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--water-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: waveMorph 3s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    border-color: var(--water-cyan);
    box-shadow: 0 0 20px var(--water-cyan);
}

.wave-2 {
    animation-delay: 0.3s;
    border-color: var(--light-blue);
    box-shadow: 0 0 20px var(--light-blue);
}

.wave-3 {
    animation-delay: 0.6s;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 20px var(--secondary-blue);
}

.wave-4 {
    animation-delay: 0.9s;
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px var(--primary-blue);
}

.wave-5 {
    animation-delay: 1.2s;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 20px var(--ocean-blue);
}

@keyframes waveMorph {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
        border-radius: 50%;
    }
    20% {
        opacity: 1;
        transform: scale(1) rotate(90deg);
        border-radius: 20%;
    }
    40% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
        border-radius: 50%;
    }
    60% {
        opacity: 1;
        transform: scale(1) rotate(270deg);
        border-radius: 30%;
    }
    80% {
        opacity: 1;
        transform: scale(0.8) rotate(360deg);
        border-radius: 50%;
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(360deg);
        border-radius: 50%;
    }
}

.loading-text {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.loading-char {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--water-cyan);
    opacity: 0;
    animation: charAppear 2s ease-in-out infinite;
    text-shadow: 0 0 10px var(--water-cyan);
}

.loading-char:nth-child(1) { animation-delay: 0s; }
.loading-char:nth-child(2) { animation-delay: 0.1s; }
.loading-char:nth-child(3) { animation-delay: 0.2s; }
.loading-char:nth-child(4) { animation-delay: 0.3s; }
.loading-char:nth-child(5) { animation-delay: 0.4s; }
.loading-char:nth-child(6) { animation-delay: 0.5s; }
.loading-char:nth-child(7) { animation-delay: 0.6s; }

@keyframes charAppear {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ===== RESPONSIVE STYLES ===== */

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-container {
        top: 8%;
        padding: 1rem;
    }

    .logo-text {
        font-size: 3.5rem;
    }

    .subscript {
        font-size: 1.75rem;
    }

    .logo-subtitle {
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .molecule {
        width: 80px;
        height: 80px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .logo-container {
        top: 5%;
        padding: 0.75rem;
        border-radius: 20px;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .subscript {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 1rem;
        margin-top: 0.25rem;
    }

    .main-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .icon-1, .icon-2, .icon-3, .icon-4, .icon-5, .icon-6 {
        display: none;
    }

    .molecule {
        width: 60px;
        height: 60px;
    }

    .atom-1 {
        width: 20px;
        height: 20px;
    }

    .atom-2, .atom-3 {
        width: 15px;
        height: 15px;
    }

    .bond-1, .bond-2 {
        width: 40px;
        height: 2px;
    }

    .ocean-waves {
        height: 150px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }

    .droplet {
        width: 15px;
        height: 22px;
    }

    .loading-animation {
        gap: 1.5rem;
        min-height: 150px;
    }

    .geometric-waves {
        width: 150px;
        height: 90px;
    }

    .wave-shape {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .loading-char {
        font-size: 1.2rem;
    }

    .transition-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .transition-text {
        font-size: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .logo-container {
        top: 3%;
        padding: 0.5rem;
        border-radius: 16px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .subscript {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 40px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .molecule {
        width: 50px;
        height: 50px;
    }

    .atom-1 {
        width: 18px;
        height: 18px;
    }

    .atom-2, .atom-3 {
        width: 12px;
        height: 12px;
    }

    .bond-1, .bond-2 {
        width: 35px;
        height: 2px;
    }

    .ocean-waves {
        height: 120px;
    }

    .particle {
        width: 2px;
        height: 2px;
    }

    .droplet {
        width: 12px;
        height: 18px;
    }

    .raindrop {
        width: 1.5px;
        height: 15px;
    }

    .loading-animation {
        gap: 1.25rem;
        min-height: 130px;
    }

    .geometric-waves {
        width: 120px;
        height: 75px;
    }

    .wave-shape {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }

    .loading-char {
        font-size: 1rem;
    }

    .transition-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
        margin-bottom: 15px;
    }

    .transition-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .central-message {
        padding: 0 1rem;
    }
}

/* Very Small Mobile Styles (for 600px - existing) */
@media (max-width: 600px) {
    .loading-animation {
        gap: 1.5rem;
        min-height: 150px;
    }

    .geometric-waves {
        width: 150px;
        height: 90px;
    }

    .wave-shape {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .loading-char {
        font-size: 1.2rem;
    }
}

/* Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.85) 0%, 
        rgba(0, 153, 255, 0.85) 25%, 
        rgba(0, 191, 255, 0.85) 50%, 
        rgba(102, 204, 255, 0.85) 75%, 
        rgba(0, 102, 204, 0.85) 100%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
    backdrop-filter: blur(15px);
    transform: scale(1.05);
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
    animation: smoothTransition 2s ease-in-out;
}

@keyframes smoothTransition {
    0% {
        opacity: 0;
        transform: scale(1.05);
        backdrop-filter: blur(0px);
    }
    30% {
        opacity: 0.3;
        transform: scale(1.02);
        backdrop-filter: blur(5px);
    }
    60% {
        opacity: 0.7;
        transform: scale(1.01);
        backdrop-filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        backdrop-filter: blur(15px);
    }
}

.transition-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10000;
    opacity: 0;
    animation: contentAppear 1s ease-in-out 0.5s forwards;
}

.transition-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.transition-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: textFade 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes contentAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

/* ============================================
   MOBILE RESPONSIVE DESIGN - COMPLETELY REDONE
   ============================================ */

/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */

@keyframes centralFloat {
    0% { opacity: 0; transform: translateY(60px) scale(0.95); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== CRITICAL RESPONSIVE FIXES - Prevent Crashes ===== */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    .landing-container,
    .logo-container,
    .central-message,
    .main-title,
    .subtitle,
    .cta-button {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .landing-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 0 0.75rem;
    }
    
    .central-message {
        padding: 0 1rem;
    }
} 