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

        :root {
            --bg: #0a0a0a;
            --surface: #111111;
            --surface-2: #1a1a1a;
            --border: #2a2a2a;
            --text: #e5e5e5;
            --text-muted: #8a8a8a;
            --accent: #3b82f6;
            --accent-muted: #1e3a8a;
            --white: #ffffff;
            --gray: #6b6b6b;
            --radius: 8px;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            font-size: 15px;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Navigation */
        .nav {
            border-bottom: 1px solid var(--border);
            background: var(--bg);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(8px);
            background: rgba(10, 10, 10, 0.95);
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .logo {
            font-weight: 700;
            font-size: 18px;
            letter-spacing: -0.5px;
            color: var(--white);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .brand-mark {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            border-radius: 7px;
            background: #0d1117;
            border: 1px solid #202b3d;
            color: #1677ff;
            font-size: 16px;
            font-weight: 800;
            line-height: 1;
            box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08), 0 0 12px rgba(22, 119, 255, 0.08);
        }

        .brand-mark i {
            color: inherit;
            font-size: inherit;
        }

        .brand-name {
            letter-spacing: -0.35px;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
        }

        .nav-links a {
            transition: color 0.15s;
            padding: 4px 0;
            border-bottom: 1px solid transparent;
        }

        .nav-links a:hover {
            color: var(--white);
        }

        .nav-links a.active {
            color: var(--white);
            border-bottom-color: var(--accent);
        }

        .demo-badge {
            background: var(--accent-muted);
            color: var(--white);
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 100px;
            letter-spacing: 0.3px;
            border: 1px solid var(--accent);
        }

        /* Pages */
        .page {
            display: none;
            padding: 48px 0;
        }

        .page.active {
            display: block;
        }

        /* Typography */
        h1 {
            font-size: 40px;
            font-weight: 700;
            letter-spacing: -1px;
            line-height: 1.2;
            color: var(--white);
            margin-bottom: 16px;
        }

        h2 {
            font-size: 24px;
            font-weight: 600;
            letter-spacing: -0.5px;
            color: var(--white);
            margin-bottom: 16px;
        }

        h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 12px;
        }

        .subhead {
            color: var(--text-muted);
            font-size: 16px;
            max-width: 640px;
            margin-bottom: 32px;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--white);
            color: var(--bg);
            padding: 10px 20px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 14px;
            border: none;
            cursor: pointer;
            transition: opacity 0.15s;
            font-family: var(--font);
        }

        .btn:hover {
            opacity: 0.85;
        }

        .btn-outline {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn-outline:hover {
            border-color: var(--gray);
            background: var(--surface-2);
        }

        .btn-sm {
            padding: 6px 14px;
            font-size: 13px;
        }

        .btn-accent {
            background: var(--accent);
            color: var(--white);
        }

        /* Cards & Grid */
        .grid {
            display: grid;
            gap: 20px;
        }

        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-4 {
            grid-template-columns: repeat(4, 1fr);
        }

        .card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
        }

        .card-flat {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
        }

        /* Service Cards */
        .service-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            transition: border-color 0.15s;
        }

        .service-card:hover {
            border-color: var(--gray);
        }

        .service-icon {
            color: var(--accent);
            font-size: 20px;
            margin-bottom: 16px;
        }

        .service-card p {
            color: var(--text-muted);
            font-size: 14px;
        }

        /* Tech Grid */
        .tech-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tech-tag {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: 100px;
            padding: 6px 16px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .tech-tag i {
            color: var(--accent);
            font-size: 12px;
        }

        /* Project / Developer Cards */
        .project-card, .dev-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 12px;
        }

        .tag {
            background: var(--surface-2);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            color: var(--text-muted);
            border: 1px solid var(--border);
        }

        /* Dashboard */
        .dashboard-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
            gap: 16px;
            align-items: start;
        }

        #page-dashboard .dashboard-panel {
            padding: 0;
            overflow: hidden;
            background: linear-gradient(145deg, #121317 0%, #0f1013 100%);
            border-color: rgba(59, 130, 246, 0.28);
            box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
        }

        #page-dashboard .dashboard-panel:hover {
            border-color: rgba(59, 130, 246, 0.46);
        }

        .panel-heading {
            min-height: 68px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            background: rgba(255, 255, 255, 0.015);
        }

        .panel-heading h3 {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .panel-heading h3 i {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 7px;
            background: rgba(59, 130, 246, 0.1);
            font-size: 14px;
        }

        .panel-count {
            flex: 0 0 auto;
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0;
        }

        .panel-body {
            padding: 12px 14px 14px;
            display: grid;
            gap: 8px;
        }

        .list-row {
            --row-accent: #60a5fa;
            --row-bg: rgba(59, 130, 246, 0.065);
            position: relative;
            border: 1px solid rgba(96, 165, 250, 0.1) !important;
            border-left-color: transparent !important;
            border-radius: 8px;
            background: var(--row-bg);
        }

        .list-row::before {
            content: '';
            position: absolute;
            left: -1px;
            top: 11px;
            bottom: 11px;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: var(--row-accent);
        }

        .state-neutral,
        .state-info {
            --row-accent: #60a5fa;
            --row-bg: rgba(59, 130, 246, 0.07);
        }

        .state-success {
            --row-accent: #34d399;
            --row-bg: rgba(16, 185, 129, 0.065);
        }

        .state-warning {
            --row-accent: #f59e0b;
            --row-bg: rgba(245, 158, 11, 0.075);
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
        }

        #page-dashboard .dashboard-panel .stat-row {
            min-height: 62px;
            padding: 12px 14px;
        }

        .stat-row:last-child {
            border-bottom: none;
        }

        .progress-bar {
            height: 7px;
            background: #1d2026;
            border-radius: 100px;
            overflow: hidden;
            margin-top: 6px;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #2563eb, #60a5fa);
            border-radius: 100px;
            width: 0%;
        }

        .project-entry {
            padding: 0 14px 12px;
        }

        .projects-panel .project-entry .stat-row {
            min-height: 58px;
            padding: 10px 0 6px !important;
            border-bottom: 0;
            background: transparent;
        }

        .projects-panel .project-entry .progress-bar {
            margin: 0;
        }

        .project-entry.state-warning .progress-fill {
            background: linear-gradient(90deg, #d97706, #fbbf24);
        }

        .project-entry.state-success .progress-fill {
            background: linear-gradient(90deg, #059669, #34d399);
        }

        .commit-item, .task-item, .invoice-item {
            padding: 13px 14px;
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
        }

        .commit-hash {
            font-family: 'SF Mono', 'Fira Code', monospace;
            color: var(--accent);
            font-size: 12px;
            background: var(--surface-2);
            padding: 2px 6px;
            border-radius: 4px;
            border: 1px solid var(--border);
        }

        .badge {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            line-height: 1;
            padding: 5px 9px;
            border-radius: 100px;
            font-weight: 600;
        }

        .badge::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: currentColor;
        }

        .badge-success {
            background: #052e16;
            color: #86efac;
            border: 1px solid #166534;
        }

        .badge-warning {
            background: #451a03;
            color: #fcd34d;
            border: 1px solid #78350f;
        }

        .badge-info {
            background: #0c1e3e;
            color: #93c5fd;
            border: 1px solid #1e3a8a;
        }

        /* Developer list */
        .dev-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .dev-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }

        #page-dashboard .dev-item {
            min-height: 64px;
            padding: 11px 14px;
        }

        .dev-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--surface-2);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 13px;
            color: var(--accent);
        }

        .invoices-panel .panel-body {
            padding-top: 12px;
        }

        .invoices-panel .invoice-item {
            min-height: 72px;
        }

        .invoices-panel .invoice-item > div:first-child {
            display: grid;
            grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.5fr);
            align-items: center;
            flex: 1;
            gap: 24px;
        }

        .invoices-panel .invoice-item > div:last-child {
            min-width: 130px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 14px;
        }

        /* Pricing */
        .price-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px;
        }

        .price {
            font-size: 32px;
            font-weight: 700;
            color: var(--white);
            margin: 12px 0;
        }

        .price span {
            font-size: 14px;
            font-weight: 400;
            color: var(--text-muted);
        }

        .feature-list {
            list-style: none;
            margin: 20px 0;
        }

        .feature-list li {
            padding: 6px 0;
            color: var(--text-muted);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .feature-list i {
            color: var(--accent);
            font-size: 12px;
        }

        /* Form */
        .form-group {
            margin-bottom: 16px;
        }

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

        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 10px 14px;
            color: var(--text);
            font-family: var(--font);
            font-size: 14px;
            outline: none;
            transition: border-color 0.15s;
        }

        .form-group input:focus, .form-group textarea:focus {
            border-color: var(--accent);
        }

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

        /* Misc */
        .divider {
            height: 1px;
            background: var(--border);
            margin: 32px 0;
        }

        .footer {
            border-top: 1px solid var(--border);
            padding: 32px 0;
            color: var(--text-muted);
            font-size: 13px;
            display: flex;
            justify-content: space-between;
        }

        .mono {
            font-family: 'SF Mono', 'Fira Code', monospace;
            font-size: 13px;
        }

        @media (max-width: 900px) {
            .grid-3, .grid-4, .dashboard-grid {
                grid-template-columns: 1fr 1fr;
            }
            .nav-inner {
                height: auto;
                min-height: 64px;
                flex-wrap: wrap;
                row-gap: 8px;
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .nav-links {
                order: 3;
                width: 100%;
                gap: 16px;
                font-size: 13px;
                flex-wrap: nowrap;
                overflow-x: auto;
                scrollbar-width: none;
            }
            .nav-links::-webkit-scrollbar {
                display: none;
            }
        }

        @media (max-width: 640px) {
            .grid-2, .grid-3, .grid-4, .dashboard-grid {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 28px;
            }
            .nav-links {
                display: none;
            }
            .nav-inner {
                min-height: 60px;
                padding-top: 8px;
                padding-bottom: 8px;
            }
            .brand-name {
                font-size: 16px;
            }
            .panel-heading {
                min-height: 62px;
                padding: 14px 16px;
            }
            .panel-body {
                padding: 10px 12px 12px;
            }
            .panel-count {
                display: none;
            }
            .commit-item, .task-item, .invoice-item {
                align-items: flex-start;
            }
            .task-item {
                flex-direction: column;
                gap: 8px;
            }
            .invoices-panel .invoice-item > div:first-child {
                display: block;
            }
            .invoices-panel .invoice-item > div:last-child {
                min-width: auto;
                flex-direction: column;
                align-items: flex-end;
                gap: 6px;
            }
        }

        /* Utility */
        .flex-between {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mt-16 { margin-top: 16px; }
        .mt-24 { margin-top: 24px; }
        .mt-32 { margin-top: 32px; }
        .mb-8 { margin-bottom: 8px; }
        .mb-16 { margin-bottom: 16px; }
        .text-muted { color: var(--text-muted); }
        .text-accent { color: var(--accent); }
        .text-sm { font-size: 13px; }
        .text-xs { font-size: 12px; }
        .font-mono { font-family: 'SF Mono', 'Fira Code', monospace; }
