* {
    box-sizing: border-box;
}

:root {
    
    -webkit-tap-highlight-color: transparent;

    scroll-behavior: smooth;

    --system-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; 
    --body-background-color: rgb(23, 23, 23);
    --body-background-color:  rgb(8, 19, 24);
    --text-color: rgba(255, 255, 255, 1.0);
    --card-background-color: rgb(46, 69, 89);
    --card-2-background-color: rgb(23, 34, 44);
    --banderole-background-color: rgb(5, 30, 35);
    --feature-text-color: rgb(100, 175, 183, 0.7);    
    --snake-color: rgba(66, 18, 102, 0.3);
    --snake-color: rgba(174, 97, 232, 0.5);
    --snake-color: rgba(255, 255, 255, 0.15);
    --overlay-background-color: rgba(255,255,255,0.05);
    --tint-contrast-color: white;

    --cta-color: rgb(175, 90, 240);
    --cta-color-darker: rgb(136, 67, 188);
    --snake-highlighted-color: rgba(174, 97, 232, 0.7);

    --top-tint-color: rgb(13, 173, 189);
    --top-tint-color-50: rgba(13, 173, 189, 0.5);
    --link-color: rgb(17, 206, 223);
    --button-tint-color: white;

    --highlighted-text-color: rgb(203, 252, 255);

    --video-border-color2: rgb(104, 135, 124);
    --video-border-color1: rgb(39, 52, 47);
}

@media (prefers-color-scheme: light) {
    :root {
        --body-background-color: rgb(206, 222, 234);

        --text-color: rgba(0, 0, 0, 1.0);
        --card-background-color: rgb(254, 253, 226);
        --banderole-background-color: rgb(219, 236, 215);
        --card-2-background-color: white;
        --feature-text-color: rgba(0, 0, 0, 0.8);
        --snake-color: rgba(132, 58, 189, 0.3);
        --top-tint-color: rgb(17, 155, 167);
        --top-tint-color-50: rgba(17, 155, 167, 0.5);
        --link-color: rgb(101, 29, 156);
        --button-tint-color: rgb(125, 125, 125);
        
        --cta-color: rgb(175, 90, 240);

        --highlighted-text-color: rgb(11, 131, 142);

        --overlay-background-color: rgba(0,0,0,0.05);

        --video-border-color2: rgb(162, 206, 190);
        --video-border-color1: rgb(115, 149, 136);
    }
}

#html, body {
	-webkit-text-size-adjust: 100%;
    font: -apple-system-body;
    color: var(--text-color);
}

