@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --secondary-color: #10b981;
    --accent-color: #8b5cf6;
    --dark-color: #111827;
    --gray-color: #4b5563;
    --light-color: #f9fafb;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition: all 0.3s ease;
}

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

html, body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    scroll-behavior: smooth;
    color: var(--dark-color);
    line-height: 1.6;
}

.font-geist-mono {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
}

/* General Styles */
.section-container {
    margin-bottom: 5rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-container {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

.section-icon {
    width: 20px;
    height: 20px;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    width: 3rem;
    height: 3px;
    background-color: var(--primary-color);
}

.subsection-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    position: relative;
    padding-right: 1rem;
}

.subsection-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.content-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: var(--gray-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.mobile-nav-item {
    padding: 0.75rem 1rem;
    color: var(--gray-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.mobile-nav-item:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

/* Hero Section */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 65px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* Platform Visualization */
.platform-visualization {
    position: relative;
    height: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.625rem;
}

.platform-layer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.platform-layer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.layer-1 {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.layer-2 {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.layer-3 {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.layer-4 {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
}

/* Solution Items */
.solution-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.solution-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.solution-icon {
    background-color: #e7f0ff;
    color: var(--primary-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.solution-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.solution-content p {
    color: var(--gray-color);
    font-size: 0.9375rem;
}

/* Component Cards */
.component-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.component-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.component-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.component-icon {
    background-color: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

.component-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

.component-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.component-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--gray-color);
}

.component-list li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: 0;
}

/* Architecture Diagram */
.design-diagram {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.architecture-diagram {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diagram-layer {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.diagram-layer:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background-color: #f9fafb;
}

.diagram-layer:nth-child(1) {
    background-color: #e7f0ff;
    border-color: #c7d8ff;
}

.diagram-layer:nth-child(3) {
    background-color: #e2f5ee;
    border-color: #c2e5d8;
}

.diagram-layer:nth-child(5) {
    background-color: #fff0e6;
    border-color: #ffdecc;
}

.diagram-layer span {
    font-weight: 600;
    color: var(--dark-color);
}

.diagram-connector {
    height: 30px;
    width: 2px;
    background-color: #d1d5db;
    margin: 0 auto;
    position: relative;
}

.diagram-connector::before, .diagram-connector::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #d1d5db;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.diagram-connector::before {
    top: 0;
}

.diagram-connector::after {
    bottom: 0;
}

.diagram-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.diagram-icons i {
    color: var(--primary-color);
}

/* Data Flow Diagram */
.data-flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

.data-entity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 0.5rem;
    min-width: 120px;
    text-align: center;
    transition: var(--transition);
}

.data-entity i {
    margin-bottom: 0.75rem;
}

.data-entity span {
    font-weight: 500;
}

.data-flow {
    position: relative;
    height: 2px;
    width: 50px;
    background-color: #d1d5db;
}

.data-flow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.flow-right::after {
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #d1d5db;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.flow-down {
    width: 2px;
    height: 50px;
}

.flow-down::after {
    border-width: 6px 4px 0 4px;
    border-color: #d1d5db transparent transparent transparent;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.user-entity {
    background-color: #e7f0ff;
    border: 1px solid #c7d8ff;
}

.central-system {
    background-color: #e2f5ee;
    border: 1px solid #c2e5d8;
}

.database-entity {
    background-color: #fff0e6;
    border: 1px solid #ffdecc;
}

.external-system {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.user-entity i, .central-system i, .database-entity i, .external-system i {
    color: var(--primary-color);
}

/* UI Features */
.ui-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.ui-feature-icon {
    background-color: #e7f0ff;
    color: var(--primary-color);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.ui-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.ui-feature-content p {
    color: var(--gray-color);
    font-size: 0.9375rem;
}

/* UI Mockups */
.ui-showcase {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.ui-mockup {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
}

.ui-mockup:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ui-mockup.mobile {
    max-width: 250px;
}

.ui-mockup-header {
    background-color: #f3f4f6;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.ui-mockup-dots {
    display: flex;
    gap: 0.375rem;
    margin-left: 0.75rem;
}

.ui-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
}

.ui-mockup-dots span:nth-child(1) {
    background-color: #ef4444;
}

.ui-mockup-dots span:nth-child(2) {
    background-color: #f59e0b;
}

.ui-mockup-dots span:nth-child(3) {
    background-color: #10b981;
}

.ui-mockup-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-color);
}

.ui-mockup-content {
    padding: 1rem;
    display: flex;
    height: 250px;
}

.ui-mockup-sidebar {
    width: 60px;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ui-mock
up-nav-item {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background-color: #d1d5db;
}

.ui-mockup-nav-item.active {
    background-color: var(--primary-color);
}

.ui-mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ui-mockup-widget {
    width: 100%;
    height: 60px;
    background-color: #e7f0ff;
    border-radius: 0.375rem;
}

.ui-mockup-row {
    display: flex;
    gap: 0.75rem;
}

.ui-mockup-widget-small {
    flex: 1;
    height: 100px;
    background-color: #e2f5ee;
    border-radius: 0.375rem;
}

.ui-mockup-app-header {
    width: 100%;
    height: 40px;
    background-color: #e7f0ff;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.ui-mockup-app-menu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ui-mockup-app-menu span {
    width: 60px;
    height: 8px;
    background-color: #d1d5db;
    border-radius: 4px;
}

.ui-mockup-app-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ui-mockup-app-item {
    width: 100%;
    height: 40px;
    background-color: #e7f0ff;
    border-radius: 0.375rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    background-color: #e7f0ff;
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.feature-benefit {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-benefit span {
    background-color: #f3f4f6;
    color: var(--gray-color);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
}

/* Use Cases */
.use-cases {
    margin-top: 2rem;
}

.use-case {
    display: flex;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.use-case:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.use-case-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.use-case-content {
    flex: 1;
}

.use-case-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.use-case-content p {
    color: var(--gray-color);
    margin-bottom: 1.25rem;
}

.use-case-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.use-case-before, .use-case-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.use-case-before {
    background-color: #fee2e2;
    color: #b91c1c;
}

.use-case-after {
    background-color: #d1fae5;
    color: #047857;
}

.use-case-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.use-case-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.use-case-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-bar {
    background-color: #f3f4f6;
    border-radius: 1rem;
    height: 1.5rem;
    position: relative;
    overflow: hidden;
}

.chart-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 1rem 0 0 1rem;
}

.chart-label {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Requirements Table */
.requirements-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
}

.requirements-table th, .requirements-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
}

.requirements-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--dark-color);
}

.requirements-table tr:hover {
    background-color: #f9fafb;
}

.compliance-status {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Technical Requirements */
.technical-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.technical-requirement {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.technical-req-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.technical-req-header i {
    color: var(--primary-color);
    margin-left: 0.75rem;
}

.technical-req-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

.technical-req-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.technical-req-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--gray-color);
}

.technical-req-list li:before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    right: 0;
}

/* Project Timeline */
.project-timeline {
    margin: 3rem 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-phase {
    position: relative;
    padding-right: 2.5rem;
    margin-bottom: 2.5rem;
}

.timeline-phase:last-child {
    margin-bottom: 0;
}

.timeline-phase-dot {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.timeline-phase-line {
    width: 2px;
    background-color: #e5e7eb;
    position: absolute;
    top: 1.25rem;
    right: 0.625rem;
    bottom: -2.5rem;
    z-index: 1;
}

.timeline-phase:last-child .timeline-phase-line {
    display: none;
}

.timeline-phase-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-phase-content:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-phase-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.timeline-phase-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.timeline-duration, .timeline-period {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--primary-color);
    background-color: #e7f0ff;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

.timeline-phase-content p {
    color: var(--gray-color);
}

/* Team Structure */
.team-structure {
    margin: 3rem 0;
    position: relative;
}

.team-manager {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.team-connections {
    position: absolute;
    width: 2px;
    background-color: #e5e7eb;
    top: 100%;
    height: 2rem;
}

.team-groups {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.team-member-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #e7f0ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.team-member-icon.manager {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: white;
}

.team-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    min-width: 120px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.team-group span {
    font-weight: 500;
    color: var(--dark-color);
}

/* Risks */
.risks-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.risk-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.risk-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.risk-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.risk-icon {
    color: var(--warning-color);
    margin-left: 0.75rem;
}

.risk-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.risk-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.risk-level {
    display: flex;
    align-items: center;
}

.risk-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-left: 0.5rem;
}

.risk-value {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.risk-value.high {
    background-color: #fee2e2;
    color: #b91c1c;
}

.risk-value.medium {
    background-color: #fff0e6;
    color: #c2410c;
}

.risk-value.low {
    background-color: #d1fae5;
    color: #047857;
}

.risk-mitigation {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
}

.risk-mitigation p {
    color: var(--gray-color);
    font-size: 0.875rem;
}

/* Deliverables */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.deliverable-card {
    display: flex;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.deliverable-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.deliverable-icon {
    width: 3rem;
    height: 3rem;
    background-color: #e7f0ff;
    color: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.25rem;
    flex-shrink: 0;
}

.deliverable-content {
    flex: 1;
}

.deliverable-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.deliverable-content p {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.deliverable-date {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.deliverable-date i {
    margin-left: 0.375rem;
}

/* Acceptance Criteria */
.acceptance-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.criterion {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.criterion:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.criterion-icon {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.criterion-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.criterion-content p {
    color: var(--gray-color);
    font-size: 0.875rem;
}

/* Value Added */
.value-add-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.value-add-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.value-add-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.value-add-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.value-add-icon {
    background-color: #e7f0ff;
    color: var(--primary-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.value-add-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

.value-add-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.value-add-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--gray-color);
}

.value-add-list li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    right: 0;
}

/* Assumptions and Risks */
.assumptions-risks-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .assumptions-risks-container {
        grid-template-columns: 1fr 1fr;
    }
}

.assumptions-container, .questions-container {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
}

.assumptions-title, .questions-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
    position: relative;
    padding-right: 1rem;
}

.assumptions-title::before, .questions-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.assumption {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.assumption:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.assumption-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.assumption-icon {
    color: var(--primary-color);
    margin-left: 0.75rem;
}

.assumption-header h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
}

.assumption-impact {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.impact-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-left: 0.5rem;
}

.impact-value {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.impact-value.high {
    background-color: #fee2e2;
    color: #b91c1c;
}

.assumption-plan {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.plan-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-color);
    margin-bottom: 0.375rem;
}

.assumption-plan p {
    font-size: 0.875rem;
    color: var(--dark-color);
}

/* Questions */
.question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.question:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.question-icon {
    color: var(--primary-color);
    margin-left: 0.75rem;
    margin-top: 0.125rem;
}

.question-content p {
    color: var(--dark-color);
}

/* Conclusion */
.conclusion-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.conclusion-signature {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.conclusion-signature strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.conclusion-signature em {
    font-style: normal;
    color: var(--primary-color);
}

.call-to-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid #e5e7eb;
}

.cta-button.secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.25rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .features-grid, .technical-requirements, .deliverables-grid, .value-add-container {
        grid-template-columns: 1fr;
    }
    
    .solution-items {
        grid-template-columns: 1fr;
    }
    
    .ui-showcase {
        flex-direction: column;
        align-items: center;
    }
    
    .ui-mockup {
        max-width: 90%;
    }
    
    .team-groups {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .icon-container {
        margin-bottom: 0.75rem;
    }
    
    .component-card {
        padding: 1rem;
    }
    
    .use-case {
        flex-direction: column;
    }
    
    .use-case-number {
        margin-bottom: 1rem;
        margin-left: 0;
    }
    
    .use-case-comparison {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .features-grid, .technical-requirements, .deliverables-grid, .value-add-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.platform-visualization {
    animation: fadeIn 1.5s ease-out;
}

.section-container {
    animation: slideInRight 0.6s ease-out;
}

.platform-layer:hover {
    animation: pulse 1.5s infinite;
}

.nav-item.active, .team-member-icon.manager {
    animation: pulse 2s infinite;
}

/* Print Styles */
@media print {
    .nav-menu, .mobile-menu-button, .call-to-action {
        display: none;
    }
    
    .section-container {
        page-break-inside: avoid;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .platform-visualization, .ui-showcase, .data-flow-diagram, .architecture-diagram,
    .team-structure, .feature-card, .risk-card, .deliverable-card, .value-add-card {
        break-inside: avoid;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background-color: #111827;
        color: #f9fafb;
    }
    
    body.dark-mode .content-card,
    body.dark-mode .feature-card,
    body.dark-mode .risk-card,
    body.dark-mode .criterion,
    body.dark-mode .assumptions-container,
    body.dark-mode .questions-container,
    body.dark-mode .assumption-plan {
        background-color: #1f2937;
        border-color: #374151;
    }
    
    body.dark-mode .section-title,
    body.dark-mode .subsection-title,
    body.dark-mode h4,
    body.dark-mode .technical-req-header h4,
    body.dark-mode .criterion-content h4 {
        color: #f9fafb;
    }
    
    body.dark-mode .component-card,
    body.dark-mode .solution-item,
    body.dark-mode .diagram-layer,
    body.dark-mode .deliverable-card,
    body.dark-mode .value-add-card {
        background-color: #1f2937;
        border-color: #374151;
    }
    
    body.dark-mode .feature-benefit span,
    body.dark-mode .risk-mitigation,
    body.dark-mode .team-group {
        background-color: #1f2937;
        border-color: #374151;
    }
    
    body.dark-mode .risk-mitigation p,
    body.dark-mode .solution-content p,
    body.dark-mode .ui-feature-content p,
    body.dark-mode .feature-card p,
    body.dark-mode .use-case-content p,
    body.dark-mode .criterion-content p,
    body.dark-mode .deliverable-content p,
    body.dark-mode .technical-req-list li,
    body.dark-mode .component-list li,
    body.dark-mode .conclusion-text {
        color: #d1d5db;
    }
}
