﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4Ny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ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.mt-section {
    z-index: 1;
    justify-content: center;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
    position: relative;
}

.mt-video {
    position: absolute;
    z-index: -1;
    width: 100%;
    left: 0;
    margin-top: -50px;
    height: auto;
}

.mt-app-font {
    font-family: 'Gotu';
}

.mythetech-icon {
    background-image: url(../typhon.png);
    background-size: contain;
    background-repeat: no-repeat;
    scale: 2;
}

.emphasis-card {
    background-color: rgba(33, 33, 33, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: solid 1px black;
    box-shadow: 0px 0px 3px 1px #C8F3FAff;
}

    .emphasis-card:hover {
        box-shadow: 0px 0px 4px 2px #C8F3FAff;
    }

.icon-azure {
    background-image: url(../icons/azure.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-aws {
    background-image: url(../icons/aws.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-rabbitmq {
    background-image: url(../icons/rabbitmq.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-masstransit {
    background-image: url(../icons/masstransit.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-nservicebus {
    background-image: url(../icons/nservicebus.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.glassmorphic-bg {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mud-button {
    text-transform: none !important;
}

.iris-bg {
    background: linear-gradient(180deg, #000000 20%, #000C38ff);
}

.gotu-regular {
    font-family: "Gotu", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    opacity: 1;
    font-weight: 600 !important;
}

.mud-appbar {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
 
    .mud-nav-link:hover:not(.mud-nav-link-disabled){
        color: var(--mud-palette-primary)!important;
    }

.typewriter {
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 2px solid black; 
    width: 0; 
    display: inline-block; 
}

.typewriter.first {
    animation: typing1 3s steps(30, end) forwards;
}

.typewriter.second {
    animation: typing2 3s steps(40, end) forwards;
    animation-delay: 3.5s; 
}

.cursor {
    display: inline-block;
    animation: blink 0.5s step-end infinite;
}


@keyframes typing1 {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes typing2 {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from {
        border-right-color: black;
    }
    to {
        border-right-color: transparent;
    }
}

.apollo-button {
    color: #B28228!important;
    background: linear-gradient(45deg, #FFB606, transparent 70%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    &:hover {
        box-shadow: 0px 0px 0.2em 0.1em #FFB606;
    }
}

.shadow-container {
    position: relative;
    display: inline-block; 
}

.shadow-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    pointer-events: none; 
    box-shadow: inset 0 0 25px 50px rgba(0, 0, 0, 1),
    inset 0 2px 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 1px rgba(0, 0, 0, 1);
    z-index: 1; 
    border-radius: 10px; 
}

.flex-primary {
    order: 2;
}

.flex-secondary {
    order: 1;
}

@media (max-width: 600px)
{
    .flex-primary {
        order: 1;
    }
    .flex-secondary {
        order: 2;
    }
}

.hover-card {
    box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.05),
            0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.1),
            0 0 15px rgba(255, 255, 255, 0.7),
            0 0 6px 1px var(--mud-palette-primary);
}

/* Landing Page Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #000C38 70%, #001F5C 100%);
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(83, 160, 255, 0.15) 0%, rgba(0, 0, 0, 0) 60%),
                radial-gradient(circle at top left, rgba(255, 182, 6, 0.08) 0%, rgba(0, 0, 0, 0) 70%),
                radial-gradient(circle at bottom right, rgba(87, 197, 83, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    animation: rotateGradient 30s linear infinite;
    z-index: -1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Particle animations */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float 15s ease-in infinite;
}

.particle1 {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    background: radial-gradient(circle, rgba(83, 160, 255, 0.2) 0%, rgba(83, 160, 255, 0) 70%);
    animation-delay: 0s;
}

.particle2 {
    width: 120px;
    height: 120px;
    left: 70%;
    top: 50%;
    background: radial-gradient(circle, rgba(255, 182, 6, 0.1) 0%, rgba(255, 182, 6, 0) 70%);
    animation-delay: 2s;
}

.particle3 {
    width: 100px;
    height: 100px;
    left: 30%;
    top: 80%;
    background: radial-gradient(circle, rgba(87, 197, 83, 0.15) 0%, rgba(87, 197, 83, 0) 70%);
    animation-delay: 4s;
}

.particle4 {
    width: 150px;
    height: 150px;
    left: 50%;
    top: 30%;
    background: radial-gradient(circle, rgba(83, 160, 255, 0.1) 0%, rgba(83, 160, 255, 0) 70%);
    animation-delay: 6s;
}

.particle5 {
    width: 70px;
    height: 70px;
    left: 80%;
    top: 70%;
    background: radial-gradient(circle, rgba(255, 182, 6, 0.15) 0%, rgba(255, 182, 6, 0) 70%);
    animation-delay: 8s;
}

.particle6 {
    width: 90px;
    height: 90px;
    left: 20%;
    top: 40%;
    background: radial-gradient(circle, rgba(87, 197, 83, 0.1) 0%, rgba(87, 197, 83, 0) 70%);
    animation-delay: 10s;
}

.particle7 {
    width: 110px;
    height: 110px;
    left: 65%;
    top: 15%;
    background: radial-gradient(circle, rgba(83, 160, 255, 0.15) 0%, rgba(83, 160, 255, 0) 70%);
    animation-delay: 12s;
}

.particle8 {
    width: 130px;
    height: 130px;
    left: 40%;
    top: 65%;
    background: radial-gradient(circle, rgba(255, 182, 6, 0.1) 0%, rgba(255, 182, 6, 0) 70%);
    animation-delay: 14s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    25% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.2;
    }
    75% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-40px) scale(1);
        opacity: 0;
    }
}

.hero-text-container {
    padding: 2rem;
    position: relative;
}

.hero-title {
    /*font-size: 3.5rem;*/
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #C8F3FA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-image-container {
    padding: 2rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(200, 243, 250, 0.3));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.product-overview-section {
    background-color: #050a14;
    position: relative;
}

.product-card {
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(200, 243, 250, 0.15);
}

.demo-section {
    background: linear-gradient(135deg, #000C38 0%, #000000 100%);
}

.demo-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(30, 30, 30, 0.4);
    border: 2px dashed rgba(200, 243, 250, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(200, 243, 250, 0.7);
}

/* Product-specific styling */
.iris-product-card {
    border-top: 4px solid #53a0ff;
    box-shadow: 0 0 15px rgba(83, 160, 255, 0.15);
}

.iris-product-card:hover {
    box-shadow: 0 5px 25px rgba(83, 160, 255, 0.25);
}

.apollo-product-card {
    border-top: 4px solid #FFB606;
    box-shadow: 0 0 15px rgba(255, 182, 6, 0.15);
}

.apollo-product-card:hover {
    box-shadow: 0 5px 25px rgba(255, 182, 6, 0.25);
}

.apollo-action-button {
    background-color: #FFB606 !important;
    color: #000 !important;
}

.apollo-action-button:hover {
    background-color: #e6a506 !important;
    box-shadow: 0 0 10px rgba(255, 182, 6, 0.4);
}

.opensource-product-card {
    border-top: 4px solid #57c553;
    box-shadow: 0 0 15px rgba(87, 197, 83, 0.15);
}

.opensource-product-card:hover {
    box-shadow: 0 5px 25px rgba(87, 197, 83, 0.25);
}

.opensource-action-button {
    background-color: #57c553 !important;
    color: #000 !important;
}

.opensource-action-button:hover {
    background-color: #4caf50 !important;
    box-shadow: 0 0 10px rgba(87, 197, 83, 0.4);
}

.hero-subtitle {
    opacity: 0.95;
    max-width: 85%;
}

.demo-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.features-section {
    background-color: #050a14;
}

.feature-item {
    background-color: transparent;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.cta-section {
    background: linear-gradient(135deg, #000000 0%, #000C38 100%);
}

.cta-paper {
    background-color: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 960px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 6rem;
    }
    
    .hero-image {
        max-width: 90%;
        margin: 2rem auto;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

.sign-up-button {
    min-width: 13rem;
    border-radius: 2rem;
    border: solid 1px var(--mud-palette-lines-default);
}

.mythetech-sign-up-button {
    background: linear-gradient(45deg, var(--mud-palette-tertiary), var(--mud-palette-secondary));
    transition: background 0.3s ease;
}

.mythetech-sign-up-button:hover {
    background: linear-gradient(45deg, var(--mud-palette-tertiary) 25%, var(--mud-palette-secondary));
    box-shadow: 0px 0px 0.2em 0.1em var(--mud-palette-secondary);
}

/* Siren Styles */
.siren-product-card {
    border-top: 4px solid #64B5F6;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.15);
}

.siren-product-card:hover {
    box-shadow: 0 5px 25px rgba(100, 181, 246, 0.25);
}

.siren-action-button {
    background: linear-gradient(135deg, #1E88E5 0%, #64B5F6 100%) !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.siren-action-button:hover {
    background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%) !important;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.5);
}

.siren-features-section {
    background: linear-gradient(180deg, #050a14 0%, #0a1628 50%, #050a14 100%);
}

.siren-downloads-section {
    background: linear-gradient(135deg, #000C38 0%, #0a1628 50%, #000000 100%);
}

.siren-download-card {
    border-top: 4px solid #64B5F6;
    background-color: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.siren-download-card:hover {
    box-shadow: 0 5px 25px rgba(100, 181, 246, 0.25);
}

.siren-github-section {
    background: linear-gradient(135deg, #000000 0%, #0a1628 100%);
}

.siren-cta-paper {
    background-color: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.siren-placeholder-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(100, 181, 246, 0.05) 100%);
    border: 2px dashed rgba(100, 181, 246, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(100, 181, 246, 0.5);
    gap: 1rem;
}

/* About Page Styles */
.about-hero-section {
    background: linear-gradient(180deg, #000000 0%, #000000 70%, #000510 100%);
    padding: 8rem 0 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-section-blend {
    height: 15vh;
    min-height: 100px;
}

.about-blend-hero-to-iris {
    background: linear-gradient(180deg, #000510 0%, #000C38 100%);
}

.about-iris-section {
    background: linear-gradient(180deg, #000C38 0%, #001a4d 50%, #000C38 100%);
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.iris-accent-text {
    color: #53a0ff;
}

.about-blend-iris-to-apollo {
    background: linear-gradient(180deg, #000C38 0%, #0a0a08 50%, #1a1200 100%);
}

.about-apollo-section {
    background: linear-gradient(180deg, #1a1200 0%, #2a1f00 50%, #1a1200 100%);
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.apollo-accent-text {
    color: #FFB606;
}

.about-blend-apollo-to-siren {
    background: linear-gradient(180deg, #1a1200 0%, #0a0f18 50%, #0a1628 100%);
}

.about-siren-section {
    background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    padding: 6rem 0 8rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.siren-accent-text {
    color: #64B5F6;
}

.about-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.about-product-image:hover {
    transform: scale(1.02);
}

@media (max-width: 960px) {
    .about-hero-section,
    .about-iris-section,
    .about-apollo-section,
    .about-siren-section {
        padding: 4rem 1rem;
        min-height: auto;
    }
    
    .about-section-blend {
        height: 10vh;
        min-height: 60px;
    }
}