/* PWA Installation Buttons Styles */
.pwa-install-section {
    margin-top: 1rem;
}

.pwa-footer-section {
    margin-bottom: 2rem;
}

.pwa-install-btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-width: 180px;
}

/* Footer specific smaller buttons */
.pwa-footer-section .pwa-install-btn {
    min-width: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pwa-install-btn i {
    margin-right: 0.5rem;
}

/* Android button specific styles */
#pwa-install-android,
#pwa-install-android-footer {
    background: linear-gradient(135deg, #3ddc84, #00c851);
    border: none;
    color: white;
}

#pwa-install-android:hover,
#pwa-install-android-footer:hover {
    background: linear-gradient(135deg, #00c851, #2e7d32);
    color: white;
}

/* iOS button specific styles */
#pwa-install-ios,
#pwa-install-ios-footer {
    background: linear-gradient(135deg, #007aff, #0051d5);
    border: none;
    color: white;
}

#pwa-install-ios:hover,
#pwa-install-ios-footer:hover {
    background: linear-gradient(135deg, #0051d5, #003d82);
    color: white;
}

/* New Hero Section Styles */
.hero-section-new {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d1b42 50%, #1e1e2e 100%);
    min-height: 90vh;
    padding: 1rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.min-vh-75 {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title-new {
    line-height: 1.1;
    color: white;
    margin-bottom: 1rem !important;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #007bff, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-new {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem !important;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Platform Showcase Styles */
.hero-platform-showcase {
    position: relative;
    height: 350px;
}

.platform-card.main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.floating-card {
    position: absolute;
    animation: floatAlt 4s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: -1s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: -2s;
}

.floating-card.card-3 {
    top: 60%;
    right: 5%;
    animation-delay: -3s;
}

@keyframes floatAlt {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.mini-card {
    font-size: 0.8rem;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.platform-icons i {
    transition: all 0.3s ease;
}

.platform-icons .col-4:hover i {
    transform: scale(1.2);
}

/* PWA Install Minimal */
.pwa-install-minimal {
    margin-top: 1rem;
    opacity: 0.8;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.pwa-install-minimal .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Service Cards Styles */
.service-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    pointer-events: none;
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #155724) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #bd2130) !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #343a40, #212529) !important;
}

/* Service Icons */
.service-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
}

.process-icon-wrapper {
    position: relative;
    display: inline-block;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffc107;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
}

/* Table Improvements */
.table-dark {
    background-color: #1a1a1a;
    border-color: #333;
}

.table-warning > :not(caption) > * > * {
    background-color: #ffc107;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.benefit-item span {
    color: #ffffff;
}

/* Map and Playlist Statistics */
.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Map Placeholder */
.map-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #333;
}

/* Spotify Placeholder */
.spotify-embed-placeholder {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pwa-install-btn {
        min-width: 160px;
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-icon, .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .pwa-install-section,
    .pwa-footer-section {
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Animation for visibility */
.pwa-install-btn {
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
    display: inline-block !important;
    visibility: visible !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon styles */
.pwa-install-btn .fab {
    font-size: 1.1em;
}

/* Text below buttons */
.pwa-install-section small,
.pwa-footer-section small {
    opacity: 0.8;
    font-style: italic;
}

/* Revolutionary Call to Action Section */

.revolutionary-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.revolutionary-card:hover {
    border-color: rgba(255, 193, 7, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.revolutionary-icon i {
    font-size: 2.5rem;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.challenge-section {
    background: #00000066 !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
    backdrop-filter: blur(10px);
}

.floating-elements i {
    animation: float-random 8s ease-in-out infinite;
    font-size: 2rem;
}

.floating-elements i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements i:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-elements i:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-random {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -20px) rotate(5deg); }
    50% { transform: translate(-5px, -10px) rotate(-3deg); }
    75% { transform: translate(8px, 15px) rotate(2deg); }
}

.z-index-1 {
    z-index: 1;
}

/* Responsive adjustments for revolutionary section */
@media (max-width: 768px) {
    
    .revolutionary-card {
        margin-bottom: 1rem;
    }
    
    .challenge-section .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .challenge-section .btn {
        width: 100%;
    }
}

/* Fix dropdown positioning to appear directly below menu items */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    border-top: none !important;
}

/* Ensure dropdown containers have proper positioning */
.navbar .nav-item.dropdown {
    position: relative !important;
}

/* Override any Bootstrap positioning conflicts */
.navbar-nav .dropdown-menu.show {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin-top: 0px !important;
}

/* Specific fix for dropdown menu positioning in desktop */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
}