/* Dnyana.cloud Enterprise Deck Styles */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #059669;
    --accent: #dc2626;
    --warning: #ea580c;
    --info: #0891b2;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
}

/* Global Styles */
.reveal {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--bg-white);
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

.reveal h2 {
    font-size: 1.8em;
    margin-bottom: 0.8em;
    padding-bottom: 0.3em;
    border-bottom: 3px solid var(--primary);
}

.reveal h3 {
    font-size: 1.2em;
    margin-bottom: 0.6em;
    font-weight: 600;
}

.reveal strong {
    font-weight: 700;
    color: var(--text-dark);
}

.reveal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reveal ul li::before {
    content: "▸ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5em;
}

.reveal section {
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    max-height: 700px;
    overflow: hidden;
}

.reveal p {
    line-height: 1.6;
    color: var(--text-medium);
}

/* Slide 1: Title */
.title-slide {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title-content {
    max-width: 800px;
}

.logo-placeholder {
    font-size: 2em;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    color: white;
}

.title-slide h1 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 0.4em;
    border: none;
}

.subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5em;
}

.title-features {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    margin-top: 2em;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6em 1.2em;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Slide 2: Executive Summary */
.exec-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 1em;
}

.summary-card {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5em;
    transition: all 0.3s;
}

.summary-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.summary-icon {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.summary-card h3 {
    font-size: 1.2em;
    margin-bottom: 0.6em;
    color: var(--primary);
}

.summary-card p {
    font-size: 0.85em;
    line-height: 1.5;
    margin-bottom: 1em;
}

.metric {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--secondary);
    padding: 0.5em;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 6px;
    text-align: center;
}

/* Slide 3: Current Risks */
.risks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;
    margin-top: 1em;
}

.risk-item {
    border: 2px solid;
    border-radius: 10px;
    padding: 1.2em;
    background: white;
}

.risk-item.high {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.03);
}

.risk-item.medium {
    border-color: #ea580c;
    background: rgba(234, 88, 12, 0.03);
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8em;
}

.risk-level {
    font-size: 0.7em;
    font-weight: 700;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    background: #dc2626;
    color: white;
}

.risk-item.medium .risk-level {
    background: #ea580c;
}

.risk-item h3 {
    font-size: 1.1em;
    margin: 0;
}

.risk-item ul li {
    font-size: 0.75em;
    margin: 0.4em 0;
    line-height: 1.4;
}

/* Slide 4: Platform Overview */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.platform-col {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 1em;
}

.platform-col h3 {
    font-size: 1em;
    margin-bottom: 0.6em;
    color: var(--primary);
}

.platform-col ul li {
    font-size: 0.7em;
    margin: 0.4em 0;
    line-height: 1.3;
}

/* Slide 5: Deployment Choices */
.deployment-table-wrapper {
    margin-top: 1em;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75em;
    background: white;
}

.comparison-table thead {
    background: var(--primary);
    color: white;
}

.comparison-table th {
    padding: 0.8em;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table td {
    padding: 0.7em;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: top;
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.deployment-note {
    margin-top: 1em;
    padding: 0.8em;
    background: rgba(5, 150, 105, 0.1);
    border-left: 4px solid var(--secondary);
    border-radius: 6px;
    font-size: 0.85em;
}

/* Slide 6: Security Architecture */
.security-diagram {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5em;
    margin-top: 0.5em;
    overflow: auto;
}

.security-diagram svg {
    width: 100%;
    height: auto;
    max-height: 550px;
}

/* Slide 7: Model Governance */
.governance-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

.governance-matrix {
    flex: 1;
}

.risk-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7em;
    background: white;
}

.risk-matrix thead {
    background: var(--text-dark);
    color: white;
}

.risk-matrix th {
    padding: 0.6em;
    text-align: left;
    font-weight: 600;
}

.risk-matrix td {
    padding: 0.6em;
    border-bottom: 1px solid var(--border);
}

.risk-matrix tbody tr:hover {
    background: var(--bg-light);
}

.tier-badge {
    display: inline-block;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

.tier-badge.low {
    background: #d1fae5;
    color: #065f46;
}

.tier-badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.tier-badge.high {
    background: #fee2e2;
    color: #991b1b;
}

.tier-badge.restricted {
    background: #dbeafe;
    color: #1e40af;
}

.governance-workflow {
    margin-top: 1em;
}

.workflow-steps {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.8em;
}

.workflow-step {
    flex: 1;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.8em;
    position: relative;
}

.step-num {
    position: absolute;
    top: -12px;
    left: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8em;
}

.step-content h4 {
    font-size: 0.8em;
    margin-bottom: 0.3em;
    color: var(--primary);
}

.step-content p {
    font-size: 0.7em;
    margin: 0;
    line-height: 1.3;
}

.workflow-arrow {
    font-size: 1.5em;
    color: var(--primary);
    font-weight: bold;
}

/* Slide 8: Compliance Posture */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.compliance-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1em;
}

.compliance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8em;
    padding-bottom: 0.6em;
    border-bottom: 2px solid var(--border);
}

