/* ========================================
   RESET.CSS - Box sizing and reset styles
   ======================================== */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin and space + reset font */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
ul[class], ol[class],
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* Links styling */
a {
  color: #75FFC0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

a:hover {
  color: #5fe0a5;
  text-decoration: underline;
}

a:visited {
  color: #75FFC0;
}

a:focus {
  outline: 2px solid #75FFC0;
  outline-offset: 2px;
}

/* Links in navigation should stay white */
.header a, .footer nav a {
  color: #fff !important;
}

.header a:hover, .footer nav a:hover {
  color: #75FFC0 !important;
}

/* Links in content areas */
.privacy-content a,
.more a,
.faq a.link {
  color: #75FFC0;
}

/* ========================================
   INDEX.CSS - Layout and background styles
   ======================================== */

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  font-family: Vazir;
  color: #fff;
  overflow-x: hidden;
}
.bg::after {
  background: linear-gradient(45deg, #442976, #201752);
  content: ' ';
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: -1;
}

.bg-fill {
  overflow: hidden;
  width: 100vw;
  display: block;
  position: absolute;
  height: 100vh;
  opacity: .3;
}
.bg-fill::after {
  background: linear-gradient(45deg, #3f266f, #ffffff27);
  content: ' ';
  height: 300px;
  width: 110vw;
  transform: rotate(9deg);
  top: -110px;
  position: absolute;
  left: -70px;
  opacity: .5;
}
@media screen and (max-width: 500px) {
  .bg-fill {
    display: none;
    visibility: hidden;
  }

}

.layout-container {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}


/* ========================================
   BANNER.CSS - Banner/Playstore component
   ======================================== */

.playstore {
    display: grid;
    grid-template-columns: 430px 1fr;
    margin-top: 75px;
    z-index: 1;
    position: relative;
    height: 75vh;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.playstore .logo {
    align-self: center;
}
.playstore .details {
    align-self: center;
}
.playstore .details h1 {
    font-size: 62px;
    font-weight: bold;
}
.playstore .details p {
    max-width: 405px;
    font-size: 14px;
    margin-bottom: 35px;
    padding: 0 10px;
}
@media screen and (max-width: 840px) {
    .playstore {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
        height: auto;
        margin-top: 100px;
        gap: 20px;
    }
    .playstore .logo {
        height: auto;
        margin-bottom: 0;
    }
    .playstore svg {
        height: 200px;
        width: 200px;
        margin: 0 auto;
    }

    .playstore .details {
        margin-top: 0;
    }

    .playstore .details h1 {
        font-size: 48px;
        margin-top: 10px;
    }

    .playstore .details p {
        margin: 0 auto 35px;
    }
    .download {
        margin: auto;
    }

    .privacy-content {
        width: calc(100% - 40px);
        margin-top: 110px;
        margin-bottom: 70px;
        padding: 25px 30px;
    }
}

@media screen and (max-width: 600px) {
    .playstore {
        padding: 0 15px;
        margin-top: 90px;
        gap: 15px;
    }

    .playstore svg {
        height: 180px;
        width: 180px;
    }

    .playstore .details h1 {
        font-size: 42px;
        margin-top: 5px;
    }

    .privacy-content {
        width: calc(100% - 30px);
        padding: 20px 20px;
        margin-top: 100px;
        margin-bottom: 60px;
    }

    .more {
        padding: 30px 15px;
    }

    .privacy-content h1 {
        font-size: 26px;
    }

    .privacy-content h2 {
        font-size: 20px;
    }

    .faq {
        padding: 0 15px;
    }

    .accordionItem {
        padding: 18px;
        margin: 15px 0;
    }

    .accordionHead {
        font-size: 16px;
    }

    .accordionHead > div {
        font-size: 22px;
        width: 28px;
    }

    .features {
        padding: 0 15px;
    }

    .downloadAPP {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .playstore {
        padding: 0 10px;
        margin-top: 85px;
        gap: 10px;
    }

    .playstore svg {
        height: 160px;
        width: 160px;
    }

    .playstore .details h1 {
        font-size: 38px;
        margin-top: 0;
    }

    .privacy-content {
        width: calc(100% - 20px);
        padding: 18px 18px;
        margin-top: 90px;
        margin-bottom: 50px;
    }

    .privacy-content h1 {
        font-size: 24px;
    }

    .faq {
        padding: 0 10px;
    }

    .accordionItem {
        padding: 16px;
        margin: 12px 0;
    }

    .accordionHead {
        font-size: 15px;
    }

    .accordionHead > div {
        font-size: 20px;
        width: 25px;
    }

    .features {
        padding: 0 10px;
    }

    .downloadAPP {
        padding: 0 10px;
    }
}

.download span {
	z-index: 2;
	position: relative;
	line-height: 49px;
}
.download span svg {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px 0 0;
}
.download {
    display: block;
}
.download,
.download .fill {
	width: 235px;
	height: 48px;
	font-size: 18px;
	text-align: center;
	color: rgba(255, 255, 255, 0.9);
	border-radius: 50px;
	background: linear-gradient(-45deg, #ffa63d, #ff3d77, #338aff, #3cf0c5);
	background-size: 600%;
	animation: anime 16s linear infinite;
}
.download .fill {
	position: absolute;
	margin-top: -60px;
	z-index: 1;
	filter: blur(30px);
	opacity: 0.2;
}

@keyframes anime {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

/* ========================================
   MORE.CSS - More Details component
   ======================================== */

.more {
    max-width: 1100px;
    line-height: 2.5;
    margin: 100px auto;
    display: block;
    padding: 50px 20px;
}
.more p {
    text-align: center;
}
.more h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px #6a2a7e;
    width: fit-content;
    margin: 0 auto 25px;
    line-height: 2;
}
.more a {
    text-align: center;
    margin: 25px auto;
    display: block;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 120px;
    height: 35px;
    line-height: 2;
}

/* ========================================
   FEATURES.CSS - Features component
   ======================================== */

.features {
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
    padding: 0 20px;
}
.featuresContainer {
    background: #0000000f;
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    text-align: center;
    min-height: 250px;
    padding: 15px;
    border-radius: 10px;
}
@media screen and (max-width: 840px) {
    .featuresContainer {
        grid-template-columns: 1fr;
    }
}
.featuresContainer div {
    text-align: center;
    margin: auto;
}
.featuresContainer img {
    margin-bottom: 10px;
}
.featuresContainer h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.featuresContainer p {
    max-width: 200px;
    font-size: 12px;
    color: #fff;
    margin-bottom: 20px;
}

/* ========================================
   FAQ.CSS - FAQ component (Homepage only)
   ======================================== */

.faq {
    margin: 150px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px #6a2a7e;
    width: fit-content;
    margin: 0 auto 25px;
    line-height: 2;
}

.faq a.link {
    text-align: center;
    margin: 25px auto;
    display: block;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 120px;
    height: 35px;
    line-height: 2;
}

/* Homepage accordion (inside .faq) */
.faq .accordion {
    max-width: 550px;
    margin: 50px auto 0;
    width: 100%;
}

/* Accordion items */
.accordionItem {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 20px;
    margin: 12px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Accordion header (question) - CLICKABLE */
.accordionHead {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.8;
    display: block;
    user-select: none;
    -webkit-user-select: none;
}

.accordionHead:hover {
    color: #75FFC0;
}

.accordionHead > div {
    display: inline-block;
    width: 30px;
    font-size: 24px;
    color: #75FFC0;
    font-weight: bold;
    margin-left: 10px;
}

.accordionHead .q {
    display: inline;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Accordion body (answer) */
.accordionBody {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordionBody.open {
    max-height: 5000px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordionBody p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2.2;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.accordionBody p:last-child {
    margin-bottom: 0;
}

/* ========================================
   DOWNLOADAPP.CSS - Download App component
   ======================================== */

.downloadAPP {
    max-width: 1200px;
    margin: 80px auto 100px;
    width: 100%;
    padding: 0 20px;
}

.downloadAPPContainer {
    background: #00000075;
    min-height: 200px;
    margin: 20px 0;
    padding: 10px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 220px 1fr;
}

.downloadAPPContainer .logo svg {
    height: 224px;
    width: 224px;
}

.downloadAPPContainer .details {
    align-self: center;
}
.downloadAPPContainer .details h3 {
    font-weight: bold;
    font-size: 24px;
}
.downloadAPPContainer .details p {
    max-width: 390px;
    font-size: 14px;
    margin: 13px 0;
}

@media screen and (max-width: 840px) {
    .downloadAPPContainer {
        grid-template-columns: 1fr;
        padding: 0 0 50px;
    }
    .downloadAPPContainer .logo,
    .downloadAPPContainer .details {
        margin: auto;
        text-align: center;
    }
}

/* ========================================
   HEADER.CSS - Header component
   ======================================== */

.header {
	color: #fff;
	height: 75px;
    position: fixed;
    backdrop-filter: blur(7px);
    z-index: 2;
	background: #2f1d5ea6;
	width: 100%;
}

.headerContainer {
	max-width: 1280px;
	margin: 14px auto;
	display: grid;
	grid-template-columns: 1fr auto;
	align-self: center;
	font-weight: bold;
	z-index: 1;
	position: relative;
	padding: 0px 25px;
	margin-top: 25px;
}

.headerContainer svg {
	width: 48px;
	height: 48px;
}

.menubar {
	align-self: center;
}

.menubar ul {
	list-style: none;
	display: flex;
}

.menubar ul li {
	margin: 0 10px;
}

@media screen and (max-width: 500px) {
	.menubar ul {
		font-size: 13px;
	}

}

/* ========================================
   FOOTER.CSS - Footer component
   ======================================== */

.footer {
  height: 350px;
  align-content: end;
  text-align: center;
  display: grid;
  padding-bottom: 10px;
  background: #00000075;
  position: relative;
  z-index: 2;
}
.footerContainer p {
  font-size: 12px;
  opacity: 0.7;
}
.footerContainer h4 {
  font-size: 12px;
  margin-top: 15px;
  opacity: 0.7;
}
.footer svg {
  margin: 20px auto;
}
.footer nav {
  align-self: center;
  border-bottom: 2px solid #ffffff25;
  border-top: 2px solid #ffffff25;
  max-width: 540px;
  margin: auto;
  padding: 10px 0;
}

.footer nav ul {
	list-style: none;
	display: inline-flex;
}

.footer nav ul li {
	margin: 0 10px;
}

@media screen and (max-width: 600px) {
  .footer {
    height: 500px;
  }
  .footer nav ul {
    display: block;
  }
  .footer nav ul li {
    margin: 20px 10px;
  }
}

/* ========================================
   PRIVACY POLICY PAGE
   ======================================== */

.privacy-content {
    max-width: 1100px;
    margin: 120px auto 80px;
    padding: 30px 40px;
    background: #00000033;
    border-radius: 10px;
    line-height: 2;
    box-sizing: border-box;
    width: calc(100% - 40px);
    position: relative;
    z-index: 1;
}

.privacy-content h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    box-shadow: 0 3px #6a2a7e;
    width: fit-content;
}

.privacy-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-content a {
    color: #75FFC0;
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #5fe0a5;
}

.privacy-content ul {
    list-style: disc;
    padding-right: 30px;
    margin: 20px 0;
}

.privacy-content li {
    margin-bottom: 15px;
    line-height: 2;
}

.privacy-content ol {
    list-style: decimal;
    padding-right: 30px;
    margin: 20px 0;
}

/* Blog page specific styles */
.privacy-content h2 a {
    color: #75FFC0;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.privacy-content h2 a:hover {
    color: #5fe0a5;
    text-decoration: underline;
}

/* Make sure h2 doesn't block link clicks on blog page */
.privacy-content h2:has(a) {
    box-shadow: none;
    display: inline-block;
}

/* Make sure all paragraph links are clickable */
.privacy-content p a {
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.language-switcher {
    position: relative;
    z-index: 1;
    margin-top: 100px !important;
    padding-top: 1rem !important;
}
