        /* ============================================
                   RESET + VARIABLES
                ============================================ */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            /* Premium Dark Legal Theme */
            --bg: #0b0f19;
            --surface: #131a29;
            --surface-2: #1c263b;
            --border: #283755;
            --accent: #d4af37;
            --accent-glow: rgba(212, 175, 55, 0.25);
            --accent-soft: rgba(212, 175, 55, 0.08);
            --accent-mid: rgba(212, 175, 55, 0.15);
            --text: #f8fafc;
            --text-muted: #94a3b8;
            --danger: #ef4444;
            --success: #22c55e;
            --r: 16px;
            --rs: 8px;
            --t: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            --t-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            --nav-h: auto;
            --mw: 1440px;
            --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);
            --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.6);
            --shadow-glow: 0 0 40px var(--accent-glow);
        }

        html {
            scroll-behavior: smooth;
            font-size: 17px;
        }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            min-height: 100vh;
            padding-top: 120px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        .playfair {
            font-family: 'Open Sans', 'Montserrat', sans-serif;
        }

        /* ============================================
                   SELECTION
                ============================================ */
        ::selection {
            background: var(--accent);
            color: #000;
        }

        ::-moz-selection {
            background: var(--accent);
            color: #000;
        }

        /* ============================================
                   SCROLLBAR
                ============================================ */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--surface-2);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--border);
        }

        /* ============================================
                   NAV
                ============================================ */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: auto;
            min-height: 64px;
            background: rgba(11, 15, 25, 0.92);
            backdrop-filter: blur(24px) saturate(1.5);
            -webkit-backdrop-filter: blur(24px) saturate(1.5);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: var(--t);
        }

        .top-nav.scrolled {
            background: rgba(11, 15, 25, 0.97);
            border-bottom-color: rgba(212, 175, 55, 0.3);
        }

        .nav-inner {
            max-width: var(--mw);
            margin: 0 auto;
            height: auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 12px 40px;
            gap: 8px 20px;
        }

        .nav-brand {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
            text-decoration: none;
            padding-right: 10px;
        }

        .nav-logo {
            width: 56px;
            height: 56px;
            flex-shrink: 0;
            display: block;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
            transition: var(--t);
        }

        .nav-brand:hover .nav-logo {
            transform: scale(1.05);
            filter: drop-shadow(0 4px 12px var(--accent-glow));
        }

        .nav-brand-text {
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            line-height: 1.2;
            transition: var(--t-fast);
        }

        .nav-brand-sub {
            font-size: 0.7rem;
            color: var(--text-muted);
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: 4px;
            font-weight: 500;
        }

        .nav-divider {
            width: 1px;
            height: 40px;
            background: var(--border);
            flex-shrink: 0;
        }

        .nav-scroll {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 3px;
            padding: 2px 0;
            min-width: 200px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: transparent;
            border: none;
            border-radius: var(--rs);
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--t-fast);
            white-space: nowrap;
            font-family: inherit;
            flex-shrink: 0;
            position: relative;
        }

        .nav-item:hover,
        .nav-item:focus-visible {
            background: var(--surface-2);
            color: var(--accent) !important;
            outline: none;
            transform: translateY(-1px);
        }

        .nav-item.active {
            background: var(--accent-soft);
            color: var(--accent) !important;
            font-weight: 600;
            box-shadow: 0 4px 20px var(--accent-soft);
        }

        .nav-item svg {
            width: 16px;
            height: 16px;
            opacity: 0.7;
            transition: var(--t-fast);
            flex-shrink: 0;
            stroke: currentColor;
            fill: none;
        }

        .nav-item:hover svg,
        .nav-item.active svg {
            opacity: 1;
            transform: scale(1.1);
        }

        /* ============================================
                   HERO
                ============================================ */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 70px 20px 30px;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            max-width: 400px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-mid), transparent);
        }

        .hero-logo {
            width: 280px;
            height: 280px;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
            transition: var(--t);
        }

        .hero-logo:hover {
            filter: drop-shadow(0 15px 45px var(--accent-glow));
            transform: scale(1.02);
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--accent);
            letter-spacing: 4px;
            text-transform: uppercase;
            margin-top: 12px;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            line-height: 1.15;
        }

        .hero-sub {
            font-size: 1.2rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 20px auto 0;
            line-height: 1.8;
            font-weight: 400;
        }

        /* ============================================
                   MAIN
                ============================================ */
        .main-content {
            max-width: var(--mw);
            margin: 0 auto;
            padding: 40px 40px 100px;
            position: relative;
        }

        /* ============================================
                   TABS
                ============================================ */
        .tab-content {
            display: none;
            animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-16px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0%,
            100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .section-head {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 16px;
        }

        .section-head h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
            letter-spacing: 0.5px;
            font-family: 'Open Sans', 'Montserrat', sans-serif;
        }

        .section-head-line {
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, var(--border), transparent);
        }

        .section-desc {
            color: var(--text-muted);
            margin-bottom: 36px;
            font-size: 1.1rem;
            line-height: 1.8;
            max-width: 900px;
        }

        .tab-content>p {
            color: var(--text-muted);
            margin-bottom: 24px;
            font-size: 1.1rem;
            line-height: 1.8;
            max-width: 900px;
        }

        .tab-content>p strong {
            color: var(--text);
            font-weight: 600;
        }

        /* ============================================
                   CARDS
                ============================================ */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: 36px;
            transition: var(--t);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-card);
            min-height: 220px;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--r);
            opacity: 0;
            transition: opacity var(--t);
            pointer-events: none;
            background: radial-gradient(800px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 60%);
        }

        .card:hover {
            border-color: rgba(212, 175, 55, 0.5);
            transform: translateY(-6px);
            box-shadow: var(--shadow-card-hover), var(--shadow-glow);
            background: #161e2f;
        }

        .card:hover::before {
            opacity: 1;
        }

        .card:hover::after {
            opacity: 1;
        }

        .card h3 {
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 14px;
            color: var(--accent);
            letter-spacing: 0.3px;
            position: relative;
            z-index: 1;
        }

        .card p {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 10px;
            line-height: 1.7;
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .card .btn-action {
            margin-top: 24px;
            align-self: flex-start;
            position: relative;
            z-index: 1;
        }

        .empty-state {
            text-align: center;
            padding: 70px 40px;
            color: var(--text-muted);
            border: 2px dashed var(--border);
            border-radius: var(--r);
            background: var(--surface);
            font-size: 1.1rem;
            transition: var(--t);
            position: relative;
            overflow: hidden;
        }

        .empty-state:hover {
            border-color: rgba(212, 175, 55, 0.2);
        }



        .empty-state-title {
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        /* ============================================
                   FILE UPLOAD ZONE
                ============================================ */
        .file-upload-zone {
            border: 2px dashed var(--border);
            border-radius: var(--rs);
            padding: 32px 24px;
            text-align: center;
            cursor: pointer;
            transition: var(--t);
            background: rgba(11, 15, 25, 0.4);
            margin-top: 14px;
        }

        .file-upload-zone:hover {
            border-color: rgba(212, 175, 55, 0.4);
            background: var(--accent-soft);
        }

        .file-upload-icon {
            margin-bottom: 12px;
            opacity: 0.5;
        }

        .file-upload-icon svg {
            width: 36px;
            height: 36px;
            stroke: var(--accent);
        }

        .file-upload-zone:hover .file-upload-icon {
            opacity: 0.8;
        }

        .file-upload-text {
            color: var(--text);
            font-weight: 600;
            font-size: 1rem;
        }

        .file-upload-hint {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-top: 4px;
        }

        .file-upload-zone.dragover {
            border-color: var(--accent);
            background: var(--accent-mid);
            transform: scale(1.02);
        }

        /* ============================================
                   SEARCH BAR
                ============================================ */
        .search-bar {
            position: relative;
            max-width: 420px;
        }

        .search-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            pointer-events: none;
            opacity: 0.5;
            transition: opacity var(--t-fast);
        }

        .search-input {
            width: 100%;
            padding: 10px 40px 10px 16px;
            border: 1px solid var(--border);
            background: var(--surface);
            color: var(--text);
            border-radius: var(--rs);
            font-family: inherit;
            font-size: 0.9rem;
            transition: var(--t-fast);
            line-height: 1.4;
            height: 44px;
            box-sizing: border-box;
        }

        .search-input:hover {
            border-color: rgba(212, 175, 55, 0.25);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
            background: #080b13;
        }

        .search-input::placeholder {
            color: var(--text-muted);
            opacity: 0.6;
            font-size: 0.9rem;
        }

        .search-bar:focus-within .search-icon {
            color: var(--accent);
            opacity: 0.8;
        }

        .filter-bar {
            display: flex;
            gap: 10px;
            flex-wrap: nowrap;
            align-items: center;
            margin-bottom: 24px;
            width: 100%;
        }

        .filter-bar .search-bar {
            margin: 0;
            flex: 1;
            min-width: 0;
        }

        .filter-select-wrap {
            position: relative;
            max-width: 420px;
            flex: 1;
            min-width: 0;
        }

        .filter-select-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            pointer-events: none;
            opacity: 0.5;
            z-index: 1;
            transition: opacity var(--t-fast);
        }

        .filter-select-wrap:focus-within .filter-select-icon {
            opacity: 0.8;
            color: var(--accent);
        }

        .filter-select {
            width: 100%;
            padding: 10px 40px 10px 38px;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--rs, 10px);
            color: var(--text);
            font-size: 0.9rem;
            font-family: inherit;
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%23888' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 14px;
            height: 44px;
            line-height: 1.4;
            box-sizing: border-box;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .filter-select:hover {
            border-color: var(--accent);
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
        }

        .filter-select option {
            background: var(--surface);
            color: var(--text);
        }

        @media (max-width: 600px) {
            .filter-bar {
                flex-wrap: wrap;
            }
            .filter-bar .search-bar {
                min-width: 100%;
            }
            .filter-select-wrap {
                min-width: 100%;
            }
        }

        .filter-select:hover {
            border-color: var(--accent);
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
        }

        .filter-select option {
            background: var(--surface);
            color: var(--text);
        }

        /* ============================================
                   BUTTONS
                ============================================ */
        .btn-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: var(--surface-2);
            color: var(--accent);
            border: 1px solid rgba(212, 175, 55, 0.4);
            padding: 14px 32px;
            border-radius: var(--rs);
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--t);
            font-family: inherit;
            position: relative;
            overflow: hidden;
        }

        .btn-action::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--accent);
            opacity: 0;
            transition: opacity var(--t);
        }

        .btn-action:hover,
        .btn-action:focus-visible {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
            outline: none;
            box-shadow: 0 10px 30px var(--accent-glow);
            transform: translateY(-3px);
        }

        .btn-action:hover::before {
            opacity: 0;
        }

        .btn-action:active {
            transform: translateY(0);
            box-shadow: 0 5px 15px var(--accent-glow);
        }

        .btn-action:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }

        .btn-action .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(0, 0, 0, 0.2);
            border-top-color: currentColor;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        .btn-action.loading .spinner {
            display: inline-block;
        }

        .btn-action.loading .btn-text {
            opacity: 0.7;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* ============================================
                   FORMS
                ============================================ */
        .form-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--r);
            padding: 50px;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: var(--shadow-card);
            transition: var(--t);
        }

        .form-card:hover {
            border-color: rgba(212, 175, 55, 0.2);
        }

        .form-group {
            margin-bottom: 28px;
        }

        label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--accent);
            font-size: 1rem;
            cursor: pointer;
            transition: var(--t-fast);
        }

        label .label-icon {
            opacity: 0.6;
            font-size: 1.1rem;
        }

        .label-required {
            color: var(--danger);
            font-size: 0.85rem;
            margin-left: 4px;
        }

        .label-optional {
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 400;
            margin-left: 4px;
        }

        input[type="text"],
        textarea,
        input[type="file"],
        select {
            width: 100%;
            padding: 16px 20px;
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--text);
            border-radius: var(--rs);
            font-family: inherit;
            font-size: 1.05rem;
            transition: var(--t-fast);
            line-height: 1.6;
        }

        select {
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 44px;
        }

        input[type="text"]:hover,
        textarea:hover,
        input[type="file"]:hover,
        select:hover {
            border-color: rgba(212, 175, 55, 0.3);
        }

        input[type="text"]:focus,
        textarea:focus,
        input[type="file"]:focus,
        select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 4px var(--accent-soft), 0 0 15px rgba(212, 175, 55, 0.15);
            background: #080b13;
        }

        input[type="text"].error,
        textarea.error,
        input[type="file"].error,
        select.error {
            border-color: var(--danger);
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }

        input[type="text"].success,
        textarea.success,
        input[type="file"].success,
        select.success {
            border-color: var(--success);
            box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
        }

        .field-feedback {
            font-size: 0.85rem;
            margin-top: 6px;
            min-height: 20px;
            transition: var(--t-fast);
            opacity: 0;
        }

        .field-feedback.error {
            color: var(--danger);
            opacity: 1;
        }

        .field-feedback.success {
            color: var(--success);
            opacity: 1;
        }

        textarea {
            resize: vertical;
            min-height: 150px;
            line-height: 1.7;
        }

        input[type="file"] {
            padding: 12px 16px;
            cursor: pointer;
        }

        input[type="file"]::file-selector-button {
            background: var(--surface-2);
            color: var(--text);
            border: 1px solid var(--border);
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-family: inherit;
            margin-right: 14px;
            transition: var(--t-fast);
            font-weight: 500;
            font-size: 0.95rem;
        }

        input[type="file"]::file-selector-button:hover {
            background: var(--border);
            border-color: rgba(212, 175, 55, 0.5);
            color: var(--accent);
        }

        /* ============================================
                   WELCOME
                ============================================ */
        .welcome-intro {
            padding-top: 10px;
        }

        .welcome-intro>p {
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .welcome-quote {
            margin-top: 40px;
            padding: 40px 50px;
            background: var(--surface);
            border-left: 4px solid var(--accent);
            border-radius: 0 var(--rs) var(--rs) 0;
            color: var(--accent);
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-style: italic;
            font-size: 1.5rem;
            max-width: 900px;
            box-shadow: var(--shadow-card);
            line-height: 1.5;
            transition: var(--t);
        }

        .welcome-quote:hover {
            border-left-color: #e8c84a;
            box-shadow: var(--shadow-card-hover);
        }

        .welcome-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
            gap: 24px;
            margin-top: 40px;
        }

        .welcome-highlight {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--rs);
            padding: 28px;
            transition: var(--t);
            cursor: default;
        }

        .welcome-highlight:hover {
            border-color: rgba(212, 175, 55, 0.3);
            transform: translateY(-3px);
            box-shadow: var(--shadow-card);
        }

        .welcome-highlight h4 {
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .welcome-highlight p {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin: 0;
            line-height: 1.6;
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-top: 30px;
        }

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

        .info-card:hover {
            border-color: rgba(212, 175, 55, 0.3);
            transform: translateY(-2px);
            box-shadow: var(--shadow-card);
        }

        .info-card h4 {
            color: var(--accent);
            font-family: 'Open Sans', 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: 8px;
        }

        .info-card p {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* ============================================
                   SCROLL TO TOP
                ============================================ */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--surface-2);
            border: 1px solid var(--border);
            color: var(--accent);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateY(20px) scale(0.8);
            transition: var(--t);
            z-index: 999;
            pointer-events: none;
            box-shadow: var(--shadow-card);
        }

        .scroll-top.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        .scroll-top:hover {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
            box-shadow: var(--shadow-glow);
            transform: translateY(-3px);
        }

        .scroll-top svg {
            width: 22px;
            height: 22px;
            transition: var(--t-fast);
        }

        .scroll-top:hover svg {
            transform: translateY(-2px);
        }

        /* ============================================
                   TOAST / NOTIFICATION
                ============================================ */
        .toast-container {
            position: fixed;
            top: calc(var(--nav-h) + 16px);
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .toast {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--rs);
            padding: 16px 24px;
            color: var(--text);
            font-size: 0.95rem;
            font-weight: 500;
            box-shadow: var(--shadow-card-hover);
            display: flex;
            align-items: center;
            gap: 12px;
            animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: auto;
            max-width: 400px;
            min-width: 280px;
        }

        .toast.success {
            border-color: rgba(34, 197, 94, 0.5);
        }
        .toast.success .toast-icon {
            color: var(--success);
        }

        .toast.error {
            border-color: rgba(239, 68, 68, 0.5);
        }
        .toast.error .toast-icon {
            color: var(--danger);
        }

        .toast-icon {
            font-size: 1.4rem;
            flex-shrink: 0;
        }

        .toast-close {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 1.2rem;
            padding: 4px;
            margin-left: auto;
            transition: var(--t-fast);
            flex-shrink: 0;
        }

        .toast-close:hover {
            color: var(--text);
        }

        @keyframes toastIn {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes toastOut {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(30px);
            }
        }

        .toast.removing {
            animation: toastOut 0.3s ease forwards;
        }

        /* ============================================
                   FOOTER
                ============================================ */
        .page-footer {
            text-align: center;
            padding: 40px 20px;
            margin-top: 80px;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .page-footer span {
            color: var(--accent);
            font-weight: 600;
            font-family: 'Open Sans', 'Montserrat', sans-serif;
        }

        .page-footer-inner {
            max-width: var(--mw);
            margin: 0 auto;
        }

        /* ============================================
                   FOCUS VISIBLE (Accessibility)
                ============================================ */
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .nav-item:focus-visible,
        .btn-action:focus-visible {
            outline-offset: 2px;
        }

        /* ============================================
                   UTILITY
                ============================================ */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }

        /* ============================================
                   PRINT STYLES
                ============================================ */
        @media print {
            .top-nav,
            .scroll-top,
            .toast-container,
            .btn-action {
                display: none !important;
            }

            body {
                padding-top: 0;
                background: #fff;
                color: #000;
            }

            .main-content {
                padding: 20px;
                max-width: 100%;
            }

            .card,
            .form-card,
            .welcome-highlight,
            .info-card {
                break-inside: avoid;
                border-color: #ccc;
                background: #fff;
                box-shadow: none;
            }

            .card h3,
            .welcome-highlight h4,
            .info-card h4,
            .hero-title {
                color: #000;
            }

            .card p,
            .section-desc,
            .tab-content>p,
            .welcome-highlight p,
            .info-card p {
                color: #333;
            }

            .section-head-line {
                background: linear-gradient(90deg, #ccc, transparent);
            }
        }

        /* ============================================
                   RESPONSIVE
                ============================================ */
        @media (max-width: 1200px) {
            .cards-grid {
                grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            }
        }

        @media (max-width: 1024px) {
            .nav-inner {
                padding: 10px 20px;
                gap: 6px 16px;
            }

            .nav-brand-text {
                font-size: 1.1rem;
            }

            .nav-brand-sub {
                display: none;
            }

            .nav-divider {
                display: none;
            }

            .nav-logo {
                width: 40px;
                height: 40px;
            }

            .card {
                padding: 28px;
            }

            .hero-title {
                font-size: 2.6rem;
                letter-spacing: 3px;
            }

            .hero-logo {
                width: 240px;
                height: 240px;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }

            .form-card {
                padding: 36px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --nav-h: auto;
            }

            .top-nav {
                height: auto;
                min-height: 56px;
                padding: 6px 0;
            }

            .nav-inner {
                padding: 8px 12px;
                gap: 4px 10px;
                min-height: 56px;
            }

            .nav-brand {
                gap: 8px;
                padding-right: 0;
            }

            .nav-logo {
                width: 32px;
                height: 32px;
            }

            .nav-brand-text {
                font-size: 0.9rem;
                letter-spacing: 1px;
            }

            .nav-scroll {
                width: 100%;
                flex: 0 0 100%;
                padding: 2px 0 4px;
                gap: 2px;
                order: 3;
                flex-wrap: wrap;
            }

            .nav-item {
                padding: 5px 8px;
                font-size: 0.75rem;
                gap: 3px;
            }

            .nav-item svg {
                width: 12px;
                height: 12px;
            }

            .hero-title {
                font-size: 1.8rem;
                letter-spacing: 2px;
            }

            .hero-logo {
                width: 180px;
                height: 180px;
            }

            .hero {
                padding: 30px 16px 20px;
            }

            .main-content {
                padding: 20px 16px 60px;
            }

            .cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .card {
                padding: 24px;
                min-height: auto;
            }

            .form-card {
                padding: 24px;
                margin: 0 -4px;
            }

            .welcome-quote {
                font-size: 1.2rem;
                padding: 24px 28px;
            }

            .welcome-highlights {
                grid-template-columns: 1fr;
            }

            .section-head h2 {
                font-size: 1.4rem;
            }

            .section-head {
                gap: 12px;
            }

            .scroll-top {
                bottom: 20px;
                right: 20px;
                width: 42px;
                height: 42px;
            }

            .toast-container {
                left: 16px;
                right: 16px;
                top: calc(80px);
            }

            .toast {
                max-width: 100%;
                min-width: 0;
            }

            .info-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
        }

        @media (max-width: 480px) {
            .nav-brand-text {
                font-size: 0.85rem;
                letter-spacing: 0.5px;
            }

            .nav-item {
                font-size: 0.75rem;
                padding: 6px 10px;
            }

            .hero-title {
                font-size: 1.5rem;
                letter-spacing: 1.5px;
            }

            .hero-logo {
                width: 150px;
                height: 150px;
            }

            .main-content {
                padding: 16px 12px 40px;
            }

            .card h3 {
                font-size: 1.15rem;
            }

            .form-card {
                padding: 20px;
            }

            input[type="text"],
            textarea,
            input[type="file"] {
                padding: 14px 16px;
                font-size: 1rem;
            }

            .btn-action {
                padding: 12px 24px;
                font-size: 0.95rem;
                width: 100%;
                justify-content: center;
            }

            .welcome-quote {
                font-size: 1.05rem;
                padding: 20px;
            }
        }