.compliance-card h3 {
    font-size: 1.1em;
    margin: 0;
    color: var(--primary);
}

.status-badge {
    font-size: 0.7em;
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 6px;
}

.status-badge.complete {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.ready {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.progress {
    background: #fef3c7;
    color: #92400e;
}

.compliance-card ul li {
    font-size: 0.7em;
    margin: 0.4em 0;
    line-height: 1.3;
}

.compliance-features {
    margin-top: 1.5em;
}

.compliance-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8em;
    margin-top: 0.8em;
}

.tool-item {
    background: var(--bg-light);
    padding: 0.8em;
    border-radius: 6px;
    font-size: 0.75em;
    line-height: 1.4;
}

/* Slide 9: Observability & Auditing */
.observability-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

.obs-section {
    margin-bottom: 1em;
}

.trace-example {
    background: #1f2937;
    border-radius: 8px;
    padding: 1em;
    overflow-x: auto;
}

.trace-example pre {
    margin: 0;
}

.trace-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.7em;
    color: #10b981;
    line-height: 1.4;
}

.obs-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

.obs-feature {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 1em;
}

.obs-feature h4 {
    font-size: 0.9em;
    margin-bottom: 0.6em;
    color: var(--primary);
}

.obs-feature ul li {
    font-size: 0.7em;
    margin: 0.3em 0;
    line-height: 1.3;
}

/* Slide 10: Performance & Cost */
.perf-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.metric-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1em;
    text-align: center;
}

.metric-title {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 0.8em;
}

.metric-comparison {
    margin: 0.8em 0;
}

.baseline, .ours {
    font-size: 0.8em;
    padding: 0.4em;
    margin: 0.3em 0;
    border-radius: 4px;
}

.baseline {
    background: #fee2e2;
    color: #991b1b;
}

.ours {
    background: #d1fae5;
    color: #065f46;
    font-weight: 600;
}

.improvement {
    font-size: 1em;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 0.6em;
}

.cost-breakdown {
    margin-top: 1.5em;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75em;
    margin-top: 0.8em;
}

.cost-table thead {
    background: var(--text-dark);
    color: white;
}

.cost-table th {
    padding: 0.7em;
    text-align: left;
    font-weight: 600;
}

.cost-table td {
    padding: 0.7em;
    border-bottom: 1px solid var(--border);
}

.cost-table tbody tr:hover {
    background: var(--bg-light);
}

.total-row {
    border-top: 2px solid var(--text-dark);
    font-weight: 600;
}

.savings {
    color: var(--secondary);
    font-weight: 600;
}

.cost-note {
    font-size: 0.75em;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.6em;
}

/* Slide 11: Integration & Identity */
.integration-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-top: 1em;
}

.integration-section h3 {
    font-size: 1em;
    margin-bottom: 0.8em;
    color: var(--primary);
}

.provider-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8em;
    margin-bottom: 0.8em;
}

.provider-item {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.8em;
    text-align: center;
    font-weight: 600;
    font-size: 0.8em;
    color: var(--text-dark);
}

.integration-details {
    font-size: 0.75em;
    color: var(--text-medium);
    line-height: 1.4;
}

.roles-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7em;
    margin-top: 0.6em;
}

.roles-table thead {
    background: var(--primary);
    color: white;
}

.roles-table th {
    padding: 0.6em;
    text-align: left;
    font-weight: 600;
}

.roles-table td {
    padding: 0.6em;
    border-bottom: 1px solid var(--border);
}

.roles-table tbody tr:hover {
    background: var(--bg-light);
}

.integration-section ul li {
    font-size: 0.75em;
    margin: 0.4em 0;
    line-height: 1.4;
}

/* Slide 12: Data Residency & Retention */
.residency-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-top: 1em;
}

.regions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-top: 0.8em;
}

.region-item {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1em;
}

.region-item strong {
    font-size: 0.9em;
    display: block;
    margin-bottom: 0.4em;
}

.region-item p {
    font-size: 0.7em;
    margin: 0;
}

.residency-note {
    font-size: 0.75em;
    margin-top: 1em;
    padding: 0.8em;
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
}

.retention-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7em;
    margin-top: 0.8em;
}

.retention-table thead {
    background: var(--text-dark);
    color: white;
}

.retention-table th {
    padding: 0.6em;
    text-align: left;
    font-weight: 600;
}

.retention-table td {
    padding: 0.6em;
    border-bottom: 1px solid var(--border);
}

