/* Phone Mockup Styles - Separate from animation.css */

/* Phone Container */
.hero-phone-mockup {
    position: relative;
    width: 260px;
    height: 480px;
    margin: 0 auto;
}

/* Phone Frame */
.hero-phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 
        0 0 0 3px #1a252f,
        0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Phone Screen */
.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Status Bar */
.hero-status-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 11px;
    color: #374151;
    font-weight: 500;
}

/* Map Area */
.hero-map-area {
    flex: 1;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simple Map Pattern */
.hero-map-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.5;
}

/* Location Pin */
.hero-location-pin {
    position: relative;
    z-index: 10;
}

.hero-pin-icon {
    width: 30px;
    height: 30px;
    background: #1E88E5;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.hero-pin-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Pulse Animation */
.hero-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 50px;
    height: 50px;
    border: 2px solid #1E88E5;
    border-radius: 50%;
    animation: heroPinPulse 2s infinite;
    opacity: 0.6;
}

/* Bottom Info */
.hero-location-info {
    background: white;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.hero-device-status {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.hero-location-text {
    font-size: 12px;
    color: #6b7280;
}

/* Phone Home Indicator */
.hero-home-indicator {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: heroCardFloat 3s ease-in-out infinite;
    border: 1px solid rgba(30, 136, 229, 0.2);
}

.hero-card-1 {
    top: 15%;
    right: 12%;
    animation-delay: 0s;
}

.hero-card-2 {
    bottom: 15%;
    left: 12%;
    animation-delay: 1.5s;
}

.hero-card-icon {
    display: inline-block;
    margin-right: 4px;
}

/* Simple floating dots */
.hero-floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: heroDotFloat 3s ease-in-out infinite;
}

.hero-dot-1 {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.hero-dot-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.hero-dot-3 {
    bottom: 35%;
    left: 30%;
    animation-delay: 2s;
}

/* Phone Mockup Animations - Separate namespace */
@keyframes heroPinPulse {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.3);
        opacity: 0.2;
    }
}

@keyframes heroCardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes heroDotFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Responsive Design for Phone Mockup */
@media (max-width: 768px) {
    .hero-phone-mockup {
        width: 220px;
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-floating-card {
        font-size: 10px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .hero-phone-mockup {
        width: 200px;
        height: 360px;
    }
    
    .hero-pin-icon {
        width: 25px;
        height: 25px;
    }
    
    .hero-pin-pulse {
        width: 40px;
        height: 40px;
    }
    
    .hero-floating-card {
        font-size: 9px;
        padding: 5px 8px;
    }
}