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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-bottom: 60px;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 1.2em;
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: #667eea;
    color: white;
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.5s;
}

.section.active {
    display: block;
}

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

/* Hero */
.hero {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    color: #667eea;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.hero p {
    color: #666;
    font-size: 1.3em;
}

/* Benefits */
.benefits, .rewards {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefits h3, .rewards h3 {
    color: #667eea;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 3em;
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 1.1em;
}

/* Rewards */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.reward-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.reward-card:hover {
    transform: scale(1.05);
}

.reward-card.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.reward-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.reward-card h4 {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.reward-card p {
    font-size: 1.2em;
    font-weight: bold;
}

/* Forms */
.form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Rating Stars */
.rating-group {
    margin-bottom: 25px;
}

.rating-group label {
    display: block;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 10px;
    font-size: 2em;
    cursor: pointer;
}

.stars i {
    color: #ddd;
    transition: color 0.2s;
}

.stars i:hover,
.stars i.active {
    color: #ffd700;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(56, 239, 125, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Points Result */
.points-result {
    margin-top: 30px;
}

.points-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.points-header h3 {
    color: #667eea;
    font-size: 1.8em;
}

.points-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.5em;
    font-weight: bold;
}

.discount-info {
    text-align: center;
    margin: 30px 0;
}

.discount-info h4 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.discount-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 2.5em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.discount-info p {
    color: #666;
    font-size: 1.1em;
}

/* Progress Bar */
.progress-bar {
    background: #e0e0e0;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    transition: width 0.5s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: bold;
}

.progress-text {
    text-align: center;
    color: #666;
    margin-top: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.stat-card i {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.stat-card h4 {
    font-size: 2em;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1.1em;
}

/* Admin */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.admin-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.admin-card.full-width {
    grid-column: 1 / -1;
}

.admin-card h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.info-text {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    color: #1976d2;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* Customer List */
#customersList {
    max-height: 400px;
    overflow-y: auto;
}

.customer-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.customer-info p {
    color: #666;
    font-size: 0.9em;
}

.customer-points {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .hero h2 {
        font-size: 1.6em;
    }
    
    .benefit-grid,
    .rewards-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .points-header {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-btn {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}
