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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

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

/* Profile Section */
.profile-section {
    margin-bottom: 40px;
}

.logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(5deg) rotateY(-3deg);
    filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.3));
}

.logo:hover {
    transform: perspective(1000px) rotateX(8deg) rotateY(-5deg) scale(1.1);
    filter: drop-shadow(8px 8px 16px rgba(0, 0, 0, 0.4));
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
    position: relative;
}

.company-name {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 16px;
    font-weight: 500;
    color: #00A79D;
    margin-bottom: 8px;
}

.description {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Links Section */
.links-section {
    margin-bottom: 40px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 18px 20px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366, #00A79D);
    transition: left 0.3s ease;
    z-index: -1;
}

.link-button:hover::before {
    left: 0;
}

.link-button:hover {
    color: #fff;
    border-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.2);
}

.link-button i:first-child {
    font-size: 20px;
    color: #00A79D;
    transition: color 0.3s ease;
}

.link-button:hover i:first-child {
    color: #FFD700;
}

.link-button i:last-child {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.link-button:hover i:last-child {
    opacity: 1;
    transform: translateX(3px);
}

.link-button span {
    flex: 1;
    text-align: left;
    margin-left: 15px;
}

/* Footer */
.footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.footer p {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #003366;
    color: #fff;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #003366;
}

.demo-content {
    text-align: center;
    padding: 20px 0;
}

.demo-content h2 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 24px;
}

.demo-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.demo-placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 60px 20px;
    margin: 20px 0;
    color: #6c757d;
}

.demo-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #00A79D;
}

/* WhatsApp Chat Widget */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    pointer-events: auto;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    outline: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #333333;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #333333;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .company-name {
        font-size: 24px;
    }
    
    .link-button {
        padding: 15px 18px;
        font-size: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .whatsapp-chat {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        right: 60px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 320px) {
    .link-button span {
        font-size: 14px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .logo i {
        font-size: 28px;
    }
}