:root {
    --green: #12a150;
    --green-2: #0d7f3e;
    --bg: #ffffff;
    --soft: #f6fbf8;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(2,6,23,.08);
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--soft), var(--bg) 55%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px;
}

.topbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(18,161,80,.12);
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600
}

    .nav-link:hover {
        color: var(--text)
    }

.inline {
    display: inline
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #fff;
    box-shadow: 0 12px 24px rgba(18,161,80,.18);
}

    .btn-primary:hover {
        filter: brightness(.98)
    }

.btn-outline {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

    .btn-outline:hover {
        border-color: #cbd5e1
    }

.small {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.muted {
    color: var(--muted)
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: stretch;
    margin-top: 8px;
}

.hero-left {
    padding: 26px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 10px 0 10px;
    font-size: 44px;
    letter-spacing: -.02em
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(18,161,80,.25);
    background: rgba(18,161,80,.07);
    color: var(--green-2);
    font-weight: 800;
    font-size: 13px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px
}

.hero-right {
    display: grid;
    gap: 14px;
}

.hero-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.8);
    box-shadow: var(--shadow);
}

.hero-icon {
    font-size: 22px
}

.dash-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .12s ease, filter .12s ease;
}

    .card:hover {
        transform: translateY(-2px);
    }

    .card.disabled {
        opacity: .6;
        cursor: not-allowed
    }

        .card.disabled:hover {
            transform: none
        }

.card-img {
    height: 120px;
    border-bottom: 1px solid var(--border);
}

.cana-img {
    background: radial-gradient(1100px 220px at 10% 0%, rgba(18,161,80,.25), transparent 60%), radial-gradient(900px 200px at 80% 20%, rgba(18,161,80,.18), transparent 55%), linear-gradient(135deg, rgba(18,161,80,.10), rgba(13,127,62,.06));
}

.card-body {
    padding: 16px
}

    .card-body h3 {
        margin: 0 0 6px
    }

.tag {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: rgba(18,161,80,.12);
    color: var(--green-2);
    border: 1px solid rgba(18,161,80,.18);
}

    .tag.ghost {
        background: rgba(100,116,139,.10);
        color: var(--muted);
        border-color: rgba(100,116,139,.18);
    }

.auth-card {
    max-width: 420px;
    margin: 30px auto 0;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px
}

label {
    font-weight: 700;
    font-size: 14px
}

input {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    outline: none;
}

    input:focus {
        border-color: rgba(18,161,80,.55);
        box-shadow: 0 0 0 4px rgba(18,161,80,.12)
    }

.alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #991b1b;
    font-weight: 700;
}

.auth-footer {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: center
}

.module {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr
    }

    .cards {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 38px
    }
}
