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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Demo content */
.demo-content {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    padding: 40px;
    text-align: center;
}

/* Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #8a8a8a 0%, #a1a1a1 50%, #8a8a8a 100%);
    color: #ffffff;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: movePattern 60s linear infinite;
}

@keyframes movePattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(30px); }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 20px;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

/* Navigation Section */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #4facfe;
}

.footer-nav a:hover {
    color: #4facfe;
    padding-left: 25px;
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    opacity: 1;
    left: 0;
}

/* Social & CTA Section */
.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    text-decoration: none;
    border-bottom: none;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ecf0f1;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
    border-color: transparent;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.footer-cta {
    margin-top: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.call-to-action-quote {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #dfe6e9;
    font-style: italic;
}

.call-us {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Licenses Section - Button Style */
.licenses-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.licenses-button {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.licenses-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.licenses-button:hover::before {
    width: 300px;
    height: 300px;
}

.licenses-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.55);
}

.licenses-button:active {
    transform: translateY(-1px);
}

.licenses-button span {
    position: relative;
    z-index: 1;
}

.licenses-button i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}


/* Modal Styles */
.licenses-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.licenses-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.limodal-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 28px;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h2 i {
    color: #4facfe;
    font-size: 32px;
}

.close-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
}

.close-button:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.license-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.license-item:hover::before {
    opacity: 1;
}

.license-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(79, 172, 254, 0.5);
}

.license-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.license-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.license-item span {
    font-size: 13px;
    color: #bdc3c7;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.license-item:hover span {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        padding: 50px 30px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .licenses-section {
        grid-column: 1 / -1;
    }

    .licenses-button {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        padding: 35px 25px;
    }

    .licenses-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .license-item {
        padding: 20px 12px;
    }

    .license-item img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .demo-content {
        font-size: 1.5rem;
        padding: 30px 20px;
    }

    .footer-container {
        padding: 40px 25px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .licenses-section {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-nav {
        gap: 12px;
    }

    .footer-nav a {
        font-size: 16px;
        padding: 10px 0;
    }

    .footer-social {
        margin-bottom: 25px;
        justify-content: flex-start;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .footer-cta {
        padding: 22px;
        margin-top: 0;
    }

    .call-to-action-quote {
        font-size: 15px;
        line-height: 1.6;
    }

    .call-us {
        font-size: 16px;
    }

    .licenses-button {
        width: 100%;
        padding: 16px 28px;
        font-size: 15px;
    }

    .modal-content {
        padding: 30px 20px;
        max-height: 80vh;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-header h2 i {
        font-size: 28px;
    }

    .licenses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .license-item {
        padding: 18px 10px;
    }

    .license-item img {
        width: 55px;
        height: 55px;
    }

    .license-item span {
        font-size: 12px;
        line-height: 1.3;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .demo-content {
        font-size: 1.2rem;
        padding: 25px 15px;
    }

    .demo-content h1 {
        font-size: 1.5rem;
    }

    .demo-content p {
        font-size: 0.9rem;
    }

    .footer-container {
        padding: 35px 20px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .licenses-section {
        margin-top: 5px;
    }

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .footer-section h3::after {
        width: 40px;
        height: 2px;
    }

    .footer-nav {
        gap: 10px;
    }

    .footer-nav a {
        font-size: 15px;
        padding: 8px 0;
    }

    .footer-nav a:hover {
        padding-left: 20px;
    }

    .footer-social {
        gap: 12px;
        margin-bottom: 20px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 10px;
    }

    .footer-cta {
        padding: 18px;
        border-radius: 12px;
    }

    .call-to-action-quote {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .call-us {
        font-size: 15px;
        margin-top: 8px;
    }

    .licenses-button {
        padding: 14px 24px;
        font-size: 14px;
    }

    .modal-content {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .close-button {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .licenses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .license-item {
        padding: 16px 8px;
        border-radius: 12px;
        gap: 12px;
    }

    .license-item img {
        width: 50px;
        height: 50px;
    }

    .license-item span {
        font-size: 11px;
        line-height: 1.2;
    }

    .footer-bottom {
        padding-top: 20px;
        margin-top: 15px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .footer-container {
        padding: 30px 15px 15px;
    }

    .footer-main {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-nav a {
        font-size: 14px;
    }

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

    .footer-cta {
        padding: 15px;
    }

    .call-to-action-quote,
    .call-us {
        font-size: 13px;
    }

    .licenses-button {
        padding: 12px 20px;
        font-size: 13px;
    }

    .license-item {
        padding: 14px 6px;
    }

    .license-item img {
        width: 45px;
        height: 45px;
    }

    .license-item span {
        font-size: 10px;
    }
}