@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    color: #FFD166;
}

.logo-icon {
    margin-right: 10px;
    font-size: 28px;
}

.hero {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    padding: 60px 0;
    min-height: calc(100vh - 80px);
}

.hero-content {
    width: 50%;
    animation: fadeIn 1s ease-in-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-image {
    width: 30%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.qr-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    animation: fadeIn 1.5s ease-in-out;
}

.qr-title {
    margin-bottom: 20px;
    font-weight: 600;
}

.qr-code {
    width: 380px;
    height: 380px;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    width: 32%;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #FFD166;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
    width: 150px;
    height: 150px;
    position: relative;
}

.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid transparent;
    border-top-color: #FFD166;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.circle:nth-child(2) {
    border: 10px solid transparent;
    border-bottom-color: #FFD166;
    animation: spin 2s linear infinite;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

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

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 209, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0); }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .feature {
        width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

button {
    background-color: #8B5CF6;
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 2px #e0e0e083;
}