.retention-table tbody tr:hover {
    background: var(--bg-light);
}

.deletion-workflow {
    margin-top: 1em;
    padding: 1em;
    background: var(--bg-light);
    border-radius: 8px;
}

.deletion-workflow h3 {
    font-size: 0.95em;
    margin-bottom: 0.8em;
}

.deletion-workflow p {
    font-size: 0.75em;
    margin: 0.5em 0;
    line-height: 1.4;
}

/* Slide 13: Customer Success */
.pilot-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.pilot-week {
    background: white;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1em;
}

.week-header {
    background: var(--primary);
    color: white;
    padding: 0.6em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85em;
    margin-bottom: 0.8em;
    text-align: center;
}

.pilot-week ul li {
    font-size: 0.7em;
    margin: 0.5em 0;
    line-height: 1.3;
}

.success-support {
    margin-top: 1.5em;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 0.8em;
}

.support-tier {
    background: var(--bg-light);
    padding: 0.8em;
    border-radius: 6px;
    font-size: 0.75em;
    line-height: 1.4;
    border-left: 4px solid var(--primary);
}

/* Slide 14: Commercials */
.commercials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-top: 1em;
}

.pricing-table-enterprise {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7em;
    margin-top: 0.6em;
}

.pricing-table-enterprise thead {
    background: var(--text-dark);
    color: white;
}

.pricing-table-enterprise th {
    padding: 0.7em;
    text-align: left;
    font-weight: 600;
}

.pricing-table-enterprise td {
    padding: 0.7em;
    border-bottom: 1px solid var(--border);
}

.pricing-table-enterprise tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.pricing-table-enterprise tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.addons ul li {
    font-size: 0.75em;
    margin: 0.5em 0;
    line-height: 1.4;
}

.sla-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7em;
    margin-top: 0.6em;
}

.sla-table thead {
    background: var(--primary);
    color: white;
}

.sla-table th {
    padding: 0.7em;
    text-align: left;
    font-weight: 600;
}

.sla-table td {
    padding: 0.7em;
    border-bottom: 1px solid var(--border);
}

.sla-table tbody tr:hover {
    background: var(--bg-light);
}

/* Slide 15: Case Study */
.case-study {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

.case-company {
    background: var(--primary);
    color: white;
    padding: 1em;
    border-radius: 10px;
}

.company-info h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: white;
}

.company-info p {
    font-size: 0.8em;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.case-challenge, .case-solution {
    background: var(--bg-light);
    padding: 1em;
    border-radius: 8px;
}

.case-challenge h3, .case-solution h3 {
    font-size: 1em;
    margin-bottom: 0.6em;
    color: var(--accent);
}

.case-solution h3 {
    color: var(--secondary);
}

.case-challenge ul li, .case-solution ul li {
    font-size: 0.75em;
    margin: 0.4em 0;
    line-height: 1.4;
}

.case-results {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 1em;
}

.case-results h3 {
    font-size: 1em;
    margin-bottom: 0.8em;
    color: var(--secondary);
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    margin-bottom: 1em;
}

.result-metric {
    text-align: center;
    padding: 0.8em;
    background: var(--bg-light);
    border-radius: 8px;
}

.result-value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3em;
}

.result-label {
    font-size: 0.7em;
    color: var(--text-medium);
    margin-bottom: 0.4em;
}

.result-change {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--secondary);
}

.case-quote {
    font-size: 0.8em;
    font-style: italic;
    padding: 0.8em;
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    margin: 0;
}

/* Slide 16: Next Steps */
.next-steps-slide {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.next-steps-content {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 1em;
}

.next-steps-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8em;
}

.step-item {
    flex: 1;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1em;
    text-align: center;
    transition: all 0.3s;
}

.step-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.step-icon {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.step-item h3 {
    font-size: 0.95em;
    margin-bottom: 0.5em;
    color: var(--primary);
}

.step-item p {
    font-size: 0.7em;
    line-height: 1.4;
    margin-bottom: 0.6em;
}

.step-timeline {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--secondary);
}

.step-arrow {
    font-size: 1.5em;
    color: var(--primary);
    font-weight: bold;
}

.contact-section {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.contact-item {
    background: var(--bg-light);
    padding: 0.8em;
    border-radius: 6px;
    font-size: 0.85em;
}

/* Responsive */
@media (max-width: 1000px) {
    .exec-summary,
    .risks-grid,
    .platform-grid,
    .perf-metrics,
    .compliance-grid,
    .obs-features,
    .pilot-timeline,
    .support-options,
    .results-metrics,
    .next-steps-path {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps,
    .next-steps-path {
        flex-direction: column;
    }
    
    .workflow-arrow,
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Print/PDF Export */
@media print {
    .reveal .slides section {
        page-break-after: always;
    }
}

