/* ------------------------------------------------ */

/* BASIC SETUP */

/* ------------------------------------------------ */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  font-family: "PT Sans", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.563;
  color: #292929;
  background-color: #f7fbff;
  text-rendering: optimizeLegibility;
}

body {
  /* position: relative; */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

section {
  padding: 100px 0 80px;
}

/* ------------------------------------------------ */

/* REUSABLE COMPONENTS */

/* ------------------------------------------------ */
.row {
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------ */

/* HEAD */

/* ------------------------------------------------ */

h2 {
  font-family: "Ubuntu", "Arial", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  color: #32325d;
  text-align: center;
}

h2::after {
  display: block;
  width: 80px;
  height: 2px;
  margin: 15px auto 0;
  content: "";
  background-color: #3ecf8e;
}

h3 {
  margin-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: #32325d;
}

.install-buttons-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  text-align: center;
  align-items: center;
  margin-top: 25px;
}

.btn-install {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 48px;
  margin-bottom: 15px;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-color: #3ecf8e;
  border: 1px solid #3ecf8e;
  border-radius: 200px;
  box-shadow: 0 14px 27px 3px rgba(42, 141, 100, 0.3);
  transition: all 0.2s;
}

.menu_cta {
  background-color: #3ecf8e;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(62, 207, 142, 0.2);
}

.btn-install:hover,
.btn-install:active {
  background-color: #25785a;
  transform: scale(1.03);
}

/* Edge-specific button styling */
.btn-install.edge-button {
  background-color: #42aeee;
  border-color: #42aeee;
  box-shadow: 0 14px 27px 3px rgba(66, 174, 238, 0.3);
  padding: 18px 40px;
  font-size: 12px;
  max-width: 120px;
}

.btn-install.edge-button:hover,
.btn-install.edge-button:active {
  background-color: #359bd3;
}

/* ------------------------------------------------ */

/* HEADER */

/* ------------------------------------------------ */
nav {
  background-color: #3ecf8e;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  min-height: 86px;
}

.web-name {
  margin-left: 15px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

img.ext-logo-small {
  max-width: 52px;
}

.social-icons {
  display: flex;
  list-style: none;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 50%;
  transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.social-icons a:hover,
.social-icons a:active {
  color: #3ecf8e;
  background-color: #F5F5F5;
}

/* ------------------------------------------------ */

/* SHARING SECTION */

/* ------------------------------------------------ */
.sharing-section {
  border-bottom: 2px solid #f7f7f7;
}

.sharing {
  width: 665px;
}

.sharing h2 {
  margin-bottom: 35px;
  font-size: 30px;
  line-height: 1.665;
}

.sharing mark,
.mail-address,
.hyperlink {
  color: #3ecf8e;
  background-color: #F5F5F5;
}

.sharing p {
  padding: 0 50px;
  font-weight: bolder;
  line-height: 1.677;
  text-align: center;
}

.sharing .social-icons {
  flex-wrap: wrap;
  justify-content: space-around;
  width: 408px;
  margin: 0 auto 40px;
}

.share-link a:hover,
.share-link a:active {
  background-color: transparent;
  border: 1px solid #3ecf8e;
}

.social-icons li:last-of-type {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.share-link .btn-email,
.share-link .btn-link {
  width: 182px;
  height: auto;
  padding: 15px 39px;
  margin: 20px 0 0;
  border: 1px solid #bdbdbd;
  border-radius: 27px;
}

.share-link .btn-link {
  width: 150px;
}

.share-link .btn-email:hover,
.share-link .btn-email:active,
.share-link .btn-link:hover,
.share-link .btn-link:active {
  color: #3ecf8e;
  border: 1px solid #3ecf8e;
}

.social-icons .link {
  font-family: "Ubuntu", "Arial", sans-serif;
  font-weight: normal;
  color: #d2d2d2;
  border: 1px solid #d2d2d2;
}

.social-icons a:hover,
.social-icons a:active {
  color: #3ecf8e;
  background-color: #F5F5F5;
}

.affiliate-program {
  text-align: center;
  margin: 40px 0;
}

.affiliate-header {
  font-size: 24px;
  margin-bottom: 20px;
}

.btn-affiliate {
  display: inline-block;
  padding: 15px 39px;
  border: 1px solid #bdbdbd;
  border-radius: 27px;
  text-decoration: none;
  font-family: "Ubuntu", "Arial", sans-serif;
  font-weight: normal;
  color: #292929;
  transition: color 0.2s, border-color 0.2s;
}

.btn-affiliate:hover,
.btn-affiliate:active {
  color: #3ecf8e;
  border-color: #3ecf8e;
}

/* ------------------------------------------------ */

/* FOOTER SECTION */

/* ------------------------------------------------ */
footer {
  margin-top: auto;
}

.footer-section {
  background-color: #f7fbff;
  border-bottom: 2px solid #f7fbff;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

.footer-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 45px;
  padding-bottom: 30px;
}

.logo-footer {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-footer span {
  width: 205px;
  margin-left: 12px;
  font-family: "Ubuntu", "Arial", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: rgb(39, 66, 42);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.footer-menu a {
  font-family: "Ubuntu", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 3.122;
  color: #969696;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:active {
  color: #b6b6b6;
}

.footer-menu li {
  margin-right: 40px;
  list-style: none;
}

.footer-menu li:last-child {
  margin-right: 0;
}

.footer-menu strong {
  color: #969696;
  font-weight: 600;
}

.copyright-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 135px;
  padding-bottom: 60px;
  background-color: #f7fbff;
}

.copyright-section p:first-child {
  margin-right: 10px;
}

.footer-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-buttons .btn-install {
  margin-right: 10px;
  padding: 12px 20px;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 0;
  display: inline-flex;
}

.footer-buttons .btn-install:last-child {
  margin-right: 0;
}

/* Small tablets to big tablets: from 768px to 1023px */
@media only screen and (max-width: 1023px) {
  .footer-items {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .footer-wrapper {
    flex-wrap: wrap;
  }

  .footer-menu {
    order: 2;
  }

  .copyright p {
    font-size: 14px;
  }
}

/* Small phones to small tablets: from 481px to 767px */
@media only screen and (max-width: 767px) {
  .footer-menu a {
    font-size: 14px;
  }

  .footer-menu li {
    margin-right: 24px;
  }

  .share-link .btn-email,
  .share-link .btn-link {
    padding: 10px 20px;
  }

  .social-icons li:last-of-type {
    width: 70%;
  }

  .affiliate-header {
    font-size: 20px;
  }

  .btn-affiliate {
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 480px) {
  .social-icons li:last-of-type {
    width: 100%;
  }

  .footer-wrapper {
    margin-bottom: 15px;
  }

  .footer-buttons .btn-install {
    margin-right: 10px;
  }

  .logo-footer {
    margin-bottom: 15px;
  }

  .logo-footer span {
    font-size: 16px;
  }

  .sharing p {
    padding: 0;
  }

  .footer-menu li {
    margin-right: 10px;
  }

  .footer-items {
    min-height: 200px;
  }

  .btn-install-nav {
    margin-bottom: 0;
  }

  .copyright-section p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 375px) {
  .share-link .btn-email,
  .share-link .btn-link {
    width: 150px;
  }

  .footer-buttons {
    display: flex;
    justify-content: center;
  }
}

/* Hero Section Styles */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 0;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  gap: 24px;
}

.hero-title {
  font-size: 2.8rem;
  font-family: 'Ubuntu', sans-serif;
  color: #32325d;
  margin-bottom: 18px;
  font-weight: 700;
}

.highlight-green {
  color: #3ecf8e;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #2a8d64;
  margin-bottom: 32px;
  font-weight: 400;
}

.btn-google-signup {
  background: #fff;
  color: #292929;
  border: 1px solid #bdbdbd;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-logo {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gif {
  max-width: 820px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(62,207,142,0.12);
}

.dropdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding: 22px 48px;
  border-radius: 200px;
  font-weight: 700;
  background: #3ecf8e;
  color: #fff;
  border: none;
  box-shadow: 0 14px 27px 3px rgba(42, 141, 100, 0.3);
  transition: all 0.2s;
  margin-bottom: 0;
}

.dropdown-menu {
  min-width: 220px;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
}

.dropdown-menu a {
  font-size: 1.1rem;
  padding: 14px 18px;
}

@media only screen and (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    min-height: unset;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-left, .hero-right {
    max-width: 100%;
    width: 100%;
  }
  .hero-right {
    margin-top: 32px;
  }
}

/* Add this at the end of the file or in the HEADER section */
.header-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Optionally, ensure nav and .main-nav are not set to 100vw or similar elsewhere */
nav, .main-nav {
  width: 100%;
  box-sizing: border-box;
}

/* Enhanced Mobile Responsiveness for Common Elements */
@media only screen and (max-width: 767px) {
  /* Ensure no horizontal overflow */
  body, html {
    overflow-x: hidden;
  }
  
  /* Better touch targets for mobile */
  a, button, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve readability on mobile */
  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* Ensure images scale properly */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Better spacing for mobile content */
  .row {
    max-width: 100%;
    padding: 0 16px;
  }
  
  /* Improve form elements on mobile */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Better button styling for mobile */
  .btn-install,
  .btn-primary,
  .btn-secondary,
  button {
    width: 100%;
    max-width: 320px;
    margin: 10px auto;
    display: block;
    touch-action: manipulation;
  }
  
  /* Improve footer layout on mobile */
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-menu {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .footer-menu li {
    margin: 5px 0;
  }
  
  /* Social icons mobile layout */
  .social-icons {
    justify-content: center;
    margin: 20px 0;
  }
  
  /* Navigation improvements */
  .main-nav {
    padding: 0 12px;
    height: 60px;
  }
  
  /* Improve spacing between sections */
  section {
    padding: 40px 0 30px;
  }
  
  /* Ensure modals and popups are mobile-friendly */
  .modal,
  .popup {
    width: 90%;
    max-width: 100%;
    margin: 20px auto;
  }
}