@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: #FFF8F0; /* Warm off-white */
  --prim-color: #E91E63; /* Pink for romance */
  --prim-color-shade1: #C2185B;
  --prim-color-shade2: #F06292;
  --border-radius: 4px;
  --grey-background: #FFF8F0; /* Updated to match warm off-white */
  --prim-color-1: #E91E63;

  --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: var(--black-light);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
}

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

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

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

.footer__subheading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer__description {
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 0;
}

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

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

.footer__links li:last-child {
  margin-bottom: 0;
}

.footer__link {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.footer__app-btn {
  background-color: #1a1a1a;
  margin-top: 1rem;
  align-self: flex-start;
}

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

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

.footer__contact p {
  margin-bottom: 0.5rem;
  color: #a0a0a0;
  line-height: 1.6;
}

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

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

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

.footer__copyright p {
  margin: 0;
}

/* Additional Footer Button Styling */
.footer .app-store-btn {
  background-color: #1a1a1a;
  border: 1px solid #333;
}

.footer .app-store-btn:hover {
  background-color: #2a2a2a;
  border-color: var(--prim-color);
}

/* Support Section Animation */
.support-section {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button for support sections (if needed) */
.support-section-close {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--prim-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1000;
  transition: background 0.3s ease;
}

.support-section-close:hover {
  background: var(--prim-color-shade1);
}

/* Ensure support sections are above other content */
.support-section {
  position: relative;
  z-index: 10;
}

/* Additional mobile improvements */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer__content {
    gap: 1.5rem;
  }
  
  .footer__section {
    text-align: center;
  }
  
  .footer__app-btn {
    align-self: center;
  }
  
  .support-section {
    padding: 2rem 0;
  }
  
  .faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer__contact {
    text-align: center;
  }
  
  .support-section {
    padding: 3rem 0;
  }
  
  .support-section h2 {
    font-size: 2rem;
  }
  
  .support-section h3 {
    font-size: 1.3rem;
  }
}

@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;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.nav__desktop-link {
  color: var(--black);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav__desktop-link:hover {
  color: var(--prim-color);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  min-width: 200px;
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu a {
  color: var(--black);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: var(--prim-color);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Legal pages styling */
.legal-page h3 {
  font-size: 1.1rem;
  margin: 1.5em 0 0.75em 0;
  color: var(--prim-color);
}

.legal-section {
  margin-bottom: 2em;
}

.legal-section h2 {
  margin-bottom: 1em;
  color: var(--black);
}

.legal-section ul {
  margin: 1em 0 1em 1.5em;
}

.legal-section li {
  margin-bottom: 0.5em;
}

.contact-info {
  background: #f8f9fa;
  padding: 1.5em;
  border-radius: var(--border-radius);
  margin: 1em 0;
  border-left: 4px solid var(--prim-color);
}

.contact-info p {
  margin-bottom: 0.5em;
}

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

.last-updated {
  font-style: italic;
  color: var(--black-lighter);
  margin-bottom: 2em;
}