/* ========================================
   LAUNCH PAD STYLES
   Core layout and structure for the Mission Control Launch Pad
   ======================================== */

/* ========================================
   BRAND FONTS
   ======================================== */
@font-face {
    font-family: 'Circular Standard';
    src: url('../fonts/CircularStd-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neone';
    src: url('../fonts/Neone Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   RESET AND BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #363636;
    background-color: #0a1628;
    min-height: 100vh;
}

/* ========================================
   LAUNCH HEADER
   ======================================== */
.launch-header {
    background: linear-gradient(180deg, #022662 0%, #0a1628 100%);
    padding: 60px 20px 40px;
    padding-left: 280px;  /* Match sidebar width */
    margin-top: -143px;  /* Pull up to fill body padding gap */
    padding-top: 260px;  /* Header clearance (145px) + original padding (60px) + buffer (55px) */
}

/* Constrain header content to match main content width */
.launch-header > * {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;  /* Match body content centering */
    text-align: center;
    box-sizing: border-box;
}

.launch-header__title {
    font-family: 'Circular Standard', 'Helvetica Neue', Arial, sans-serif;
    font-style: normal;
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.launch-header__subtitle {
    font-family: 'Circular Standard', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.launch-header__divider {
    width: 80px;
    height: 3px;
    background: #f68b1f;
    margin: 25px auto 0;
}

/* Gold Foil Chrome Sweep Effect for "CONTROL" text */
.launch-header__foil-text {
    background: linear-gradient(
        120deg,
        #8B6914 0%,
        #CD9B1D 15%,
        #FFD700 30%,
        #FFEC8B 45%,
        #FFF8DC 50%,
        #FFEC8B 55%,
        #FFD700 70%,
        #CD9B1D 85%,
        #8B6914 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-chrome-sweep 3s ease-in-out infinite;
}

/* Tagline with logo */
.launch-header__tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.launch-header__tagline-text {
    font-family: 'Circular Standard', 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.launch-header__logo-link {
    display: inline-flex;
    transition: opacity 0.3s ease;
}

.launch-header__logo-link:hover {
    opacity: 1;
}

.launch-header__logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.launch-header__logo-link:hover .launch-header__logo {
    opacity: 1;
}

/* Intro block */
.launch-header__intro {
    max-width: 700px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.launch-header__intro p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    margin: 0;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.launch-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-width: 0;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section {
    margin-bottom: 50px;
}

.section__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(246, 139, 31, 0.5) 0%, transparent 100%);
}

.section__line--right {
    background: linear-gradient(90deg, transparent 0%, rgba(246, 139, 31, 0.5) 100%);
}

.section__title {
    font-family: 'Circular Standard', 'Helvetica Neue', Arial, sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    color: #f68b1f;
    white-space: nowrap;
}

/* ========================================
   SAMPLE GRID
   ======================================== */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

/* ========================================
   SAMPLE CARD
   ======================================== */
.sample-card {
    display: block;
    background: #0d1f3c;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    contain: layout style paint;
}

.sample-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(246, 139, 31, 0.25);
    border-color: rgba(246, 139, 31, 0.4);
}

.sample-card--coming-soon {
    pointer-events: none;
    opacity: 0.5;
}

.sample-card--coming-soon .card__layers {
    filter: grayscale(100%);
}

/* ========================================
   CARD LAYERS CONTAINER
   ======================================== */
.card__layers {
    position: relative;
    background: #061229;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.card__layer-stack {
    position: relative;
    width: 100%;
    max-width: 140px;
}

/* Base layer - CMYK artwork */
.card-layer {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-layer img {
    display: block;
    width: 100%;
    height: auto;
}

/* Effect layers - positioned absolutely on top */
.card-layer--effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.card-layer--effect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   CARD INFO
   ======================================== */
.card__info {
    padding: 15px;
    background: #0d1f3c;
}

.card__badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(246, 139, 31, 0.2);
    border: 1px solid rgba(246, 139, 31, 0.4);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #f68b1f;
    margin-bottom: 8px;
}

.card__title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.card__technique {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Coming Soon Overlay */
.card__coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(246, 139, 31, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* ========================================
   RESOURCE CARDS
   ======================================== */
.card__layer-stack--resource {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(135deg, #022662 0%, #033a8c 100%);
    border-radius: 8px 8px 0 0;
}

.card-layer--resource-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.resource-icon {
    font-size: 64px;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sample-card:hover .resource-icon {
    opacity: 0.6;
    transform: scale(1.1);
}

/* IndiGlow Brand Logo - Two-part styling */
.indiglow-logo {
    display: inline;
    white-space: nowrap;
}

.indiglow-logo__indi {
    font-family: 'Circular Standard', sans-serif;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.indiglow-logo__glow {
    font-family: 'Neone', sans-serif;
    font-weight: 400;
    color: #FF1493;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.6),
                 0 0 16px rgba(255, 105, 180, 0.4);
    transition: text-shadow 0.3s ease;
}

.sample-card:hover .indiglow-logo__glow {
    text-shadow: 0 0 12px rgba(255, 20, 147, 0.9),
                 0 0 24px rgba(255, 105, 180, 0.6),
                 0 0 36px rgba(255, 20, 147, 0.4);
}

/* ========================================
   BUNDLE CARD DECK EFFECT
   ======================================== */
.sample-card--bundle .card__layers {
    padding: 15px;
}

.sample-card--bundle .card__deck {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-card--bundle .card__deck img {
    position: absolute;
    max-width: 76%;
    max-height: 160px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.sample-card--bundle .card__deck img:nth-child(1) {
    z-index: 3;
    transform: rotate(0deg);
}

.sample-card--bundle .card__deck img:nth-child(2) {
    z-index: 2;
    transform: rotate(5deg) translate(8px, 4px);
}

.sample-card--bundle .card__deck img:nth-child(3) {
    z-index: 1;
    transform: rotate(-5deg) translate(-8px, 4px);
}

.sample-card--bundle:hover .card__deck img:nth-child(1) {
    transform: rotate(0deg) translateX(0);
}

.sample-card--bundle:hover .card__deck img:nth-child(2) {
    transform: rotate(12deg) translate(35px, -5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.sample-card--bundle:hover .card__deck img:nth-child(3) {
    transform: rotate(-12deg) translate(-35px, -5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Invisible Center Anchor */
.card__deck-anchor {
    position: absolute;
    width: 70%;
    aspect-ratio: 1069 / 1557;
    max-height: 150px;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transform: rotate(0deg);
}

.sample-card--bundle .card__deck .card__deck-anchor ~ img {
    width: 76%;
    height: auto;
    max-width: 100%;
    max-height: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   PDF ICON CARD VARIANT
   ======================================== */
.sample-card--pdf-icon .card__layers {
    background: #061229;
}

.sample-card--pdf-icon .pdf-icon {
    width: 80px;
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Shimmer overlay */
.sample-card--pdf-icon .card__layers::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.sample-card--pdf-icon:hover .card__layers::before {
    left: 150%;
}

.sample-card--pdf-icon:hover .pdf-icon {
    filter: drop-shadow(0 0 12px rgba(255, 33, 22, 0.5));
    transform: scale(1.08);
}

/* ========================================
   FSEA AWARD BADGE
   ======================================== */
.award-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 50px;
    height: 50px;
    z-index: 20;
    pointer-events: none;
}

.award-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        #8B6914 0%,
        #CD9B1D 15%,
        #FFD700 30%,
        #FFEC8B 45%,
        #FFF8DC 50%,
        #FFEC8B 55%,
        #FFD700 70%,
        #CD9B1D 85%,
        #8B6914 100%
    );
    background-size: 300% 100%;
    animation: award-chrome-sweep 3s ease-in-out infinite;
    -webkit-mask-image: url('../Layering Assets/Leaf_for_placement_FSEAknockout_GOLD-new.webp');
    mask-image: url('../Layering Assets/Leaf_for_placement_FSEAknockout_GOLD-new.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

@keyframes award-chrome-sweep {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

/* Silver Foil variant */
.award-badge--silver::before {
    background: linear-gradient(
        120deg,
        #4a4a4a 0%,
        #7a7a7a 12%,
        #a8a8a8 24%,
        #c8c8c8 36%,
        #e8e8e8 44%,
        #ffffff 50%,
        #e8e8e8 56%,
        #c8c8c8 64%,
        #a8a8a8 76%,
        #7a7a7a 88%,
        #4a4a4a 100%
    );
    background-size: 300% 100%;
}

/* Small size for thumbnail cards */
.award-badge--sm {
    width: 40px;
    height: 40px;
    top: 6px;
    right: 6px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .sample-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .launch-header {
        padding-left: 20px;
    }

    .launch-header__title {
        font-size: 36px;
    }

    .launch-header__subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .sample-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section__title {
        font-size: 18px;
    }

    .card__layers {
        min-height: 150px;
    }

    .card__layer-stack {
        max-width: 110px;
    }

    .sample-card--bundle .card__deck {
        height: 150px;
    }

    .sample-card--bundle .card__deck img {
        max-height: 120px;
    }

    .launch-header__tagline {
        flex-direction: column;
        gap: 10px;
    }

    .launch-header__tagline-text {
        font-size: 16px;
    }

    .launch-header__logo {
        height: 32px;
    }

    .launch-header__intro {
        padding: 0 15px;
    }

    .launch-header__intro p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .launch-header {
        padding: 40px 15px 30px;
    }

    .launch-header__title {
        font-size: 28px;
    }

    .section__header {
        gap: 10px;
    }

    .section__title {
        font-size: 16px;
    }

    .card__title {
        font-size: 14px;
    }

    .launch-header__tagline-text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .launch-header__logo {
        height: 28px;
    }

    .launch-header__intro p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* ========================================
   CORE ANIMATION KEYFRAMES
   ======================================== */
@keyframes gold-chrome-sweep {
    0%, 100% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0% 0;
    }
}

@keyframes metallic-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes holographic-shift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes silver-gleam {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}
