#hero {
    min-height: 400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    padding: 24px 42px;
    background-color: var(--softGrey);
    color: var(--medTextGrey);
    text-align: left;
    gap: 40px;
    padding-top:100px;
}
.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 5;
}
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 400px;
    height: 460px;
    margin-right: 20px;
}
.button {
    padding: 12px 24px;
    color: var(--medTextGrey);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--accountingGrey);
    background-color: var(--softGreyTrans);
    width: fit-content;
    align-items: center;
    gap: 6px;
    transition: 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.button p {
    font-size: 20px;
}
.bad-bg {
    box-shadow:-12px -12px 36px 0px #FFFFFF, 12px 12px 36px 0px #BFBFBF;
    background: radial-gradient(circle, var(--BadPinkLowTrans), var(--BadOrangeLowTrans));
}
.bad-bg:hover {
    box-shadow:-24px -24px 72px 0px #FFFFFF, 24px 24px 72px 0px #BFBFBF;
    background: radial-gradient(circle, var(--BadPinkTrans), var(--BadOrangeTrans));
}
.bad-bg-inverse {
    color: var(--offWhite);
    background: radial-gradient(circle, var(--BadPink), var(--BadOrange));
}
.bad-bg-inverse svg {
    color: var(--offWhite) !important;
}
.bad-bg-inverse:hover {
    color: var(--accountingGrey);
    background: radial-gradient(circle, var(--BadPinkTrans), var(--BadOrangeTrans));
}
.bad-bg-inverse:hover svg {
    color: var(--accountingGrey);
}

.button:hover {
    transform: scale(1.025);
}
.button:active {
    transform: scale(0.975);
}
.icon-button svg {
    width: 24px;
    height: 24px;
    color: var(--medTextGrey);
}
h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0px 4px 4px #1a1a1a25;
    color: var(--newBlack);
}
#hero p:not(:last-child) {
    font-size: 24px;
    position: relative;
    top: -12px;
}
b {
    font-weight: 600;
}
#products-section {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 24px 42px;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
#products-section a {
    text-decoration: none;
}
#products-section article {
    width: 300px;
    height: 150px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--medTextGrey);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--newBlack);
    transition: 0.2s ease;
}
#products-section article h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--offWhite);
    text-decoration: none;
    z-index: 1;
}
#products-section article::after {
    content:'';
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    filter: blur(8px);
    transition: 0.2s ease;
}
.clockwork-product article::after {
    background-image: url('/graphics/clockworksample.png');
}
.badstrap-product article::after {
    background-image: url('/graphics/badstrapsample.png');
}
.migreat-product article::after {
    background-image: url('/graphics/migreatproductgraphic.png');
}
.your-next-product article::after {
    background-image: url('/graphics/yourproductsample.png');
}
#products-section article:hover {
    transform: scale(1.025);
    animation: bad-bg-hover infinite 1s ease;
}
#products-section article:active {
    transform: scale(0.975);
}
#products-section article:hover::after {
    filter: blur(0px);
}
#product-dev-section {
    display: flex;
    flex-direction: row;
    height: 350px;
    gap: 8px;
    padding: 24px;
    justify-content: space-around;
    align-items: center;
    width: calc(100% - 168px);
    margin: 0 auto;
    background: var(--conicBG__dark);
    border-radius: 24px;
    box-shadow: var(--cardShadow);
    border: 1px solid var(--greyTrans);
    margin-top: 48px;
    position: relative;
}

.product-dev-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--BadOrangeLowTrans);
    color: var(--offWhite);
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    z-index: 10;
    border: 1px solid var(--greyTrans);
    border-bottom: 4px solid var(--greyTrans);
}

.product-dev-chip:hover {
    background: var(--BadOrangeTrans);
    transform: scale(1.05);
}

