﻿/* ===========================
   Typography & Text Styles
   =========================== */
/*.hero-section {
    padding-top: 160px;
    padding-bottom: 160px;
    min-height: 100vh;
    transition: padding 0.4s cubic-bezier(.55,0,.1,1), min-height 0.4s cubic-bezier(.55,0,.1,1);
}

    .hero-section.shrink {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 40vh;
    }

.gradient-text {
    background: linear-gradient(90deg, #08E0D6 25%, #8A2BE2 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    user-select: none;
}

    .gradient-text:focus {
        outline: none;
    }*/

.gradient-text {
    background: linear-gradient(90deg, #08E0D6 25%, #8A2BE2 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    user-select: none;
    display: inline-block; 
    padding-right: 0.1em; 
    word-break: break-word;
}

    .gradient-text:focus {
        outline: none;
    }

.hero-section {
    padding-top: 160px;
    padding-bottom: 160px;
    min-height: 100vh;
    transition: padding 0.4s cubic-bezier(.55,0,.1,1), min-height 0.4s cubic-bezier(.55,0,.1,1);
    overflow-x: hidden;
}

    .hero-section.shrink {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 40vh;
    }

/* Responsive typography for mobile */
@media (max-width: 600px) {
    .gradient-text {
        font-size: 4rem !important;
        line-height: 1.2;
    }
}

.full-width-divider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}


/* ===========================
   Buttons
   =========================== */


.gradient-text-button {
    background-color: transparent !important;
    color: transparent !important;
    background-image: linear-gradient(135deg, #08E0D6, #8A2BE2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    border: none;
    box-shadow: none;
}

    .gradient-text-button .mud-button-label {
        background-image: inherit;
        background-clip: inherit;
        -webkit-background-clip: inherit;
        -webkit-text-fill-color: inherit;
        text-fill-color: inherit;
        color: inherit !important;
    }

.gradient-button {
    background-image: linear-gradient(135deg, #08E0D6, #8A2BE2) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

    .gradient-button:hover {
        filter: brightness(1.1);
    }

/* ===========================
   Cards & Containers
   =========================== */
.glow-wrapper {
    position: relative;
    padding: 5px;
    border-radius: 12px;
    background: linear-gradient(135deg, #08E0D6, #8A2BE2);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 0 30px rgba(8, 224, 214, 0.5), 0 0 30px rgba(138, 43, 226, 0.5);
}

.glow-card {
    border-radius: 8px;
    padding: 1.25rem;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.glow-box {
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.glow-box-premium {
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    border-radius: 1rem;
}

.footer-wrapper {
    background-color: var(--mud-palette-background-paper);
    /*background: linear-gradient(to right, #001F2E, #1E002E);*/
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138,43,226,0.2), transparent);
    top: 20%;
    left: 10%;
    z-index: 0;
    filter: blur(80px);
}

.features-section {
    opacity: 0;
    transform: translateY(40px);
    transition: margin 0.4s cubic-bezier(.55,0,.1,1), opacity 0.6s ease, transform 0.6s ease;
}

    .features-section.lift {
        margin-top: 0;
        opacity: 1;
        transform: translateY(0);
    }

.gradient-section-wrapper {
    width: 100%;
}

.gradient-section-bg {
    position: relative;
    z-index: 0;
    background: linear-gradient(to right, #001F2E, #1E002E);
    overflow: hidden;
    
}

.darkmode-text-w {
    color: rgba(178,176,191,1) !important;
}

.wct-section-container {
    position: relative;
    z-index: 0;
}

.wct-section-bg {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: -1;
}

.wct-section-content {
    position: relative;
    z-index: 1;
    color: #b2b0bf;
}

.custom-faq-expansion .mud-expand-panel-icon {
    color: #8A2BE2 !important;
}


.custom-card {
    position: relative;
    border-radius: 16px;
    background-color: var(--mud-palette-surface); /* Base from MudBlazor theme */
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Needed to contain the overlay */
    z-index: 0; /* Context for ::before */
}

    .custom-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.06); /* Glassy veil */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); /* Safari */
        z-index: 1;
        pointer-events: none; /* Allow clicks through */
    }

    .custom-card > * {
        position: relative;
        z-index: 2; /* Ensure content is above the blur */
    }

    .custom-card:hover::before {
        background: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(14px);
    }



.icon-container {
    margin-bottom: 16px;
}



/* ===========================
   Background Glow Effects
   =========================== */
.glow-wrapper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* So it doesn’t block clicks */
    z-index: -1; /* Behind all content */
}

.glow-left {
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle, rgba(0,224,255,0.4) 0%, rgba(0,224,255,0.1) 40%, transparent 70%);
    filter: blur(90px);
    animation: pulseGlow 8s ease-in-out infinite;
}
.glow-bottom {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(165,102,255,0.2) 0%, transparent 70%);
    filter: blur(120px);
    animation: pulseGlow 10s ease-in-out infinite;
}

.glow-top-right {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 102, 204, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    animation: pulseGlow 12s ease-in-out infinite;
}

.cta-pulse {
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 10px rgba(0,255,255,0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(138,43,226,0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(0,255,255,0.3);
    }
}


@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}


/* ===========================
   Carousel & Testimonials
   =========================== */

.carousel-track {
    width: 100%;
}

.carousel-card-wrapper {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
    padding: 1rem;
    box-sizing: border-box;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    border-radius: 50%;
    transform: translateY(-50%);
}

.carousel-arrow-left {
    left: 8px;
}

.carousel-arrow-right {
    right: 8px;
}
.carousel-containerw {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    padding-top: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
    
.carousel-trackw {
    display: flex;
    transition: transform 0.5s cubic-bezier(.55,0,.1,1);
    will-change: transform;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 33.3333%; /* Each card takes exactly 1/3 of the container width */
    max-width: 33.3333%;
    box-sizing: border-box;
    padding: 0.5rem;
    transition: transform 0.3s cubic-bezier(.55,0,.1,1), box-shadow 0.3s;
}

    .testimonial-card .mud-card {
        overflow: visible !important;
        border-radius: 16px;
    }

    .testimonial-card.active {
        transform: scale(1.02);
        padding: .25rem;
        z-index: 2;
        filter: brightness(1.1);
    }

    .testimonial-card:not(.active) {
        opacity: 0.6;
        filter: grayscale(0.7) blur(1px);
        transform: scale(0.97);
    }

/* Responsive: On small screens, show 1-2 cards at a time instead of 3 */
@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Dots styling */
.dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.active-dot {
    background-color: #08E0D6;
}


/* ===========================
   Animations & Transitions
   =========================== */
.mud-icon-button {
    border-radius: 50% !important;
    padding: 8px !important;
    width: 40px;
    height: 40px;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s;
}

    .mud-icon-button:hover {
        background-color: rgba(138, 43, 226, 0.08); /* soft purple tint */
        box-shadow: 0 0 6px rgba(138, 43, 226, 0.2);
    }

.darkmode-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 12px; /* Optional spacing */
}

button, .mud-button {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    button:hover, .mud-button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
    }

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    opacity: 0;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .fade-in.in-view {
        opacity: 1;
    }

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .fade-in-up.in-view {
        opacity: 1;
        transform: translateY(0);
    }

/* ===========================
   Logo & Divider Transition
   =========================== */
#logo-img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.logo-scrolled {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.scroll-sensitive-divider {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.divider-scrolled {
    opacity: 0;
    transform: scaleY(0.8);
    pointer-events: none;
}

.scroll-sensitive-appbar {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.appbar-scrolled {
    opacity: 0.3;
    transform: scaleY(0.8);
}

/* ===========================
   Keyframes
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
