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

:root {
    --primary-color: #0057ff;
    --secondary-color: #ff6600;
    --accent-color: #00a8ff;
    --success-color: #00d8a7;
    --text-dark: #333333;
    --text-light: #666666;
    --background-white: #ffffff;
    --background-light: #f8f9fa;
    --gradient-blue: linear-gradient(135deg, #0057ff 0%, #00a8ff 100%);
    --gradient-orange: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    --gradient-purple: linear-gradient(135deg, #834d9b 0%, #d04ed6 100%);
    --gradient-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --shadow-light: 0 4px 12px rgba(0, 87, 255, 0.1);
    --shadow-medium: 0 8px 24px rgba(0, 87, 255, 0.15);
    --shadow-heavy: 0 12px 36px rgba(0, 87, 255, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Professional Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    margin-bottom: 30px;
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 87, 255, 0.3));
}

.professional-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: rotate 2s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top: 3px solid var(--primary-color);
    animation-duration: 2s;
}

.loader-ring:nth-child(2) {
    border-right: 3px solid var(--secondary-color);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    border-bottom: 3px solid var(--accent-color);
    animation-duration: 1s;
}

.loader-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.loader-text {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

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

@keyframes progressPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 87, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section .main-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo-section .main-logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    min-width: 220px;
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    list-style: none;
    border: 1px solid rgba(0, 87, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--background-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Partner Logos */
.partner-logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.partner-logo:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.partner-logo img {
    height: 25px;
    width: auto;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: brightness(0) invert(1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--background-light);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-white);
    z-index: 1001;
    transform: translateX(-100%);
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 100px 30px 30px;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--background-light);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 10px;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.mobile-nav-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-dropdown-menu li a {
    font-size: 16px;
    font-weight: 400;
    border: none;
    padding: 10px 0;
}

/* Footer */
.main-footer {
    background: var(--gradient-blue);
    color: white;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 8px;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--secondary-color);
    font-weight: bold;
}

.partner-footer-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.partner-footer-logos a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.partner-footer-logos a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.partner-footer-logos img {
    height: 20px;
    width: auto;
}

.api-partners h4 {
    margin-bottom: 15px;
    font-size: 16px;
    opacity: 0.9;
}

.api-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.api-logos span {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.api-logos span:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-link:hover::before {
    transform: translateX(100%);
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-link img {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Common Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.btn:hover::before {
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--gradient-orange);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Card Styles */
.card {
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 35px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .main-nav .nav-list {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .partner-logos {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-section .main-logo img {
        height: 35px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .card {
        padding: 25px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-link img {
        width: 28px;
        height: 28px;
    }
}