#product-dev-section .product-dev-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}
.product-dev-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
    width: 40%;
    height: 100%;
}
#product-dev-section .product-dev-head h2 {
    font-size: 52px;
    color: var(--offWhite);
    position: relative;
    font-weight: 400;
}
#product-dev-section .product-dev-head p {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accountingGrey);
    position: relative;
    margin-top: -12px;
}
.product-dev-content p {
    font-size: 18px;
    color: var(--accountingGrey);
    text-align: left;
}
.product-dev-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 40%;
}
.product-dev-graphic img {
    max-width: 350px;
    filter: drop-shadow(0px 0px 8px var(--newBlack));
}
@keyframes bad-bg-hover {
    0% {
        box-shadow: 
            0 0 15px var(--BadPink),
            0 0 30px var(--BadPink),
            0 0 45px var(--BadPinkTrans);
    }
    33% {
        box-shadow: 
            0 0 20px var(--BadOrange),
            0 0 35px var(--BadOrange),
            0 0 50px var(--BadOrangeTrans),
            0 0 65px var(--BadOrangeTrans);
    }
    66% {
        box-shadow: 
            0 0 25px var(--BadPink),
            0 0 40px var(--BadPinkTrans),
            0 0 55px var(--BadPink),
            0 0 70px var(--BadPinkTrans);
    }
    100% {
        box-shadow: 
            0 0 15px var(--BadPink),
            0 0 30px var(--BadPink),
            0 0 45px var(--BadPinkTrans);
    }
}
#testimonial-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    margin-top: 48px;
    margin-bottom: 48px;
    width: calc(100% - 48px);
    margin: 0 auto;
    margin-top: 42px;
}

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 24px;
    position: relative;
    width: calc(100% - 100px);
}

.testimonial-container {
    display: flex;
    position: relative;
    transition: transform 0.5s ease;
    width: auto;
}

#testimonial-section article {
    border-radius: 24px;
    background: var(--conicBG__light);
    box-shadow: var(--cardShadow__INSET_ONLY);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    width: 400px;
    min-width: 400px;
    height: 150px;
    text-align: left;
    gap: 12px;
    margin: 0 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.95);
}

#testimonial-section article.active {
    opacity: 1;
    transform: scale(1);
}

#testimonial-section article:not(:first-child, :nth-child(2)) {
    filter: blur(8px);
}

#testimonial-section .testimonial-text{
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.03em;
    color: var(--newBlack);
}
#testimonial-section .testimonial-text b {
    font-weight: 500 !important;
}
#testimonial-section .testimonial-author {
    font-size: 18px;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
}
#testimonial-section article img {
    max-width: 72px;
}
.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
#testimonial-section h2 {
    font-size: 42px;
    color: var(--newBlack);
    width: 100%;
    text-align: left
}
.testimonial-nav {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--medTextGrey);
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-nav:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.testimonial-nav.prev {
    left: -50px;
}

.testimonial-nav.next {
    right: -50px;
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav svg {
    width: 24px;
    height: 24px;
}

#philosophy-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    margin-top: 48px;
    margin-bottom: 48px;
    width: calc(100% - 168px);
    gap: 24px;
    margin: 0 auto;
    margin-top: 42px;
    color: var(--accountingGrey);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background-color: var(--newBlack);
    background: 
        linear-gradient(45deg, var(--BadOrangeTrans) -100%, var(--newBlackTrans) 50%),
        linear-gradient(225deg, var(--BadPinkTrans) -100%, var(--newBlackTrans) 50%),
        var(--newBlack);
    box-shadow: var(--cardShadow);
    border: 1px solid var(--greyTrans);
}
.philosophy-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 100%;
    text-align: left;
}
.philosophy-head  h2 {
    font-size: 52px;
    color: var(--offWhite);
    text-align: left;
    font-weight: 400;
}
.philosophy-container p:not(.philosophy-head p) {
    font-size: 18px;
    color: var(--accountingGrey);
    text-align: left;
    width: 65%;
}
.philosophy-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 250px;
    position: relative;
    padding: 10px 0;
}
.philosophy-cards .philo-card-placeholder {
    border: 2px dashed var(--accountingGrey);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}
