@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
    --background-color: #f0f2f5;
    --surface-color: #ffffff;
    --primary-color: #ff6600;
    --primary-color-dark: #cc5200;
    --text-color: #1e1e1e;
    --text-secondary-color: #666666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #f0f2f5, #ffffff, #fafafa);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 0 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 2rem;
}

.search-bar {
    background-color: var(--surface-color);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.search-bar input {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    outline: none;
    margin-right: 10px;
    flex-grow: 1;
}

.search-bar i {
    color: var(--text-secondary-color);
}

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.card {
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px 0;
    text-align: center;
}

.badge {
    color: var(--text-secondary-color);
}

.badge i {
    font-size: 2.2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
}

/* Modal (Content Locker) Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-secondary-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: var(--primary-color-dark);
}

#modal-body h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
}
#modal-body p {
    text-align: center;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.content-locker-placeholder {
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    color: #999;
}

/* Footer Styles */
footer {
    padding: 40px 0 20px 0;
    margin-top: 50px;
    background-color: var(--surface-color);
}

footer p {
    text-align: center;
    color: var(--text-secondary-color);
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .cards-grid {
        gap: 20px;
    }
    .trust-badges {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
    }
    .search-bar {
        width: 100%;
        margin-top: 10px;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .modal-content {
        padding: 25px;
    }
}