:root {
    --bg-dark: #0D0E11;
    --card-bg: #15171E;
    --card-border: #242834;
    --lime: #D4FF38;
    --lime-hover: #b8e619;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-heading); }
body { background-color: var(--bg-dark); color: var(--text-main); line-height: 1.5; overflow-x: hidden; }
.hidden { display: none !important; }
.text-lime { color: var(--lime); }
.text-red { color: #ff5555; }
.text-muted { color: var(--text-muted); }

/* Navigation Header */
.navbar { border-bottom: 1px solid var(--card-border); background: rgba(13, 14, 17, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; height: 70px; display: flex; align-items: center; }
.nav-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-badge { background: var(--lime); color: #000; font-family: var(--font-mono); font-weight: 700; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.brand-title { font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; }
.brand-title small { display: block; font-size: 0.65rem; color: var(--lime); font-family: var(--font-mono); font-weight: 400; }
.nav-menu { display: flex; gap: 24px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.2s; cursor: pointer; }
.nav-link:hover { color: var(--lime); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.trial-pill { font-family: var(--font-mono); font-size: 0.75rem; background: rgba(212, 255, 56, 0.1); color: var(--lime); border: 1px solid rgba(212, 255, 56, 0.3); padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 6px; }
.trial-pill .dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 6px var(--lime); }

/* Buttons */
.btn { padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; border: 1px solid transparent; }
.btn-lime { background: var(--lime); color: #000; }
.btn-lime:hover { background: var(--lime-hover); }
.btn-outline { background: transparent; border-color: var(--card-border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: #fff; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-sm { padding: 4px 12px; font-size: 0.75rem; }
.full-width { width: 100%; }

main { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }

/* Hero Section Grid */
.hero-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; margin-top: 20px; }
.hero-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--lime); letter-spacing: 2px; margin-bottom: 12px; }
.hero-title { font-size: 3rem; line-height: 1.1; font-weight: 700; margin-bottom: 16px; }
.hero-title .highlight { color: var(--lime); }
.hero-subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 16px; }
.hero-microtext { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }

/* Hero Session Widget */
.hero-widget { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; }
.widget-header { background: #1a1d26; padding: 12px 20px; font-family: var(--font-mono); font-size: 0.75rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--card-border); color: var(--text-muted); }
.status-dot { color: var(--lime); }
.widget-body { padding: 24px; }
.task-label { font-family: var(--font-mono); color: var(--lime); font-size: 0.7rem; margin-bottom: 6px; }
.widget-task-title { font-size: 1.2rem; margin-bottom: 20px; }
.waveform-container { display: flex; gap: 4px; height: 50px; align-items: flex-end; margin-bottom: 12px; }
.waveform-bar { flex: 1; background: var(--lime); border-radius: 2px; opacity: 0.8; }
.audio-info { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.widget-footer { padding: 16px 24px; background: #111319; border-top: 1px solid var(--card-border); display: flex; justify-content: space-between; align-items: center; }
.widget-meta { font-size: 0.75rem; color: var(--text-muted); }
.widget-meta span { color: var(--lime); font-family: var(--font-mono); }

/* Section Header */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; border-bottom: 1px solid var(--card-border); padding-bottom: 16px; }
.section-tag { font-family: var(--font-mono); color: var(--lime); font-size: 0.75rem; }
.section-title { font-size: 1.8rem; margin-top: 4px; }

/* Tasks Catalog */
.catalog-section, .home-gallery-section, .home-reviews-teaser { margin-bottom: 80px; }
.task-list { display: flex; flex-direction: column; gap: 16px; }
.task-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 20px; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
.task-card:hover { border-color: var(--lime); transform: translateX(4px); }
.task-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.task-info p { color: var(--text-muted); font-size: 0.85rem; }
.task-meta { display: flex; align-items: center; gap: 16px; }
.price-badge { font-family: var(--font-mono); font-size: 0.75rem; background: #202430; padding: 4px 10px; border-radius: 4px; color: var(--lime); }

/* Gallery Slider */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ba-container { position: relative; width: 100%; height: 260px; overflow: hidden; border-radius: 8px; border: 1px solid var(--card-border); background: #000; user-select: none; }
.ba-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; width: 50%; overflow: hidden; border-right: 2px solid var(--lime); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ba-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 4px; background: var(--lime); cursor: ew-resize; transform: translateX(-50%); }
.ba-slider-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; background: var(--lime); border-radius: 50%; color: #000; font-weight: bold; font-size: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.ba-label { position: absolute; bottom: 10px; z-index: 4; font-family: var(--font-mono); font-size: 0.65rem; padding: 2px 6px; background: rgba(0,0,0,0.7); border-radius: 3px; color: #fff; }
.ba-label-before { left: 10px; }
.ba-label-after { right: 10px; }
.gallery-card-title { margin-top: 10px; font-size: 0.95rem; font-weight: 600; }

.filter-bar { display: flex; gap: 8px; }
.filter-btn { background: #111319; border: 1px solid var(--card-border); color: var(--text-muted); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; }
.filter-btn.active { border-color: var(--lime); color: var(--lime); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 24px; border-radius: 8px; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.review-author { font-weight: 600; }
.review-role { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: var(--lime); }
.review-text { color: var(--text-main); font-size: 0.9rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.price-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; position: relative; }
.price-card.featured { border-color: var(--lime); background: #191c26; }
.featured-badge { position: absolute; top: -12px; right: 20px; background: var(--lime); color: #000; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.card-tier { font-size: 1.2rem; margin-bottom: 8px; }
.card-price { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; color: var(--lime); }

/* Dashboard Cabinet */
.cabinet-banner { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.plan-badge { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; background: var(--lime); color: #000; padding: 4px 10px; border-radius: 4px; }
.gpu-status { margin-top: 12px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.gpu-dot { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 8px var(--lime); }
.balance-value { font-size: 2.5rem; font-weight: 700; color: var(--lime); font-family: var(--font-mono); }

.dashboard-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; }
.cab-block { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); display: block; margin-bottom: 8px; }
.stat-val { font-size: 1.8rem; font-weight: 700; }
.storage-bar { width: 100%; height: 6px; background: #202430; border-radius: 3px; margin: 12px 0 4px; overflow: hidden; }
.storage-fill { height: 100%; background: var(--lime); }

.api-box { display: flex; gap: 8px; margin-top: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 16px; }
.media-card { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--card-border); background: #000; aspect-ratio: 1/1; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }

/* Admin */
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.admin-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 24px; }
.admin-card.span-2 { grid-column: span 2; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.metric-box { background: #111319; padding: 16px; border-radius: 8px; border: 1px solid var(--card-border); }
.metric-label { font-size: 0.75rem; color: var(--text-muted); display: block; }
.metric-value { font-size: 1.5rem; font-weight: 700; font-family: var(--font-mono); }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 2000; }
.modal-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; width: 100%; max-width: 440px; position: relative; }
.modal-lg { max-width: 680px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.form-group { margin-bottom: 16px; }
.form-group label, .micro-text { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 6px; font-family: var(--font-mono); }
.form-input { width: 100%; background: #0d0e11; border: 1px solid var(--card-border); border-radius: 6px; padding: 10px 14px; color: #fff; font-size: 0.9rem; }

.footer { border-top: 1px solid var(--card-border); padding: 32px 24px; color: var(--text-muted); font-size: 0.75rem; font-family: var(--font-mono); margin-top: 80px; }
.footer-container { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; }