/* Interactive Map Styles */
.interactive-map-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.map-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
}

.map-control {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-control:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.map-control.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-canvas {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.route-line {
    position: absolute;
    height: 4px;
    border-radius: 2px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.route-red {
    background: #dc2626;
    top: 25%;
    left: 10%;
    width: 60%;
    transform: rotate(15deg);
}

.route-blue {
    background: #2563eb;
    top: 45%;
    left: 15%;
    width: 50%;
    transform: rotate(-10deg);
}

.route-green {
    background: #059669;
    top: 65%;
    left: 20%;
    width: 55%;
    transform: rotate(5deg);
}

.route-yellow {
    background: #d97706;
    top: 80%;
    left: 10%;
    width: 65%;
    transform: rotate(-5deg);
}

.vehicle-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #dc2626;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.route-details {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
}

.route-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Payment Demo Styles */
.payment-demo-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.payment-demo-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.payment-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.payment-methods h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.payment-option:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
}

.payment-option.active {
    border-color: #dc2626;
    background: #fef2f2;
    color: #dc2626;
}

.payment-option i {
    font-size: 1.5rem;
}

.payment-option span {
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-features {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
}

.payment-features h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.feature-item i {
    color: #10b981;
    flex-shrink: 0;
}

.payment-simulator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 500px;
    background: #1f2937;
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #374151;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.payment-interface {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.wallet-header h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.wallet-header i {
    color: #3b82f6;
    font-size: 1.25rem;
}

.balance-display {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.balance-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.trip-details {
    flex: 1;
    margin-bottom: 2rem;
}

.trip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.trip-item:last-child {
    border-bottom: none;
}

.fare-amount {
    font-weight: 700;
    color: #dc2626;
}

.pay-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.transaction-flow {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.transaction-flow h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #dc2626;
    font-size: 1.5rem;
}

.flow-step h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.flow-step p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.flow-arrow {
    color: #dc2626;
    font-size: 1.25rem;
    margin: 0 0.5rem;
}

/* Stakeholder Benefits Styles */
.stakeholder-benefits {
    margin-top: 4rem;
}

.stakeholder-benefits h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stakeholder-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.stakeholder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stakeholder-card.passengers {
    border-top: 4px solid #3b82f6;
}

.stakeholder-card.owners {
    border-top: 4px solid #10b981;
}

.stakeholder-card.workers {
    border-top: 4px solid #f59e0b;
}

.stakeholder-card.utof {
    border-top: 4px solid #dc2626;
}

.stakeholder-header {
    padding: 2rem 2rem 1rem;
}

.stakeholder-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.impact-metric {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.benefits-list {
    padding: 0 2rem 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-item i {
    color: #10b981;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

/* Technology Architecture Styles */
.architecture-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 4rem;
}

.architecture-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.arch-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #6b7280;
}

.arch-tab:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.arch-tab.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.arch-tab i {
    font-size: 1.125rem;
}

.architecture-content {
    min-height: 400px;
}

.arch-layer {
    display: none;
}

.arch-layer.active {
    display: block;
}

.arch-layer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.component-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.component-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.component-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.component-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.component-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Integration Partners Styles */
.integrations-section {
    margin-top: 4rem;
}

.integrations-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.integration-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integration-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.integration-card.ready .integration-status {
    background: #d1fae5;
    color: #059669;
}

.integration-card.progress .integration-status {
    background: #fef3c7;
    color: #d97706;
}

.integration-card.planned .integration-status {
    background: #e5e7eb;
    color: #6b7280;
}

.integration-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.integration-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.integration-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.integration-features span {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Security Framework Styles */
.security-framework {
    background: linear-gradient(135deg, #dc2626, #7c2d12);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 4rem;
    color: white;
}

.security-framework h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.security-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.security-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.security-card p {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.security-features .feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Financial Dashboard Styles */
.financial-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.kpi-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.kpi-card.revenue::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.kpi-card.passengers::before {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.kpi-card.vehicles::before {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.kpi-card.income::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: white;
}

.kpi-card.revenue .kpi-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.kpi-card.passengers .kpi-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.kpi-card.vehicles .kpi-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.kpi-card.income .kpi-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.kpi-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.kpi-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.current-value,
.projected-value {
    text-align: center;
}

.current-value .label,
.projected-value .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
}

.current-value .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b7280;
}

.projected-value .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.growth-indicator {
    background: #d1fae5;
    color: #059669;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Chart Container Styles */
.chart-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 4rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-control {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-control:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.chart-control.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.chart-canvas {
    height: 400px;
    margin-bottom: 1rem;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.current {
    background: #dc2626;
}

.legend-color.projected {
    background: #10b981;
}

/* Financial Breakdown Styles */
.financial-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.breakdown-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.breakdown-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.revenue-pie-chart {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.revenue-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.revenue-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.revenue-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.revenue-color.fare {
    background: #dc2626;
}

.revenue-color.advertising {
    background: #f59e0b;
}

.revenue-color.data {
    background: #3b82f6;
}

.revenue-color.partnership {
    background: #10b981;
}

.revenue-label {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
}

.revenue-amount {
    font-weight: 600;
    color: #1f2937;
}

.cost-breakdown-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cost-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.cost-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    border-radius: 4px;
    transition: width 1s ease;
}

.cost-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.cost-label {
    color: #374151;
}

.cost-percentage {
    font-weight: 600;
    color: #6b7280;
}

.cost-amount {
    font-weight: 600;
    color: #1f2937;
}

/* Investment Requirements Styles */
.investment-requirements {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 4rem;
}

.investment-requirements h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.investment-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.phase-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.phase-header {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.phase-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.phase-budget {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dc2626;
}

.phase-breakdown {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.breakdown-item span:first-child {
    color: #6b7280;
}

.breakdown-item span:last-child {
    font-weight: 600;
    color: #1f2937;
}

.total-investment {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    border-radius: 12px;
    color: white;
}

.total-investment h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.total-investment span {
    font-size: 2rem;
    font-weight: 900;
}

/* ROI Calculator Styles */
.roi-calculator {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    color: white;
}

.roi-calculator h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.calculator-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.calculator-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calculator-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-item:last-child {
    border-bottom: none;
}

.calc-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 1rem;
}

.roi-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roi-metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Projections Table Styles */
.projections-table {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 4rem;
}

.projections-table h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.table-container {
    overflow-x: auto;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

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

.financial-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.financial-table td {
    color: #1f2937;
}

.financial-table td.profit {
    color: #059669;
    font-weight: 600;
}

.financial-table td.roi {
    color: #3b82f6;
    font-weight: 600;
}

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

/* Footer Styles */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    padding: 0.75rem;
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
}

.footer-brand .brand-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.footer-brand .brand-text p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.footer-stat .stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
}

.contact-item i {
    color: #dc2626;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design for Components */
@media (max-width: 1024px) {
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .payment-demo-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-breakdown {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .architecture-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .arch-tab {
        justify-content: center;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-kpis {
        grid-template-columns: 1fr;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .chart-controls {
        justify-content: center;
    }
    
    .investment-phases {
        grid-template-columns: 1fr;
    }
    
    .stakeholder-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 240px;
        height: 420px;
        padding: 15px;
    }
    
    .payment-interface {
        padding: 1.5rem 1rem;
    }
    
    .balance-display {
        padding: 1rem;
    }
    
    .balance-amount {
        font-size: 1.25rem;
    }
    
    .financial-table {
        font-size: 0.75rem;
    }
    
    .financial-table th,
    .financial-table td {
        padding: 0.5rem;
    }
}