body {
    font-family: var(--system-font-family);
    background-color: var(--body-background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

a {
    color: var(--link-color);
    text-decoration: none;
    
}

h1 {
    color: var(--top-tint-color);
}

.main-container {
    /*
    background-image: url(dots2.png);
    background-repeat: repeat;
    */
    display: flex;
    flex-direction: column;
    align-items: center;
    
    max-width: 100%;
    overflow-x: hidden;

}

.snake-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.content-container {
    max-width: 800px;
    
}

.header-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 40px;
}

.title-app-icon {
    
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    flex-grow: 0;
    background-image: url(AppIcon.png);
    background-size: contain;
    margin: 20px 20px 20px 20px;
}

.icon-top {
    font-size: 36px;
    margin-right: 20px;
}

.title-header {
    /*position: absolute;*/
    /*top: 10px;
    left: 230px;*/
    font-size: 57px;
    font-weight: 500;
    /*min-width: 450px;*/
    text-shadow: 0 1px 0 white;
}

.title-subtitle {
    color: #AF61E9;
    font-size: 22px;
    font-weight: 400;
    /*position: relative;
    left: -55px;
    top: 35px;
    */
}

.banderole {
    position: absolute;
    
    
    top: 600px;
    width: 100%;

    background-color: rgb(16, 38, 48, 0.97);
    background: linear-gradient(0deg, transparent 0%, var(--banderole-background-color) 30%);

    height: 650px;
    z-index: 1;
}

.banderole-content {
    display: flex;
    flex-direction: row;
    align-items: start;
    padding: 20px;
}

.bottom-content {
    /*background-image: url(dots2.png);*/
    background-repeat: repeat;
    
    /*
    background-color: rgb(8, 19, 24);
    */
    /*
    background-color: rgba(7, 19, 23, 0.5);
    backdrop-filter: blur(8px);
*/
    padding: 20px 40px 40px 40px;
}

.section-title {
    font-size: 27px;
    font-weight: 600;
    opacity: 40%;
    margin: 20px 0 10px 10px;
    text-shadow: 0 1px 0 white;
}

.flex-space {
    flex-grow: 1;
}

.cta-text {
    position: relative;
    left: -20px;
    
    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 16px;
    /*max-width: 350px;*/
    /*width: 400px;*/

    width: 550px;
    /*min-width: 300px;*/
    margin-left: 40px;
    background-color: var(--overlay-background-color);
    
    color: var(--text-color);
    border-radius: 20px;
    min-height: 260px;
    padding: 20px;
}

.cta-container {
    background-color: var(--body-background-color);
    background-color: var(--card-2-background-color);

    border-radius: 20px;
    border: 1px solid var(--top-tint-color-50);
    max-width: 500px;
    flex-grow: 1;
    padding: 0 10px 0 10px;
    margin-top: 40px;
}

.ipad {
    position: absolute;
    left: 30px;
    top: 220px;
    width: 580px;
    height: 800px;
    /*
    background-color: black;
    border-radius: 30px;
    border: 3px solid #ccc;
    */
    /*opacity: 90%;*/
    /*
    transition-property: transform;
    transition-duration: 0.2s;
    */
    
}

.ipad-bezel {
    background: url(ipad-bezel.png);
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.ipad-screen {
    background: url(ipad-screen-dark.png);
    background-size: contain;

    width: 86.8%;
    height: 92%;
    position: absolute;
    top: 4.9%;

    left: 6.6%;

    border-radius: 10px;
}

.iphone {
    /*
    position: absolute;
    left: 400px;
    top: 500px;
    */
    position: relative;
    /*left: 420px;*/
    left: 10px;
    top: -200px;
    

    width: 242px;
    height: 476px;
    /*
    background-color: black;
    border-radius: 30px;
    border: 3px solid #ccc;
    */
    /*opacity: 90%;*/
    z-index: 10;
    transform: rotate(4.5deg);

    flex-shrink: 0;
}

.iphone-bezel {
    background: url(iphone-bezel.png);
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.iphone-screen {
    background: url(iphone-screen-dark.png);
    background-size: cover;

    width: 86%;
    height: 92%;
    position: absolute;
    top: 4%;

    left: 7%;

    border-radius: 20px;
}

.card {
    z-index: 10;
    background-color: var(--card-background-color);
    border-radius: 20px;
    color: var(--text-color);
    box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.1);
    min-width: 320px;

    max-width: 500px;
    min-height: 160px;

    flex-grow: 1;
    
    margin-right: 20px;
    
    display: flex;
    flex-direction: row;
    align-items: stretch;
    font-size: 16px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glyph-button {
    border: none;
    min-width: 28px;
    min-height: 36px;
    margin: 5px;
    background-color: transparent;
    color: var(--button-tint-color);
    font-size: 20px;
    transition-property: opacity;
    transition-duration: 0.2s;
    text-align: center;
}

.glyph-button:active {
    opacity: 50%;
}

.cta-button {
    background-color: var(--cta-color);
    color: var(--tint-contrast-color);
    padding: 12px 22px 12px 22px;
    font-size: 22px;
    font-weight: bold;

    border-radius: 30px;
    border: none;
    transition-property: opacity;
    transition-duration: 0.15s;
    text-shadow: 0 1px rgba(0, 0, 0, 0.8);
    box-shadow: 0 3px var(--cta-color-darker);
    margin-top: 30px;
    cursor: pointer;
}

.cta-button:active {
    opacity: 50%;
}

.text-top-section {
    
    display: flex;
    flex-direction: column;

    max-width: 900px;

    color: var(--top-tint-color);

    line-height: 130%;
    margin: 40px;
    

    /*text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
    /*text-shadow: 0px 0px 10px rgba(6, 86, 94, 0.1);*/
    /*
    background: linear-gradient(to top, rgb(4, 78, 89), rgb(15, 186, 202));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    */
    
    font-size: 22px;

    padding: 20px 0px 20px 0px;
    
    /*border: 1px solid white;*/
}



.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.text-top-section .flex-row {
    margin-bottom: 20px;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.video-border-container {
    border-radius: 25px;
    /*border: 5px solid black;*/
    background-color: black;
    padding: 12px;
    overflow: hidden;
}

.video-container {
    background: linear-gradient(-45deg, var(--video-border-color1) 0%, var(--video-border-color2) 100%);
    
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1);
    background-color: black;
    padding: 5px;
    flex-shrink: 0;

    margin-top: 80px;
    margin-left: 40px;

    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.video-rounded-container {
    border-radius: 20px;
    overflow: hidden;
}

.bottom-feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin-top: 40px;
    padding: 20px;
}

.feature-grid-item {
    
    background-color: rgb(17, 39, 48, 0.3);
    background-color: rgb(17, 39, 48, 0.95);
    background-color: rgb(23, 34, 44);
    background-color: var(--card-2-background-color);
    
    
    border-radius: 20px;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1);

}

.feature-grid-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    color: var(--feature-text-color);
}

.feature-icon {
    font-size: 40px;
    color: rgb(59, 180, 180);
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
}

.footer {
    margin-top: 100px;
    
    font-size: 14px;
    text-align: center;
    opacity: 33%;
}

.cookie {
    
    font-weight: bold;
}

span.cookie {
    display: inline-block;
/*
    background-color: rgba(135, 53, 181, 0.3);
    background-color: rgba(203, 252, 255, 0.3);
  */  
    color: rgb(243, 231, 247);
    color: rgb(203, 252, 255);
    color: var(--highlighted-text-color);
    
    border-radius: 6px;
    /*padding: 0px 4px 0px 4px;*/

    text-shadow: 0 1px 0px rgba(83, 31, 114, 0.5);
    text-shadow: 0 1px 0px rgba(255, 255, 255, 0.5);
    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);*/
    
    transition-property: transform, color;
    transition-duration: 0.5s;
}

