body {
    margin: 0;
    font-family: sans-serif;
    background: #0854a2;
    font-family: 'Gayathri', 'Arial', sans-serif;
}
#logo{
    position: fixed;
    width: 75px;
    height: 75px;
    left: 0px;
    top: -0px;
    z-index: 1000;
}
#banner-title {
    width: 100vw;
    background: linear-gradient(90deg, #256b7f 0%, #28c3f1 100%);
    color: #fff;
    padding: 2.5rem 0 1.5rem 0;
    padding-left: 1rem;
    font-family: 'Gayathri', Arial, sans-serif;
    box-shadow: 0 2px 8px #0002;
    border-bottom: 1px solid white;
}
#banner-title h1 {
    font-size: 2.5rem;
    font-weight: 100;
    letter-spacing: 0.03rem;
}
#banner-title p {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.03rem;
}
#banner-title .languages {
    font-weight: 100;
    color: #fffbe7;
    font-size: 1.1rem;
    letter-spacing: 0em;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    box-shadow: 0 1px 1px 2px #256b7fa5, 0 1px 1px white;
    z-index: 10;
}
nav ul {
    display: flex;
    list-style: none;
    margin: 0.2rem;
    padding: 0.5em 2em;
    justify-content: center;
}
nav li {
    margin-left: 0.5em;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 0.25em 0.5em;
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
}
nav a:hover,
nav a:focus {
    background: #28c3f1;
    color: #222;
}
nav a.active {
    background: #fff;
    color: #256b7f;
    font-weight: 900;
}

/* Override for Order button to make it more prominent */
nav a.order-highlight {
    background: #d32f2f8e; /* Brighter red */
    color: #fff;
    border-radius: 999px;
    padding: 0.35em 0.9em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-weight: 900;
}

nav a.order-highlight:hover,
nav a.order-highlight:focus {
    background: #f44336; /* Bright red on hover */
}

h2 {
    border-bottom: 1px solid white;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.15);
}
h3 {
    color: #ffffff;
    text-align: center;
    font-size: x-large;
    border: 1px solid white;
    font-weight: 800;
    padding: 1rem;
    border-radius: 15px;
    background-image: linear-gradient( rgba(255, 255, 255, 0.362) 0%, rgba(255, 0, 0, 0.131) 50%, rgba(0, 0, 0, 0.23) 100%);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.87);
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.15);
}
p{
    text-align: justify;
}

