:root {
    /* Color Palette */
    --bg-body: #ffffff;
    --bg-card-bio: #FFDAB9;
    /* Peach/Orange */
    --bg-card-projects-label: #FFFACD;
    /* Light Yellow */
    --bg-card-white: #ffffff;

    --text-main: #333333;
    --text-heading: #2c1810;
    /* Dark Brown */

    --border-color: #e0e0e0;
    --line-color: #ffcc99;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.btn-contact {
    text-decoration: none;
    border: 1px solid #000;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Main Layout Container */
.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 8rem;
}

/* Featured Projects */
.featured-projects {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    margin-bottom: 6rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.featured-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    align-items: center;
    flex: 0 0 450px;
    scroll-snap-align: start;
}

.featured-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.featured-image {
    flex: 0 0 160px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    border: 1px solid #eaeaea;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.featured-content p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Rows & Grid */
.grid-row {
    display: grid;
    grid-template-columns: minmax(180px, 20%) 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: start;
}

/* Left Column (Sticky Title) */
.column-left {
    position: sticky;
    top: 4rem;
}

.section-label {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin: 0;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

/* Right Column (Content) */
.column-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Typography & Hero Section */
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
}

.intro-large {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 400;
    color: #444;
    margin-bottom: 2rem;
}

.intro-detail {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 4rem;
}

/* Focus and Strengths Area */
.focus-area,
.strengths-area {
    margin-bottom: 2rem;
}

.focus-area h3,
.strengths-area h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.focus-area p {
    font-size: 1rem;
    color: #333;
}

.strength-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.strength-tags span {
    padding: 0.4rem 1rem;
    background: #f4f4f4;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
}

/* Projects & Artifacts Lists */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.artifacts-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-card,
.artifact-card {
    border-top: 1px solid #eaeaea;
    padding-top: 2rem;
}

.project-card {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 64px;
}

.project-card.clickable {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.project-card.clickable:hover {
    background-color: #f5f5f5;
}

.project-header,
.artifact-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-family: 'Inter', sans-serif;
}

.link-arrow {
    font-size: 1.25rem;
    text-decoration: none;
    color: #111;
    transition: transform 0.2s ease;
}

.link-arrow:hover {
    transform: translate(2px, -2px);
}

.project-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.project-body strong {
    font-weight: 600;
    color: #222;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.project-tags span {
    font-size: 0.8rem;
    color: #777;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.artifact-placeholder {
    background: #f9f9f9;
    padding: 4rem;
    text-align: center;
    border-radius: 8px;
    color: #aaa;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.stat-number {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #111;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
}

.stat-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.stat-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Highlights List (Artifacts) */
.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.highlights-list h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111;
    font-family: 'Inter', sans-serif;
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, #ff9a9e 0%, #fecfef 50%, #a1c4fd 100%);
    border-image-slice: 1;
}

.highlight-info {
    display: grid;
    grid-template-columns: minmax(180px, 30%) 1fr;
    gap: 2rem;
    padding-right: 2rem;
    width: 100%;
}

.highlight-title {
    color: #333;
    font-weight: 500;
}

.highlight-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.highlight-item.line-top {
    border-top: 1px solid transparent;
}

.highlight-item:hover {
    background-color: #fcfcfc;
}

.highlight-arrow {
    font-size: 1.25rem;
    color: #666;
    transition: transform 0.2s ease;
}

.highlight-item:hover .highlight-arrow {
    transform: translate(2px, -2px);
    color: #111;
}

/* Responsive constraints */
@media (max-width: 900px) {
    .grid-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .column-left {
        position: static;
    }

    .content-grid {
        padding: 0 2rem 4rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .highlight-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding-right: 1rem;
    }

    .featured-projects {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-card {
        flex-direction: column;
    }

    .featured-image {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
}

/* Project Detail Pages - Slides Layout */
.project-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.slide-section {
    /* min-height: 90vh; */
    /* Full viewport height feeling */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0 12rem;
    border-bottom: 1px solid var(--border-color);
}

.slide-section:last-child {
    border-bottom: none;
}

.slide-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    /* Aligns items to top for sticky behavior */
}

/* Swap order for variety */
.slide-section.reverse .slide-content {
    flex-direction: row-reverse;
}

.slide-text {
    flex: 1;
    position: sticky;
    top: 4rem;
    align-self: flex-start;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}



.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
    line-height: 1.2;
}

.slide-core-message {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 2rem;
    border-left: 4px solid var(--line-color);
    padding-left: 1.5rem;
    font-style: italic;
}

.slide-talking-points {
    font-family: 'Inter', sans-serif;
    color: #555;
    line-height: 1.8;
}

.slide-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.slide-visual img:hover {
    transform: scale(1.02);
}

