:root {
    overflow: hidden;
    --color-main: 239, 37, 61;
    --color-main-complementary: 255, 61, 84;
    --color-gray-50: oklch(0.984 0.003 247.858);  --color-gray-100: oklch(0.968 0.007 247.896);  --color-gray-200: oklch(0.929 0.013 255.508);  --color-gray-300: oklch(0.869 0.022 252.894);  --color-gray-400: oklch(0.704 0.04 256.788);  --color-gray-500: oklch(0.554 0.046 257.417);  --color-gray-600: oklch(0.446 0.043 257.281);  --color-gray-700: oklch(0.372 0.044 257.287);  --color-gray-800: oklch(0.279 0.041 260.031);  --color-gray-900: oklch(0.208 0.042 265.755);  --color-gray-950: oklch(0.129 0.042 264.695);
    --color-zinc-50: oklch(0.985 0 0);  --color-zinc-100: oklch(0.967 0.001 286.375);  --color-zinc-200: oklch(0.92 0.004 286.32);  --color-zinc-300: oklch(0.871 0.006 286.286);  --color-zinc-400: oklch(0.705 0.015 286.067);  --color-zinc-500: oklch(0.552 0.016 285.938);  --color-zinc-600: oklch(0.442 0.017 285.786);  --color-zinc-700: oklch(0.37 0.013 285.805);  --color-zinc-800: oklch(0.274 0.006 286.033);  --color-zinc-900: oklch(0.21 0.006 285.885);  --color-zinc-950: oklch(0.141 0.005 285.823);
    --navbar-height: 72px;
    --bg-color: var(--color-gray-100);
    --color-text-fg: var(--color-zinc-950);
    --color-link-shadow: hsla(0, 0%, 0%, 0.125); 
    --color-btn-shadow: hsla(0, 0%, 0%, 0.25); 
    --color-navbar-bg: rgba(255,255,255,0.97);
    --color-btn-bg: oklch(0.967 0.001 286.375 / 0.97);
    --color-btn-border: oklch(0.705 0.015 286.067 / 0.5);
    --color-card-bg: #fff;
    --blur-r:4px;
    --color-select-bg: oklch(0.968 0.007 247.896);
}

*,
input,
select {
    text-rendering: optimizeLegibility;
    font-smooth: subpixel-antialiased;
    font-family: "Roboto Condensed", "Noto Naskh Arabic", sans-serif;
}

html.dark-mode {
    --bg-color: var(--color-zinc-950);
    --color-text-fg: var(--color-zinc-100);
    --color-link-shadow: hsla(0, 0%, 100%, 0.125); 
    /* --color-navbar-bg: oklch(14.077% 0.0044 285.776 / 0.97); */
    --color-navbar-bg: oklch(0.21 0.006 285.885 / 0.97);
    --color-btn-bg: oklch(0.21 0.006 285.885 /0.97);
    --color-btn-border: oklch(0.37 0.013 285.805 / 0.5); 
    --color-btn-shadow: hsla(0, 0%, 100%, 0.25); 
    --color-card-bg: oklch(0.21 0.006 285.885);
    --color-select-bg: oklch(0.968 0.007 247.896);
}

body {
    max-height: 100vh;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */

    Margin: 0;
    scroll-padding-top: var(--navbar-height);
    background: var(--bg-color);
    font-family: "Poppins", "Noto Naskh Arabic", sans-serif;
    overflow-x: hidden;
    color: var(--color-text-fg);
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Highlight color */
::selection, ::-moz-selection {
    background: rgba(var(--color-main), 0.25);
}

/* Anchors */
a.url-anchor, a.url-anchor:visited, a.url-anchor:active {
    color: rgb(var(--color-main));
}

/* Utility */

/* Centering utility classes .outer > .inner
    idea by Joe Landsman https://stackoverflow.com/a/7266837/28228424
*/
.outer-fixed { position:fixed; top:calc(var(--navbar-height) + 16px); width: 100%; z-index: 50; }
.outer { position: relative; left: 50%; float: left; }
.inner { position: relative; left: -50%; float: left; }


/* Nabvar */
#navbar {
    /* overflow: hidden; */
    position: fixed;
    top:0;
    z-index: 1000;
    width: 100%;
    display: flex;
    backdrop-filter: blur(var(--blur-r));
    height: var(--navbar-height);
    background: var(--color-navbar-bg);
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.125);
}

