/* =========================================
   Base & Reset
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0c10; /* Very dark background */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   Presentation Wrapper
========================================= */
.presentation-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient Background Lights */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 203, 148, 0.1) 0%, transparent 70%); /* DG Dark green accent glow */
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: drift 20s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

.ambient-glow.glow-2 {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    width: 800px;
    height: 800px;
    bottom: -100px;
    right: -200px;
    animation-direction: alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.1); }
}

/* =========================================
   SVG Connection Lines
========================================= */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through */
}

/* =========================================
   Center Node
========================================= */
.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 60px;
    border-radius: 100px; /* Pill shape */
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    animation: pulse 4s infinite alternate ease-in-out;
}

.center-node h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center-node p {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 30px rgba(0,0,0,0.5); }
    100% { transform: translate(-50%, -50%) scale(1.02); box-shadow: 0 0 60px rgba(16, 203, 148, 0.2); }
}

/* =========================================
   Mind Map Nodes (The Designs)
========================================= */
.nodes-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.design-node {
    position: absolute;
    width: 320px;
    background: rgba(20, 20, 24, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.design-node:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 203, 148, 0.1);
    z-index: 20;
}

/* Image Thumbnails */
.node-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.node-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.design-node:hover .node-image img {
    transform: scale(1.1);
}

.node-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.design-node:hover .node-overlay {
    opacity: 1;
}

.node-overlay .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.design-node:hover .node-overlay .arrow {
    transform: translateX(5px);
}

/* Info Text inside node */
.node-info {
    text-align: left;
}

.node-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #10CB94; /* DG Signature green hint */
    margin-bottom: 8px;
    background: rgba(16, 203, 148, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.node-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.node-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* =========================================
   Node Positioning (The "Mind Map" Layout)
========================================= */
/* Top Left quadrant */
.node-top-left {
    top: 15%;
    left: 15%;
}

/* Top Right quadrant */
.node-top-right {
    top: 15%;
    right: 15%;
}

/* Bottom Left quadrant */
.node-bottom-left {
    bottom: 15%;
    left: 15%;
}

/* Bottom Right quadrant */
.node-bottom-right {
    bottom: 15%;
    right: 15%;
}

/* Center Top (Design 5) */
.node-top-center {
    top: 5%;
    left: calc(50% - 160px); /* Centers the 320px wide box */
}

/* Center Bottom (Design 6) */
.node-bottom-center {
    bottom: 5%;
    left: calc(50% - 160px);
}

/* Tablet/Mobile Responsive */
@media (max-width: 1100px) {
    .design-node {
        width: 250px;
    }
    .node-top-left { top: 10%; left: 5%; }
    .node-top-right { top: 10%; right: 5%; }
    .node-bottom-left { bottom: 10%; left: 5%; }
    .node-bottom-right { bottom: 10%; right: 5%; }
    .node-top-center { top: 2%; left: calc(50% - 125px); } /* 250px half width */
    .node-bottom-center { bottom: 2%; left: calc(50% - 125px); }
}

@media (max-width: 768px) {
    body {
        min-height: auto;
    }

    .presentation-wrapper {
        overflow: visible;
        display: block;
        min-height: auto;
        padding: 32px 16px 48px;
    }

    .ambient-glow,
    .ambient-glow.glow-2 {
        display: none;
    }

    .center-node {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 28px;
        width: 100%;
        max-width: 100%;
        animation: none;
        padding: 24px 20px;
        border-radius: 28px;
    }

    .center-node h2 {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }

    .center-node p {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
    }

    .nodes-container {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .design-node {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 12px;
        border-radius: 18px;
    }

    .design-node:hover {
        transform: none;
    }

    .node-image {
        height: 168px;
        margin-bottom: 12px;
    }

    .node-info h3 {
        font-size: 1.2rem;
    }

    .node-info p {
        font-size: 0.8rem;
    }

    .connection-lines {
        display: none; /* Hide SVG lines on mobile grid mode */
    }
}
