:root {
    --bg: #0b0f12;
    --panel: #0f1416;
    --muted: #9aa4ab;
    --accent: #7c5cff;
    --accent-light: #8d6eff;
    --glass: rgba(255,255,255,0.03);
    --gap: 16px;
    --radius: 12px;
    --max: 1000px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: transparent;
    color: #e6eef3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 48px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

/* Particles.js container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--bg);
}

.stage {
    width: 100%;
    max-width: var(--max);
    position: relative;
}

/* Header & Navigation */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #2dd4bf);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.brand-mark strong {
    font-size: 14px;
    color: #071017;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: 20px;
}

.sub {
    color: var(--muted);
    font-size: 13px;
}

.nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent-light);
}

/* Hero Section */
.hero {
    margin-bottom: var(--gap);
    background: linear-gradient(135deg, rgba(124,92,255,0.05), rgba(45,212,191,0.03));
    border: 1px solid rgba(124,92,255,0.1);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #e6eef3, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Sections */
section h3 {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    color: #e6eef3;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.service-item {
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.2s, border-color 0.2s;
}

.service-item:hover {
    transform: translateY(-2px);
    border-color: rgba(124,92,255,0.2);
}

.service-item h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
}

.service-item p {
    color: var(--muted);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-tags li {
    background: rgba(124,92,255,0.1);
    color: var(--accent-light);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    line-height: 1.6;
}

.about-text h4 {
    margin: 20px 0 12px 0;
    color: #e6eef3;
}

.about-text ul {
    color: var(--muted);
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 8px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-tag {
    background: rgba(255,255,255,0.05);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.03);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pricing-tier {
    padding: 24px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.03);
    text-align: center;
    transition: transform 0.2s;
}

.pricing-tier:hover {
    transform: translateY(-2px);
}

.pricing-tier.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(124,92,255,0.05), transparent);
}

.pricing-tier h4 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 12px 0;
}

.pricing-tier p {
    color: var(--muted);
    margin: 0 0 16px 0;
}

.pricing-tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-tier li {
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-tier li:last-child {
    border-bottom: none;
}

.payment-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
}

.payment-info h4 {
    margin: 0 0 12px 0;
}

.payment-info ul {
    color: var(--muted);
    margin: 0;
    padding-left: 20px;
}

/* Layout */
.layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--gap);
}

@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .aside {
        order: 2;
    }
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav {
        margin-top: 16px;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 20px;
    }
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 6px 30px rgba(2,6,10,0.6);
    backdrop-filter: blur(10px);
}

/* Job list */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.search {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.search input {
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 10px 12px;
    border-radius: 10px;
    color: inherit;
    min-width: 200px;
}

.btn {
    background: var(--accent);
    color: #071017;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.jobs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent);
    border: 1px solid rgba(255,255,255,0.02);
    transition: all 0.2s;
}

.job:hover {
    transform: translateY(-2px);
    border-color: rgba(124,92,255,0.1);
}

.job-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.job-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.job-meta {
    color: var(--muted);
    font-size: 13px;
}

/* Aside */
.aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 13px;
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

input[type=text], input[type=email], textarea, select {
    width: 100%;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    transition: all 0.2s;
    font-family: inherit;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(124,92,255,0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.hr {
    height: 1px;
    background: rgba(255,255,255,0.02);
    margin: 16px 0;
}

.pay-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-addr {
    font-family: monospace;
    font-size: 13px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.03);
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.copy {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.03);
    color: var(--muted);
    transition: all 0.2s;
}

.copy:hover {
    background: rgba(255,255,255,0.05);
    color: #e6eef3;
    border-color: rgba(255,255,255,0.05);
}

/* Footer */
footer {
    margin-top: 48px;
    color: var(--muted);
    font-size: 13px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
}

.footer-section h4 {
    margin: 0 0 12px 0;
    color: #e6eef3;
    font-size: 1rem;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.empty {
    color: var(--muted);
    padding: 40px 28px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.01);
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-open {
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
}

.status-inprogress {
    background: rgba(124, 92, 255, 0.15);
    color: var(--accent-light);
}

.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-inactive {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

/* Job Admin Controls */
.job-admin {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.admin-btn {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.admin-btn:hover {
    transform: translateY(-1px);
}

.btn-inprogress {
    background: rgba(124, 92, 255, 0.2);
    color: var(--accent-light);
}

.btn-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.btn-inactive {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

/* Login Form */
.login-form {
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    margin-bottom: 12px;
}