/* IMG box */
.img-box {
    display: block;
    width: 46px;
    height: 46px;
}
.img-box > img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    Margin: 0 auto;
    padding: 0 64px;
}

/* Anchor links holder */
ul.navbar-middle {
    margin: 0 64px; /* this is just to ensure a minimum separation between navbar parts */
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 16px;
}

/* Left side of navbar */
.navbar-start {
    display: flex;
    align-items: center;
}

/* Right side of navbar */
.navbar-end {
    display: flex;
    align-items: center;
}

/* Scroll link */
.scroll-link {
    display: block;
    box-sizing: border-box;
    /* border-radius: calc(1px * infinity); */
    border-radius: 12px;
    padding: 12px 24px;
    text-transform: capitalize;
    font-weight: 400;
    text-decoration: none;
    color: var(--color-text-fg);
    transition: outline-color 200ms ease;
    transition: color 200ms ease;
    outline: 2px solid transparent;
    /* box-shadow: 0px -2px 4px inset hsla(0, 0%, 0%, 0.05); */
    box-shadow: 0px -2px 24px inset var(--color-link-shadow);
}

/* .scroll-link:hover {
    color: var(--color-main);
    box-shadow: 0px -2px 4px inset hsla(0, 0%, 0%, 0.225);
} */

.scroll-link.active,.scroll-link:hover  {  
    color: #fff; 
    background: hsla(353, 86%, 54%, 1);

    background: linear-gradient(90deg, hsla(353, 86%, 54%, 1) 0%, hsla(353, 100%, 62%, 1) 100%);

    background: -moz-linear-gradient(90deg, hsla(353, 86%, 54%, 1) 0%, hsla(353, 100%, 62%, 1) 100%);

    background: -webkit-linear-gradient(90deg, hsla(353, 86%, 54%, 1) 0%, hsla(353, 100%, 62%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#EF253D", endColorstr="#FF3C52", GradientType=1 );
}

/* Sections */
section {
    position:relative;
}

.section-box, .navbar-container {
    position:relative;
    top:0;
    width: min(1280px,100svw);
    max-width: min(1280px,100svw);
    height: 100%; /* Of parent */
    Margin: 0 auto;
}

.section-box{
    padding: 24px 64px;
    box-sizing: border-box;
}

#pricing-section__header{margin-bottom: 48px; text-align: center;}
#pricing-section__header h1 {
    Margin: 20px 0;
    font-size: 30pt;
    text-align: center;
}
#pricing-section__header p {
    color: rgba(var(--color-text-fg), 0.50);
}

/* Main section */
.main-section {
    position: relative;
    width: 100svw;
    height: 100svh;
    overflow: hidden;
}

.main-section__container {
    position:absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    Margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

q.main-section__tagline {
    margin-top: 50px;
    font-size: 26pt;
    font-weight: 500;
    /* color: #fff; */
}

img.aimeye_menu_img {
    border-radius: 12px;
    overflow:hidden;
    max-width: 768px;
    box-shadow: 0 0 128px rgba(var(--color-btn-shadow), 1.0);
    box-shadow: 0 0 12px rgba(var(--color-main), 0.5);
    animation: sine_menu_image_glow 1200ms alternate infinite ease;
}

@keyframes sine_menu_image_glow {
  to { 
    box-shadow: 0 0 12px rgba(var(--color-main), 0.25);
    /* transform: translateY(-2px); */

    }
}
/* .main__title {
    margin-top: 60%;
} */

.main-section__video {
    position: absolute;
    z-index: -1;
    left:0;
    top:0;
}

.main-section__video video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    filter: blur(32px);
}

.brand-name {
    font-variant: small-caps;
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 800;
    color: rgb(var(--color-main));
    text-shadow: 2px 2px 2px hsla(0, 0%, 0%, 0.25);
}

.tagline {
    font-variant: small-caps;
    color: #fff;
}

/* Features section */
#features-section {}