.visual-placeholder {
    background-color: #f9f9f9;
    border: 2px dashed #ddd;
    padding: 3rem;
    text-align: center;
    border-radius: 12px;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 300px;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .slide-content {
        flex-direction: column;
        gap: 2rem;
    }

    .slide-section.reverse .slide-content {
        flex-direction: column;
    }

    .slide-visual {
        width: 100%;
        order: -1;
        /* Visual first on mobile usually looks better */
    }

    .slide-title {
        font-size: 2rem;
    }
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    text-decoration: underline;
}

/* Collage Grid for Slide 5 (NotebookLM Style: Grid) */
.collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.collage-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* No scroll snap */
}

@media (max-width: 600px) {
    .collage-grid {
        grid-template-columns: 1fr;
    }
}



/* Walkthrough Gallery for Slide 7 (NotebookLM Style: Vertical Stack) */
.walkthrough-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.walkthrough-step {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    width: 100%;
}

.walkthrough-step img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

.walkthrough-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

/* Architectural Vision Grid for Slide 5 (NotebookLM Style: Vertical Stack) */
.arch-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.arch-grid>div {
    width: 100%;
}

.arch-grid img,
.arch-grid video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.arch-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
    position: relative;
}

/* Pricing Flowchart for Slide 11 */
.pricing-flowchart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
    position: relative;
}

.flow-step {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.flow-arrow {
    color: #999;
    font-size: 1.5rem;
}

.flow-callout {
    position: absolute;
    right: -20px;
    top: -10px;
    background: #ffecb3;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #e65100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pricing Table Comparison for Slide 12 */
.pricing-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.pricing-table-col h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem;
    border: 1px solid #eee;
    text-align: center;
}

.pricing-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.tier-removed {
    background-color: #ffebee;
    color: #c62828;
    text-decoration: line-through;
}

.tier-new {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-weight: bold;
}

/* Scalability Grid for Slide 10 (NotebookLM Style: Single Column) */
.scalability-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column for max readability */
    gap: 4rem;
    /* Generous spacing */
    width: 100%;
}

.scalability-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .scalability-grid {
        gap: 2rem;
    }
}

/* Evolution Logic Flow for Slide 11 */
.evolution-logic {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
}

.logic-step {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-weight: 600;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.logic-arrow {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* NotebookLM Case Study Layouts */

/* Split Layout: Sticky Text (Left), Scrollable Visuals (Right) */
.layout-split .slide-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Essential for sticky */
    gap: 4rem;
    justify-content: space-between;
}

.layout-split .slide-text {
    width: 35%;
    flex: 0 0 35%;
    position: sticky;
    top: 6rem;
    /* Top margin for sticky */
    max-height: calc(100vh - 12rem);
    overflow-y: auto;
}

.layout-split .slide-visual {
    width: 60%;
    flex: 0 0 60%;
}

/* Layout Utilities */
.layout-split {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    /* Important for sticky text */
    gap: 4rem;
    margin-bottom: 8rem;
    /* min-height: 80vh; */
}

.layout-stacked {
    display: flex !important;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 8rem;
    text-align: center;
}

.layout-stacked .slide-text {
    max-width: 800px;
    margin: 0 auto;
}

.layout-stacked .slide-visual {
    width: 100%;
}

.layout-split .slide-content,
.layout-stacked .slide-content {
    /* Resetting default grid/flex behavior if inherited */
    display: contents;
    /* For easier sub-grid handling if needed, but flex parent handles it */
}

/* Specific Child Overrides for Split Layout */
.layout-split .slide-text {
    flex: 1;
    position: sticky;
    top: 100px;
    /* Sticky scroll effect */
    max-width: 500px;
}

.layout-split .slide-visual {
    flex: 1.5;
    width: 100%;
}

/* Mobile Responsiveness for Layouts */
@media (max-width: 768px) {
    .layout-split {
        flex-direction: column;
    }

    .layout-split .slide-text {
        position: static;
        max-width: 100%;
    }
}

/* --- Diagram Styles --- */

/* Cognitive Gap Diagram */
.diagram-gap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #333;
    color: white;
    font-family: 'Inter', sans-serif;
}

.gap-node {
    text-align: center;
    padding: 1.5rem;
    background: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #444;
    width: 30%;
}

