/* Remove gap between THE OPPORTUNITY and FLAGSHIP PRODUCT sections */
#why-now {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
#shoppermo {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ============================================================
   Recommence — Custom Styles
   Extends the Ashley template for Recommence branding
   ============================================================ */

/* ---- Icon Boxes ---- */
.mil-icon-box {
    padding: 20px 10px;
}

.mil-icon-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF5E00;
}

.mil-icon-frame-md {
    width: 60px;
    height: 60px;
}

/* ---- Text Size Utilities ---- */
.mil-text-lg {
    font-size: 1.25em;
    line-height: 1.6;
}

/* ---- Timeline (How We Build) ---- */
.mil-timeline {
    position: relative;
    padding-left: 40px;
}

.mil-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.mil-timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.mil-timeline-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF5E00;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #FF5E00;
}

.mil-timeline-content h5 {
    margin-bottom: 8px;
}

.mil-timeline-content p {
    color: #666;
}

/* ---- Store Badges ---- */
.mil-store-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mil-badge-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.mil-badge-link:hover {
    opacity: 0.8;
}

/* ---- Screenshot Carousel ---- */
.mil-screenshot-carousel-wrap {
    position: relative;
    padding: 20px 0 70px 0;
}

.mil-screenshot-carousel-wrap .swiper-container {
    overflow: hidden;
    width: 100%;
}

.mil-screenshot-frame {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mil-screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.mil-screenshot-placeholder i {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FF5E00;
}

.mil-screenshot-placeholder span {
    font-size: 1em;
    letter-spacing: 0.5px;
}

.mil-screenshot-slider .swiper-slide {
    padding: 10px;
}

.swiper-screenshot-pagination {
    text-align: center;
}

.swiper-screenshot-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.swiper-screenshot-pagination .swiper-pagination-bullet-active {
    background: #FF5E00;
}

.mil-screenshot-carousel-wrap .mil-slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    pointer-events: none;
}

.mil-screenshot-carousel-wrap .mil-slider-arrow {
    pointer-events: all;
}

/* ---- Contact Form Select ---- */
.mil-select,
select {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #999;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.mil-select:focus,
select:focus {
    border-color: #FF5E00;
    color: #000;
}

.mil-select option,
select option {
    color: #000;
    background: #fff;
}

.turnstile-widget-group {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-bottom: 30px;
}

.turnstile-status-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.45;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.turnstile-status-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.turnstile-status-copy {
    display: block;
}

.turnstile-widget-shell {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.turnstile-widget-group[data-turnstile-state="interactive"] .turnstile-widget-shell,
.turnstile-widget-group[data-turnstile-state="missing"] .turnstile-widget-shell {
    max-height: 180px;
    opacity: 1;
}

.turnstile-widget-shell > div {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
}

.turnstile-widget-shell iframe {
    max-width: 100%;
}

.turnstile-widget-group[data-turnstile-theme="light"] .turnstile-status-pill {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    color: rgba(15, 23, 42, 0.62);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.turnstile-widget-group[data-turnstile-theme="dark"] .turnstile-status-pill {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.65);
}

.turnstile-widget-group[data-turnstile-state="checking"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-state="interactive"] .turnstile-status-icon::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.14);
    border-top-color: #FF5E00;
    animation: turnstile-status-spin 0.8s linear infinite;
}

.turnstile-widget-group[data-turnstile-theme="dark"][data-turnstile-state="checking"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-theme="dark"][data-turnstile-state="interactive"] .turnstile-status-icon::before {
    border-color: rgba(0, 0, 0, 0.18);
    border-top-color: #FF5E00;
}

.turnstile-widget-group[data-turnstile-state="verified"] .turnstile-status-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 3px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #22c55e;
    border-bottom: 2px solid #22c55e;
    transform: rotate(-45deg);
}

.turnstile-widget-group[data-turnstile-state="error"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-state="missing"] .turnstile-status-icon::before {
    content: "!";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.24);
    background: rgba(249, 115, 22, 0.08);
}

.turnstile-fallback-message {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: rgba(249, 115, 22, 0.06);
    color: rgba(15, 23, 42, 0.72);
    font-size: 12px;
    line-height: 1.55;
}

@keyframes turnstile-status-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   INVESTOR-GRADE UTILITY CLASSES
   ============================================================ */

/* Vertical Accent Line for High-Impact Quotes */
.mil-investor-quote {
    border-left: 4px solid #FF5E00;
    padding-left: 30px;
    margin: 40px 0;
}