/* Pricing section */
#pricing-section {}

/* Product pricing grid */
ul#pricing-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    list-style: none;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 46px 60px;
    background: var(--color-card-bg);
    border-radius: 16px;
    box-shadow: 0px 0px 2px hsla(0, 0%, 0%, 0.25);
}

/* Socials section */
#socials-section{
    height: 100vh;
}

.socials-header {
    margin-bottom: 40px;
    text-align: center;
}

.socials-header h3 {
    word-spacing: 8px;
}

.socials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 15px;
}

.span-2 {
    -ms-grid-row-span: 2;
    grid-column: span 2;
}

.social-button{
    position: relative;
    text-align: center;
    gap: 8px;
    padding: 24px;
    background-color: var(--color-card-bg);
    border-radius: 6px;
    border: 2px solid transparent;
    font-size: larger;
}

.social-button a, .social-button a:active, .social-button a:visited {
    display: block;
    position: absolute;
    text-decoration: none;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    color: rgba(var(--color-text-fg), 0.8);
}

.social-button:hover{
    text-decoration: none;
    color: rgb(var(--color-main));
    border: 2px solid rgb(var(--color-main));
}

.social-button span {
    letter-spacing: 2px;
}

.social-button p {
    font-size: larger;
}

.social-button span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.social-button span > svg {
    margin-right: 6px;
}

/* 
a.social-button span {
    display:inline-flex;
    justify-content: center;
    position:absolute;
    padding: 6px 12px;
    border-radius: 20px;
    width: 80px;
    left:0;
    opacity: 0%;
    background-color: hsla(0, 0%, 0%, 0.525);
    transform: translateY(0px);
    transition: opacity 250ms ease-in-out, transform 200ms ease;
    user-select: none;
    
}

a.social-button:hover span {
    transform: translateY(-20px);
    opacity: 100%;
} */

/* Scroll mouse animation */
.mouse-scroller {
    display: inline-flex;
    position: absolute;
    z-index: 10;
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(32px);
    /* background: hsla(0, 0%, 0%, 0.725); */
    /* box-shadow: 0 0 30px var(--color-shadow); */
    box-shadow: 0 0 6px hsla(0, 0%, 100%, 0.60);
    color: #fff;
    right: 32px;
    bottom: 32px;
    align-items: center;
    gap: 8px;
    user-select: none;
    animation: sineTranslateY 600ms alternate infinite ease;
}

@keyframes sineTranslateY {
  to { transform: translatey(8px);}
}

/* Cookie popup */
.cookie-popup {
    display: inline-flex;
    align-items: center;
    z-index: 10;
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--color-navbar-bg);
    color: var(--color-text-fg);
    backdrop-filter: blur(var(--blur-r));
    box-shadow: 0 0 12px hsla(0, 0%, 0%, .215);
    transform: scale(0%) translateY(-100px);
    opacity: 0%;
    transition: transform 200ms, opacity 100ms ease;
}

.cookie-popup small {
    display: block;
}
.cookie-popup a {
    color: rgb(var(--color-main));
}

.cookie-popup.show {
    transform: scale(100%) translateY(0);
    opacity: 100%;
}
.cookie-popup button {
    margin-left: 12px;
}

/* btn */
.btn {
    text-align: center;
    border: none;
    cursor: pointer;
    background: none;
    box-sizing: border-box;
}

a.btn, a.btn:visited, a.btn:hover, a.btn:active {
    text-decoration: none;
    color: inherit;
}

/* btn sizes */
.btn-sm { padding: 10px 14px; border-radius: 8px; }
.full-round { border-radius: calc(1px * infinity); }
.btn-buy {
    display: inline-flex;
    
    padding: 16px 30px;
    margin-top: 60px;
    font-size: 13pt;
    /* border: 2px solid rgba(var(--color-main),0.5); */
    border-radius: calc(1px * infinity);
    color: var(--color-text-fg);
    background: none;
    box-shadow: 0 0 4px rgba(var(--color-main),0.5);
    transition: all 250ms;
}
.btn-buy:hover {
    box-shadow: 0 0 8px rgba(var(--color-main),0.8);
    background: rgb(var(--color-main));
    color: white;
}

