        /* Base styles that match your existing website */
        :root {
            --primary-color: #212529;
            --secondary-color: #495057;
            --accent-color: #6c757d;
            --text-color: #333333;
            --light-bg: #f8f9fa;
            --dark-bg: #212529;
            --border-radius: 4px;
            --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
        }

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

        body {
            font-family: "Times New Roman", Times, serif;
            font-style: italic;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            position: relative;
            z-index: 1;
        }

        /* Header styles */
        header {
            background-color: var(--primary-color);
            color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        header:after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: #adb5bd;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            color: white;
            font-weight: 500;
            position: relative;
            text-decoration: none;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 1px;
            background-color: white;
            transition: width 0.3s;
        }

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

        .nav-links a:hover:after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            cursor: pointer;
            font-size: 24px;
        }

        /* Main content styles */
        .main-content {
            padding: 60px 0;
        }

        .page-title {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
        }

        .page-title:after {
            content: "";
            position: absolute;
            height: 2px;
            width: 60px;
            background-color: var(--secondary-color);
            bottom: -12px;
            left: 0;
        }

        .page-description {
            font-size: 18px;
            color: var(--secondary-color);
            margin-bottom: 40px;
            max-width: 800px;
        }

        /* Architecture designer specific styles */
        .designer-interface {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            margin-top: 40px;
        }

        .designer-sidebar {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 20px;
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary-color);
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .sidebar-section {
            margin-bottom: 25px;
        }

        .sidebar-subtitle {
            font-size: 16px;
            color: var(--secondary-color);
            margin-bottom: 10px;
            font-weight: 500;
        }

        .component-list {
            list-style: none;
        }

        .component-item {
            padding: 10px;
            background-color: var(--light-bg);
            margin-bottom: 8px;
            border-radius: var(--border-radius);
            cursor: move;
            display: flex;
            align-items: center;
            transition: all 0.3s;
        }

        .component-item:hover {
            background-color: #e9ecef;
            transform: translateY(-2px);
        }

        .component-item i {
            margin-right: 10px;
            color: var(--secondary-color);
            width: 20px;
            text-align: center;
        }

        .tools-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 5px;
        }

        .tool-btn {
            padding: 5px 10px;
            background-color: var(--light-bg);
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        .tool-btn i {
            margin-right: 5px;
        }

        .tool-btn:hover {
            background-color: #e9ecef;
        }

        .designer-main {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 30px;
            min-height: 800px;
        }

        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .main-title {
            font-size: 24px;
            color: var(--primary-color);
        }

        .main-controls {
            display: flex;
            gap: 15px;
        }

        .control-btn {
            padding: 8px 15px;
            background-color: var(--light-bg);
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .control-btn i {
            margin-right: 8px;
        }

        .control-btn:hover {
            background-color: var(--secondary-color);
            color: white;
        }

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

        .clear-btn {
            background-color: var(--light-bg);
            color: var(--text-color);
        }

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

        .scenario-selector {
            margin-bottom: 30px;
            background-color: var(--light-bg);
            padding: 20px;
            border-radius: var(--border-radius);
        }

        .scenario-title {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .scenario-description {
            margin-bottom: 15px;
            color: var(--secondary-color);
        }

        .scenario-dropdown {
            width: 100%;
            padding: 10px;
            border-radius: var(--border-radius);
            border: 1px solid #ced4da;
            font-family: inherit;
            font-size: inherit;
        }

        .canvas-container {
            border: 1px dashed #ced4da;
            min-height: 500px;
            border-radius: var(--border-radius);
            padding: 20px;
            position: relative;
            background-color: #fafafa;
            background-image:
                linear-gradient(#eee 1px, transparent 1px),
                linear-gradient(90deg, #eee 1px, transparent 1px);
            background-size: 20px 20px;
        }

        .canvas-label {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 14px;
            color: #adb5bd;
            pointer-events: none;
        }

        .canvas-placeholder {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #adb5bd;
            pointer-events: none;
        }

        .canvas-placeholder i {
            font-size: 48px;
            margin-bottom: 10px;
        }

        .canvas-component {
            position: absolute;
            background-color: white;
            border: 1px solid #ced4da;
            border-radius: var(--border-radius);
            padding: 15px;
            min-width: 120px;
            user-select: none;
            cursor: move;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s;
        }

        .canvas-component:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .component-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .component-icon {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .component-title {
            font-weight: 500;
            font-size: 14px;
        }

        .component-actions {
            position: absolute;
            top: 5px;
            right: 5px;
            display: flex;
            gap: normal;
            position: absolute;
            top: 5px;
            right: 5px;
            display: flex;
            gap: 5px;
        }

        .component-action {
            width: 20px;
            height: 20px;
            background-color: transparent;
            border: none;
            cursor: pointer;
            color: #adb5bd;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .component-action:hover {
            color: var(--primary-color);
        }

        .component-body {
            font-size: 12px;
            color: var(--secondary-color);
        }

        .component-web-server {
            background-color: rgba(13, 110, 253, 0.1);
            border-color: rgba(13, 110, 253, 0.3);
        }

        .component-database {
            background-color: rgba(25, 135, 84, 0.1);
            border-color: rgba(25, 135, 84, 0.3);
        }

        .component-firewall {
            background-color: rgba(220, 53, 69, 0.1);
            border-color: rgba(220, 53, 69, 0.3);
        }

        .component-load-balancer {
            background-color: rgba(255, 193, 7, 0.1);
            border-color: rgba(255, 193, 7, 0.3);
        }

        .component-auth-server {
            background-color: rgba(111, 66, 193, 0.1);
            border-color: rgba(111, 66, 193, 0.3);
        }

        .component-connection {
            position: absolute;
            z-index: -1;
        }

        .info-box {
            background-color: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-top: 30px;
            border-left: 4px solid var(--secondary-color);
        }

        .info-box-title {
            font-size: 18px;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .info-box-title i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .evaluation-panel {
            background-color: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-top: 30px;
            display: none;
        }

        .evaluation-title {
            font-size: 20px;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
        }

        .evaluation-title i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .evaluation-score {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: white;
            padding: 15px;
            border-radius: var(--border-radius);
            margin-bottom: 20px;
        }

        .score-label {
            font-weight: 500;
            font-size: 16px;
        }

        .score-value {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }

        .evaluation-category {
            background-color: white;
            padding: 15px;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
        }

        .category-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .category-title {
            font-weight: 500;
        }

        .category-score {
            font-weight: 500;
        }

        .category-good {
            color: var(--success-color);
        }

        .category-warning {
            color: var(--warning-color);
        }

        .category-bad {
            color: var(--danger-color);
        }

        .category-details {
            font-size: 14px;
            color: var(--secondary-color);
        }

        .evaluation-suggestions {
            margin-top: 20px;
        }

        .suggestion-item {
            display: flex;
            margin-bottom: 10px;
            align-items: flex-start;
        }

        .suggestion-icon {
            margin-right: 10px;
            color: var(--info-color);
            flex-shrink: 0;
            margin-top: 2px;
        }

        /* Modal styles */
        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal {
            background-color: white;
            border-radius: var(--border-radius);
            width: 90%;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .modal-header {
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--secondary-color);
        }

        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            padding: 15px 20px;
            border-top: 1px solid #eee;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .modal-btn {
            padding: 8px 15px;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s;
        }

        .modal-btn-secondary {
            background-color: var(--light-bg);
            color: var(--text-color);
        }

        .modal-btn-primary {
            background-color: var(--secondary-color);
            color: white;
        }

        .modal-form-group {
            margin-bottom: 15px;
        }

        .modal-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .modal-input {
            width: 100%;
            padding: 8px 10px;
            border: 1px solid #ced4da;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: inherit;
        }

        .modal-input:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        .modal-select {
            width: 100%;
            padding: 8px 10px;
            border: 1px solid #ced4da;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: inherit;
            background-color: white;
        }

        .principles-list {
            margin-top: 20px;
        }

        .principle-item {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .principle-title {
            font-weight: 500;
            margin-bottom: 5px;
            color: var(--primary-color);
        }

        .principle-description {
            font-size: 14px;
            color: var(--secondary-color);
        }

        @media (max-width: 992px) {
            .designer-interface {
                grid-template-columns: 1fr;
            }

            .designer-sidebar {
                position: static;
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                flex-direction: column;
                background-color: var(--primary-color);
                padding: 20px;
                transform: translateY(-150%);
                transition: transform 0.3s;
                z-index: 1000;
            }

            .nav-links.active {
                transform: translateY(0);
            }

            .nav-links li {
                margin: 15px 0;
            }

            .main-controls {
                flex-direction: column;
                align-items: stretch;
            }
        }
