:root {
    --primary-color: #2563eb;
    --primary-color-rgb: 37, 99, 235;
    --text-color: #1f2937;
    --secondary-color: #64748b;
    --background-color: #ffffff;
    --accent-color: #00A3FF;
    --light-bg: #F5F8FF;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --header-height: 70px;
    --sidebar-width: 300px;
    --navbar-height: 70px;
    --mobile-menu-timing: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    padding-top: var(--header-height);
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Override padding for services page */
body.services-page {
    padding-top: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s ease-in-out infinite;
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    top: 0;
    left: -100%;
    animation: shimmer 3s infinite;
}

/* Base navigation styles */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

/* Dropdown menu styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: var(--mobile-menu-timing);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--mobile-menu-timing);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile styles */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: var(--navbar-height);
        right: -100%;
        width: 280px;
        height: auto;
        max-height: max-content;
        background: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 0 0 0 12px;
    }

    .mobile-menu-active .nav-wrapper {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.1rem;
    }

    .auth-buttons {
        margin-top: 15px;
        margin-bottom: 5px;
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .auth-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-menu-active .nav-overlay {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .nav-wrapper {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        flex-direction: row;
    }

    .nav-links {
        flex-direction: row;
        gap: 30px;
        margin-right: 30px;
    }

    .nav-links li {
        margin: 0;
        border: none;
    }

    .nav-links a {
        padding: 5px 0;
        font-size: 1rem;
    }

    .auth-buttons {
        margin-top: 0;
        flex-direction: row;
        width: auto;
    }

    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: flex;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

.announcement {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 999;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.5s ease;
    width: 100%;
}

.announcement.hidden {
    height: 0;
    padding: 0;
    opacity: 0;
    margin: 0;
    overflow: hidden;
}

.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, #E8F0FF 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
}

.hero::before, .services-hero::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 163, 255, 0.05) 100%);
    top: -400px;
    right: -300px;
    z-index: 0;
}