/* Alternative primary button */
a.btn-primary{text-decoration:none;}
a.btn-primary,
button.btn-primary{
    color:white !important;
    background: rgb(var(--color-main));
}

.btn-primary:hover {
    background-color: rgb(var(--color-main-complementary));
}

/* Dark-mode button */
#btn-darkmode {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    /* background-color: var(--color-main); */
    background-color: transparent;
    /* color: #fff; */
    color: var(--color-text-fg);
    border: 1px solid var(--color-btn-border);
    /* outline: 1px inset transparent; */
    /* outline: 2px inset var(--color-main); */
}

/*, #btn-darkmode:focus*/
#btn-darkmode:hover {
    box-shadow: 0 0 4px var(--color-btn-shadow);
    /* outline: 2px solid var(--color-main); */
}

.moon #svg-darkmode-sun, .sun #svg-darkmode-moon {
    display:none;
}

/* Navbar user menu */
#navbar-user {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-fg);
    margin-left: 20px;
}

#user-menu {
    position:relative;
    display: block;
}

ul#user-menu__popup {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 160px;
    left: -80px;
    top:calc(100% + 8px);
    background-color: var(--color-navbar-bg);
    list-style: none;
    padding: 12px 12px;
    backdrop-filter: blur(var(--blur-r));
    box-shadow: 0 0 12px hsla(0, 0%, 0%, 0.25);
    border-radius: 12px;
    z-index:1;
    opacity:0%;
    transform: scale(95%);
    transition: opacity 250ms ease, transform 250ms ease;
}

ul#user-menu__popup li:not(:first-child) {
    margin-top: 8px;
}

a.user-menu__btn, 
button.user-menu__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    width: 100%;
    text-decoration: none;
    color: var(--color-text-fg);
    border: 1px solid var(--color-btn-border);
    background: none;
    cursor: pointer;
    font-size: small;
}

.user-menu__btn:hover {
    background-color: var(--color-btn-bg);
}

.show ul#user-menu__popup {
    transform: scale(100%);
    opacity: 100%;
}

#user-pfp {
    display: block;
    padding: 0;
    color: var(--color-text-fg);
    border-radius:50%;
    width: 52px;
    height: 52px;
    outline: 2px solid transparent;
    transition: outline-color 150ms ease-in-out;
    box-sizing: border-box;
    overflow: hidden;
}

#user-pfp img{
    width:100%; height:100%; object-fit:cover; object-position:center;
}

.show #user-pfp {
    outline: 2px solid rgb(var(--color-main));
}

.fixed-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    justify-items: center;
    width: 100vw;
}


/* Dropdown menu */

/* Basic reset for the select element */
select {
    -webkit-appearance: none; /* Remove default styling in WebKit browsers */
    -moz-appearance: none; /* Remove default styling in Firefox */
    appearance: none; /* Remove default styling in modern browsers */
    width: 100%; /* Full width */
    padding: 10px 15px; /* Padding for better touch targets */
    border: 1px solid var(--color-btn-border); /* Light border */
    border-radius: 5px; /* Rounded corners */
    background-color: var(--color-btn-bg); /* White background */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><polygon points="0,0 5,5 10,0" fill="%23333"/></svg>'); /* Custom arrow */
    background-repeat: no-repeat; /* Prevent repeating */
    background-position: right 10px center; /* Position the arrow */
    background-size: 10px; /* Size of the arrow */
    font-size: 16px; /* Font size */
    color: var(--color-text-fg); /* Text color */
    cursor: pointer; /* Pointer cursor */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

/* Focus state */
select:focus {
    border-color: rgb(var(--color-main)); /* Change border color on focus */
    outline: none; /* Remove default outline */
}

/* Hover state */
select:hover {
    border-color: rgb(var(--color-main)); /* Change border color on hover */
}

/* Disabled state */
select:disabled {
    background-color: #f5f5f5; /* Light gray background */
    color: #999; /* Gray text */
    cursor: not-allowed; /* Not allowed cursor */
}


/* Localization */
#select-localization {
    margin-right: 6px;
}


/* Forms */
.form-container {
    width: 350px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    color: white;
    margin: auto;
}
