body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}
.hero {
    text-align: center;
    padding: 20px 20px 20px 20px;
}
.hero h1 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.hero-cta { 
    display: inline-block;
    background: #31a632;
    color: #fff;
    font-weight: 600;
    font-size: 1.12em;
    border: none;
    border-radius: 28px;
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.18s;
    margin-top: 4px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-cta-outline {
    display: inline-block;
    background: #fff;
    color: #31a632;
    font-weight: 600;
    font-size: 1.12em;
    border: 2px solid #31a632;
    border-radius: 28px;
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.18s;
    margin-top: 4px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-cta .arrow {
    font-size: 1.2em;
    transition: transform .2s;
}

.hero-cta:hover .arrow {
    transform: translateX(4px);
}

.hero-cta:hover {
    background: #1f6620;
    color: #fff;
}

/* Layout Styles */
.layout {
    display: flex;
    min-height: 100vh;
}

.side-menu {
    width: 240px;
    background: white;
    border-right: 1px solid #eee;
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.side-menu-item:hover,
.side-menu-item.active {
    background: #f5f7f5;
    color: #31a632;
}

.side-menu-item[style*="color: #e74c3c"]:hover {
    background: #fff5f5;
    color: #e74c3c;
}

.main-content {
    flex: 1;
    margin-left: 240px;
    background: #f9fafb;
    min-height: 100vh;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-title {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
}

.card-trend {
    font-size: 0.9rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-up {
    color: #31a632;
}

.trend-down {
    color: #e74c3c;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #31a632;
    letter-spacing: 0.5px;
}

.mobile-page-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    text-decoration: none;
    color: #666;
    transition: color 0.2s;
    min-width: 0;
    flex: 1;
}

.bottom-nav-item.active {
    color: #31a632;
}

.bottom-nav-item i {
    width: 24px !important;
    height: 24px !important;
}

.bottom-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Chat Overlay Styles */
.floating-chat-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #31a632;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(49, 166, 50, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

.floating-chat-button:hover {
    background: #278c28;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(49, 166, 50, 0.4);
}

.chat-modal {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    transition: all 0.3s ease;
}

.chat-modal-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
}

.chat-modal-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-modal-header {
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}

.close-chat-button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-chat-button:hover {
    background: #f5f5f5;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f9fafb;
    font-family: 'Poppins', sans-serif;
}

.chat-input-container {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #eee;
    border-radius: 0 0 16px 16px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    resize: none;
    min-height: 24px;
    max-height: 120px;
    overflow-y: auto;
}

.chat-send-btn {
    background: #31a632;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.chat-send-btn:hover {
    background: #278c28;
}

.chat-send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.message {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.olive-message .message-content {
    background: #e8f5e9;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #f0f4f8;
}

/* Transaction Styles */
.transactions {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.transactions-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
}

.transaction-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    padding: 16px 24px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #666;
}

.icon-button {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.icon-button:hover {
    background: #f5f5f5;
}

.logout-button {
    padding: 12px 24px;
    color: #e74c3c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.2s;
}

.logout-button:hover {
    background: #fff5f5;
}

.olive-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #31a632;
    letter-spacing: 0.5px;
}

/* Thinking dots animation */
.thinking-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.thinking-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31a632;
    animation: thinking 1.4s infinite ease-in-out;
}

.thinking-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.thinking-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes thinking {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.dashboard-container {
    padding: 24px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hide desktop side menu */
    .side-menu {
        display: none;
    }

    /* Show mobile header */
    .mobile-header {
        display: block;
    }

    /* Show bottom navigation */
    .bottom-nav {
        display: block;
    }

    /* Hide text labels on mobile bottom nav */
    .bottom-nav-item span {
        display: none;
    }

    /* Adjust main content */
    .main-content {
        margin-left: 0;
        padding-bottom: 80px; /* Space for bottom nav */
    }

    /* Adjust dashboard container padding */
    .dashboard-container {
        padding: 16px;
    }

    /* FIXED: Summary cards in 2x2 grid on mobile */
    .summary-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .card {
        padding: 16px;
    }

    .card-title {
        font-size: 0.8rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    /* Adjust transaction layout for mobile */
    .transaction-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 16px;
    }

    .transaction-row > *:nth-child(2),
    .transaction-row > *:nth-child(4) {
        display: none;
    }

    .transaction-row > *:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .transaction-row > *:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }

    /* Adjust floating chat button for mobile */
    .floating-chat-button {
        bottom: 100px !important; /* Above bottom nav */
        right: 16px !important;
    }

    /* Adjust chat modal for mobile */
    .chat-modal {
        width: calc(100vw - 32px) !important;
        right: 16px !important;
        left: 16px !important;
        bottom: 120px !important; /* Above bottom nav */
    }

    /* Adjust transactions header for mobile */
    .transactions-header {
        padding: 16px;
        font-size: 1rem;
    }

    .hero p{
        font-size: 1.5em;
    }

    .olive-nav {
    position: fixed; top: 0; right: -100vw; width: 220px; height: 100vh; background: #fff; box-shadow: -4px 0 16px rgba(0,0,0,0.09);
    flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 22px; padding: 70px 32px 0 32px;
    z-index: 9999; transition: right 0.33s;
    }
    .olive-nav.open {
    right: 0;
    }
    .olive-menu-toggle {
    display: block;
    }
    .olive-close-menu {
    display: block;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table td,
    .comparison-table th {
        font-size: 0.95rem;
        padding: 12px;
    }

    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}

/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 250, 251, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #31a632;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loading-text {
    color: #31a632;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.cta-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.cta-form input[type="email"] {
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    max-width: 80%;
}
.cta-form button {
    padding: 12px 25px;
    font-size: 1em;
    background: #31a632;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.cta-form button:hover {
    background: #1f6620;
}

.olive-header {
    width: 100%; background: #fff; border-bottom: 1px solid #eee;;
}
.olive-header-inner {
    max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
}
.olive-nav {
    display: flex; gap: 28px;
}
.olive-nav a {
    font-family: 'Poppins', sans-serif; font-weight: 500; color: #222; text-decoration: none; font-size: 1.05rem;
}
.olive-nav a:last-child {
    color: #31a632; font-weight: 600;
}
.olive-menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
}
.olive-menu-icon {
    width: 28px; height: 28px; display: flex; flex-direction: column; justify-content: center;
}
.olive-menu-icon span {
    height: 3px; background: #222; margin: 4px 0; border-radius: 2px; width: 100%;
    transition: all 0.2s;
}
/* Close button styles */
.olive-close-menu {
    display: none;
    position: absolute; top: 18px; right: 24px;
    background: none; border: none; font-size: 2rem; color: #333; cursor: pointer; z-index: 10001;
}

/* Category & Feature Tab Styles */
.tab-button {
padding: 12px 24px;
font-size: 1rem;
border: 2px solid #31a632;
background: #fff;
color: #31a632;
border-radius: 28px;
cursor: pointer;
transition: all 0.2s;
font-family: 'Poppins', sans-serif;
}

.tab-button:hover,
.tab-button.active {
background-color: #31a632;
color: #fff;
}

.tab-panel {
display: none;
font-size: 1.15rem;
color: #555;
max-width: 700px;
margin: 0 auto;
}

.tab-panel.feature-panel {
text-align: center;
padding-top: 20px;
}

.category-tab-group {
margin-top: 30px;
}

.accordion-item {
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    text-align: left;
}

.accordion-header {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    background: #fff;
    color: #222;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: #f3f3f3;
}

.accordion-body {
    padding: 0 24px 18px 24px;
    font-size: 1.05rem;
    color: #666;
    display: none;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: black;
    transition: transform 0.2s;
}

/* Features Style */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.feature-icon {
    width: 22px;
    height: 22px;
    color: #31a632;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Pricing Styles */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.pricing-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    padding: 32px 24px;
    max-width: 320px;
    text-align: center;
    flex: 1;
}

.pricing-icon {
    width: 36px;
    height: 36px;
    color: #31a632;
    margin-bottom: 12px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 8px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #333;
}

.pricing-features li i {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #31a632;
    flex-shrink: 0;
}

.pricing-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 28px;
    background-color: #31a632;
    color: #fff;
    border-radius: 28px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.pricing-cta:hover {
    background-color: #1f6620;
}

/* Comparison Table Styles */
.comparison-table-wrapper {
        overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 1rem;
}

.comparison-table th {
    background: #fafafa;
    color: #333;
    font-weight: 600;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
}

.comparison-table .highlight {
    background: #f1f8e9;
    font-weight: 600;
}

.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.icon.green {
    color: #31a632;
}

.icon.red {
    color: #e74c3c;
}

select {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    background: white;
    color: #333;
}

select:focus {
    outline: none;
    border-color: #31a632;
    box-shadow: 0 0 0 2px rgba(49, 166, 50, 0.1);
}

.signup-container,
.signin-container {
    width: 100%;
    max-width: 420px;
    padding: 32px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.signup-form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.signup-form-group input {
    flex: 1;
    margin-bottom: 0;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #31a632;
    box-shadow: 0 0 0 2px rgba(49, 166, 50, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    cursor: pointer;
}

#password-match {
    text-align: left;
    font-size: 0.9em;
    margin-top: -12px;
    margin-bottom: 12px;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #f5f5f5;
}

.action-btn.primary {
    background: #31a632;
    color: white;
    border-color: #31a632;
}

.action-btn.primary:hover {
    background: #278c28;
}