.pop {
    transform: scale(105%);
    color: rgb(138, 57, 200) !important;
}

.highlighted {
    transform: scale(120%);
    
}

.snake-path {

    overflow: visible;
    z-index: -1;
    pointer-events: none;

    position: absolute;
    top: 0;
    left: 0;
    width: 1280px;
    height: 800px;
    /*mix-blend-mode: screen;*/   
    /*
    background-image: url(dots2.png);
    background-repeat: repeat;
    */
    
}

@keyframes popWord {
    0% {
      transform: scale(100%);
    }
    50% {
        transform: scale(110%);
    }
    100% {
        transform: scale(100%);
    }
}

@media screen and (max-width: 800px) {
    .hero-container {
        flex-direction: column;
        order: 0;
    }
    .header-container {
        margin-bottom: 0;
    }
    .text-top-section {
        font-size: 20px;
        margin-top: 0;
    }
    .video-container {
        margin-left: 20px !important;
        margin-top: 0;
        order: 1;
    }
    .title-header {
        font-size: 40px;
    }
}

.pop-word {
    transform: scale(100%);
    animation: popWord 1.5s;
    animation-timing-function: cubic-bezier(0.450, 0.370, 0.110, 1.285);
}

.faq-q {
    color: var(--top-tint-color);
    font-weight: bold;
}