:root {
    --primary: rgb(6, 204, 89); /* MTN yellow */
    --secondary: #222222;
    --accent: #E5352B; /* Uganda red */
    --accent-green: #058032; /* New green */
    --accent-blue: #00851dff; /* <-- added accent-blue */
    --light-bg: #FAFAFA;
    --dark-bg: #1A1A1A;
    --transition: all 0.3s ease;
    
    /* Light mode variables */
    --bg-color: var(--light-bg);
    --text-color: var(--secondary);
    --card-bg: #ffffff;
    --navbar-bg: #ffffff;
    --border-color: #f1f1f1;
    --shadow-color: rgba(0,0,0,0.02);
    --feature-card-bg: var(--light-bg);
    --user-card-bg: #ffffff;
    --footer-bg: var(--dark-bg);
}

/* Dark mode variables */
.dark-mode {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --navbar-bg: #1e1e1e;
    --border-color: #333333;
    --shadow-color: rgba(0,0,0,0.3);
    --feature-card-bg: #1e1e1e;
    --user-card-bg: #1e1e1e;
    --footer-bg: #121212;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2vw;
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 8px var(--shadow-color);
    transition: box-shadow 0.2s;
    position: relative;
    z-index: 10;
    min-height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo img {
    height: 84px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #fff;
    padding: 2px;
    display: block;
}

.logo h1 {
    font-size: 2rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-color);
}

.logo .soko {
    color: var(--accent); /* Red */
}

.logo .moja {
    color: var(--text-color); /* Uses text color */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    list-style: none;
    background: transparent; /* Remove dark background */
    border-radius: 0;
    box-shadow: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-color);
    font-size: 1rem;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 18px;
    transition: background 0.16s, color 0.16s;
    font-weight: 500;
    opacity: 0.92;
    background: transparent;
}

.nav-links a.active,
.nav-links a:hover {
    background: var(--bg-color);
    color: var(--primary) !important;
    opacity: 1;
}

.header-logins {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-logins .cta-btn {
    padding: 7px 14px;
    font-size: 0.97rem;
    border-radius: 18px;
    min-width: unset;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    border: none;
    background: var(--accent-blue);
    color: #fff;
    transition: background 0.18s, color 0.18s;
}

.header-logins .cta-btn.accent-blue {
    background: var(--accent-blue);
}

.header-logins .cta-btn.accent-blue:hover {
    background: #1e90cc;
}

.header-logins .cta-btn.accent-red {
    background: var(--accent);
}

.header-logins .cta-btn.accent-red:hover {
    background: #b91c1c;
}

.header-logins .cta-btn.accent-green {
    background: var(--accent-green);
}

.header-logins .cta-btn.accent-green:hover {
    background: #16a34a;
}

.header-logins .cta-btn i {
    font-size: 1rem;
    margin-right: 4px;
}

.join-waitlist-form {
    max-width: 400px;
    margin: 2rem auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.join-waitlist-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.join-waitlist-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.join-waitlist-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.join-waitlist-form button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background-color: var(--primary);
    color: white;
    transition: background-color 0.3s ease;
}

.join-waitlist-form button:hover {
    background-color: #02b446;
}

.join-waitlist-form select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Hamburger menu for mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    transition: color 0.15s;
}

.mobile-menu-btn:active {
    color: var(--primary);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: rgba(0,0,0,0.1);
}

.dark-mode .theme-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100vh;
    min-height: 480px;
    max-height: 1080px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
}

