@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@900&family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dangrek&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Poppins, sans-serif;
    background: white;
    overflow-x: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
img { /* Prevent selection/dragging of images */
    pointer-events: none;
    user-drag: none; 
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
button {
    font-family: Poppins, sans-serif;
    color: .white;
    background: #546DE5;
    font-weight: 600;
    padding: 8px 22px;
}
header {
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    height: 250px;
    padding-bottom: 160px;
    background: linear-gradient(to bottom, rgb(195, 195, 195), rgba(195, 195, 195, 0));
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-container {
    width: 100%;
    max-width: 930px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    padding-left: 23px;
}
.logo-container img {
    height: 43px;
    width: auto;
}
.button-right {
    margin-right: 18.5px;
    padding: 7.5px 17.5px;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(to right, #33D8B1, #7A8AF6, #F89ABA);
    text-decoration: none;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.45) inset;
}
.mainView {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: flex-end;
    width: 100%;
    height: 81vh;
    min-height: 550px;
    overflow: hidden;
}
.scrolling-images {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 2px;
    right: 0;
    bottom: 0;
    z-index: 1;
    transform: rotate(1.5deg);
}
.image-col img {
    width: 100%;
    height: auto;
    will-change: transform;
    transform: translateY(0);
}
.desktop-only {
    display: none;
}
.desktop-xl-only {
    display: none;
}
@media (min-width: 625px) {
    .scrolling-images {
        gap: 30px;
        padding: 0 30px;
    }
    .mobile-left, .mobile-right {
        flex: 0 0 calc((100% - 60px) / 3);
    }
    .desktop-only {
        display: block;
        flex: 0 0 calc((100% - 60px) / 3);
    }
}
/* New breakpoint for 4 columns */
@media (min-width: 1200px) {
    .scrolling-images {
        max-width: 1200px; /* Increased width for 4 columns */
        padding: 0 40px;
        gap: 40px;
    }

    .mobile-left, 
    .mobile-right,
    .desktop-only,
    .desktop-xl-only {
        flex: 0 0 calc((100% - 120px) / 4); /* 40px gap * 3 = 120px */
        display: block;
    }
}
.info {
    position: relative;
    z-index: 8;
    width: 100vw;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
    padding-top: 100px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}
.content {
    max-width: 900px;
    width: 100%;
    z-index: 10;
    text-align: left;
    color: black;
    margin: 0 30px 0px 30px;
}
.content h2 {
    font-size: 2.05em;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 25px;
}
.content a {
    padding: 10px 50px;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    background: #000;
    text-decoration: none; 
}
.taglineView {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 29px;
    z-index: 10;
    background: white;
}
.taglineView h1 {
    display: inline-block;
    align-self: flex-end;
}
.taglineView e {
    color: black;
}
.taglineView g {
    font-weight: 600;
    background: linear-gradient(to right, #40ceac, #7A8AF6);
    color: rgba(0,0,0,0.07);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}
h1,
h2 {
    font-weight: 500;
    font-size: 22px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 11px;
    max-width: 900px;
    padding: 35px;
    margin: 20px auto 20px auto;
    position: relative;
    justify-content: center;
}
.grid-container-background {
    justify-content: center;
    position: relative;
    max-height: 800px;
    background: url('Assets/cw-shadow.png') no-repeat center;
    background-size: 145% 165%;
    background-color: rgba(255,255,255,0.80);
    background-blend-mode: overlay;
    z-index: 8;
}
.grid-item {
    background: white;
    border-radius: 30px;
    padding: 15px;
    border-style: solid;
    border-color: rgb(242, 242, 242);
    border-width: 2px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    text-align: left;
}
.grid-item.small {
    height: auto;
    padding-right: 20px;
}
.grid-item.large {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}
.emoji {
    font-size: 55px;
    margin-top: -10px;
}
.spacer {
    flex-grow: 1;
}
.grid-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.15;
    padding-bottom: 3px;
}
.grid-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 5px;
}
.grid-item a {
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #546DE5;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-start;
    text-decoration: none;
    font-weight: 600;
}
.grid-container {
    perspective: 1000px;
}
.grid-item {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    will-change: transform;
}
.grid-item:hover {
    transform: scale(1.02);
}
.grid-item.warping {
    transform: perspective(1000px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) scale(1.02);
}
.grid-item.large.warping {
    transform: perspective(1000px) rotateX(var(--rotateX-large)) rotateY(var(--rotateY-large)) scale(1.01);
}
.designsView {
    margin-top: 30px;
    margin: 30px auto;
    max-width: 850px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.designsView h2 {
    padding-left: 22px;
    padding-right: 22px;
    font-size: 19px;
    margin-bottom: -240px;
    z-index: 3;
    padding-bottom: 195px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    max-width: 750px;
}
.designsView img {
    width: 90vw;
    max-width: 500px;
}
@media (min-width: 1000px) {
    .designsView {
        max-width: 850px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        position: relative;
    }
    .designsView h2 {
        font-size: 25px;
        max-width: 475px;
        text-align: left;
        margin-bottom: 0;
        margin-right: -150px;
        padding: 0;
        position: relative;
        background: none;
        z-index: 2;
    }
    .designsView::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 73%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        z-index: 1;
        pointer-events: none;
    }
    .designsView img {
        max-width: 550px;
        width: 40vw;
    }
}
.callToActionView {
    margin-top: 60px;
    margin-bottom: 30px;
    width: 100%;
    padding: 22px;
    color: white;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.callToActionView::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #40ceac, #546DE5);
    opacity: 0.75;
    transform: skewY(1.15deg);
    z-index: -1;
    pointer-events: none;
}
.qrImage {
    width: 150px;
    height: 150px;
    display: none;
}
.installButton {
    background-color: white;
    color: #317f9b;
    font-size: 18px;
    padding: 9px 40px;
    border: none;
    border-radius: 120px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 600;
}
.ctaContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}
.qrSection {
    display: none;
    font-size: 16px;
    margin-top: -15px;
}
.callToActionViewLogo img {
    margin-top: -80px;
    margin-bottom: 15px;
    width: 225px;
    height: auto;
    left: 0px;
    right: 0px;
}
.callToActionView h2 {
    font-size: 16px;
    font-weight: 400;
    max-width: 850px;
}
@media (min-width: 1024px) {
    .callToActionView {
        text-align: center;
        max-width: 100%;
        padding: 40px 0;
    }
    .ctaContainer {
        flex-direction: row;
        justify-content: space-between;
        max-width: 600px;
        width: 100%;
        align-items: center;
    }
    .qrSection {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .qrImage {
        display: block;
        margin-top: 0;
        width: 135px;
        height: 135px;
        margin-bottom: -25px;
    }
    .installButton {
        flex-shrink: 0;
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .callToActionView p {
        margin-top: 18px;
        opacity: 0.7;
    }
    .callToActionViewLogo img {
        margin-top: -110px;
        margin-bottom: 5px;
        width: 245px;
        height: auto;
    }
}
.faq-container {
    max-width: 825px;
    width: 95%;
    background: #f7f7f7;
    border-radius: 20px;
    padding: 20px 20px 4px 20px;
}
.faq-title {
    font-size: 18px;
    opacity: 0.4;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: left;
}
details {
    border-bottom: 3px solid #e8e8e8;
    padding: 15px 0;
    cursor: pointer;
    text-align: left
}
details:last-of-type {
    border-bottom: none;
}
details q2 {
    padding: 2px 12px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    white-space: nowrap;
    line-height: 2;
}
summary {
    font-size: 15px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
}
summary::after {
    content: '+';
    font-size: 23px;
    margin-bottom: -8px;
    margin-top: -7px;
    font-weight: 500;
    color: #888888;
    transition: transform 0.3s ease;
}
details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}
/* Specifically remove the triangle marker in Safari & Chrome */
details summary::-webkit-details-marker {
    display: none;
}
details p {
    text-align: left;
    margin-top: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}
hr {
    border: solid;
    height: 2.5px;
    color: #ebebeb;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 35px;
    overflow: hidden;
}
.footer {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #000;
    position: relative;
    margin: 0 auto;
    padding: 70px 20px 25px;
}
.footer-content-wrapper {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
}
.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
}
.footer-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2980ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 19px;
    margin-bottom: 25px;
    text-align: center;
}
.footer-social a {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
}
.footer-social img {
    width: 42px;
    height: 42px;
    transition: transform 0.3s ease;
    padding: 8px;
}
.footer-social img:hover {
    transform: scale(1.1);
}
.footer-text {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: -5px;
}
.footer-text .heart {
    font-size: 18px;
}
.footer-text a {
    font-weight: 500;
    text-decoration: none;
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}
.footer-location {
    font-size: 14px;
    font-weight: 400;
    color: #848484;
    margin-bottom: 32px;
}
.footer-location .flag {
    font-size: 17px;
}
.footer-copyright {
    font-size: 12.5px;
    line-height: 1.5;
    color: black;
    opacity: 0.7;
    padding-top: 2.5px;
    padding-bottom: 8px;
    padding-left: 30px;
    padding-right: 30px;
}
@media (min-width: 768px) {
    .footer-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .footer-links a {
        font-size: 16px;
    }
    .footer-content {
        justify-content: flex-start;
        text-align: left;
    }
    .footer-info {
        align-items: flex-start;
        text-align: left;
        margin-left: 120px;
    }
    .footer-copyright {
        font-size: 13px;
        padding-top: 15px;
    }
}

