/* mcp landing page
   developer:   rmiske
   requires:    /common/framework/css/framework.en.css
                /artificial-intelligence/shared.css
   ========================================================================== */


/* ==================================================
   SETUP
   ================================================== */
main h2 {
   text-align: center;
}



/* ==================================================
   Hero
   ================================================== */
.hero {
    background:
        radial-gradient(circle at 22% 50%, rgba(139, 92, 246, 0.22) 0%, transparent 35%),
        radial-gradient(circle at 12% 60%, rgba(109, 40, 217, 0.30) 0%, transparent 45%),
        radial-gradient(circle at 30% 40%, rgba(196, 181, 253, 0.10) 0%, transparent 55%),
        radial-gradient(900px 600px at 15% 5%, rgba(139, 92, 246, 0.10), transparent 60%),
        radial-gradient(circle at 78% 50%, rgba(43, 192, 224, 0.22) 0%, transparent 35%),
        radial-gradient(circle at 88% 60%, rgba(31, 160, 184, 0.30) 0%, transparent 45%),
        radial-gradient(circle at 70% 40%, rgba(111, 216, 238, 0.10) 0%, transparent 55%),
        radial-gradient(900px 600px at 85% 5%, rgba(43, 192, 224, 0.10), transparent 60%),
        #040714;
}

.mcp-hero-bg {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
    z-index: 0;
}
.mcp-hero-visual {
    position: absolute; 
    right: 0%; 
    top: 50%; 
    transform: translateY(-50%); 
    height: 450px; 
    aspect-ratio: 1200 / 553; 
    z-index: 1; 
    pointer-events: none;
}
.mcp-hero-scene {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0.8; 
    transform: translateY(16px) scale(0.94);
}
.mcp-hero-spikey {
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    z-index: 2; 
    transform: translateX(-40px); 
    opacity: 0.92;
}
.mcp-hero-spikey img {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%;
}

/*let's keep these close by*/
@media (max-width: 1199px) {
    .mcp-hero-visual {
        height: calc(66vw * 553 / 1200) !important;
        right: 0.5% !important;
    }
}
@media (min-width: 1024px) {
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
            linear-gradient(to right,
                var(--bg) 0%,
                color-mix(in srgb, var(--bg) 75%, transparent) 30%,
                transparent 55%,
                rgba(4,7,20,0.25) 100%),
            linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
    }
}
@media (max-width: 1023px) {
    .mcp-hero-visual { opacity: 0.8; }
}
@media (max-width: 599px) {
    #hero {
        background:
            radial-gradient(170% 130% at 50% 45%, rgba(59, 130, 246, 0.14) 0%, rgba(43, 192, 224, 0.07) 60%, rgba(43, 192, 224, 0.03) 100%),
            var(--bg);
    }
    body:not(.subpage) #hero .button {
        background: rgba(8, 12, 22, 0.55);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
    .mcp-hero-visual {
        opacity: 0.18;
        height: 100vw !important;
        top: 50% !important; 
        left: 42% !important; 
        right: auto !important;
        transform: translate(-50%, -50%) !important;
    }
    .mcp-hero-spikey { transform: none !important; opacity: 1 !important; }
    .mcp-hero-scene { transform: none !important; opacity: 1 !important; }
}


/*buttons*/
#hero .btn-outline span {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
    padding-left: 24px;
}

#hero .btn-outline.local {
    color: #C4B5FD;
    border: 1.5px solid #8B5CF6;
    box-shadow: none;
}
#hero .btn-outline.local:hover {
    background: rgba(139, 92, 246, 0.10);
    border-color: #C4B5FD;
}
#hero .btn-outline.local span {
    background-image: url('/artificial-intelligence/mcp/img/icon-local.svg'); 
}
#hero .btn-outline.cloud {
    color: #6FD8EE;
    border: 1.5px solid #2BC0E0;
    box-shadow: none;
}
#hero .btn-outline.cloud:hover {
    background: rgba(43, 192, 224, 0.10);
    border-color: #6FD8EE;
}
#hero .btn-outline.cloud span {
    background-image: url('/artificial-intelligence/mcp/img/icon-cloud.svg'); 
}



/* ==================================================
   access options
   ================================================== */
#access-options {
    background: var(--bg-grad-cyan);
}
#access-options .content {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
}
#access-options h2 {
    grid-column-end: span 3;
}

