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

:root {
    --primary-color: #59437a;
    --secondary-color: #c262af;
    --accent-color: #fde4e8;
    --light-bg: #e1b7bf;
    --dark-text: #2c2c2c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

/* ========== GENERAL STYLES ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 0.7rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* ========== MODAL STYLES ========== */
.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

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

.modal-header {
    margin-bottom: 1rem;
    text-align: center;
}

.modal-header h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fafafa;
}

.form-group input::placeholder {
    color: #999;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.9rem;
    color: white;
}

.checkbox-group a {
    color: white;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.modal-footer {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.modal-footer button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-footer .btn-submit {
    background-color: var(--primary-color);
    color: white;
}

.modal-footer .btn-submit:hover {
    background-color: var(--secondary-color);
}

.modal-footer .btn-close {
    background-color: #f0f0f0;
    color: var(--dark-text);
}

.modal-footer .btn-close:hover {
    background-color: #e0e0e0;
}

/* ========== HERO SECTION ========== */
.hero {
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-slides-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding: 5rem 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: heroFadeInUp 0.6s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.hero-slide.active {
    display: flex;
    animation: heroFadeInUp 0.6s ease-out;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-image-side {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.hero-image-placeholder {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 2s infinite;
}

.image-caption {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ========== HERO SLIDER CONTROLS ========== */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.hero-slider-btn:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hero-dot:hover {
    background-color: white;
    transform: scale(1.2);
}

.hero-dot.active {
    background-color: white;
    width: 36px;
    border-radius: 10px;
}

/* ========== FEATURES SECTION ========== */
.features {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    background-color: var(--light-bg);
    padding: 5rem 20px;
    margin: 3rem 0;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* ========== BENEFITS SECTION ========== */
.benefits {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefits-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 1rem 0;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #eee;
    color: #555;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    color: var(--success-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefits-image {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-bg) 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-image-text {
    font-size: 3rem;
    opacity: 0.3;
}

/* ========== REWARDS SECTION ========== */
.rewards {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 20px;
    margin: 3rem 0;
}

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

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reward-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.reward-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.reward-rate {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.reward-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== FAQ SECTION ========== */
.faq {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 20px;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f5d5e0;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #555;
    background-color: #fafafa;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 20px;
    text-align: center;
    margin: 3rem 0;
    border-radius: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--dark-text);
    color: white;
    padding: 3rem 20px 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .header-content {
        flex-wrap: wrap;
    }

    nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .hero-slide {
        min-height: 400px;
        padding: 3rem 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    .hero-slider-dots {
        bottom: 20px;
        gap: 0.8rem;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 28px;
    }

    .hero-image-side {
        min-height: 250px;
    }

    .hero-image-placeholder {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .image-caption {
        font-size: 1rem;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal {
        padding: 1rem;
        max-width: 95%;
    }

    .modal-header h2 {
        font-size: 1rem;
    }

    .features-grid,
    .steps-grid,
    .rewards-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .step,
    .reward-card {
        text-align: center;
    }

    nav a {
        display: none;
    }

    nav a.mobile-show {
        display: inline;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0;
        min-height: 350px;
    }

    .hero-slide {
        min-height: 350px;
        padding: 2.5rem 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-prev {
        left: 8px;
    }

    .hero-next {
        right: 8px;
    }

    .hero-slider-dots {
        bottom: 15px;
        gap: 0.6rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 20px;
    }

    .hero-image-side {
        min-height: 200px;
        order: -1;
    }

    .hero-image-placeholder {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .image-caption {
        font-size: 0.9rem;
    }

    .modal {
        padding: 1.5rem;
        margin: 20px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-large {
        width: 100%;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .cta {
        padding: 2.5rem 15px;
        margin: 2rem 10px;
    }

    .cta h2 {
        font-size: 1.2rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .benefits-image {
        padding: 2rem;
    }
}

/* ========== LOADING ANIMATION ========== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: white;
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

