/* Able footer styles (ported from Next.js) */
.footer {
  position: relative;
  width: 100%;
  background: #333f5b;
  color: white;
  font-family: 'Avenir Next', sans-serif;
}

.flap {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 32px;
  background: #fcf9f8;
  border-radius: 0 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  z-index: 1;
}

.footerContent {
  width: 100%;
  max-width: min(1680px, 100vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vw, 80px);
  padding: 0 clamp(20px, 4vw, 120px) clamp(40px, 6vw, 60px)
    clamp(20px, 4vw, 120px);
  box-sizing: border-box;
}

.linksGrid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid #374462;
}

.heroSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 24px);
  padding: clamp(32px, 6vw, 40px) 0;
  border-bottom: 1px solid #374462;
}

.heroHeading {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 100%;
}

.downloadButton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #3495ff;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.downloadButton:hover {
  background: #2980e9;
  transform: translateY(-1px);
}

.signInButton {
  background-color: transparent !important;
  color: white !important;
  border: 0.5px solid white !important;
}

.signInButton:hover {
  background: transparent !important;
  border: 0.5px solid orange !important;
  transform: translateY(-1px);
  color: orange !important;
}

.heroButtonGroup {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.arrowIcon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(100%);
}

.linkRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #374462;
}

.linkColumn {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
  padding: clamp(32px, 6vw, 40px) 0;
}

.linkRow .linkColumn:first-child {
  border-right: 1px solid #374462;
}

.contactColumn {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
  padding: clamp(32px, 6vw, 40px) 0;
}

.columnTitle {
  font-family: 'P22 Mackinac Pro';
  font-size: clamp(20px, 3vw, 18px);
  font-weight: 600;
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.9);
}

.linkList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-family: 'PP Neue Montreal';
  font-weight: 500;
  transition: color 0.3s ease;
}

.link:hover {
  color: #3495ff;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'PP Neue Montreal';
  font-weight: 500;
  margin-top: 25px;
}

