:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #06b6d4;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --gray: #64748b;
    --light: #f0f9ff;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-blue: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.platform-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

.footer-logo-svg {
    height: 40px;
    width: auto;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    color: var(--primary);
    font-weight: 600;
}

.lang-divider {
    color: var(--gray);
    opacity: 0.3;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' 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");
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    opacity: 0.9;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.service-card p {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* Platforms Section */
.platforms {
    padding: 80px 0;
    background: var(--white);
}

.platforms-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.platforms-carousel {
    overflow: hidden;
    margin: 0 60px;
    position: relative;
}

.platforms-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}

.platform-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.platform-header {
    padding: 1.5rem;
    margin: 0;
    color: var(--white);
    font-weight: 600;
}

.platform-header.facebook {
    background: linear-gradient(135deg, #1877f2, #4267b2);
}

.platform-header.google {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.platform-header.tiktok {
    background: linear-gradient(135deg, #ff0050, #00f2ea);
}

.platform-header.dsp {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
}

.platform-header.linkedin {
    background: linear-gradient(135deg, #0077b5, #004182);
}

.platform-header.amazon {
    background: linear-gradient(135deg, #ff9900, #ff6138);
}

.platform-header.snapchat {
    background: linear-gradient(135deg, #fffc00, #ffd700);
    color: #000000;
}

.platform-header.twitter {
    background: linear-gradient(135deg, #1da1f2, #14171a);
}

.platform-features {
    padding: 1.5rem;
    margin: 0;
    list-style: none;
    background: var(--white);
}

.platform-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
    color: var(--gray);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.platform-features li:last-child {
    border-bottom: none;
}

.platform-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Mobile Focus Section */
.mobile-focus {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.lead {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mobile-features {
    display: grid;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.feature svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 30px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: var(--white);
    height: 100%;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.metric-card {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--light);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.about-card p {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #1e40af 100%);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content {
    text-align: left;
}

.contact-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.contact-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-address {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-address p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-map {
    width: 100%;
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4px;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2, #06b6d4, #10b981);
    z-index: -1;
    animation: gradientRotate 6s linear infinite;
}

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

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.map-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.map-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark);
    font-size: 1.125rem;
    font-weight: 700;
}

.map-card p {
    margin: 0 0 1rem 0;
    color: var(--gray);
    font-size: 0.875rem;
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platforms-carousel {
        margin: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .language-switcher {
        margin-left: 0;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .mobile-content {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .contact-map iframe {
        height: 300px;
    }

    .map-card {
        min-width: 150px;
        padding: 1rem;
    }

    .map-card h4 {
        font-size: 1rem;
    }

    .map-overlay {
        top: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Enhanced Animations */
/* 3D Card Effects */
.service-card,
.platform-card,
.about-card {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after,
.platform-card::after,
.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.service-card:hover::after,
.platform-card:hover::after,
.about-card:hover::after {
    transform: translateX(100%) translateY(100%);
}

/* Magnetic Button Effect */
.btn {
    position: relative;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: inherit;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Text Reveal Animation */
.hero-title,
.hero-subtitle {
    animation: textReveal 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation: textReveal 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Platform Card Tilt */
.platform-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.platform-card:hover {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateZ(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    animation: pulse 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
    margin-top: 10px;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

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

/* Number Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
    animation: numberPulse 3s ease-in-out infinite;
}

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

/* Gradient Border Animation */
.map-overlay {
    background-clip: padding-box;
    border: 3px solid transparent;
    position: relative;
}

.map-overlay::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGradient 4s ease infinite;
}

@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}