/* Dark Mode Overrides */
body.dark {
    background: #1d1d1d;
    color: #fff;
}
body.dark header {
    background: linear-gradient(to bottom, #1d1d1d, rgba(29, 29, 29, 0));
}
body.dark .info {
    background: linear-gradient(to bottom, rgba(29, 29, 29, 0), rgba(29, 29, 29, 0.9), rgba(29, 29, 29, 1));
}
body.dark .designsView h2 {
    background: linear-gradient(to bottom, #1d1d1d, rgba(29, 29, 29, 0));
}
/*body.dark header,*/
/*body.dark .taglineView,*/
/*body.dark .callToActionView,*/
body.dark .faq-container {
    background: #2f2f2f;
    color: #ffffff;
}
body.dark q2 {
    padding: 2px 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    white-space: nowrap;
    line-height: 2;
}
body.dark .grid-item {
    background: #2a2a2a;
    border-color: #333;
}
body.dark .grid-item h3,
body.dark e,
body.dark .content {
    color: #fff;
}
body.dark .grid-item p {
    color: white;
    opacity: 0.6;
}
body.dark .content a {
    background: #fff;
    color: #000;
}
body.dark .taglineView {
    background: #1d1d1d;
}
body.dark .button-right {
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.3) inset;
}
body.dark .installButton {
    color: #121212;
}
body.dark details {
    border-bottom: 3px solid #444;
}
body.dark details p {
    color: #cccccc;
}
body.dark details:last-of-type {
    border-bottom: none;
}
body.dark .footer-text,
body.dark .footer-text a,
body.dark .footer-copyright {
    color: #fff;
}
body.dark .footer-social img {
    filter: invert(1);
}
body.dark .footer-social a {
    background-color: rgba(255, 255, 255, 0.14);
}
body.dark hr {
    /*    border: 2px solid #292929;*/
    color: #292929;
}
body.dark .callToActionView::before {
    opacity: 0.23;
}
body.dark .grid-container-background {
    justify-content: center;
    position: relative;
    max-height: 800px;
    background: url('Assets/cw-shadow.png') no-repeat center;
    background-size: 125% 150%;
    background-color: rgba(29, 29, 29, 0.82);
    background-blend-mode: overlay;
    z-index: 8;
}

@media (min-width: 1000px) {
    body.dark .designsView h2 {
        background: rgba(255, 255, 255, 0);
    }
    body.dark .designsView::before {
        background: linear-gradient(to right, rgba(29, 29, 29, 1), rgba(29, 29, 29, 0.95), rgba(29, 29, 29, 0));
    }
}