.gap-chasm {
    flex: 1;
    height: 4px;
    background: repeating-linear-gradient(90deg, #ff4444 0, #ff4444 10px, transparent 10px, transparent 20px);
    position: relative;
    margin: 0 1rem;
}

.gap-chasm::after {
    content: 'GAP';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff4444;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Triad Interface Diagram */
.diagram-interface {
    display: flex;
    height: 400px;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #888;
}

.interface-pane {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #333;
    padding: 1rem;
    font-size: 0.9rem;
}

.pane-chat {
    width: 25%;
    background: #151515;
}

.pane-widgets {
    width: 20%;
    background: #1a1a1a;
}

.pane-canvas {
    width: 55%;
    background: #222;
    border-right: none;
    color: #fff;
    font-weight: 500;
}

/* Prototypes (comparison) */
.diagram-prototypes {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.proto-card {
    width: 32%;
    aspect-ratio: 3/4;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.proto-card.success {
    border-color: #4CAF50;
    background: #1a2a1a;
}

.proto-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #ccc;
}

.proto-status {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-fail {
    background: #331111;
    color: #ff6666;
}

.status-win {
    background: #113311;
    color: #66ff66;
}

/* Pivot/Turning Point Icon */
.diagram-pivot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    padding: 4rem;
    border-radius: 16px;
    color: white;
}

.pivot-icon {
    font-size: 4rem;
}

.pivot-arrow {
    font-size: 3rem;
    color: #666;
}

/* Stacked Layout: Centered Text (Top), Full Width Visuals (Bottom) */
.layout-stacked .slide-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.layout-stacked .slide-text {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: static;
    /* No sticky here */
}

.layout-stacked .slide-core-message {
    border-left: none;
    /* Remove side border for centered text */
    padding-left: 0;
    margin-bottom: 1.5rem;
    display: inline-block;
    /* Or block, depending on desired width */
}

/* Specific override for stacked visuals to be full width */
.layout-stacked .slide-visual {
    width: 100%;
    flex: none;
    max-width: 1440px;
    /* Optional max width constraint */
    margin: 0 auto;
}

/* Mobile Responsiveness for Layouts */
@media (max-width: 900px) {
    .layout-split .slide-content {
        flex-direction: column;
        gap: 2rem;
    }

    .layout-split .slide-text,
    .layout-split .slide-visual {
        width: 100%;
        flex: none;
        position: static;
        /* Disable sticky on mobile */
    }

    .layout-split .slide-text {
        max-height: none;
        overflow-y: visible;
    }
}

/* --- Design System Cards (Horizontal Scroll) --- */
.des-sys-section {
    margin-bottom: 3rem;
}

.des-sys-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
    padding-left: 0.5rem;
    border-left: 3px solid var(--line-color);
}

.des-sys-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    /* Space for shadow */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.des-sys-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.des-sys-scroll-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.des-sys-card {
    flex: 0 0 280px;
    /* Fixed width for cards */
    height: 320px;
    /* Fixed height */
    background: #ffffff;
    border-radius: 16px;
    /* Rounded XL */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.des-sys-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.des-sys-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Keep aspect ratio of components */
    background: #f8fafc;
    /* Light gray background for contrast */
    padding: 1rem;
}

.des-sys-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2rem 1rem 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.des-sys-card:hover .des-sys-card-overlay {
    opacity: 1;
}

.des-sys-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* ------------------------------------- */
/* VaaS PROPOSAL PAGE STYLES             */
/* ------------------------------------- */

/* Promo Banner on Home */
.promo-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #f4f4f4;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #eaeaea;
    transition: background 0.2s ease;
    margin-bottom: 4rem;
}

.promo-banner:hover {
    background: #ebebeb;
}

.promo-badge {
    background: #111;
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* Proposal Page Specifics */
.proposal-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.proposal-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #111;
    font-family: 'Playfair Display', serif;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.solution-card {
    background: #fafafa;
    border: 1px solid #eaeaea;
    padding: 2.5rem;
    border-radius: 8px;
}

.solution-card h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Problem List */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 1rem;
}

.problem-item {
    display: flex;
    gap: 1.5rem;
}

.problem-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ddd;
    font-family: 'Playfair Display', serif;
    flex: 0 0 40px;
    line-height: 1;
}

.problem-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 600;
}

.problem-content p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Financial Table */
.financial-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2.5rem;
    background: #fff;
}

.ft-header,
.ft-row {
    display: grid;
    grid-template-columns: 35fr 45fr 20fr;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eaeaea;
    align-items: center;
    box-sizing: border-box;
}

.ft-header {
    background: #fdfdfd;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    border-bottom: 2px solid #eaeaea;
}

.ft-row:last-child {
    border-bottom: none;
}

.ft-stream {
    font-size: 1.1rem;
    color: #111;
}

.ft-economics {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.ft-value {
    font-weight: 700;
    text-align: right;
    font-size: 1.25rem;
    color: #111;
}

.ft-total {
    background: #fafafa;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Image Fullscreen Modal */
.image-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #111;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    padding: 10px;
    transition: transform 0.2s ease;
}

.image-modal-close:hover {
    transform: scale(1.1);
}

.zoomable-image {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoomable-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.highlight-obsession {
    display: inline-block;
    background: linear-gradient(120deg, #ff9a9e 0%, #fecfef 50%, #a1c4fd 100%);
    background-size: 200% auto;
    color: #111;
    font-weight: 500;
    padding: 0 0.4rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 900px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .ft-header {
        display: none;
    }

    .ft-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem;
        align-items: flex-start;
    }

    .ft-value {
        text-align: left;
        font-size: 1.25rem;
        margin-top: 0.5rem;
    }
}