@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap");

/* General */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:focus {
  outline: 3px dotted var(--prim-color);
}

:root {
  --nav-shadow: 0 1px 4px rgba(178, 178, 178, 0.25);
  --black: #000;
  --black-light: #050505;
  --black-lighter: #4d4d4d;
  --white: #fff;
  --prim-color: #0c3a8a;
  --prim-color-shade1: #0c5a8a;
  --prim-color-shade2: #0c4a8a;
  --border-radius: 4px;
  --grey-background: #f1ecec;
  --prim-color-1: #0c3a8a;

  --tablet: 769px;
  --small-laptop: 1024px;
  --laptop: 1336px;
  --large-laptop: 1920px;
}

html {
  font-size: 16px;
  color: #333333;
  font-family: "Rubik", sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  line-height: 1.5;
}

a {
  text-decoration: underline;
  color: var(--prim-color);
  position: relative;
  display: inline-block;
  transition: 0.25s transform;
}
a:hover {
  text-decoration: underline;
}
a.btn:hover,
a.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}
.with-arrow {
  text-decoration: none;
}
.with-arrow:hover {
  text-decoration: none;
}
.with-arrow::after {
  content: "";
  background-image: url("./imgs/chevrons-right.svg");
  height: 20px;
  width: 20px;
  position: absolute;
  display: inline-block;
  transition: 0.25s transform;
}
.with-arrow:hover::after {
  transform: translateX(5px);
}
p,
ul,
ol,
li {
  margin-bottom: 1em;
}
h1,
h2,
h3,
h4 {
  font-weight: 900;
  line-height: 1.13;
  margin-bottom: 0.2em;
  color: currentColor;
}
h1 {
  font-size: 2.5em;
  letter-spacing: 0;
}
h2 {
  font-size: 1.88em;
}
img {
  width: 100%;
}
body {
  margin-top: 4em;
  overflow-x: hidden;
}

hr {
  border: 0;
  border-bottom: 1px solid #ffe4df;
}
.container {
  padding: 0 3%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav {
  padding: 0.625rem 0;
  box-shadow: var(--nav-shadow);
  position: fixed;
  width: 100%;
  z-index: 3;
  background: var(--white);
  top: 0;
}
.nav__container {
  display: flex;
  justify-content: space-between;
  max-width: 1800px;
}
.nav__right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav__left a {
  display: flex;
  text-decoration: none;
  align-items: center;
}
.nav__left a:hover,
.nav__left a:active {
  text-decoration: underline;
}
.nav__logo {
  margin-right: 4px;
}
.nav__hamburger {
  height: 30px;
  width: 30px;
  border: 0;
  position: relative;
  cursor: pointer;
  background: inherit;
}
.nav__hamburger::after,
.nav__hamburger::before {
  content: "";
  position: absolute;
  height: 2px;
  display: block;
  width: 100%;
  margin-right: 1px;
  background: var(--black);
}
.nav__hamburger::after {
  top: 30%;
}
.nav__hamburger::before {
  bottom: 30%;
}
.nav__mobile-nav {
  display: none;
}
.nav__mobiile-item {
  list-style-type: none;
  margin: 0.5em 0 0;
  text-align: center;
}
.nav__mobiile-item:last-child {
  margin-bottom: 0;
}
.nav__mobile-link {
  text-decoration: none;
}
.nav__mobile-link:hover,
.nav__mobile-link:active {
  text-decoration: underline;
}
.nav__nav-desktop {
  display: none;
}
.nav__desktop-link {
  text-decoration: none;
}
body.mobile-nav-open .nav__mobile-nav {
  display: block;
}

.privacy {
  background-color: #ffffff;
}

/* header */
.header__container {
  display: flex;
  flex-direction: column;
  padding-top: 3.125em;
  padding-bottom: 2em;
}

/* utilty */

.header {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%230c3a8a' fill-opacity='0.06'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.highlighted {
  color: var(--prim-color);
}
.grey-background {
  background: var(--grey-background);
}
.text-centered {
  text-align: center;
}
.prim-background {
  background: var(--prim-color);
  color: var(--white);
}

/* btns */
.btn {
  background: var(--prim-color);
  color: var(--white);
  border: 0;
  font: inherit;
  text-decoration: none;
  border-radius: var(--border-radius);
  padding: 0.6em 0.8em;
  display: block;
  line-height: 1;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
}
.btn-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
  max-width: 13.7em;
}

