/* CSS Reset and Base Styles - LIGHT BLUE THEME */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #e0f2fe; /* Very light blue */
    --bg-secondary: #fffdf0;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    scroll-behavior: smooth;
    
    /* Shadow variables */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 20%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #1f2937;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Accent Color Classes */
.neon-cyan {
    color: var(--accent-blue);
}

.neon-purple {
    color: var(--accent-purple);
}

.neon-green {
    color: var(--accent-green);
}

.neon-red {
    color: var(--accent-red);
}

/* Glassmorphism Effect - Clean White */
.glassmorphism {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.neon-cyan-btn {
    background-color: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.neon-cyan-btn:hover:not(:disabled) {
    background-color: #1d4ed8;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.neon-purple-btn {
    background-color: var(--accent-purple);
    color: white;
    border: 1px solid var(--accent-purple);
    box-shadow: var(--shadow-sm);
}

.neon-purple-btn:hover:not(:disabled) {
    background-color: #6d28d9;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.neon-green-btn {
    background-color: var(--accent-green);
    color: white;
    border: 1px solid var(--accent-green);
    box-shadow: var(--shadow-sm);
}

.neon-green-btn:hover:not(:disabled) {
    background-color: #0da271;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
    background-color: white;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.btn-danger {
    background-color: var(--accent-red);
    color: white;
    border: 1px solid var(--accent-red);
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover:not(:disabled) {
    background-color: #dc2626;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
}

/* Header */
.header {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
    background: white;
    /* position: sticky; */
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: -5px;
}

/* Search Container */
.search-container {
    width: 100%;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow-sm);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition);
}

.clear-search-btn:hover {
    background-color: #f3f4f6;
    color: var(--text-primary);
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #e0f2fe;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Sort Container */
.sort-container {
    display: flex;
    justify-content: flex-end;
}

.sort-select {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    background: white;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Products Info */
.products-info {
    margin-bottom: 20px;
    text-align: center;
}

.products-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Admin Access Button */
.admin-access-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    padding: 12px 20px;
    background-color: white;
    color: var(--accent-purple);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.admin-access-btn:hover {
    background-color: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
    animation: fadeIn 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    box-shadow: var(--shadow-md);
    position: relative;
}

.product-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.product-card:nth-child(even) {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    padding: 20px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-green);
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #f0f9ff;
    color: var(--accent-blue);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid #bae6fd;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1f2937;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.view-details-btn {
    padding: 10px 16px;
    background-color: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-details-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.whatsapp-inline-btn {
    padding: 10px 16px;
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-inline-btn:hover {
    background-color: #1da851;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Ad Placeholder */
.ad-placeholder {
    grid-column: 1 / -1;
    margin: 20px 0;
    text-align: center;
}

.ad-mock {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: var(--border-radius);
    border: 2px dashed #cbd5e1;
    color: #64748b;
}

.ad-mock i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.ad-mock p {
    margin: 0;
    font-size: 0.9rem;
}

.ad-container {
    margin: 30px 0;
    text-align: center;
}

.ad-banner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

.ad-infeed {
    min-height: 250px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

/* Footer */
.footer {
    padding: 40px 0 20px;
    border-top: 1px solid #e5e7eb;
    background-color: white;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.social-icon.whatsapp {
    color: #25D366;
}

.social-icon.facebook {
    color: #1877F2;
}

.social-icon.instagram {
    color: #E4405F;
}

.social-icon.twitter {
    color: #1DA1F2;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: currentColor;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-text {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--text-secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.newsletter {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

.newsletter h4 {
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Quick Contact */
.quick-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition);
}

.whatsapp-float, .phone-float {
    padding: 15px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float {
    background-color: #25D366;
    color: white;
}

.phone-float {
    background-color: var(--accent-blue);
    color: white;
}

.whatsapp-float:hover, .phone-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Product Detail Page */
.product-detail-container {
    padding-bottom: 60px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 1px solid #e5e7eb;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
    padding: 30px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.product-detail-description {
    margin-bottom: 30px;
}

.product-detail-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.product-detail-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.product-detail-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.whatsapp-btn.large {
    padding: 18px 30px;
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    flex: 1;
}

.whatsapp-btn.large:hover {
    background-color: #1da851;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-3px);
}

.phone-btn {
    padding: 18px 30px;
    background-color: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.phone-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
}

/* Similar Products */
.similar-products {
    grid-column: 1 / -1;
    margin-top: 60px;
}

.similar-products h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #1f2937;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.similar-product {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.similar-product:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.similar-product-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.similar-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.similar-product-info h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.product-detail-ad {
    grid-column: 1 / -1;
    margin-top: 40px;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: var(--bg-primary);
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid #e5e7eb;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.login-header h1 {
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--accent-blue);
}

.password-hint {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.login-security {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
}

.login-security p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-store {
    margin-top: 20px;
    text-align: center;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius);
    color: #dc2626;
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

.login-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.login-footer p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Admin Page */
.admin-header {
    margin-bottom: 20px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.admin-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.admin-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.admin-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logout-btn {
    padding: 10px 20px;
    background-color: white;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.logout-btn:hover {
    background-color: #fee2e2;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

.admin-container {
    padding-bottom: 60px;
    background-color: var(--bg-primary);
    min-height: 100vh;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Category Management */
.category-management {
    padding: 25px;
    margin-bottom: 40px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
}

.category-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.category-form input {
    flex: 1;
    padding: 12px 20px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-sm);
}

.category-form input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #f0f9ff;
    color: var(--accent-blue);
    border: 1px solid #bae6fd;
    border-radius: 30px;
    font-size: 0.9rem;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-count {
    background: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.remove-category-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition);
}

.remove-category-btn:hover {
    opacity: 1;
    transform: scale(1.2);
}

.no-categories {
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px dashed #e5e7eb;
}

/* Split Screen Layout */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-form-section, .product-list-section {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-actions-header {
    display: flex;
    gap: 10px;
}

.product-list-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.product-list-controls input,
.product-list-controls select {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
}

.product-list-controls input:focus,
.product-list-controls select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Image Upload Styles */
.image-upload-container {
    margin-top: 10px;
}

.image-upload-box {
    border: 2px dashed #d1d5db;
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.image-upload-box:hover {
    border-color: var(--accent-blue);
    background-color: #f0f9ff;
}

.image-upload-box i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.image-upload-box h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.image-upload-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-hint {
    font-size: 0.8rem !important;
    color: #9ca3af !important;
}

.image-preview {
    width: 100%;
    margin-top: 20px;
    display: none;
}

.image-preview.active {
    display: block;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--border-radius);
    object-fit: contain;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.image-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
}

.image-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Admin Product List */
.products-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.admin-product-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
    animation: slideInRight 0.5s ease-out;
    box-shadow: var(--shadow-sm);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-product-item:hover {
    background-color: #f9fafb;
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.admin-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.admin-product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.admin-product-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #f0f9ff;
    color: var(--accent-blue);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
}

.admin-product-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #f8fafc;
    color: var(--text-secondary);
    border-radius: 30px;
    font-size: 0.8rem;
    border: 1px solid #e5e7eb;
}

.admin-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.admin-product-image-container {
    margin-bottom: 15px;
}

.admin-product-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: var(--border-radius);
    background: #f8fafc;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.admin-product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.edit-product-btn, .delete-product-btn, .preview-product-btn {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.edit-product-btn {
    background-color: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
}

.edit-product-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.delete-product-btn {
    background-color: white;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.delete-product-btn:hover {
    background-color: #fee2e2;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

.preview-product-btn {
    background-color: #f8fafc;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
}

.preview-product-btn:hover {
    background-color: #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Data Management */
.data-management {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
}

.data-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.data-info {
    padding: 10px;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
}

.data-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Admin Footer */
.admin-footer {
    margin-top: 40px;
    background: #f8fafc;
}

.admin-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-links a:hover {
    color: var(--accent-blue);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid;
    font-size: 0.9rem;
}

.notification-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.notification-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.notification-info {
    background-color: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.notification-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading Spinner */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.spinner.small {
    width: 30px;
    height: 30px;
    border-width: 2px;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* No Image States */
.no-image, .no-image-large, .no-image-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    background: #f8fafc;
    border: 1px dashed #d1d5db;
    border-radius: var(--border-radius);
}

.no-image i, .no-image-large i, .no-image-small i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.no-image-large i {
    font-size: 4rem;
}

.no-image-small i {
    font-size: 1.5rem;
}

.no-image p, .no-image-large p, .no-image-small p {
    margin: 0;
    font-size: 0.9rem;
}

/* Image lazy loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .split-screen {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-filter {
        margin-top: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .sort-container {
        justify-content: center;
        margin-top: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .whatsapp-btn.large, .phone-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-access-btn span {
        display: none;
    }
    
    .admin-access-btn {
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 20px;
    }
    
    .quick-contact span {
        display: none;
    }
    
    .whatsapp-float, .phone-float {
        padding: 15px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .quick-contact {
        bottom: 80px;
        right: 15px;
    }
    
    .admin-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .admin-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-stats {
        justify-content: center;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .product-list-controls {
        flex-direction: column;
    }
    
    .data-actions {
        flex-direction: column;
    }
    
    .data-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .similar-products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .admin-product-actions {
        flex-direction: column;
    }
    
    .admin-product-actions button,
    .admin-product-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .notification {
        min-width: auto;
        max-width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
    }
}
/* contact page */
.contact-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .contact-method {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 25px;
            background: #f8fafc;
            border-radius: var(--border-radius);
            border: 1px solid #e5e7eb;
            transition: var(--transition);
        }
        
        .contact-method:hover {
            transform: translateY(-5px);
            border-color: var(--accent-blue);
            box-shadow: var(--shadow-md);
        }
        
        .contact-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: white;
            font-size: 1.5rem;
        }
        
        .contact-details h3 {
            margin-bottom: 10px;
            color: #1f2937;
        }
        
        .contact-details p {
            margin-bottom: 15px;
            color: var(--text-secondary);
        }
        
        .location-note {
            font-size: 0.9rem;
            color: #6b7280;
            font-style: italic;
        }
        
        .faq-item {
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .faq-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .faq-item h3 {
            margin-bottom: 10px;
            color: #374151;
            font-size: 1.1rem;
        }
        
        .faq-item p {
            margin: 0;
            color: var(--text-secondary);
            line-height: 1.6;
        }



/* Fix for blurry images */
.product-img,
.admin-product-image,
.similar-product-image img,
.product-detail-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Ensure images maintain aspect ratio and don't stretch */
.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f8fafc;
}

/* For similar products */
.similar-product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.similar-product-image .no-image-small {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
}

/* For admin product images */
.admin-product-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* For product detail page */
.product-detail-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* For ad arrows */
.ad-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.ad-arrow .arrow-text {
    font-size: 12px;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.ad-arrow i {
    font-size: 16px;
    color: var(--accent-green);
}

.arrow-text p{
    color: #0ec43b;
    font-size: 22px;
}

.ad-mock {
    background: rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 10px 0;
}



/* ============================================================================
   PRIVACY POLICY & TERMS OF SERVICE - LIGHT BLUE THEME
   ============================================================================ */

/* Back Button - Used in both Privacy and Terms pages */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: white;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.back-btn:hover {
    background-color: #f8fafc;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Privacy Policy Page Styles - Light Theme */
.privacy-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease-out;
}

.privacy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    font-weight: 700;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.privacy-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section h3:before {
    content: "•";
    color: var(--accent-blue);
    font-size: 1.8rem;
}

.privacy-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.privacy-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.privacy-section li:before {
    content: "→";
    color: var(--accent-purple);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.privacy-section strong {
    color: var(--accent-blue);
    font-weight: 600;
}

.privacy-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.privacy-footer p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Terms of Service Page Styles */
.terms-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease-out;
}

.terms-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-blue);
    text-align: center;
    font-weight: 700;
}

.terms-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h3:before {
    content: "§";
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.terms-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.terms-section ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.terms-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.terms-section li:before {
    content: "✓";
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    font-weight: bold;
}

.terms-section li.warning:before {
    content: "⚠";
    color: var(--accent-orange);
}

.terms-section li.cross:before {
    content: "✗";
    color: var(--accent-red);
}

.terms-section strong {
    color: var(--accent-blue);
    font-weight: 600;
}

.terms-note {
    background: #f0f9ff;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-blue);
    margin-top: 20px;
}

.terms-note p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.terms-note i {
    color: var(--accent-blue);
    margin-right: 8px;
}

.terms-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.terms-footer p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.terms-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Numbered Sections for Terms */
.terms-section.numbered h3:before {
    counter-increment: section;
    content: counter(section) ".";
    font-size: 1.4rem;
}

/* Nested Lists */
.terms-section ul ul {
    margin-left: 20px;
    margin-top: 5px;
}

.terms-section ul ul li {
    color: #6b7280;
    font-size: 0.95rem;
}

.terms-section ul ul li:before {
    content: "•";
    color: var(--accent-purple);
    font-size: 1rem;
}

/* Highlight Important Terms */
.term-highlight {
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--accent-blue);
}

/* Responsive Design for Privacy & Terms */
@media (max-width: 768px) {
    .privacy-content,
    .terms-content {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .privacy-content h2,
    .terms-content h2 {
        font-size: 2rem;
    }
    
    .privacy-section h3,
    .terms-section h3 {
        font-size: 1.2rem;
    }
    
    .terms-actions {
        flex-direction: column;
    }
    
    .terms-actions .btn,
    .terms-actions .back-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-content,
    .terms-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .privacy-content h2,
    .terms-content h2 {
        font-size: 1.8rem;
    }
    
    .privacy-section li,
    .terms-section li {
        padding-left: 20px;
    }
    
    .privacy-section h3:before,
    .terms-section h3:before {
        font-size: 1.3rem;
    }
    
    .neon-cyan-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Animation for fadeIn effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}