/* ===== VARIABLES ===== */
:root {
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #3B82F6;
    --secondary: #10B981;
    --accent: #8B5CF6;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --danger: #EF4444;
    --warning: #F59E0B;
    --success: #10B981;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-announcement {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.95rem;
}

.announcement-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-bar p {
    color: white;
    margin: 0;
}

/* ===== HEADER ===== */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
    font-weight: 300;
}

.tagline {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.znd-price .label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
}

.znd-price .value {
    font-weight: 700;
    color: var(--dark);
}

.znd-price .change {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 400;
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    display: flex;
    gap: 5px;
    background: white;
    padding: 5px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray);
}

.lang-btn .flag {
    font-size: 1.2rem;
}

.lang-btn .lang-name {
    text-transform: uppercase;
}

.lang-btn.active {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow-md);
}

.lang-btn:hover:not(.active) {
    background: var(--gray-light);
    color: var(--dark);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.trust-badges img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.trust-badges img:hover {
    opacity: 1;
}

.hero-image {
    position: relative;
}

.globe-container img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.card-1 {
    top: 20%;
    left: 0;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0;
    animation: float 6s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float 4s ease-in-out infinite 0.5s;
}

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

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.solution-card h3 {
    margin-bottom: 20px;
}

.problem {
    color: var(--danger);
    font-weight: 500;
    margin-bottom: 15px;
}

.solution {
    color: var(--success);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.solution-features {
    list-style: none;
    margin-bottom: 20px;
}

.solution-features li {
    margin-bottom: 10px;
    color: var(--gray);
}

.solution-features i {
    color: var(--success);
    margin-right: 10px;
}

.solution-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.solution-link:hover {
    gap: 10px;
}

/* ===== MARKETPLACE SHOWCASE ===== */
.marketplace-showcase {
    padding: 100px 0;
    background: var(--light);
}

.marketplace-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-origin {
    display: inline-block;
    padding: 4px 8px;
    background: var(--gray-light);
    border-radius: 5px;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

.btn-add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
}

.marketplace-cta {
    text-align: center;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.step-card h3 {
    margin-bottom: 15px;
}

/* ===== AFRICA SECTION ===== */
.africa-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.africa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.africa-content .section-badge {
    background: rgba(255,255,255,0.1);
    color: white;
}

.africa-content h2 {
    color: white;
    margin-bottom: 20px;
}

.africa-content p {
    color: rgba(255,255,255,0.8);
}

.africa-stats {
    margin: 40px 0;
}

.stat-row {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.stat-row span {
    color: white;
}

.stat-row .progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.stat-row .progress {
    height: 100%;
    background: var(--danger);
    border-radius: 10px;
}

.stat-row.highlight .progress {
    background: var(--success);
}

.stat-row .value {
    font-weight: 600;
    text-align: right;
}

.africa-actions {
    display: flex;
    gap: 15px;
}

.africa-actions .btn-primary {
    background: white;
    color: var(--dark);
}

.africa-actions .btn-secondary {
    border-color: white;
    color: white;
}

.africa-actions .btn-secondary:hover {
    background: white;
    color: var(--dark);
}

.africa-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-card h4 {
    margin-bottom: 5px;
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== WHITELIST SECTION ===== */
.whitelist {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.whitelist-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.whitelist-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    text-align: center;
}

.countdown-item span:first-child {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.countdown-item span:last-child {
    font-size: 0.9rem;
    color: var(--gray);
}

.whitelist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.whitelist-form input,
.whitelist-form select {
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.whitelist-form input:focus,
.whitelist-form select:focus {
    border-color: var(--primary);
    outline: none;
}

.whitelist-form button {
    margin-top: 10px;
}

.whitelist-note {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== SHOP PAGE ===== */
.shop-page {
    padding: 60px 0;
    min-height: 500px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.shop-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    min-width: 200px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-light);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: white;
}

.footer-col i {
    margin-right: 10px;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-logos {
    display: flex;
    gap: 20px;
}

.footer-logos img {
    height: 25px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logos img:hover {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .africa-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .language-selector {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .solutions-grid,
    .testimonials-grid,
    .steps-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .marketplace-tabs {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .lang-btn .lang-name {
        display: none;
    }
    
    .lang-btn {
        padding: 8px 12px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}
