/* 🎯 DJANGO MESSAGES STYLES */
.messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.messages-container .alert {
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* 🎯 FOOTER STYLES - Modern Professional Design */
.footer {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(129, 215, 66, 0.8) 0%, rgba(100, 180, 50, 0.7) 100%);
    min-height: 850px;
    overflow: hidden;
    text-align: left;
    font-size: 14px;
    color: #4a4a4a;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 40px;
}

/* Newsletter/CTA Section - ENHANCED SPECTACULAR VERSION */
.cta {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1300px, 85%);
    height: 260px;
    text-align: center;
    font-size: 32px;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, #2034ad 0%, #1a2985 100%);
    box-shadow: 0 8px 32px rgba(32, 52, 173, 0.3);
    overflow: hidden;
    position: relative;
    
    /* Animated gradient background */
    background: linear-gradient(-45deg, #2034ad, #1a2985, #2548d6, #1e3a8a);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    
    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    transition: all 0.8s ease-out;
}

/* Scroll-triggered animation */
.cta.animate-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Animated gradient keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles background */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 30px 30px, 70px 70px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

/* Twinkling stars effect */
.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 150px 150px;
    animation: twinkle 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.bg-icon {
    display: none;
}

.content {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 90%);
    height: 180px;
    z-index: 2;
}

/* Animated title with typing effect */
.profita-de-ofertele {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 40px;
    font-weight: 600;
    display: inline-block;
    width: min(500px, 100%);
    text-align: center;
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    
    /* Typing animation */
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(30, end) 0.5s forwards, blink 1s infinite 2.5s;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: min(500px, 100%); }
}

@keyframes blink {
    0%, 50% { border-color: rgba(255, 255, 255, 0.8); }
    51%, 100% { border-color: transparent; }
}

.inscrie-te-la-newsletter-ul {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
    width: min(900px, 100%);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateX(-50%) translateY(0);
    }
}

.form {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: min(700px, 90%);
    height: auto;
    text-align: left;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 2s forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.form-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.form-button-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -20px;
}

.inputtext-style-2,
.inputtext-style-3 {
    border-radius: 12px;
    width: 220px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    position: relative;
}

