body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #0b4d37 0%, #0f6848 100%);
}

.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230b4d37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0b4d37, #0f6848);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
    max-width: 400px;
}

.app-badge {
    background: black;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 0;
}

.app-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-badge i {
    flex-shrink: 0;
}

.text-left .text-xs {
    opacity: 0.9;
    margin-bottom: 2px;
    line-height: 1;
}

.text-left .text-lg {
    font-weight: 600;
    line-height: 1;
}

/* Loading and Shimmer Effects */
.loading-shimmer {
    position: relative;
    overflow: hidden;
    background: #f6f7f8;
}

.loading-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.pulse-loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* Page Loader */
#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b4d37 0%, #0f6848 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Content initially hidden */
.page-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* Shimmer effect for images */
.image-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

/* Skeleton loading components */
.skeleton-nav {
    height: 56px;
    background: #f0f0f0;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.skeleton-hero {
    height: 400px;
    background: #f0f0f0;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.skeleton-card {
    height: 200px;
    background: #f0f0f0;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.skeleton-badge {
    height: 60px;
    background: #f0f0f0;
    border-radius: 12px;
    margin: 0.5rem 0;
}

/* Loading states for specific elements */
.loading .app-badge {
    background: #e0e0e0;
    color: transparent;
    position: relative;
    overflow: hidden;
}

.loading .app-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading progress bar */
#loadingProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #0b4d37, #0f6848);
    z-index: 10000;
    transition: width 0.4s ease;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .badges-container {
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 0;
        max-width: 300px;
    }

    .app-badge {
        padding: 12px 14px;
        border-radius: 10px;
        gap: 6px;
    }

    .app-badge i {
        font-size: 1.2rem;
    }

    .text-left .text-xs {
        font-size: 0.45rem;
    }

    .text-left .text-lg {
        font-size: 0.6rem;
    }

    /* Mobile loading adjustments */
    .loader-spinner {
        width: 40px;
        height: 40px;
    }

    .loader-text {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .badges-container {
        gap: 20px;
        margin-top: 10px;
        max-width: 500px;
    }

    .app-badge {
        padding: 15px 20px;
        border-radius: 14px;
        gap: 12px;
    }

    .app-badge i {
        font-size: 1.8rem;
    }

    .text-left .text-xs {
        font-size: 0.75rem;
    }

    .text-left .text-lg {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .badges-container {
        max-width: 600px;
        margin-top: 10px;
    }

    .app-badge {
        padding: 18px 25px;
        border-radius: 16px;
    }

    .app-badge i {
        font-size: 2rem;
    }

    .text-left .text-xs {
        font-size: 0.8rem;
    }

    .text-left .text-lg {
        font-size: 1.25rem;
    }
}

/* Print styles */
@media print {
    .loading-shimmer,
    .skeleton-loader,
    #pageLoader,
    #loadingProgress {
        display: none !important;
    }
}