/* Welcome Page Styles for Athos Panel */

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

body {
    font-family: 'Open Sans', sans-serif;
    background: #f6f9ff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #4154f1, #012970);
    top: -200px;
    left: -200px;
    animation: float1 30s infinite ease-in-out;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #2eca6a, #07c3cf);
    bottom: -150px;
    right: -150px;
    animation: float2 25s infinite ease-in-out;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff771d, #ffb85c);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 28s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, -100px) scale(1.1); }
    66% { transform: translate(-80px, 80px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-120px, 80px) scale(1.05); }
    66% { transform: translate(80px, -60px) scale(0.95); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(-50%, -50%) scale(1.15) translate(50px, -30px); }
    66% { transform: translate(-50%, -50%) scale(0.85) translate(-30px, 50px); }
}

/* Floating Particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4154f1;
    border-radius: 50%;
    opacity: 0.25;
    animation: rise 25s infinite linear;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Main Container */
.main-content {
    position: relative;
    z-index: 2;
}

/* Navbar */
.navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(1, 41, 112, 0.1);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4154f1, #012970);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #012970;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-nav {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Nunito', sans-serif;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4154f1;
    color: #4154f1;
}

.btn-outline:hover {
    background: #4154f1;
    color: white;
}

.btn-primary-nav {
    background: #4154f1;
    border: 2px solid #4154f1;
    color: white;
}

.btn-primary-nav:hover {
    background: #5969f3;
    border-color: #5969f3;
}

/* Hero Section */
.hero {
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(135deg, #4154f1, #2eca6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Nunito', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #4154f1, #012970);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(65, 84, 241, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(65, 84, 241, 0.4);
}

.btn-hero-secondary {
    background: white;
    color: #4154f1;
    border: 2px solid #4154f1;
}

.btn-hero-secondary:hover {
    background: #f6f9ff;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 12px;
}

.section-title p {
    color: #6c757d;
    font-size: 16px;
}

/* Features Section */
.features {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(1, 41, 112, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(1, 41, 112, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(1, 41, 112, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-icon.blue {
    background: linear-gradient(135deg, #eef2ff, #c7d2fe);
    color: #4154f1;
}

.feature-icon.green {
    background: linear-gradient(135deg, #e6f9ed, #b3edc8);
    color: #2eca6a;
}

.feature-icon.orange {
    background: linear-gradient(135deg, #fff8e6, #ffe4b3);
    color: #ff771d;
}

.feature-icon.cyan {
    background: linear-gradient(135deg, #e6f9f9, #b3edee);
    color: #07c3cf;
}

.feature-icon.purple {
    background: linear-gradient(135deg, #f3e6ff, #e0b3ff);
    color: #8b5cf6;
}

.feature-icon.red {
    background: linear-gradient(135deg, #ffe6e6, #ffb3b3);
    color: #ef4444;
}

.feature-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #012970;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 50px 40px;
    background: linear-gradient(135deg, #012970, #4154f1);
    margin: 40px 0;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-family: 'Nunito', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* Services Section */
.services {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(1, 41, 112, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(1, 41, 112, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(1, 41, 112, 0.12);
}

.service-header {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-header.minecraft {
    background: linear-gradient(135deg, #5a7a4a, #3d5a32);
    color: white;
}

.service-header.nodejs {
    background: linear-gradient(135deg, #68a063, #3c873a);
    color: white;
}

.service-header.vortex {
    background: linear-gradient(135deg, #4154f1, #012970);
    color: white;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-header h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.service-body {
    padding: 25px;
}

.service-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-body li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.service-body li:last-child {
    border-bottom: none;
}

.service-body li i {
    color: #2eca6a;
}

/* Map Section */
.map-section {
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(1, 41, 112, 0.08);
    border: 1px solid rgba(1, 41, 112, 0.05);
}

/* Leaflet Map */
#map {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    z-index: 1;
    overflow: hidden;
}

/* Custom marker styles */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.leaflet-popup-content {
    margin: 10px 15px !important;
    line-height: 1.4;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Location info cards */
.locations-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.location-card {
    background: #f6f9ff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    transition: all 0.3s ease;
}

.location-card[data-location="brasil"]::before {
    background: #2eca6a;
}

.location-card[data-location="usa"]::before {
    background: #ff771d;
}

.location-card:hover {
    background: #eef2ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 41, 112, 0.12);
}

.location-card.active {
    border-color: #4154f1;
    background: #eef2ff;
}

.location-card.active[data-location="brasil"]::before,
.location-card.active[data-location="usa"]::before {
    background: #4154f1;
}

.location-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1);
}

.location-icon.br {
    background: linear-gradient(135deg, #2eca6a, #1fa350);
    color: white;
}

.location-icon.us {
    background: linear-gradient(135deg, #ff771d, #e56a15);
    color: white;
}

.location-details h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #012970;
    margin-bottom: 4px;
}

.location-details p {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
}

.location-details .location-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #2eca6a;
    font-weight: 500;
    margin-top: 4px;
}

.location-details .location-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2eca6a;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* CTA Section */
.cta {
    padding: 80px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 15px;
}

.cta p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: #012970;
    color: white;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    color: #4154f1;
    font-size: 20px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 22px;
}

.footer p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .features, .services, .map-section {
        padding: 40px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    #map {
        height: 250px;
    }
}