.philosophy-cards.drag-active {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}
.philo-card {
    width: 300px;
    height: 250px;
    border-radius: 12px;
    background-color: var(--newBlackTrans);
    box-shadow: var(--cardShadow);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #cccccc10;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: element;
    position: relative;
}
.philo-card h3 {
    font-size: 32px;
    font-weight: 400;
    color: var(--offWhite);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.philo-card .philo-hidden-content {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    height: 200%;
}
.philo-card:hover .philo-hidden-content {
    display: flex;
}

/* Disable hover effects when a card is being dragged */
.card-being-dragged .philo-card:not(.dragging):hover .philo-hidden-content {
    display: none;
}

.philo-card.dragging {
    opacity: 0.7;
    cursor: grabbing;
    box-shadow: 0 0 15px var(--BadPink);
    z-index: 1000;
    transition: none;
}

.philo-card:active {
    cursor: grabbing;
}

.philo-card.animating {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

@keyframes card-shift {
    0% { transform: translateX(0); }
    50% { transform: translateX(var(--shift-x, 0)); }
    100% { transform: translateX(0); }
}
@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pricing-card {
    background-color: var(--mintGreenTrans);
}
.ownable-card {
    background-color: #a1c5ff20;
}
.mutual-equity-card {
    background-color: var(--BadOrangeLowTrans);
}
.in-house-card {
    background-color: #741c8620;
}
@media (max-width: 1366px) {
    #products-section article {
        width: 250px;
        height: 125px;
    }
}
@media (max-width: 1100px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding: 48px 24px;
        padding-top: 100px;

    }
    .hero-content {
        max-width: 1100px;
        align-items: center;
    }
    #hero p:not(:last-child) {
        font-size: 16px !important;
        position: relative;
        top: -12px;
    }
    #products-section {
        padding: 24px 12px;
    }
    #products-section article {
        width: 180px;
        height: 100px;
        border-radius: 24px;
    }
    #products-section article h3 {
        font-size: 18px !important;
    }
    h1 {
        font-size: 28px !important;
    }
    .button p {
        font-size: 18px;
    }
    .button {
        padding: 6px 12px !important;
        margin: 0 auto;
    }
    .icon-button svg {
        width: 20px !important;
        height: 20px !important;
    }
    .testimonial-container {
        width: 320px;
    }
    
    #testimonial-section article {
        width: 300px;
        min-width: 300px;
    }
    
    .testimonial-nav {
        width: 36px;
        height: 36px;
    }
    
    .testimonial-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .testimonial-nav.prev {
        left: -40px;
    }
    
    .testimonial-nav.next {
        right: -40px;
    }
    
    .testimonial-wrapper {
        max-width: 440px;
    }
    #product-dev-section {
        flex-wrap: wrap;
        flex-direction: column;
        height: auto;
        width: calc(100% - 48px);
        padding: 12px;
        padding-top: 36px;
    }
    .product-dev-chip {
        top: 8px;
        right: 8px;
        font-size: 12px;
        padding: 4px 8px;
    }
    .product-dev-container {
        width: 100%;
        gap: 24px;
    }
    .product-dev-graphic {
        width: 100%;
    }
    .product-dev-container .button p {
        font-size: 16px !important;
    }
    .testimonial-text {
        font-size: 16px !important;
    }
    .testimonial-author {
        font-size: 16px !important;
    }
    .philosophy-container p:not(.philosophy-head p) {
        font-size: 16px !important;
        width: 100%;
    }
    #product-dev-section .product-dev-head h2 {
        font-size: 32px !important;
    }
    #product-dev-section .product-dev-head p {
        margin-top: 0px;
    }
    #philosophy-section {
        flex-wrap: wrap;
        flex-direction: column;
        height: auto;
        width: calc(100% - 48px);
        padding: 12px;
    }
    .philosophy-container {
        flex-direction: column;
        display: flex;
    }
    .philosophy-cards {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    .philosophy-cards .philo-card {
        width: 40%;
        height: 180px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-user-drag: none;
        cursor: pointer;
    }
    .philo-card h3 {
        font-size: 18px !important;
    }
    .philo-card .philo-hidden-content p {
        font-size: 16px !important;
    }
    .hero-visual {
        margin-right: 0px;
    }
}

@media (max-width: 400px) {
    #products-section article {
        width: 150px;
        height: 75px;
    }
}