.hero::after, .services-hero::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 163, 255, 0.04) 100%);
    bottom: -400px;
    left: -200px;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height) - 40px);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    opacity: 0.5;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    margin: 0 auto;
    max-width: 600px;
    padding-top: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 600px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 40px;
    top: 50%;
    right: 45%;
    transform: translateY(-50%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    padding-top: 20px;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 580px;
    background: var(--light-bg);
    border-radius: 35px;
    top: 50%;
    right: calc(45% + 10px);
    transform: translateY(-50%);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

/* Phone Screen Content */
.hero-image::after {
    background: linear-gradient(165deg, var(--secondary-color), var(--primary-color));
}

.hero-image .phone-content {
    content: '';
    position: absolute;
    width: 260px;
    height: 540px;
    background: var(--light-bg);
    border-radius: 32px;
    top: 50%;
    right: calc(45% + 20px);
    transform: translateY(-50%);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    padding: 20px;
    margin-top: 20px;
}

.phone-content::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 0 0 16px 16px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wallet-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wallet {
    text-align: center;
}

.wallet-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.wallet-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wallet.payment-wallet .wallet-amount {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wallet-status {
    font-size: 0.65rem;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-title {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-actions {
    margin-bottom: 1.5rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-button {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.action-button i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.action-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.recent-activity {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.activity-icon {
    width: 36px;
    height: 36px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-subtitle {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.phone-image {
    position: relative;
    height: 450px;
    width: auto;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Stats Section */
.stats {
    padding: 5rem 2rem;
    background: var(--white);
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    position: relative;
    padding: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(35deg);
    top: -50%;
    left: -100%;
    transition: 0.5s;
}

.stat-item:hover::after {
    left: 200%;
}

.stat-item h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.stat-item p {
    color: var(--gray-600);
}

@media (max-width: 1024px) {
    .stats {
        padding: 3rem 1rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

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

/* Solutions Section */
.solutions {
    padding: 1rem 1rem;
    background: var(--light-bg);
    position: relative;
    margin-top: -4rem;
    overflow: hidden;
}

.solutions-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0.5rem 0;
}

.carousel-container {
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    padding: 0.5rem 0;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.solution-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 300px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    opacity: 0.7;
    transform: scale(0.95);
}

.solution-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.solution-card a {
    text-decoration: none;
    color: inherit;
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.solution-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.solution-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .solution-icon::after {
    opacity: 0.2;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-prev,
.carousel-next {
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.carousel-prev i,
.carousel-next i {
    font-size: 1.25rem;
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .solution-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .solution-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: 280px;
    }
    
    .carousel-nav {
        gap: 1rem;
    }
}

/* Developer Section */
.developer {
    padding: 5rem 2rem;
    background: var(--gray-50);
    overflow: hidden;
}

.developer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.developer-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.developer-features .feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.developer-features .feature:hover {
    transform: translateY(-4px);
}

.developer-features .feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.developer-features .feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.developer-features .feature p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.developer-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.code-preview {
    background: #1a1a1a;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.code-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #404040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-header .tabs {
    display: flex;
    gap: 1rem;
}

.code-header .tab {
    background: none;
    border: none;
    color: #999;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.code-header .tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-header .tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-block {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    background: #1a1a1a;
    display: none;
}

.code-block.active {
    display: block;
}

.code-block code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.copy-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Syntax Highlighting Colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a9955;
}

.token.punctuation {
    color: #d4d4d4;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #b5cea8;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #ce9178;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #d4d4d4;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #569cd6;
}

.token.function,
.token.class-name {
    color: #dcdcaa;
}

.token.regex,
.token.important,
.token.variable {
    color: #d16969;
}

/* Scrollbar Styling */
.code-block::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-block::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.code-block::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

.code-block::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5rem 5% 2rem;
}

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

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

.footer h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    left: -10px;
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-600);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: var(--navbar-height) 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    padding: 5rem 5%;
    background: var(--light-bg);
    position: relative;
    margin-top: -4rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.2;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Services CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #002B66 100%);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-hero p {
        font-size: 1.1rem;
    }

    .services-grid {
        padding: 3rem 5%;
    }

    .service-card {
        padding: 2rem;
    }

    .cta-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Hero Section */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    opacity: 0.5;
    overflow: hidden;
}

.phone-image {
    position: relative;
    height: 450px;
    width: auto;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Payment Elements Styling */
.payment-element {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.payment-element:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Payment Styling */
.payment-element.card {
    width: 320px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1.5rem;
    color: white;
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%) rotate(-10deg);
    animation: floatCard 8s ease-in-out infinite;
    z-index: 1;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 5px;
    margin-bottom: 2rem;
}

.card-logos {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.card-number {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* M-Pesa Styling */
.payment-element.mpesa {
    top: 15%;
    right: 25%;
    width: 240px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    animation: floatMpesa 6s ease-in-out infinite;
    z-index: 3;
    padding: 1rem 1.5rem;
}

.payment-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-logo i {
    font-size: 1.75rem;
}

.payment-logo span {
    font-weight: 600;
    font-size: 1.1rem;
}

.payment-status {
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* PayPal Styling */
.payment-element.paypal {
    top: 35%;
    right: 5%;
    width: 240px;
    background: linear-gradient(135deg, #003087, #009cde);
    color: white;
    animation: floatPaypal 7s ease-in-out infinite;
    z-index: 3;
    padding: 1rem 1.5rem;
}

/* E-commerce Integrations */
.payment-element.ecommerce {
    bottom: 25%;
    right: -10%;
    width: 220px;
    background: white;
    animation: floatEcommerce 7s ease-in-out infinite;
    z-index: 3;
}

.integration-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.integration-icons i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.integration-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Success Message */
.payment-element.success {
    bottom: 15%;
    right: 8%;
    width: 240px;
    background: white;
    animation: floatSuccess 6s ease-in-out infinite;
    z-index: 3;
    padding: 1rem 1.5rem;
}

.success-icon {
    width: 42px;
    height: 42px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.success-content {
    flex: 1;
}

.success-title {
    font-weight: 600;
    color: #22C55E;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.success-message {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Animation Keyframes */
@keyframes floatCard {
    0%, 100% { transform: translateY(-50%) rotate(-10deg); }
    50% { transform: translateY(-55%) rotate(-8deg); }
}

@keyframes floatMpesa {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -10px); }
}

@keyframes floatPaypal {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -10px); }
}

@keyframes floatEcommerce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -10px); }
}

/* Mobile Menu Animation */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.nav-wrapper.active {
    animation: slideIn 0.3s ease forwards;
}

/* Scroll Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .stat-item, .solution-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Documentation Styles */
.docs-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
}

.docs-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.docs-sidebar {
    background: white;
    border-right: 1px solid #e2e8f0;
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 10;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.docs-logo {
    height: 32px;
}

.search-container {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.search-box {
    background: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.875rem;
    color: #475569;
}

.search-box .shortcut {
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.docs-nav {
    padding: 1.5rem;
}

.nav-group {
    margin: 0.5rem 0;
    position: relative;
}

.nav-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
    user-select: none;
}

.nav-group-header:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-group-header i:last-child {
    margin-left: auto;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.nav-group-items {
    display: none;
    padding-left: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-group.active .nav-group-items {
    display: block;
}

.nav-group.active .nav-group-header .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-group-items .nav-item {
    padding: 0.75rem 0;
    display: block;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-group-items .nav-item:hover {
    color: #2563eb;
}

.nav-group-items .nav-item.active {
    color: #2563eb;
}

/* Main Content Styles */
.docs-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem 4rem;
    max-width: calc(100% - var(--sidebar-width));
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.content-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.content-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
}

.content-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h3 {
    font-size: 1.125rem;
    margin: 0 0 1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin: 0.5rem 0;
}

.warning-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-box i {
    color: #f97316;
    font-size: 1.25rem;
}

.endpoint-box {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.method.post {
    background: #22c55e;
    color: white;
}

.method.get {
    background: #3b82f6;
    color: white;
}

.endpoint {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: #1e293b;
}

.table-wrapper {
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.params-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #475569;
}

.params-table tr:last-child td {
    border-bottom: none;
}

/* Code Examples */
.code-example {
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #1e293b;
}

.code-header {
    background: #334155;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-header .tabs {
    display: flex;
    gap: 1rem;
}

.code-header .tab {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.code-header .tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-header .tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-header .language {
    color: #94a3b8;
    font-size: 0.875rem;
}

.copy-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-block {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    background: #1a1a1a;
    display: none;
}

.code-block.active {
    display: block;
}

.code-block code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .docs-content {
        margin-left: 0;
        padding: 2rem;
        max-width: 100%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        min-height: auto;
    }

    .hero-content {
        padding: 1rem;
        padding-top: 20px;
    }

    .hero-image {
        opacity: 0.15;
        padding-top: 20px;
    }
}

/* Dashboard Styles */
.dashboard-body {
    margin: 0;
    padding: 0;
    background: #f8fafc;
    min-height: 100vh;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e2e8f0;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-header .logo img {
    height: 32px;
}

.sidebar-nav {
    padding: 1.5rem 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.nav-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-item.active {
    background: #eff6ff;
    color: #2563eb;
}

.nav-item i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.nav-group {
    margin: 0.5rem 0;
}

.nav-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-group-header:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-group-header i:last-child {
    margin-left: auto;
    font-size: 0.875rem;
}

.nav-group-items {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
    padding-left: 2.5rem;
}

.nav-group.active .nav-group-items {
    height: auto;
}

.nav-group.active .nav-group-header .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-group-items .nav-item {
    padding: 0.75rem 0;
    display: block;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-group-items .nav-item:hover {
    color: #2563eb;
}

.nav-group-items .nav-item.active {
    color: #2563eb;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 1.5rem;
}

/* Top Bar */
.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.topbar-left h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-display span {
    font-weight: 500;
    color: #1e293b;
}

.theme-toggle {
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* Welcome Message */
.welcome-message {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.welcome-message i {
    color: #059669;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.message-content p:first-child {
    font-weight: 600;
    color: #059669;
    margin: 0 0 0.5rem;
}

.message-content p:last-child {
    color: #065f46;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.close-message {
    margin-left: auto;
    background: none;
    border: none;
    color: #059669;
    cursor: pointer;
    padding: 0.25rem;
}

/* User Info Card */
.user-info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 64px;
    height: 64px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
}

.verification-badge {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: white;
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    white-space: nowrap;
}

.user-text h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.user-text p {
    color: #64748b;
    margin: 0;
}

.wallet-balances {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.wallet-card {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.wallet-card h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 0.5rem;
}

.wallet-card .balance {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.action-card i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.action-card span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    body.menu-open {
        overflow: hidden;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .topbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .balance-display {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-sidebar .nav-group {
    margin: 0.5rem 0;
    position: relative;
}

.dashboard-sidebar .nav-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.dashboard-sidebar .nav-group-header:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.dashboard-sidebar .nav-group-header i:last-child {
    margin-left: auto;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.dashboard-sidebar .nav-group-items {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
    padding-left: 2.5rem;
}

.dashboard-sidebar .nav-group.active .nav-group-items {
    height: auto;
}

.dashboard-sidebar .nav-group.active .nav-group-header .fa-chevron-down {
    transform: rotate(180deg);
}

.dashboard-sidebar .nav-group-items .nav-item {
    padding: 0.75rem 0;
    display: block;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dashboard-sidebar .nav-group-items .nav-item:hover {
    color: #2563eb;
}

.dashboard-sidebar .nav-group-items .nav-item.active {
    color: #2563eb;
}

/* Add overlay for mobile menu */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

@media (max-width: 1024px) {
    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 1024px) {
    .developer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .developer-text {
        order: 1;
    }
    
    .code-preview {
        order: 2;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .footer-grid {
        gap: 4rem;
    }

    .footer h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .footer-contact p {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .footer-links a {
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .payment-methods {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .payment-element {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        animation: none !important;
    }

    .payment-element.card {
        width: 100%;
        height: auto;
        transform: none;
        margin-bottom: 1rem;
    }

    .payment-element.mpesa,
    .payment-element.paypal,
    .payment-element.ecommerce,
    .payment-element.success {
        width: 100%;
        transform: none;
    }

    .hero-image::before,
    .hero-image::after {
        display: none;
    }

    .phone-content {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        right: auto;
        transform: none;
    }

    @keyframes float {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }

    @keyframes floatCard {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }

    @keyframes floatMpesa {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }

    @keyframes floatPaypal {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }

    @keyframes floatSuccess {
        0%, 100% { transform: none; }
        50% { transform: none; }
    }
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}