#access-options .pod {
    padding: 1.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#access-options .pod-label {
    background-repeat: no-repeat;
    background-position: 0.75rem center;
    background-size: 16px;
    border: 1px solid;
    border-radius: 10rem;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.375rem 0.75rem 0.375rem 36px;
}

#access-options h3 {
    color: #fff;
    font-size: 1.35rem;
}
#access-options h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
#access-options p {
    padding-bottom: 1.25rem
}
#access-options strong,
#access-options a:not(.button) {
    color: #fff;
    font-weight: bold;
}
#access-options a:not(.button):hover {
    color: var(--body);
}
#access-options div.included {
    border: 1px solid;
    border-radius: 0.625rem;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    padding: 0.75rem 0.875rem;
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 36px 1fr;
}
#access-options .included a {
    text-decoration: underline;
}
#access-options .button { 
    font-size: 0.9rem;
    margin-bottom: 0; 
}


/*local*/
#access-options .local {
    border-color: rgba(139, 92, 246, 0.40);
}
#access-options .local h3 span {
    color: #C4B5FD;
}
#access-options .local .pod-label,
#access-options .local div.included {
    background-color: rgba(139, 92, 246, 0.10);
    border-color: rgba(139, 92, 246, 0.40);
    color: #C4B5FD;
}
#access-options .local .pod-label {
    background-image: url('/artificial-intelligence/mcp/img/icon-local.svg'); 
}
#access-options .local .button:not(.btn-outline) {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff; 
}
#access-options .local .button:not(.btn-outline):hover {
    background: #7C3AED;
    border-color: #7C3AED;
}
#access-options .local .btn-outline {
    border-color: #C4B5FD;
    color: #C4B5FD;
} 


/*cloud*/
#access-options .cloud {
    border-color: rgba(43, 192, 224, 0.40);
}
#access-options .cloud h3 span {
    color: #6FD8EE;
}
#access-options .cloud .pod-label,
#access-options .cloud div.included {
    background-color: rgba(43, 192, 224, 0.10);
    border-color: rgba(43, 192, 224, 0.40);
    color: #6FD8EE;
}
#access-options .cloud .pod-label {
    background-image: url('/artificial-intelligence/mcp/img/icon-cloud.svg'); 
}


/*enterprise*/
#access-options .enterprise {
    border-color: rgba(236, 72, 153, 0.40);
}
#access-options .enterprise h3 span {
    color: #F9A8D4;
}
#access-options .enterprise .pod-label,
#access-options .enterprise div.included {
    background-color: rgba(236, 72, 153, 0.10);
    border-color: rgba(236, 72, 153, 0.40);
    color: #F9A8D4;
}
#access-options .enterprise .pod-label {
    background-image: url('/artificial-intelligence/mcp/img/icon-enterprise.svg'); 
}
#access-options .enterprise .button:not(.btn-outline) {
    background: #EC4899;
    border-color: #EC4899;
    color: #fff; 
}
#access-options .enterprise .button:not(.btn-outline):hover {
    background-color: #DB2777;
    border-color: #DB2777;
}


/*subpages*/
.subpage #access-options .content {
    grid-template-columns: repeat(2, 1fr);
}
.subpage #access-options h3 {
    border-bottom: 1px solid;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
}
.subpage #access-options .local h3 {
    border-color: rgba(139, 92, 246, 0.20);    
}
.subpage #access-options .cloud h3 {
    border-color: rgba(43, 192, 224, 0.20);    
}
.subpage #access-options h4 {
    color: #6FD8EE;
    font-size: 1.125rem;
    margin-bottom: 0;
}
.subpage #access-options .local h4 {
    color: #C4B5FD;
}
.subpage #access-options .buttons {
    margin-top: 1.5rem;
}


/* ==================================================
   how it works
   ================================================== */
#how-it-works {
    background: var(--bg-grad-quiet);
    text-align: center; 
}



/* ==================================================
   use cases
   ================================================== */
#use-cases {
    background: var(--bg-grad-cyan);
}
#use-cases .content > div {
    display: grid;
    gap: 7.625rem;
    grid-template-columns: 1fr 1fr;
    position: relative;
}
#use-cases .content > div::after {
    position: absolute;
    content: '';
    background: url('/artificial-intelligence/mcp/img/spikey-gradient.svg');
    background-size: cover;
    width: 180px;
    height: 190px;
    inset: 0;
    margin: auto;
    filter:
        drop-shadow(0 0 24px rgba(139, 92, 246, 0.30))
        drop-shadow(0 0 32px rgba(43, 192, 224, 0.25));
}

