/* Home icon next to flags */
.floating-flags .home-icon {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 40px;
    height: 30px;
    background: none;
    transition: box-shadow 0.2s, filter 0.2s;
}
.floating-flags .home-icon svg {
    width: 40px;
    height: 30px;
    display: block;
}
.floating-flags .home-icon:hover {
    box-shadow: 0 4px 16px rgba(30,41,59,0.18);
    filter: brightness(1.08);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    background: #0a1628;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2847 0%, #1a4d7a 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(to right, #60a5fa, #93c5fd, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 40px;
    color: #bfdbfe;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Cards Animation */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 15px;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-card:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-card:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 2s; }
.floating-card:nth-child(4) { bottom: 25%; right: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Carousel Section */
.carousel-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 20px 0;
}

.carousel-card {
    min-width: 320px;
    background: linear-gradient(135deg, rgba(15, 40, 71, 0.95), rgba(30, 64, 175, 0.95));
    border-radius: 20px;
    border: 2px solid rgba(96, 165, 250, 0.3);
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(96, 165, 250, 0.6);
}

.card-indicator {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #374151, #1f2937);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #9ca3af;
    border: 3px solid rgba(96, 165, 250, 0.3);
}

.card-content {
    text-align: left;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #60a5fa;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-content p {
    font-size: 1.2rem;
    color: #d1d5db;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.card-btn {
    width: 45px;
    height: 45px;
    background: rgba(55, 65, 81, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-btn:hover {
    background: rgba(37, 99, 235, 0.8);
    border-color: rgba(147, 197, 253, 0.6);
    transform: scale(1.1);
}

.carousel-btn {
    background: rgba(30, 64, 175, 0.8);
    border: 2px solid rgba(96, 165, 250, 0.4);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(37, 99, 235, 0.9);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Floating Contact Buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    bottom: 30px;
    left: 30px;
}

.email {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    bottom: 30px;
    right: 30px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .carousel-card {
        min-width: 280px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp {
        bottom: 20px;
        left: 20px;
    }

    .email {
        bottom: 20px;
        right: 20px;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a1628 0%, #0f2847 100%);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.2rem;
    color: #bfdbfe;
}

.contact-form {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(37, 99, 235, 0.1));
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #93c5fd;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(15, 40, 71, 0.6);
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(15, 40, 71, 0.8);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(191, 219, 254, 0.5);
}

.captcha-group {
    background: rgba(37, 99, 235, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed rgba(96, 165, 250, 0.3);
}

.captcha-group label {
    color: #fbbf24;
}

.captcha-group span {
    font-weight: bold;
    color: #60a5fa;
    font-size: 1.3rem;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.submit-btn:active {
    transform: translateY(0);
}

.loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid #22c55e;
    color: #86efac;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #fca5a5;
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(37, 99, 235, 0.1));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.info-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.info-item h4 {
    color: #93c5fd;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-item p {
    color: #bfdbfe;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a1628 0%, #0f2847 100%);
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 80px;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(37, 99, 235, 0.1));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #93c5fd;
}

.feature-card p {
    color: #bfdbfe;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0f2847 0%, #1a4d7a 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 80px;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    opacity: 0;
    animation: slideIn 0.8s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-number {
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #93c5fd;
}

.step-content p {
    color: #bfdbfe;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 20px;
    background: linear-gradient(180deg, #1a4d7a 0%, #0a1628 100%);
}

.screenshots h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 80px;
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    background: rgba(30, 64, 175, 0.2);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.4s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 20px;
    font-size: 1.1rem;
    color: #93c5fd;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #bfdbfe;
}

/* Footer */
footer {
    padding: 40px 20px;
    background: #0a1628;
    text-align: center;
    color: #60a5fa;
}

/* Responsive */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

            .flag-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin: 0 2px;
            }
            .flag-label {
                font-size: 0.72rem;
                color: #fff;
                margin-top: 2px;
                text-align: center;
                line-height: 1;
                letter-spacing: 0.01em;
                font-weight: 500;
                pointer-events: none;
                user-select: none;
                text-shadow: 0 1px 4px #2563eb55;
            }