.subtitle {
    text-align: center;
}
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 1rem 0 3rem 0;
    transition: background 0.5s;
    position: relative;
}
.section:nth-of-type(1) {
    background: linear-gradient(90deg, #f7a02f 0%, #e3f0ff 100%);
}
.section:nth-of-type(2) {
    background: linear-gradient(90deg, #5691a1 0%, #28c3f1 100%);
}
.section:nth-of-type(3) {
    background: linear-gradient(90deg, #f7a02f 0%, #f7a132 100%);
}
.section:nth-of-type(4) {
    background: linear-gradient(90deg, #8fc7ff 0%, #28c3f1 100%);
}
.section:nth-of-type(5) {
    background: linear-gradient(90deg, #f7a132 0%, #fbeee6 100%);
}
.section:nth-of-type(6) {
    background: linear-gradient(90deg, #256b7f 0%, #e3f0ff 100%);
}

.circle-img {
    aspect-ratio: 1 / 1;
    width: 350px;
    max-width: 100%;
    min-width: 150px;
    min-height: 150px;
    max-height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: absolute;
    top: 50%;
    box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.25);
    transform: translateY(-50%);
    transition: left 0.8s cubic-bezier(0.77,0,0.175,1), right 0.8s cubic-bezier(0.77,0,0.175,1);
    z-index: 3;
}
.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content {
    width: 50vw;
    margin-top: 3rem;
    max-width: 1100px;
    padding: 1rem;
    z-index: 2;
    position: relative;
    transition: opacity 0.5s;
}
.section.left .circle-img {
    left: 5%;
    right: auto;
    z-index: 11;
}
.section.left .content {
    margin-left: 400px;
    text-align: left;
    box-shadow: inset 2px 0px 2px rgba(0, 0, 0, 0.671);
}
.section.right .circle-img {
    right: 5%;
    left: auto;
}
.section.right .content {
    margin-right: 400px;
    text-align: right;
    box-shadow: inset -2px 0px 2px rgba(0, 0, 0, 0.671);
}
ul {
    padding-left: 1.2em;
    text-align: left;
}
.solution-list {
    margin: 1em 0 0 0;
    padding-left: 1.2em;
    text-align: left;
    list-style-type: disc;
}
.solution-list li {
    margin-bottom: 0.5em;
}
.not-included {
    font-weight: 6500;
    font-size: 1.2rem;
    color: rgb(255, 0, 0);
    text-shadow: 0px 1px 5px rgba(0,0,0,0.9);
    
}
.not-keyboard,
.not-mouse {
    text-decoration: underline;
    font-weight: 700;
    color: #ffad42;
}
.not-word {
    font-weight: 700;
    color: #ff9100;
    text-decoration: underline;
}
.screenshot {
    overflow: visible;
    box-shadow: none;
}
.screenshot img {
    width: 50%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(40,195,241,0.25));
    position: relative;
    left: 0;
    top: 0;
    z-index: 4;
}
.section h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5em;
    margin-top: 0.25em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 0 #ffffffb5, 2px 2px 2px #2c96ff, 0 4px 12px rgba(0, 0, 0, 0.808);
}
.content {
    background-color: rgba(255,255,255,0.25);
    border-radius: 5px;
}
#bottom-of-page {
    margin-bottom: 1vh;
}
.board-description img {
    max-width: 150px;
    max-height: 250px;
}
.board-description {
    position: relative;
    z-index: 11;
    left: 5px;
    top: 160px;
}
#price {
    font-size: 1.75rem;
    font-weight: 900;
    text-align: right;
}

.app-screenshot {
    text-align: center;
    margin: 2rem 0;
}

.app-screenshot img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

@media (max-width: 850px) {
    .navigation li{
        font-size: .5rem;
    }
    .section {
        flex-direction: column;
        align-items: flex-start;
        min-height: unset;
        padding: 2.5em 0 2em 0;
    }
    .circle-img {
        position: static;
        margin: 0 auto 0.25rem auto;
        width: 220px;
        min-width: 120px;
        max-width: 90vw;
        height: auto;
        aspect-ratio: 1 / 1;
        transform: none;
        left: unset;
        right: unset;
    }
    .content {
        margin: 0 auto;

        min-width: 270px;
        max-width: 99vw;
        text-align: left;
        padding: 0.5rem 1rem;
    }
    .section.left .circle-img {
        z-index: 3;
    }
    .section.left .content,
    .section.right .content {
        margin: 0 auto;
        text-align: left;
    }
    h2 {
        font-size: 1.2rem;
    }
    .board-description img {
        max-width: 150px;
        max-height: 250px;
    }
    .board-description {
        position: relative;
        z-index: 11;
        left: -5px;
        top: -20px;
    }
}
@media (max-width:400px) {
    #logo {
        z-index: 5;
    }
}
.image-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin: 2em auto 0 auto;
    width: 900px; /* fixed width for gallery */
    max-width: 98vw;
}

.gallery-image-wrapper {
    width: 600px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px #0002;
    background: #fff;
    object-fit: contain;
}

/* Triangle buttons using only borders */
.gallery-btn {
    width: 40px;
    height: 40px;
    background: #28c3f1;
    cursor: pointer;
    outline: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s;
    transform-origin: center;
}

.gallery-prev {
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    margin-right: 1em;
}

.gallery-next {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin-left: 1em;
}

