@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(0, 0, 0, 0.5);
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --black-lighter: #2a2a2a;
  --white: #ffffff;
  --prim-color: #FF006E; /* Neon Pink */
  --prim-color-shade1: #D6006B;
  --prim-color-shade2: #FF3385;
  --electric-blue: #00D9FF; /* Electric Blue */
  --midnight-background: #0a0a0a; /* Midnight Background */
  --card-background: #1a1a1a;
  --border-radius: 12px;
  --grey-background: #1a1a1a;
  --prim-color-1: #FF006E;

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

html {
  font-size: 16px;
  color: #e0e0e0;
  background-color: var(--midnight-background);
  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;
  background-color: var(--midnight-background);
  color: var(--white);
}

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(--black-light);
  top: 0;
  border-bottom: 1px solid var(--black-lighter);
}
.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(--white);
}
.nav__hamburger::after {
  top: 30%;
}
.nav__hamburger::before {
  bottom: 30%;
}
.nav__mobile-nav {
  display: none;
  background-color: var(--black-light);
  border-bottom: 1px solid var(--black-lighter);
}
.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;
  color: var(--white);
}
.nav__mobile-link:hover,
.nav__mobile-link:active {
  text-decoration: underline;
  color: var(--prim-color);
}
.nav__nav-desktop {
  display: none;
}
.nav__desktop-link {
  text-decoration: none;
}
body.mobile-nav-open .nav__mobile-nav {
  display: block;
}

.privacy {
  background-color: var(--midnight-background);
}

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

/* utilty */

.header {
  background-color: var(--midnight-background);
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.08) 0%, transparent 50%);
}
.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: rgba(255, 0, 110, 0.3);
}

.patterns-left::before,
.patterns-right::before {
  background: var(--prim-color);
  transform: translateY(-50%) rotate(35deg);
  filter: blur(20px);
}
.patterns-left::after,
.patterns-right::after {
  background: var(--electric-blue);
  transform: translateY(-50%) rotate(-35deg);
  filter: blur(20px);
}
.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: #b0b0b0;
}
.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;
  background: linear-gradient(135deg, var(--black-light) 0%, var(--midnight-background) 100%);
}

/* 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(--white);
  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: var(--card-background);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  min-width: 200px;
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
  border: 1px solid var(--black-lighter);
}

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

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

.dropdown-menu a:hover {
  background-color: var(--black-lighter);
  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(--white);
}

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

.legal-section li {
  margin-bottom: 0.5em;
  color: var(--white);
}

.legal-section p {
  color: #b0b0b0;
}

.contact-info {
  background: var(--card-background);
  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;
  color: var(--white);
}

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

.last-updated {
  font-style: italic;
  color: #888;
  margin-bottom: 2em;
}/* Neon glow effect for featured elements */
.neon-glow {
  filter: drop-shadow(0 0 10px var(--prim-color)) 
          drop-shadow(0 0 20px var(--prim-color));
}

.features__feature-heading {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.nav__logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

/* Add subtle neon glow to primary elements */
.highlighted {
  text-shadow: 0 0 20px rgba(255, 0, 110, 0.6);
}

/* FAQ Section Styling */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--prim-color);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(255, 0, 110, 0.2);
}

.faq-item h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 0;
}

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

.faq-item a:hover {
  text-decoration: underline;
  color: var(--electric-blue);
}

.support-section {
  background: var(--midnight-background);
  padding: 4rem 0;
  color: var(--white);
}

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

/* Neon glow effect for featured elements */
.neon-glow {
  filter: drop-shadow(0 0 10px var(--prim-color)) 
          drop-shadow(0 0 20px var(--prim-color));
}

.features__feature-heading {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.nav__logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

/* Add subtle neon glow to primary elements */
.highlighted {
  text-shadow: 0 0 20px rgba(255, 0, 110, 0.6);
}

/* FAQ Section Styling */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--prim-color);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(255, 0, 110, 0.2);
}

.faq-item h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 0;
}

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

.faq-item a:hover {
  text-decoration: underline;
  color: var(--electric-blue);
}

.support-section {
  background: var(--midnight-background);
  padding: 4rem 0;
  color: var(--white);
}

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