.mil-investor-quote p {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0;
}

/* Subtle Data/Chart Visualization Containers */
.mil-data-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.mil-data-card h5 {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mil-data-card ul li {
    font-size: 0.95em;
    line-height: 2;
    color: #fff;
    opacity: 0.9;
}

/* Founder Avatar Circle */
.mil-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.mil-avatar:hover {
    filter: grayscale(0%);
}

/* Market Opportunity Highlight */
.mil-market-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.mil-market-stat strong {
    color: #FF5E00;
    font-size: 1.3em;
}

/* Monetization Pillar Cards */
.mil-pillar-card {
    padding: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mil-pillar-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #FF5E00;
}

.mil-pillar-card h5 {
    color: #fff;
    margin-bottom: 12px;
}

/* Investor-Grade Emphasis */
.mil-emphasis {
    color: #FF5E00;
    font-weight: 600;
}

/* Market Shift Metrics Cards */
.mil-metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.mil-metric-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FF5E00;
    transform: translateY(-4px);
}

.mil-metric-icon {
    display: flex;
    justify-content: center;
    color: #FF5E00;
}

.mil-metric-card p {
    margin-bottom: 0;
}

/* Reduce spacing between social icons and copyright */
.mil-vert-between {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mil-mt-15 {
    margin-top: 15px;
}

/* ---- Founder Avatar (Initials) ---- */
.rec-founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF5E00 0%, #cc4a00 100%);
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(255, 94, 0, 0.3);
}

/* ---- Founder Credential Tags ---- */
.rec-founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rec-tag {
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.25);
    color: #FF5E00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.rec-tag:hover {
    background: rgba(255, 94, 0, 0.15);
    border-color: rgba(255, 94, 0, 0.5);
}

/* ---- Footer Border Separator ---- */
.mil-footer-border {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Logo Image Styling ---- */
.mil-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    line-height: 1;
}

.mil-frame-top .mil-logo img {
    height: 40px;
    width: auto;
}

.mil-menu-frame .mil-frame-top .mil-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ---- Accent Menu Item (Shoppermo CTA in nav) ---- */
.mil-accent-menu-item > a {
    color: #FF5E00 !important;
    font-weight: 600;
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 768px) {
    .mil-screenshot-placeholder {
        min-height: 280px;
    }

    .mil-screenshot-carousel-wrap .mil-slider-nav {
        position: static;
        transform: none;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }

    .mil-store-badges {
        justify-content: center;
    }
}

/* ---- GLTF Logo Canvas (replaces mil-position-1 in hero) ---- */
#rec-logo-3d,
.rec-logo-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 50vw;   /* square = consistent aspect ratio at all widths */
    max-height: 100vh;
    opacity: 0.65;
    pointer-events: none;
    display: block;
    z-index: 1;
}

.shoppermo-logo-typo
{
    margin-top: 20px;
    margin-bottom: 20px;
    height: 90px;
}

@media screen and (max-width: 1024px) {
    #rec-logo-3d,
    .rec-logo-canvas {
        width: 55vw;
        height: 55vw;
        opacity: 0.55;
    }
}

@media screen and (max-width: 768px) {
    #rec-logo-3d,
    .rec-logo-canvas {
        width: 80vw;
        height: 80vw;
        top: 0;
        right: -10vw;  /* let it bleed off the edge a little on mobile */
        opacity: 0.4;
    }
    .shoppermo-background
    {
        display: none;
    } 
    .shoppermo-logo-typo
    {
        height: 60px;
    }
}
.mil-muted.mil-mb-60
{
    line-height: 80px
}


@media screen and (max-width: 480px) {
    #rec-logo-3d,
    .rec-logo-canvas {
        width: 141vw;
        height: 141vw;
        top: 281px;
        right: -15vw;
        opacity: 0.5;
    }
    .shoppermo-background
    {
        display: none;
    } 
    .shoppermo-logo-typo
    {
        height: 60px;
    }
    .mil-frame-top .mil-logo img {
        height: 28px;
        width: auto;
    }
    .mil-muted.mil-mb-60
    {
        font-size: 41px;
        line-height: 47px;
        margin-bottom: 8px;
    }
    .mil-frame .mil-frame-top
    {
        height: 64px;
    }
    .mil-btn-space
    {
        margin:0 10px 20px 0;
    }

    
}