/* Hover/focus color and bounce */
.gallery-btn:hover,
.gallery-btn:focus {
    filter: drop-shadow(0 0 8px #a3ebff);
    background: #29d1ff;
    animation: bounce 0.25s;
}

/* Spin on click */
.gallery-btn.spin.gallery-next {
    animation: spin-right 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
.gallery-btn.spin.gallery-prev {
    animation: spin-left 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}

/* Animations */
@keyframes bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}
@keyframes spin-right {
    0% { transform: rotate(0deg); }
    80% { transform: rotate(360deg); }
    100% { transform: rotate(360deg) scale(1.1); }
}
@keyframes spin-left {
    0% { transform: rotate(0deg); }
    80% { transform: rotate(-360deg); }
    100% { transform: rotate(-360deg) scale(1.1); }
}

.instructions-blurb {
    margin: 2em auto 0 auto;
    /* max-width: 600px; */
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 1em 1.5em;
    box-shadow: 0 2px 2px #0001;
}
.instructions-blurb h3 {
    margin-top: 0;
    font-size: 1.5em;
    text-align: center;
}
.instructions-blurb ul {
    padding-left: 1.2em;
    margin: 0.5em 0 0 0;
}
.instructions-blurb li {
    margin-bottom: 0.5em;
    font-size: 1em;
}

.bottom-silhouette {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 60%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(to top, #0854a2 50%, transparent 100%);
}
.bottom-silhouette img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    opacity: 0.15;
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

/* PURCHASE VIA STRIPE */
/* Make product options use full available width */
.product-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem auto;
    width: 100%;
    max-width: 1100px;
}

/* Make payment info use full available width too */
.payment-info {
    background: rgba(255,255,255,0.9);
    border-left: 4px solid #28c3f1;
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    width: 90%;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-info strong {
    color: #0854a2;
}

.product {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    transition: transform 0.15s, box-shadow 0.2s;
    border: 3px solid;
}

.product:hover {
    box-shadow: 0 -4px 32px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

/* Product-specific colors */
.standard-product {
    border-color: #28c3f1;
    background: linear-gradient(135deg, rgba(40,195,241,0.1) 0%, rgba(255,255,255,0.95) 100%);
}

.pro-product {
    border-color: #f7a02f;
    background: linear-gradient(135deg, rgba(247,160,47,0.1) 0%, rgba(255,255,255,0.95) 100%);
    position: relative;
}

.pro-product::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -10px;
    right: 10px;
    background: #f7a02f;
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


.sd-product {
    border-color: #256b7f;
    background: linear-gradient(135deg, rgba(37,107,127,0.1) 0%, rgba(255,255,255,0.95) 100%);
}

.product-image {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    margin: 0 auto 1.5rem auto;
    background: #f5f5f5;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product h3 {
    color: #0854a2;
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.product .price {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.standard-product .price { color: #115d74; }
.pro-product .price { color: #422500; }
.sd-product .price { color: #256b7f; }

.features {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.features li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.buy-btn {
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Gayathri', Arial, sans-serif;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.standard-btn {
    background: linear-gradient(45deg, #28c3f1 0%, #256b7f 100%);
}

.pro-btn {
    background: linear-gradient(45deg, #f7a02f 0%, #f7a132 100%);
}

.sd-btn {
    background: linear-gradient(45deg, #256b7f 0%, #0854a2 100%);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.buy-btn:active {
    transform: translateY(0);
}

#div-order {
    padding-top: 35vh; /* Make space for banner */
}
/* Override content constraints for Order section */
#div-order .content {
    width: 95vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
}


@media (max-width: 850px) {
    #div-order {
        padding-top: 40vh;
    }
    #order .content {
        width: 75vw;
        margin-left: auto;
        margin-right: auto;
        padding: 0.5rem 1rem;
    }
    
    .product-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 2rem auto;
        width: 100%;
    }
    
    .product {
        max-width: 60vw;
        min-width: unset;
        width: 100%;
    }
    
    .product-image {
        width: 55vw;
    }
    
    .payment-info {
        width: 55vw;
    }

    .app-screenshot img {
        max-height: 250px; /* Smaller on mobile */
    }
}

.side-by-side-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px black;
    background-image: url("./img/h.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    z-index: 1;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1em 0; /* space between paragraphs */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}