.hero-carousel img {
    width: 100vw;
    height: 100%;
    min-width: 100vw;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots .dot.active {
    background: var(--primary);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: rgba(0,0,0,0.15);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    min-width: 180px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-btn .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.primary-btn {
    background-color: var(--primary);
    color: white;
}

.primary-btn:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Accent Buttons */
.cta-btn.accent-red {
    background: var(--accent);
    color: #fff;
}

.cta-btn.accent-red:hover {
    background: #b91c1c;
    color: #fff;
}

.cta-btn.accent-blue {
    background: var(--accent-blue);
    color: #fff;
    border: 2px solid var(--accent-blue);
}

.cta-btn.accent-blue:hover {
    background: #1e90cc;
    color: #fff;
}

.cta-btn.accent-green {
    background: var(--accent-green);
    color: #fff;
}

.cta-btn.accent-green:hover {
    background: #16a34a;
    color: #fff;
}

/* Features Section */
.features {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    color: var(--text-color);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--feature-card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* User Types Section */
.user-types {
    padding: 80px 5%;
    background-color: var(--bg-color);
    text-align: center;
}

.user-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.user-card {
    background-color: var(--user-card-bg);
    border-radius: 10px;
    padding: 40px 30px;
    width: 350px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.user-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.user-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(247, 181, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.user-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.user-description {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Stats Section */
.stats {
    padding: 60px 5%;
    background: linear-gradient(rgba(1, 184, 62, 0.9), rgba(0, 126, 0, 0.9)), 
                url('corusel.png');
    background-size: cover;
    color: white;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 5% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Animated Social Media Icons */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.footer.visible .social-links {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Individual social media colors (optional) */
.social-links a:hover:nth-child(1) {
    background: #1877f2; /* Facebook blue */
}

.social-links a:hover:nth-child(2) {
    background: #1da1f2; /* Twitter blue */
}

.social-links a:hover:nth-child(3) {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* Instagram gradient */
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    color: white;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.promo-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

/* Social Proof Notification */
.social-proof {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.5s ease;
    max-width: 300px;
    border: 1px solid var(--border-color);
}

.social-proof.show {
    transform: translateX(0);
}

.social-proof-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.social-proof-content {
    flex: 1;
}

.social-proof-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.social-proof-name {
    font-weight: 600;
}

.social-proof-location {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.8rem;
}

/* Referral Program - Modernized */
.referral-program {
    background: linear-gradient(135deg, var(--accent-green), #046926);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 5%;
    box-shadow: 0 10px 30px rgba(5, 128, 50, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-program::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: 1;
}

.referral-program:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 128, 50, 0.4);
}

.referral-program h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.referral-program p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.referral-code-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin: 25px auto;
    max-width: 500px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.referral-code-label {
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.referral-code {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 12px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.referral-code:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.referral-code::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.referral-code:hover::after {
    left: 100%;
}

.copy-btn {
    background: white;
    color: var(--accent-green);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.copy-btn:active {
    transform: translateY(0);
}

.referral-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.referral-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.referral-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.referral-stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.referral-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Live Chat */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-color);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    height: 400px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-color);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--card-bg);
}

.message {
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    color: var(--text-color);
}

.received {
    background: var(--bg-color);
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.sent {
    background: var(--primary);
    color: white;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-right: 10px;
    background: var(--bg-color);
    color: var(--text-color);
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .navbar {
        padding: 0.5rem 2vw;
        min-height: 56px;
        background: var(--navbar-bg);
        box-shadow: 0 1px 6px var(--shadow-color);
    }
    
    .logo img {
        height: 44px;
    }
    
    .navbar {
        min-height: 56px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 60vw;
        min-width: 180px;
        max-width: 320px;
        height: 100vh;
        background: var(--navbar-bg); /* Only on mobile */
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1rem 1.2rem 1rem;
        z-index: 200;
        transition: left 0.3s;
        box-shadow: 2px 0 10px var(--shadow-color);
        border-radius: 0 10px 10px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        color: var(--text-color) !important;
        background: none;
        opacity: 1;
    }
    
    .nav-links a.active,
    .nav-links a:hover {
        background: rgba(0,0,0,0.09);
        color: var(--primary) !important;
    }
    
    .dark-mode .nav-links a.active,
    .dark-mode .nav-links a:hover {
        background: rgba(255,255,255,0.09);
    }
    
    .header-logins {
        display: none; /* Hide logins on mobile */
    }
    
    .mobile-menu-btn {
        font-size: 1.6rem;
        margin-left: 0.5rem;
        display: block;
        z-index: 210;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.4rem 1vw;
        min-height: 48px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .navbar {
        min-height: 48px;
    }
    
    .nav-links {
        width: 80vw;
        min-width: 120px;
        max-width: 95vw;
        padding: 1rem 0.5rem;
        font-size: 0.98rem;
    }
    
    .nav-links li {
        margin: 0.7rem 0;
    }
    
    .nav-links a {
        font-size: 0.98rem;
        padding: 7px 8px;
        border-radius: 10px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    body.sidebar-open {
        overflow: hidden;
    }
    
    .hero {
        height: 60vh;
        min-height: 320px;
        padding: 0 0.5rem;
    }
    
    .hero-carousel img {
        height: 250px;
        min-height: 180px;
    }
    
    .hero-content {
        padding: 1.2rem 0.5rem;
        border-radius: 10px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .carousel-dots {
        bottom: 10px;
    }
    
    /* Referral stats */
    .referral-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    /* User cards */
    .user-cards {
        flex-direction: column;
        align-items: center;
    }
    
    /* Referral Program Responsive */
    .referral-program {
        padding: 30px 15px;
        margin: 30px 3%;
        border-radius: 15px;
    }
    
    .referral-program h3 {
        font-size: 1.6rem;
    }
    
    .referral-code-container {
        padding: 20px 15px;
    }
    
    .referral-code {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .referral-stats {
        gap: 20px;
    }
    
    .referral-stat {
        min-width: 120px;
        padding: 15px;
    }
    
    .referral-stat-value {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0.7rem 0.1rem;
    }
    
    .hero h1 {
        font-size: 1.1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .cta-btn {
        font-size: 0.95rem;
        padding: 10px 0;
    }
    
    .chat-window {
        width: 280px;
        height: 350px;
    }
    
    .referral-program {
        padding: 25px 10px;
        margin: 20px 3%;
    }
    
    .referral-program h3 {
        font-size: 1.4rem;
    }
    
    .referral-code-container {
        padding: 15px 10px;
    }
    
    .referral-code {
        font-size: 1.2rem;
        padding: 10px 15px;
        letter-spacing: 2px;
    }
    
    .copy-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .referral-stats {
        gap: 15px;
    }
    
    .referral-stat {
        min-width: 100px;
        padding: 12px;
    }
    
    .referral-stat-value {
        font-size: 1.4rem;
    }
    
    .referral-stat-label {
        font-size: 0.9rem;
    }
    
    /* Referral Program Responsive */
    .referral-program {
        padding: 15px;
        margin: 20px 3%;
    }
    
    .referral-program h3 {
        font-size: 1.3rem;
    }
    
    .referral-stats {
        gap: 10px;
    }
    
    .referral-stat-value {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Set initial state for animation */
.feature-card, .user-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.social-links {
    opacity: 0;
    transform: translateY(20px);
}

.user-card .cta-btn.accent-blue,
.user-card .cta-btn.accent-green {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.user-card:hover .cta-btn.accent-blue,
.user-card:hover .cta-btn.accent-green {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Optional: Only animate on hover, but keep visible */
.user-card .cta-btn {
    transition: transform 0.3s;
}

.user-card:hover .cta-btn {
    transform: translateY(-4px) scale(1.04);
}

/* Add animation to referral stats */
.referral-stat {
    opacity: 0;
    transform: translateY(20px);
}

/* Referral Program Animation Trigger */
.referral-program.visible .referral-stat {
    animation: fadeInUp 0.6s ease forwards;
}

.referral-program.visible .referral-stat:nth-child(1) {
    animation-delay: 0.1s;
}

.referral-program.visible .referral-stat:nth-child(2) {
    animation-delay: 0.3s;
}

.referral-program.visible .referral-stat:nth-child(3) {
    animation-delay: 0.5s;
}