/* CSS Variables for Theme */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-red: #ff3333;
    --accent-red-hover: #ff5555;
    --accent-white: #ffffff;
    --border-color: #404040;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.profile-icon {
    font-size: 2rem;
    color: var(--accent-red);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-icon:hover {
    transform: scale(1.1);
}

.car-info {
    text-align: center;
    flex: 1;
}

.car-model {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.car-plate {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    gap: 0.5rem;
}

.theme-toggle, .qr-toggle, .settings-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover, .qr-toggle:hover, .settings-toggle:hover {
    background: var(--accent-red);
    color: white;
    transform: scale(1.1);
}

/* Container */
.container {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.page.active {
    display: block;
}

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

/* Welcome Message */
.welcome-message {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.welcome-message h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-message p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.page-header h1 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Quick Services */
.quick-services {
    margin-bottom: 2rem;
}

.quick-services h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-scroll::-webkit-scrollbar {
    display: none;
}

.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.3);
}

.service-icon {
    font-size: 1.5rem;
}

.service-label {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Admin Dashboard Styles */
.admin-content {
    padding: 1rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.1);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-info p {
    margin: 0.25rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.admin-section h2 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.analytics-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.analytics-item label {
    color: var(--text-secondary);
    font-weight: 500;
}

.analytics-item span {
    color: var(--text-primary);
    font-weight: 600;
}

.rewards-management,
.service-management,
.membership-management {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rewards-stats,
.service-stats,
.membership-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reward-stat,
.service-stat,
.membership-tier {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.reward-stat label,
.service-stat label,
.membership-tier label {
    color: var(--text-secondary);
    font-weight: 500;
}

.reward-stat span,
.service-stat span,
.membership-tier span {
    color: var(--text-primary);
    font-weight: 600;
}

.reward-actions,
.service-actions,
.membership-actions,
.database-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-admin {
    background: linear-gradient(135deg, var(--accent-red), #cc0000);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}



.reward-management-content {
    text-align: left;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.coins-form {
    text-align: left;
}

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

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-stats,
    .service-stats,
    .membership-stats {
        grid-template-columns: 1fr;
    }
    
    .reward-actions,
    .service-actions,
    .membership-actions,
    .database-actions {
        flex-direction: column;
    }
}

/* Video Section - Enhanced Design */
.promo-videos {
    margin-bottom: 2rem;
}

.promo-videos h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.video-grid-unique {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Main Featured Video */
.main-video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(255, 51, 51, 0.2);
}

.main-video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 51, 51, 0.3);
}

.video-thumbnail-main {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.video-thumbnail-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-video-card:hover .video-thumbnail-main img {
    transform: scale(1.1);
}

/* TikTok Featured Embed Styling */
.main-video-card.tiktok-featured {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid #ff0050;
    box-shadow: 0 8px 32px rgba(255, 0, 80, 0.2);
}

.main-video-card.tiktok-featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(255, 0, 80, 0.3);
}

.main-video-card.tiktok-featured .video-badge {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
    display: inline-block;
}

.main-video-card.tiktok-featured h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.main-video-card.tiktok-featured p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.main-video-card.tiktok-featured .tiktok-embed {
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.main-video-card.tiktok-featured .video-stats {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.main-video-card.tiktok-featured .video-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-video-card.tiktok-featured .video-stats .fa-tiktok {
    color: #ff0050;
}

.play-button-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.4);
}

.main-video-card:hover .play-button-main {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 51, 51, 0.6);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

.video-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.video-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Side Videos */
.side-videos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card-compact {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.video-card-compact:hover {
    transform: translateX(8px);
    border-color: var(--accent-red);
    box-shadow: 0 4px 16px rgba(255, 51, 51, 0.2);
}

.video-thumbnail-compact {
    position: relative;
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.video-thumbnail-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-compact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: white;
    background: rgba(255, 51, 51, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-info-compact {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-info-compact h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.video-info-compact p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.duration {
    font-size: 0.7rem;
    color: var(--accent-red);
    font-weight: 600;
    align-self: flex-end;
}

/* TikTok video special styling */
.video-card-compact.tiktok-video {
    border: 2px solid #ff0050;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(37, 244, 238, 0.1));
}

.video-card-compact.tiktok-video:hover {
    border-color: #ff0050;
    box-shadow: 0 4px 16px rgba(255, 0, 80, 0.3);
}

.video-card-compact.tiktok-video .video-play-compact {
    background: rgba(255, 0, 80, 0.9);
    color: white;
    font-size: 1.1rem;
}

.video-card-compact.tiktok-video .duration {
    color: #ff0050;
    font-weight: 700;
    background: rgba(255, 0, 80, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

/* Video Categories */
.video-categories {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn:hover {
    border-color: var(--accent-red);
    background: var(--bg-secondary);
}

.category-btn.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 2rem;
}

.reviews-section h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.reviews-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.reviews-scroll::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 300px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-style: italic;
}

.reviewer {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
}

/* RKCoins Display */
.rkcoins-display {
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.rkcoins-display:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.3);
}

.coins-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Quick Access */
.quick-access {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.access-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.access-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-4px);
}

.access-btn i {
    font-size: 1.5rem;
}

.access-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #e62e2e;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Alert Styles */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #27ae60;
}

.alert-error {
    background: #e74c3c;
}

.alert-info {
    background: #3498db;
}

.alert button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.25rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(255, 51, 51, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.price {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-tag {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Pricing Tiers Styles */
.pricing-tiers {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--accent-red);
}

.pricing-tiers h3 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

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

.pricing-tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-tier-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.pricing-tier-card.golden-tier {
    border: 2px solid #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
}

.pricing-tier-card.golden-tier:hover {
    border-color: #FFD700;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.pricing-tier-card.bronze-tier {
    border: 2px solid #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(160, 82, 45, 0.1));
}

.pricing-tier-card.bronze-tier:hover {
    border-color: #CD7F32;
    box-shadow: 0 4px 16px rgba(205, 127, 50, 0.3);
}

.pricing-tier-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.original-price {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.discounted-price {
    color: var(--accent-red);
    font-size: 1.4rem;
    font-weight: 700;
}

.savings-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.savings-badge.golden {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 700;
}

.savings-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
    font-weight: 700;
}

/* Windscreen Pricing Styles */
.windscreen-pricing-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid #4CAF50;
}

.windscreen-pricing-section h3 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.windscreen-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.windscreen-tier {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
}

.titanium-windscreen-tier {
    border-color: #E5E4E2;
    background: linear-gradient(135deg, rgba(229, 228, 226, 0.1), rgba(192, 192, 192, 0.1));
}

.golden-windscreen-tier {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
}

.bronze-windscreen-tier {
    border-color: #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(160, 82, 45, 0.1));
}

.tier-header-windscreen {
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.titanium-windscreen-tier .tier-header-windscreen {
    background: linear-gradient(135deg, #E5E4E2, #C0C0C0);
    color: #000;
}

.golden-windscreen-tier .tier-header-windscreen {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.bronze-windscreen-tier .tier-header-windscreen {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
}

.tier-header-windscreen h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.protection-specs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.spec-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.windscreen-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.vehicle-windscreen-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.vehicle-windscreen-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 51, 0.2);
}

.vehicle-windscreen-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.window-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.window-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.window-option:hover {
    border-color: var(--accent-red);
    background: var(--bg-card);
}

.window-type {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.window-price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Membership Page Styles */
.gold-membership-info {
    margin-bottom: 2rem;
}

.tier-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.tier-card.featured {
    border-color: var(--accent-red);
    transform: scale(1.02);
}

.tier-header {
    padding: 2rem 1rem;
    text-align: center;
    color: white;
    position: relative;
}

.tier-header.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.tier-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
}

.tier-benefits {
    padding: 1.5rem;
}

.benefit {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.benefit:last-child {
    border-bottom: none;
}

.billing-toggle {
    display: flex;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 0.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.billing-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.billing-btn.active {
    background: var(--accent-red);
    color: white;
}

.savings-badge {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.vehicle-selection {
    margin-bottom: 2rem;
}

.vehicle-selection h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.vehicle-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.vehicle-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-4px);
}

.vehicle-card.selected {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    color: white;
}

.vehicle-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.vehicle-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.vehicle-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin: 0.5rem 0;
}

.vehicle-card.selected .vehicle-price {
    color: white;
}

.vehicle-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.vehicle-card.selected p,
.vehicle-card.selected .example {
    color: rgba(255, 255, 255, 0.9);
}

.example {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.membership-action {
    margin-top: 2rem;
}

.selected-plan-summary {
    background: var(--bg-card);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.selected-plan-summary h3 {
    color: var(--accent-red);
    margin-bottom: 1rem;
    text-align: center;
}

.plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.plan-tier {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.plan-vehicle, .plan-billing {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plan-price {
    text-align: right;
}

.final-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.membership-subscribe-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Profile Page */
.profile-content {
    max-width: 500px;
    margin: 0 auto;
}

.profile-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.profile-avatar {
    font-size: 4rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.profile-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.membership-badge {
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* QR Code Page */
.qr-content {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.qr-code-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.qr-code-container p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Loyalty & Wallet Pages */
.loyalty-content, .wallet-content, .rewards-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.coins-balance, .wallet-balance {
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.coins-balance h2, .wallet-balance h2 {
    margin-bottom: 0.5rem;
}

.balance-display, .balance-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.rewards-balance-section {
    margin-bottom: 2rem;
}

.current-balance-card {
    background: linear-gradient(135deg, var(--accent-red), #ff6666);
    padding: 2rem;
    border-radius: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow);
}

.balance-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.balance-info h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.login-prompt {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 2rem 0;
}

/* QR Scanner */
.qr-scanner {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.scanner-frame {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

#qr-canvas {
    width: 100%;
    height: 300px;
    background: #000;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-red);
    pointer-events: none;
}

.scanner-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--accent-red);
    animation: scan 2s linear infinite;
}

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

.scan-result {
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

/* Buttons */
.btn-primary {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 51, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-red);
}

/* WhatsApp button for service cards */
.service-buttons .btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-buttons .btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-red);
}

/* Form Elements */
.form-input {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--accent-red);
    background: var(--bg-primary);
    outline: none;
}

.plate-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-align: center;
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.otp-input-group {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.otp-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.otp-digit:focus {
    border-color: var(--accent-red);
    background: var(--bg-primary);
    outline: none;
}

/* Auth Toggle */
.auth-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 4px;
    margin: 1rem 0 2rem 0;
    border: 1px solid var(--border-color);
}

.auth-toggle-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-toggle-btn.active {
    background: var(--accent-red);
    color: white;
    transform: translateY(-1px);
}

.auth-toggle-btn:hover:not(.active) {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.auth-content {
    text-align: center;
}

.auth-switch {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.auth-switch p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Settings */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.setting-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.setting-item:hover {
    background: var(--bg-card);
    border-color: var(--accent-red);
}

.setting-item.logout-option {
    border-color: var(--error-color);
    color: var(--error-color);
}

.setting-item.logout-option:hover {
    background: var(--error-color);
    color: white;
}

.setting-item.login-option {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.setting-item.login-option:hover {
    background: var(--accent-red);
    color: white;
}

.setting-item i {
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.setting-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.setting-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Branch Cards */
.branch-selection {
    margin: 2rem 0;
}

.branch-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: var(--shadow);
}

.branch-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.2);
}

.branch-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.branch-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.branch-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.branch-features span {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* Video Modal */
.video-content {
    max-width: 800px;
    padding: 0;
    overflow: hidden;
}

.video-container {
    position: relative;
    background: #000;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-info p {
    color: var(--text-secondary);
}

/* Service Details Modal */
.service-details-content {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.service-details-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.service-details-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-price-large {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff3333;
    margin-bottom: 0.5rem;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.service-details-body {
    padding: 1.5rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-description h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-description p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-features h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.features-list {
    display: grid;
    gap: 0.5rem;
}

.feature-item {
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.service-details-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    background: var(--bg-secondary);
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 160px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-width: 60px;
}

.nav-btn.active {
    color: var(--accent-red);
    transform: scale(1.1);
}

.nav-btn i {
    font-size: 1.2rem;
}

/* Simple Footer */
.simple-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--accent-red);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-red-hover);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .welcome-message {
        padding: 1.5rem;
    }

    .welcome-message h1 {
        font-size: 1.6rem;
    }

    .video-grid-unique {
        grid-template-columns: 1fr;
    }

    .video-thumbnail-main {
        height: 200px;
    }

    .play-button-main {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .quick-access {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .plan-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .phone-input-group {
        flex-direction: column;
    }

    .current-balance-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .branch-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem;
    }

    .welcome-message h1 {
        font-size: 1.4rem;
    }

    .service-scroll {
        gap: 0.5rem;
    }

    .service-btn {
        min-width: 70px;
        padding: 0.75rem;
    }

    .video-thumbnail-main {
        height: 180px;
    }

    .play-button-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .otp-digit {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modal-content {
        margin: 0.25rem;
        padding: 1rem;
        width: 95%;
        max-width: none;
    }

    .bottom-nav {
        padding: 0.25rem 0;
    }

    .nav-btn {
        font-size: 0.7rem;
        min-width: 50px;
    }

    /* Service Details Modal Mobile Responsive */
    .service-details-content {
        width: 95%;
        max-width: none;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .service-details-header {
        height: 150px;
    }

    .service-details-info {
        padding: 1.5rem 1rem 1rem;
    }

    .service-details-info h2 {
        font-size: 1.2rem;
    }

    .service-price-large {
        font-size: 1.1rem;
    }

    .service-details-body {
        padding: 1rem;
    }

    .service-details-actions {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-whatsapp {
        width: 100%;
        min-width: auto;
        margin-bottom: 0.5rem;
        padding: 1rem;
        font-size: 1rem;
    }

    .service-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-buttons .btn-primary,
    .service-buttons .btn-whatsapp {
        width: 100%;
        min-width: auto;
        margin: 0;
    }

    .features-list {
        gap: 0.25rem;
    }

    .feature-item {
        padding: 0.4rem 0;
        font-size: 0.85rem;
    }
}