.patterns-left::after,
.patterns-left::before,
.patterns-right::after,
.patterns-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform-origin: left center;
  width: 10em;
  height: 6.25em;
  z-index: -10;
}
.patterns-left,
.patterns-right {
  position: absolute;
  height: 6em;
  width: 12.5em;
  top: 50%;
  transform: translateY(-50%);
  right: -10%;
  display: block;
}
.patterns-left {
  left: -10%;
}
.patterns-right {
  transform: translateY(-50%) rotate(180deg);
}
.patterns-right::after,
.patterns-right::before {
  background: #fff;
}

.patterns-left::before,
.patterns-right::before {
  background: var(--prim-color-shade1);
  transform: translateY(-50%) rotate(35deg);
}
.patterns-left::after,
.patterns-right::after {
  background: var(--prim-color-shade2);
  transform: translateY(-50%) rotate(-35deg);
}
.cta .btn-group {
  margin: 0 auto;
}
.cta .btn {
  border: 1px solid #fff;
}
.btn-group > .btn:not(:last-child) {
  margin-right: 0.5em;
}
.btn.btn-secondary {
  color: var(--prim-color);
  border: 1px solid var(--prim-color);
  background: var(--white);
}

/* sections */
.section {
  padding: 3em 0 2em;
}
.section__heading-small {
  font-size: 0.88rem;
  display: block;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.62em;
}
.section__text-content {
  margin-bottom: 1.25em;
}
.cta__container {
  z-index: 1;
  position: relative;
}
.section__text {
  margin-bottom: 0.5em;
}
.section__container {
  display: flex;
  flex-direction: column;
}
.features {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
}
.features .section__heading {
  margin-bottom: 1.5em;
}
.features__feature-text {
  margin-bottom: 0.5em;
  color: #4d4d4d;
}
.features__feature {
  max-width: 350px;
  margin: 0 auto 3em;
}
.features__icon {
  background: var(--prim-color-1);
  height: 50px;
  width: 50px;
  display: flex;
  border-radius: 100%;
  margin: 0 auto 0.75em;
}
.features .section__container {
  display: block;
}
.features__feather-video {
  margin: auto;
  stroke-width: 2px;
  color: var(--prim-color);
}

.header__text-text,
.section__text {
  max-width: 400px;
}
.cta {
  color: #fff;
  padding: 4em 0;
  overflow: hidden;
  position: relative;
}

/* Footer */
.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}

.footer__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prim-color);
  margin-bottom: 0.5rem;
}

.footer__subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.footer__description {
  color: #666;
  line-height: 1.6;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--prim-color);
  text-decoration: underline;
}

.footer__app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  max-width: fit-content;
}