.enter-email-to-get-started-wrapper {
    align-self: stretch;
    flex: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glow effect on focus */
.enter-email-to-get-started-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Ripple effect on click */
.enter-email-to-get-started-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.enter-email-to-get-started-wrapper.ripple::before {
    width: 300px;
    height: 300px;
}

.form-input {
    width: 100%;
    border: none;
    background: transparent;
    color: white;
    font-size: 13px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    z-index: 1;
    position: relative;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* Success checkmark animation */
.input-success {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #10B981;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.input-success.show {
    opacity: 1;
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% { transform: translateY(-50%) scale(0.3); }
    50% { transform: translateY(-50%) scale(1.05); }
    70% { transform: translateY(-50%) scale(0.9); }
    100% { transform: translateY(-50%) scale(1); }
}

.buttonprimarywith-icon {
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
    width: 250px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
    color: #2034ad;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(32, 52, 173, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(32, 52, 173, 0.12);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    
    /* Subtle glow animation */
    animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        box-shadow: 
            0 2px 12px rgba(32, 52, 173, 0.15),
            0 1px 3px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(32, 52, 173, 0.25),
            0 2px 6px rgba(0, 0, 0, 0.15);
    }
}

.buttonprimarywith-icon:hover {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 6px 24px rgba(32, 52, 173, 0.3),
        0 3px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(32, 52, 173, 0.2);
    animation: none;
}

.buttonprimarywith-icon:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 6px rgba(32, 52, 173, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Clean hover effect - no complex animations */
.buttonprimarywith-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.buttonprimarywith-icon:hover::before {
    left: 100%;
}

/* Loading state */
.buttonprimarywith-icon.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    border-color: rgba(156, 163, 175, 0.3);
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.buttonprimarywith-icon.loading .button-text {
    opacity: 0;
}

.buttonprimarywith-icon.loading .loading-spinner {
    opacity: 1;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Success state */
.buttonprimarywith-icon.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-color: rgba(16, 185, 129, 0.3);
    animation: successBounce 0.5s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.buttonprimarywith-icon.success .button-text {
    color: white;
}

/* Button text */
.button-text {
    position: relative;
    line-height: 20px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Loading spinner */
.loading-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(156, 163, 175, 0.3);
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Clean ripple effect */
.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(32, 52, 173, 0.15);
    transform: scale(0);
    animation: cleanRipple 0.5s ease-out;
    pointer-events: none;
}

@keyframes cleanRipple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Main Footer Content Layout */
.footer-main-content {
    position: absolute;
    top: 350px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 90%);
    display: flex;
    gap: 60px;
    justify-content: space-between;
}

/* Left Section - Logo, Company Info, Social */
.footer-left-section {
    flex: 1;
    max-width: 400px;
}

.logo-incadrat-in-dreptunghi {
    border-radius: 12px;
    background-color: #fff;
    width: 220px;
    height: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.logo-psc-original-2-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.info-companie {
    margin-bottom: 30px;
}

.sc-prompt-service-container {
    line-height: 24px;
}

.sc-prompt-service {
    margin: 0 0 15px 0;
    font-weight: 700;
    font-size: 16px;
    color: #2d3748;
}

.company-details {
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5a5a5a;
    font-size: 13px;
    line-height: 20px;
}

.company-details i {
    color: #2034ad;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.company-details strong {
    font-weight: 600;
    color: #2d3748;
}

/* Social Media Section */
.social-media-section {
    margin-top: 15px;
    margin-bottom: 25px;
}

.social-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    font-size: 18px;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #145ec7 100%);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1faa52 100%);
}

.social-icon.email {
    background: linear-gradient(135deg, #5a5a5a 0%, #404040 100%);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Links Section */
.footer-links-section {
    flex: 2;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.coloana-linkuri-companie,
.coloana-linkuri-informatii-uti,
.coloana-linkuri-cont-clienti {
    flex: 1;
    min-width: 180px;
}

.help-menu {
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: 700;
    color: #2034ad;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(32, 52, 173, 0.2);
}

.about-features-works-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 13px;
    line-height: 20px;
    padding: 6px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding-left: 0;
    position: relative;
}

.footer-link:hover {
    color: #2034ad;
    font-weight: 500;
    transform: translateX(5px);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #2034ad;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 4px;
}

/* ANPC Section - Official Romanian State Badges */
.anpc-section {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.anpc-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anpc-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.anpc-logo a:hover {
    transform: translateY(-2px);
}

.anpc-image {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.anpc-logo a:hover .anpc-image {
    opacity: 1;
}

.anpc-placeholder {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border: 1px solid rgba(32, 52, 173, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
}

.anpc-placeholder:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 52, 173, 0.1);
    border-color: rgba(32, 52, 173, 0.2);
}

.anpc-placeholder i {
    font-size: 18px;
    color: #2034ad;
    flex-shrink: 0;
}

.anpc-placeholder span {
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 11px;
}

/* Bottom Footer */
.bottom-footer {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 90%);
    height: 80px;
    text-align: center;
    padding: 20px 0;
}

.bottom-footer-child {
    position: absolute;
    top: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 1px;
}

.copyright {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 22px;
    white-space: nowrap;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 13px;
}

.copyright1 {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 22px;
    color: #6a6a6a;
    font-size: 11px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer {
        min-height: 970px;
    }
    
    .cta {
        width: 95%;
        left: 2.5%;
        transform: none;
        height: 260px;
    }
    
    .content {
        width: 90%;
        left: 5%;
        transform: none;
        height: 180px;
    }
    
    .profita-de-ofertele {
        font-size: 28px;
        line-height: 34px;
    }
    
    .inscrie-te-la-newsletter-ul {
        font-size: 15px;
        line-height: 22px;
    }
    
    .form {
        width: 90%;
        left: 5%;
        transform: none;
        top: 75px;
    }
    
    .form-row {
        gap: 12px;
    }
    
    .inputtext-style-2,
    .inputtext-style-3 {
        width: 100%;
        height: 45px;
    }
    
    .form-button-row {
        margin-top: -18px;
    }
    
    .buttonprimarywith-icon {
        width: 250px;
        height: 45px;
    }
    
    .footer-main-content {
        top: 340px;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .footer-left-section {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links-section {
        width: 100%;
        justify-content: space-around;
        gap: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .anpc-section {
        bottom: 100px;
        gap: 20px;
        width: min(600px, 85%);
    }
    
    .anpc-image {
        max-height: 40px;
        max-width: 120px;
    }
    
    .anpc-placeholder {
        max-width: 180px;
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: 1150px;
    }
    
    .profita-de-ofertele {
        font-size: 24px;
        line-height: 30px;
    }
    
    .inscrie-te-la-newsletter-ul {
        font-size: 14px;
        line-height: 20px;
    }
    
    .footer-main-content {
        top: 320px;
        padding: 0 20px;
    }
    
    .footer-links-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .coloana-linkuri-companie,
    .coloana-linkuri-informatii-uti,
    .coloana-linkuri-cont-clienti {
        width: 100%;
        min-width: auto;
    }
    
    .help-menu {
        text-align: center;
        font-size: 14px;
    }
    
    .about-features-works-container {
        align-items: center;
    }
    
    .footer-link {
        text-align: center;
        padding: 8px 0;
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .logo-incadrat-in-dreptunghi {
        width: 200px;
        height: 55px;
        margin: 0 auto 20px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .anpc-section {
        bottom: 140px;
        gap: 15px;
        padding: 0 20px;
        width: min(400px, 90%);
        flex-direction: column;
    }
    
    .anpc-image {
        max-height: 35px;
        max-width: 100px;
    }
    
    .anpc-placeholder {
        padding: 8px 12px;
        max-width: 160px;
    }
    
    .anpc-placeholder i {
        font-size: 16px;
    }
    
    .anpc-placeholder span {
        font-size: 8px;
        line-height: 10px;
    }
    
    .bottom-footer {
        bottom: 20px;
        padding: 15px 20px;
    }
    
    .copyright {
        font-size: 12px;
        white-space: normal;
        text-align: center;
        top: 20px;
    }
    
    .copyright1 {
        font-size: 10px;
        top: 40px;
    }
    
    .form-button-row {
        margin-top: -15px;
    }
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    .cta {
        width: 95%;
        height: 300px;
        top: 30px;
        /* Reduced animations for mobile performance */
        animation-duration: 4s;
    }
    
    .cta::before {
        animation-duration: 10s;
    }
    
    .profita-de-ofertele {
        font-size: 24px;
        animation-duration: 1.5s;
    }
    
    .form {
        gap: 12px;
        top: 95px;
        width: min(500px, 95%);
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .inputtext-style-2,
    .inputtext-style-3 {
        width: 100%;
    }
    
    .form-button-row {
        margin-top: -2px;
    }
    
    .buttonprimarywith-icon {
        width: 100%;
        height: 50px;
        animation: none; /* Disable glow on mobile for better performance */
        font-size: 15px;
        font-weight: 600;
    }
    
    .button-text {
        font-size: 15px;
        font-weight: 600;
    }
    
    /* Simplified hover effects for mobile */
    .buttonprimarywith-icon:hover {
        transform: none;
        box-shadow: 
            0 3px 16px rgba(32, 52, 173, 0.25),
            0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Disable shimmer on mobile */
    .buttonprimarywith-icon::before {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .footer {
        min-height: auto !important;
        padding: clamp(28px, 8vw, 36px) 0 clamp(36px, 12vw, 52px) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: clamp(32px, 10vw, 48px) !important;
    }

    .cta {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: calc(100% - clamp(28px, 10vw, 40px)) !important;
        margin: 0 auto !important;
        padding: clamp(28px, 9vw, 36px) clamp(22px, 8vw, 28px) clamp(26px, 8vw, 32px) !important;
        height: auto !important;
        border-radius: 26px !important;
        box-shadow: 0 18px 36px rgba(32, 52, 173, 0.26) !important;
        box-sizing: border-box !important;
    }

    .content {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: clamp(14px, 5vw, 20px) !important;
        text-align: left !important;
    }

    .profita-de-ofertele {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        font-size: clamp(22px, 6vw, 26px) !important;
        line-height: 1.3 !important;
        text-align: left !important;
        white-space: normal !important;
        border-right: none !important;
        animation: none !important;
        padding-right: 0 !important;
    }

    .inscrie-te-la-newsletter-ul {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .form {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        gap: 14px !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .form-button-row {
        margin-top: 0 !important;
        padding-top: 4px !important;
        justify-content: stretch !important;
    }

    .buttonprimarywith-icon {
        width: 100% !important;
        border-radius: 14px !important;
    }

    .footer-main-content {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: clamp(26px, 8vw, 40px) !important;
        padding: 0 clamp(22px, 8vw, 30px) !important;
        box-sizing: border-box !important;
    }

    .footer-left-section {
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: clamp(18px, 6vw, 28px) !important;
        align-items: flex-start !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border-radius: 22px !important;
        padding: clamp(22px, 7vw, 30px) !important;
        backdrop-filter: blur(12px) !important;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12) !important;
    }

    .logo-incadrat-in-dreptunghi {
        margin: 0 !important;
        width: 180px !important;
    }

    .sc-prompt-service {
        font-size: 15px !important;
    }

    .company-details {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .social-media-section {
        width: 100% !important;
    }

    .social-title {
        text-align: left !important;
    }

    .social-icons {
        justify-content: flex-start !important;
    }

    .footer-links-section {
        flex-direction: column !important;
        gap: clamp(18px, 6vw, 26px) !important;
        background: rgba(255, 255, 255, 0.18) !important;
        padding: clamp(20px, 7vw, 28px) !important;
        border-radius: 22px !important;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10) !important;
    }

    .help-menu,
    .about-features-works-container,
    .footer-link {
        text-align: left !important;
    }

    .footer-link {
        padding: 6px 0 !important;
    }

    .anpc-section {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: 0 clamp(22px, 8vw, 30px) !important;
        gap: clamp(16px, 6vw, 24px) !important;
    }

    .bottom-footer {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: clamp(20px, 6vw, 26px) clamp(22px, 8vw, 30px) !important;
        text-align: left !important;
        background: rgba(255, 255, 255, 0.14) !important;
        border-radius: 22px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .bottom-footer-child {
        display: none !important;
    }

    .copyright,
    .copyright1 {
        position: static !important;
        transform: none !important;
        white-space: normal !important;
        text-align: left !important;
    }
}

/* ==================== ACCESSIBILITY ENHANCEMENTS ==================== */
@media (prefers-reduced-motion: reduce) {
    .cta,
    .cta::before,
    .cta::after,
    .profita-de-ofertele,
    .inscrie-te-la-newsletter-ul,
    .form,
    .buttonprimarywith-icon {
        animation: none !important;
        transition-duration: 0.01s !important;
    }
    
    .cta {
        opacity: 1;
        transform: translateX(-50%);
    }
    
    .inscrie-te-la-newsletter-ul,
    .form {
        opacity: 1;
    }
}

/* ==================== FOCUS STATES FOR ACCESSIBILITY ==================== */
.form-input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.buttonprimarywith-icon:focus,
.button-text:focus {
    outline: 2px solid #2034ad;
    outline-offset: 2px;
    box-shadow: 
        0 6px 24px rgba(32, 52, 173, 0.3),
        0 3px 12px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(32, 52, 173, 0.15);
}

.buttonprimarywith-icon:focus-visible,
.button-text:focus-visible {
    outline: 2px solid #2034ad;
    outline-offset: 2px;
}

/* ==================== HIGH CONTRAST MODE SUPPORT ==================== */
@media (prefers-contrast: high) {
    .cta {
        background: linear-gradient(135deg, #000080 0%, #000060 100%);
        border: 2px solid white;
    }
    
    .enter-email-to-get-started-wrapper {
        border: 2px solid white;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .buttonprimarywith-icon {
        border: 2px solid #000;
        background: white;
        color: #000;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.cta {
    /* GPU acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform3d: translateX(-50%), 0, 0;
}

.cta::before,
.cta::after {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .cta {
        background: #2034ad !important;
        color: white !important;
        position: relative !important;
        transform: none !important;
        animation: none !important;
        page-break-inside: avoid;
    }
    
    .cta::before,
    .cta::after {
        display: none !important;
    }
}

/* Success confetti animation */
.confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #ffd700;
    animation: confettiFall 1s ease-out forwards;
    pointer-events: none;
}

.confetti.enhanced {
    z-index: 10;
    will-change: transform, opacity;
}

@keyframes confettiFall {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
        opacity: 1; 
    }
    100% {
        transform: translate(calc(-50% + 100px), calc(-50% + 200px)) rotateZ(720deg);
        opacity: 0;
    }
} 

/* Social Media Icons Above Copyright */
.social-icons-above-copyright {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.social-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon-small.facebook {
    background: #1877f2;
    color: white;
}

.social-icon-small.youtube {
    background: #ff0000;
    color: white;
}

.social-icon-small.whatsapp {
    background: #25d366;
    color: white;
}

.social-icon-small.email {
    background: #5a5a5a;
    color: white;
}

.social-icon-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-icon-small.facebook:hover {
    background: #145dbf;
}

.social-icon-small.youtube:hover {
    background: #cc0000;
}

.social-icon-small.whatsapp:hover {
    background: #1ea952;
}

.social-icon-small.email:hover {
    background: #404040;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-icons-above-copyright {
        gap: 10px;
        margin-bottom: 12px;
    }

    .social-icon-small {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
