/* =====================================================
   KANTEMBA MAIN STYLESHEET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #08111f;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(8, 17, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo span {
    color: #22c55e;
}

.logo small {
    font-size: 0.65rem;
    color: #94a3b8;
    display: block;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #22c55e;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-login {
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid #22c55e;
    color: #22c55e;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-login:hover {
    background: rgba(34, 197, 94, 0.1);
}

.btn-signup, .btn-primary {
    padding: 10px 24px;
    background: #22c55e;
    color: #04120a;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-signup:hover, .btn-primary:hover {
    background: #2bde6c;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #cbd5e1;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    padding: 8px 16px;
    border-radius: 40px;
}

.user-menu a {
    color: #cbd5e1;
}

.user-menu .logout-btn {
    color: #ef4444;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-zm {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #22c55e;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 70%, #22c55e 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero h1 span {
    color: #22c55e;
    background: none;
}

.hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: #111827;
    padding: 28px 20px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.3);
}

.stat-card h3 {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 8px;
}

.stat-card p {
    color: #94a3b8;
}

/* Sections */
.section {
    padding: 70px 0;
}

.bg-dark {
    background: #0a1220;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #22c55e;
    margin: 16px auto 0;
    border-radius: 4px;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

.category-card {
    background: #111827;
    padding: 32px 20px;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    background: #1e293b;
}

.category-card i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 12px;
}

.category-card span {
    font-weight: 600;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: #111827;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.product-image {
    height: 200px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #22c55e;
}

.product-info {
    padding: 18px;
}

.product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.store-name {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #22c55e;
}

/* Stores Grid */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.store-card {
    background: #111827;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    text-decoration: none;
    color: white;
    display: block;
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    background: #1e293b;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.store-name-big {
    font-size: 1.2rem;
    font-weight: 700;
}

.verified-badge {
    color: #22c55e;
    font-size: 0.75rem;
}

.store-location {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.store-rating {
    color: #fbbf24;
    font-size: 0.85rem;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, #0a1220, #08111f);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.step {
    padding: 32px;
    background: #111827;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 48px;
    height: 48px;
    background: #22c55e;
    color: #04120a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 16px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0f172a, #0b1422);
    margin: 0 0 60px;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: #94a3b8;
    margin-bottom: 28px;
}

/* Footer */
footer {
    background: #0a1220;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #22c55e;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #22c55e;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #22c55e;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav, .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid, .stores-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
}