.contactLink {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.contactLink:hover {
  color: #3495ff;
}

.brandSection {
  text-align: center;
  padding: clamp(40px, 8vw, 0) 0 clamp(20px, 4vw, 0);
}

.brandName {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: clamp(40px, 15vw, 280px);
  font-weight: 500;
  padding: 0;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(180deg, #bec6da, #333f5b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

.bottomSection {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 15px;
  padding: 32px 0;
  border-top: 1px solid #374462;
}

.copyright {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.legalLinks {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: space-between;
}

.legalLink {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.legalLink:hover {
  color: #3495ff;
}

@media (min-width: 1024px) {
  .linksGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    align-items: flex-start;
    margin-top: 1%;
    border-bottom: 1px solid #374462;
    position: relative;
  }

  .heroSection {
    padding: 90px 60px 80px 0;
    border: none;
    gap: clamp(80px, 4vw, 24px);
    background: #333f5b;
    position: relative;
  }

  .heroSection::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    background: #333f5b;
  }

  .heroHeading {
    font-size: clamp(32px, 4vw, 48px);
    max-width: 428px;
  }

  .linkRow {
    display: contents;
  }

  .linkColumn {
    padding: 92px 40px;
    text-align: left;
    background: #333f5b;
    position: relative;
  }

  .linkRow .linkColumn:first-child {
    border-right: 1px solid #374462;
    border-left: 1px solid #374462;
    height: 100%;
  }

  .linkColumn:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0.5px;
    background: #333f5b;
  }

  .linkColumn:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    background: #333f5b;
  }

  .contactColumn {
    padding: 92px 40px;
    border: none;
    background: #333f5b;
    border-left: 1px solid #374462;
    height: 100%;
    box-sizing: border-box;
  }

  .columnTitle {
    font-size: 18px;
  }

  .link,
  .contactLink {
    font-size: 15px;
  }

  .bottomSection {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
  }

  .legalLinks {
    justify-content: flex-end;
    gap: 48px;
  }
}

@media (min-width: 1921px) {
  .footerContent {
    max-width: 1680px;
  }

  .brandName {
    font-size: 260px;
  }
}

@media (min-width: 1440px) {
  .heroHeading {
    font-size: 40px;
  }

  .brandName {
    padding: 0;
  }
}

@media (min-width: 1450px) and (max-width: 1699px) {
  .heroHeading {
    font-size: 48px;
  }

  .brandName {
    padding: 0;
  }
}

@media (min-width: 1700px) and (max-width: 1848px) {
  .heroHeading {
    font-size: 48px;
  }

  .brandName {
    padding: 0;
  }
}

@media (min-width: 1900px) and (max-width: 2500px) {
  .heroHeading {
    font-size: 40px;
  }

  .brandName {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .downloadButton,
  .link,
  .contactLink,
  .legalLink {
    transition: none;
  }

  .downloadButton:hover {
    transform: none;
  }
}

@media (max-width: 1023px) {
  .footerContent {
    gap: 0;
    padding-bottom: 0;
  }

  .heroHeading {
    font-size: 30px;
  }

  .bottomSection {
    display: none;
  }

  .mobileBottomSection {
    display: block;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    border-top: 1px solid #374462;
    padding: 32px 24px;
  }

  .mobileBottomLinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 15px;
    gap: 10px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.7);
  }

  .mobileLegalLinkLeft {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    text-align: left;
  }

  .mobileLegalLinkRight {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    text-align: right;
  }

  .mobileSocialSection {
    display: block;
    margin-top: 32px;
  }

  .leftSection {
    margin-top: 30px;
  }

  .contactColumn {
    display: none;
  }

  .legalLinks {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .mobileSocialLinksSection {
    margin-bottom: 24px;
  }

  .mobileSocialLinks {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 25px;
  }

  .mobileSocialLink {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-family: 'PP Neue Montreal';
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
  }

  .mobileSocialLink:hover {
    color: #3495ff;
  }
}

@media (min-width: 320px) and (max-width: 516px) {
  .heroHeading {
    font-size: 30px;
  }

  .mobileSocialLinks {
    gap: 16px;
  }
}

@media (min-width: 517px) and (max-width: 767px) {
  .mobileBottomSection {
    padding: 24px 16px;
  }

  .mobileBottomLinks {
    font-size: 14px;
    margin-top: 24px;
  }

  .mobileLegalLinkLeft,
  .mobileLegalLinkRight {
    font-size: 12px;
  }

  .leftSection {
    margin-top: 24px;
  }

  .legalLinks {
    gap: 7px;
  }

  .mobileSocialLinks {
    gap: 40px;
  }

  .mobileSocialLink {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobileBottomSection {
    padding: 40px 32px;
  }

  .mobileBottomLinks {
    font-size: 16px;
    margin-top: 40px;
  }

  .mobileLegalLinkLeft,
  .mobileLegalLinkRight {
    font-size: 14px;
  }

  .leftSection {
    margin-top: 40px;
  }

  .legalLinks {
    gap: 20px;
  }
}

@media (min-width: 1280px) and (max-width: 1280px) {
  .heroSection {
    padding: 90px 40px 80px 40px;
  }

  .linkColumn {
    padding: 92px 32px;
  }

  .contactColumn {
    padding: 92px 32px;
  }
}

@media (min-width: 1024px) {
  .mobileBottomSection {
    display: none;
  }

  .mobileSocialSection {
    display: none;
  }

  .contactColumn {
    display: block;
  }

  .bottomSection {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .bottomLeft {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .heroSection {
    padding: 90px 0 80px 0;
    border: none;
    gap: clamp(80px, 4vw, 24px);
    background: #333f5b;
    position: relative;
  }
}

.btnDisabled {
  cursor: not-allowed;
  pointer-events: none;
}

.bigooglePlayIcon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.bigooglePlayIcon:hover {
  cursor: pointer;
}
