/* ==========================================================================
   UI DESIGN SECTION STYLES
   ========================================================================== */

.ui-design-section {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.ui-design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

/* Base Card Style */
.ui-card {
    /* Container */

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;

    position: relative;

    background: linear-gradient(180deg, rgba(31, 31, 31, 0.1) 0%, rgba(51, 20, 9, 0.2) 100%);
    border: 1px solid #525252;
    border-radius: 24px;
    overflow: hidden;
    /* Base Card Style */

}

/* Header (Icon + Title) */
.ui-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ui-icon-badge {
    width: 48px;
    height: 48px;
    background-color: #E65100;
    /* Darker Orange for contrast on light? Or Primary? */
    /* Match visual roughly */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
}

.ui-card-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FF5722;
    /* Orange text */
    margin: 0;
}

/* COLOR CARD CONTENT */
.color-swatch-grid {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0px;
    gap: 32px;

    width: 100%;
    height: 100%;

    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.swatch-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex: 1 0 140px;
    /* Grow, don't shrink below 140px, basis 140px */
    max-width: 100%;
}

.swatch-box {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    /* Rectangular */
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swatch-hex {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #ffff;
    color: #888;
    font-weight: 500;
}

/* Swatch Colors */
.bg-black {
    background-color: #000000;
}

/* Original Strike Colors */
.bg-green {
    background-color: #00A566;
}

.bg-grey {
    background-color: #666666;
}

.bg-white {
    background-color: #FFFFFF;
    border: 1px solid #EEE;
}

.bg-red {
    background-color: #D32F2F;
}

.bg-yellow {
    background-color: #FFC107;
}

/* Go-IKN Specific Colors */
.bg-go-ikn-green {
    background-color: #237A59;
}

.bg-go-ikn-gold {
    background-color: #D4AF37;
}



/* TYPOGRAPHY CARD CONTENT */
.typography-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;

    width: 100%;
    /* Text */


    /* Inside auto layout */
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    z-index: 2;

}

.typography-name {
    width: 100%;

    font-family: 'Figtree';
    font-style: normal;
    font-weight: 800;
    font-size: 32px;
    line-height: 125%;
    /* identical to box height, or 40px */
    display: flex;
    align-items: center;

    color: #FFF7ED;
}

.typography-graphic {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    align-items: baseline;
    /* Group 4 1 */


}

.big-A {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 220px;
    color: rgba(216, 79, 42, 0.3);
    /* Faded Orange */
    line-height: 1;
}

.small-a {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 160px;
    color: var(--primary-orange);
    /* Vivid Orange */
    margin-left: -20px;
    line-height: 1;
    z-index: 1;
}

/* Typography styles for Go-IKN */
.typography-graphic.go-ikn-typo .big-A,
.typography-graphic.go-ikn-typo .small-a {
    font-family: 'DM Sans', sans-serif;
}

/* Mobile */
@media (max-width: 768px) {
    .ui-design-grid {
        grid-template-columns: 1fr;
    }
}