* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cash-green: #00d632;
    --cash-green-hover: #00bf2d;
    --cash-black: #000000;
    --cash-bg: #ffffff;
    --cash-bg-subtle: #f5f5f5;
    --cash-text: #1a1a1a;
    --cash-text-secondary: #6b6b6b;
    --cash-border: #e5e5e5;
    --cash-max-width: 960px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--cash-text);
    background: var(--cash-bg);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: var(--cash-text);
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 8px 16px;
    background: #fff;
    font-weight: 700;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

.container {
    max-width: var(--cash-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.cash-header {
    background: var(--cash-black);
    position: sticky;
    top: 0;
    z-index: 100;
}

.cash-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cash-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.cash-logo:hover {
    opacity: 0.9;
    text-decoration: none;
}

.cash-logo-svg {
    display: block;
    width: 32px;
    height: 32px;
}

.cash-logo-text {
    color: #fff;
}

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

.cash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s, opacity 0.2s;
}

.cash-btn-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cash-btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.cash-btn-signup {
    background: var(--cash-green);
    color: #000;
}

.cash-btn-signup:hover {
    background: var(--cash-green-hover);
    text-decoration: none;
}

/* Hero */
.cash-hero {
    padding: 48px 0 32px;
    text-align: center;
}

.cash-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.cash-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    padding: 14px 18px;
    background: var(--cash-bg-subtle);
    border: 1px solid var(--cash-border);
    border-radius: 12px;
}

.cash-search-icon {
    color: var(--cash-text-secondary);
    flex-shrink: 0;
}

.cash-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    color: var(--cash-text);
}

.cash-search-input::placeholder {
    color: var(--cash-text-secondary);
}

/* Main */
.cash-main {
    padding: 24px 0 80px;
}

.cash-login-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: var(--cash-bg-subtle);
    border: 1px solid var(--cash-border);
    border-radius: 16px;
    margin-bottom: 48px;
}

.cash-login-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cash-login-card p {
    font-size: 15px;
    color: var(--cash-text-secondary);
}

.cash-login-btn {
    flex-shrink: 0;
    background: var(--cash-black);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cash-login-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.cash-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cash-topics-list {
    list-style: none;
    border: 1px solid var(--cash-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

.cash-topics-list li {
    border-bottom: 1px solid var(--cash-border);
}

.cash-topics-list li:last-child {
    border-bottom: none;
}

.cash-topics-list li.hidden {
    display: none;
}

.cash-topic-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--cash-text);
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.15s;
}

.cash-topic-link:hover {
    background: var(--cash-bg-subtle);
    text-decoration: none;
}

.cash-topic-link svg {
    color: var(--cash-text-secondary);
    flex-shrink: 0;
}

.cash-browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.cash-browse-card {
    padding: 24px;
    background: var(--cash-bg-subtle);
    border: 1px solid var(--cash-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cash-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cash-browse-card:hover {
    border-color: var(--cash-green);
    box-shadow: 0 4px 12px rgba(0, 214, 50, 0.12);
    text-decoration: none;
}

.cash-browse-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cash-browse-card p {
    font-size: 14px;
    color: var(--cash-text-secondary);
}

.cash-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cash-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--cash-bg-subtle);
    border: 1px solid var(--cash-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cash-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cash-contact-card:hover {
    border-color: var(--cash-green);
    box-shadow: 0 4px 12px rgba(0, 214, 50, 0.12);
    text-decoration: none;
}

.cash-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cash-green);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cash-contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cash-contact-card p {
    font-size: 14px;
    color: var(--cash-text-secondary);
}

.cash-no-results {
    padding: 24px;
    text-align: center;
    color: var(--cash-text-secondary);
    display: none;
}

.cash-no-results.visible {
    display: block;
}

/* Footer */
.cash-footer {
    background: var(--cash-black);
    color: #fff;
    padding: 48px 0 32px;
}

.cash-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cash-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.cash-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.cash-footer-logo:hover {
    opacity: 0.9;
    text-decoration: none;
}

.cash-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.cash-footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    text-decoration: none;
}

.cash-footer-nav a:hover {
    color: #fff;
}

.cash-footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Chat Button */
.cash-chat-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cash-green);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 214, 50, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    z-index: 100;
}

.cash-chat-button:hover {
    background: var(--cash-green-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 214, 50, 0.4);
    text-decoration: none;
}

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

    .cash-login-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cash-browse-grid {
        grid-template-columns: 1fr;
    }

    .cash-contact-grid {
        grid-template-columns: 1fr;
    }

    .cash-logo-text {
        display: none;
    }
}

@media (max-width: 600px) {
    .cash-header-actions .cash-btn-login {
        display: none;
    }

    .cash-chat-button {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}