#use-cases .pod {
    padding: 1.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#use-cases h3 {
    border-bottom: 1px solid;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}
#use-cases .item {
    display: grid;
    gap: 1rem;
    grid-template-columns: 24px 1fr;
}
#use-cases .buttons {
    margin-top: 1rem;
}
#use-cases .button {
    font-size:.9rem;
    margin-bottom: 0;
}


/*local*/
#use-cases .local,
#use-cases .local h3 {
    border-color: rgba(139, 92, 246, 0.40);
}
#use-cases .local h4 {
    color: #C4B5FD;
}
#use-cases .local .button {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff; 
}


/*cloud*/
#use-cases .cloud,
#use-cases .cloud h3 {
    border-color: rgba(43, 192, 224, 0.40);
}



/* ==================================================
   set apart
   ================================================== */
#set-apart {
    background: var(--bg-grad-cyan);
}
#set-apart .content {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
}
#set-apart h2,
#set-apart .pod.trusted,
#set-apart .buttons {
    grid-column-end: span 2;
}
#set-apart .pod {
    display: grid;
    gap: 1rem;
    grid-template-columns: 55px 1fr;
    padding: 1.5rem 2rem;
}
#set-apart .pod.trusted {
    background: 
     radial-gradient(ellipse 50% 80% at 5% 50%,
       rgba(43, 192, 224, 0.22) 0%,
       transparent 60%),
     radial-gradient(ellipse 55% 80% at 100% 50%,
       rgba(31, 143, 184, 0.18) 0%,
       transparent 60%),
     linear-gradient(135deg,
       color-mix(in srgb, #1FA0B8 22%, rgba(13, 22, 44, 0.65)) 0%,
       rgba(13, 22, 44, 0.55) 55%,
       color-mix(in srgb, #1F8FB8 18%, rgba(13, 22, 44, 0.65)) 100%)   ;
}
#set-apart p {
    padding-bottom: 0;
}
#set-apart .buttons {
    justify-content: center;
}



/* ==================================================
   examples
   ================================================== */
#examples {
    background: var(--bg-grad-cyan);
}



/* ==================================================
   cta
   ================================================== */
#cta {
    background: var(--bg-grad-quiet);
}
#cta .pod {
    border: 1px solid rgba(236, 72, 153, 0.30);
    position: relative;
    background: radial-gradient(ellipse 70% 80% at 90% 50%,
      rgba(236, 72, 153, 0.14) 0%,
      rgba(236, 72, 153, 0.05) 35%,
      transparent 65%),
    radial-gradient(ellipse 60% 60% at 5% 105%,
      rgba(77, 62, 159, 0.10) 0%,
      transparent 55%),
    linear-gradient(135deg,
      rgba(13, 22, 44, 0.75) 0%,
      rgba(13, 22, 44, 0.5) 100%);
    padding: 2rem 2.5rem
}
#cta h2 { 
    color: #fff;
    font-size: 28px;
    margin-bottom: 0.75rem;
    text-align: left;
}
#cta img {
    opacity: 0.22;
    pointer-events: none;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    filter: drop-shadow(0 0 24px rgba(236, 72, 153, 0.35))
          drop-shadow(0 0 60px rgba(236, 72, 153, 0.18))
}
#cta .button {
    background: #EC4899;
    border-color: #EC4899;
    color: #fff
}
#cta .button:hover {
    background-color: #DB2777;
    border-color: #DB2777;
}



/* ==================================================
   responsive
   ================================================== */
@media (max-width: 1200px) {
}


@media (max-width: 900px) {
    /*access options*/
    #access-options .content {
        grid-template-columns: 1fr;
    }
    #access-options h2 {
        grid-column-end: span 1;
    }
    .subpage #access-options h2 {
        grid-column-end: span 2;
    }


    /*use cases*/
    #use-cases .content > div {
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }
    #use-cases .content > div::after {
        display: none;
    }


    /*set apart*/
    #set-apart .content {
        grid-template-columns: 1fr;
    }
    #set-apart h2,
    #set-apart .buttons,
    #set-apart .pod.trusted {
        grid-column-end: span 1;
    }
}


@media (max-width: 600px) {
    /*access options*/
    .subpage #access-options .content {
        grid-template-columns: 1fr;
    }
    .subpage #access-options h2 {
        grid-column-end: span 1;
    }
}


@media (max-width: 320px) {
}


@media print {}