.footer__app-btn:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.footer__bottom {
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact {
  text-align: center;
}

.footer__contact p {
  margin-bottom: 0.5rem;
  color: #666;
}

.footer__contact strong {
  color: #333;
}

.footer__contact a {
  color: var(--prim-color);
  text-decoration: none;
  font-weight: 500;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__copyright {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Support Section Styles */
.support-section {
  padding: 3rem 0;
  background-color: #fff;
  border-top: 1px solid #e9ecef;
}

.support-section h2 {
  color: var(--prim-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.support-section h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.support-section h3:first-of-type {
  margin-top: 0;
}

.support-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.support-section ul {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.support-section a {
  color: var(--prim-color);
  text-decoration: none;
  font-weight: 500;
}

.support-section a:hover {
  text-decoration: underline;
}

.faq-content,
.help-content,
.policy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--prim-color);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--prim-color);
}

.faq-item p {
  margin-bottom: 0;
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--prim-color);
  color: var(--prim-color);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-btn:hover {
  background: var(--prim-color);
  color: white;
  transform: translateY(-2px);
}

.lang-btn.active {
  background: var(--prim-color);
  color: white;
}

.lang-btn:focus {
  outline: 2px solid var(--prim-color);
  outline-offset: 2px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__bottom {
    text-align: center;
  }
  
  .footer__app-btn {
    margin: 0 auto;
  }
  
  .language-selector {
    margin-right: 0.5rem;
  }
  
  .lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media screen and (min-width: 769px) {
  .header__container {
    align-items: center;
  }
  .header__container div:first-child {
    margin-right: 1em;
  }
  .header__container,
  .section__container {
    flex-direction: row;
  }
  .header__container > *,
  .section__container > * {
    flex: 1;
  }
  .section__container {
    align-items: center;
  }

  .features {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .features__feature {
    flex: 0 45%;
  }
  .nav__hamburger {
    display: none;
  }
  .nav__nav-desktop {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin-bottom: 0;
  }
  .nav__desktop-item {
    margin: 0 0.25em;
  }
  .speed .section__text-content {
    order: 2;
  }
  .speed .section__img {
    margin-right: 1.5em;
  }
  .img-screen-ui {
    width: 500px;
    display: block;
    margin: 0 auto;
  }
  .patterns-left {
    left: 0;
  }
  .patterns-right {
    right: 0;
  }
}

@media screen and (min-width: 1024px) {
  .features__feature {
    flex: 0 30%;
  }
  h1 {
    font-size: 3.8em;
  }
  h2 {
    font-size: 3em;
  }
}

@media screen and (min-width: 1366px) {
  :root {
    font-size: 18px;
  }
  /* h1 {
    font-size: 4.3em;
  }
  h2 {
    font-size: 3.5em;
  } */
}

.header__img {
  /* position: relative; */
  width: 80%;
  max-width: 500px;
  aspect-ratio: 1/1;
}

.screenshots-container {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: right;
  align-items: right;
}

.screenshot {
  position: absolute;
  width: 65%;
  height: auto;
  transition: transform 0.3s ease;
}

.screenshot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Adjusted positioning with horizontal offsets */
.screenshot-1 {
  transform: translate(-50%, 5%) rotate(-5deg);
  z-index: 1;
}

.screenshot-2 {
  transform: translateY(0);
  z-index: 2;
}

.screenshot-3 {
  transform: translate(50%, 5%) rotate(5deg);
  z-index: 2;
}

/* Updated hover effects */
.screenshots-container:hover .screenshot-1 {
  transform: translate(-55%, 5%) rotate(-7deg);
}

.screenshots-container:hover .screenshot-2 {
  transform: scale(1.05);
}

.screenshots-container:hover .screenshot-3 {
  transform: translate(55%, 10%) rotate(7deg);
}

/* Responsive adjustments */
@media (max-width: 460px) {
  .header__img {
    max-width: 460px;
  }
  
  .screenshot {
    width: 60%;
  }
  
  /* Slightly reduced offsets for mobile */
  .screenshot-1 {
    transform: translate(-50%, -5%) rotate(-5deg);
  }
  
  .screenshot-3 {
    transform: translate(50%, 5%) rotate(5deg);
  }
  
  .screenshots-container:hover .screenshot-1 {
    transform: translate(-50%, -7%) rotate(-7deg);
  }
  
  .screenshots-container:hover .screenshot-3 {
    transform: translate(50%, 7%) rotate(7deg);
  }
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: black;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-icon {
  fill: currentColor;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.btn-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
}

.btn-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-store-btn:hover {
  transform: translateY(-1px);
  background-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Optional dark mode support */
@media (prefers-color-scheme: dark) {
  .app-store-btn {
    background-color: #1a1a1a;
  }
  
  .app-store-btn:hover {
    background-color: #2a2a2a;
  }
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}

.footer__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prim-color);
  margin-bottom: 0.5rem;
}

.footer__subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.footer__description {
  color: #666;
  line-height: 1.6;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--prim-color);
  text-decoration: underline;
}

.footer__app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  max-width: fit-content;
}

.footer__app-btn:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.footer__bottom {
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact {
  text-align: center;
}

.footer__contact p {
  margin-bottom: 0.5rem;
  color: #666;
}

.footer__contact strong {
  color: #333;
}

.footer__contact a {
  color: var(--prim-color);
  text-decoration: none;
  font-weight: 500;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__copyright {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Support Section Styles */
.support-section {
  padding: 3rem 0;
  background-color: #fff;
  border-top: 1px solid #e9ecef;
}

.support-section h2 {
  color: var(--prim-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.support-section h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.support-section h3:first-of-type {
  margin-top: 0;
}

.support-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.support-section ul {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.support-section a {
  color: var(--prim-color);
  text-decoration: none;
  font-weight: 500;
}

.support-section a:hover {
  text-decoration: underline;
}

.faq-content,
.help-content,
.policy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--prim-color);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--prim-color);
}

.faq-item p {
  margin-bottom: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__bottom {
    text-align: center;
  }
  
  .footer__app-btn {
    margin: 0 auto;
  }
}