html {
  overflow-x: hidden;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000000;
  background-image: url("../img/page_bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  color: #b3b3b3;
}

.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 2147483647;
  isolation: isolate;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, visibility 0.2s;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.sticky-bar.is-visible,
.sticky-bar.sticky-bar--always-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar-inner {
  width: 100%;
  max-width: 1010px;
  margin: 0 auto;
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.sticky-bar-logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.sticky-bar-logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.sticky-bar .btn-download--compact {
  flex-shrink: 1;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: 30px;
  padding: 0 8px;
  font-size: 10px;
}

.sticky-bar .btn-download--compact .btn-download-text-large {
  font-size: 10px;
}

.sticky-bar .btn-download--compact .btn-download-icon {
  height: 12px;
  width: 12px;
}

@media (min-width: 601px) {
  .sticky-bar-inner {
    padding: 12px 24px;
    gap: 16px;
  }

  .sticky-bar-logo img {
    height: 52px;
    max-width: none;
  }

  .sticky-bar .btn-download--compact {
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .sticky-bar .btn-download--compact .btn-download-text-large {
    font-size: 11px;
  }

  .sticky-bar .btn-download--compact .btn-download-icon {
    height: 14px;
    width: 14px;
  }
}

header,
main,
footer {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

header {
  padding-top: 90px;
  padding-bottom: 0;
}

.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: -48px;
  min-width: 0;
}

.hero-left h1 {
  font-size: 42px;
  line-height: 1.12;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-features,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-features {
  gap: 16px;
}

.steps-grid {
  margin-top: 48px;
}

.hero-feature,
.content-card,
.step-card,
.faq-card {
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.hero-feature {
  padding: 14px 16px;
}

.hero-feature-label {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-feature-desc {
  font-size: 14px;
  color: #b3b3b3;
}

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

.hero-phone-wrapper {
  position: relative;
  max-width: min(360px, 100%);
  width: 100%;
}

@media (min-width: 768px) {
  .hero-phone-wrapper {
    max-width: 300px;
  }
}

.hero-phone-bg {
  width: 100%;
  display: block;
}

.hero-phone-screen {
  position: absolute;
  inset: 1% 39% 22% 12.5%;
  border-radius: 18px;
  overflow: hidden;
}

.hero-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
footer {
  position: relative;
  font-size: 12px;
  color: #b3b3b3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

footer::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  top: 0;
  bottom: 0;
  background: #191919;
  z-index: -1;
}

a {
  color: #b3b3b3;
}

p {
  color: #b3b3b3;
}

section {
  margin: 0;
  padding: 80px 0;
  text-align: center;
}

/* Alternating section background for visual separation (full-width strip) */
.section--what-makes-different,
.section--three-steps,
.section--faq {
  background: #191919;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  box-sizing: border-box;
}

.section--download {
  padding-top: 180px;
  padding-bottom: 180px;
}

.section--hero-highlights {
  margin-top: -16px;
  padding-top: 0;
  padding-bottom: 60px;
}

@media (min-width: 601px) {
  .section--hero-highlights {
    margin-top: -24px;
  }
}

.section--hero-highlights .hero-feature {
  background: rgba(45, 45, 45, 0.9);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  justify-content: center;
}

.hero-left .btn-row {
  justify-content: flex-start;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.btn-primary {
  background-color: #0066cc;
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(#000, #000) padding-box,
    linear-gradient(90deg, #0f9fff, #cc00fd) border-box;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s, opacity 0.2s;
}

.btn-secondary:hover {
  color: #ffffff;
  opacity: 0.95;
}

.btn-download {
  padding: 0 24px;
  width: 160px;
  min-width: 160px;
  height: 64px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #0f9fff, #cc00fd);
  color: #000000;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .btn-download:not(.btn-download--compact) {
    min-width: 240px;
    width: auto;
  }
}

.btn-download-icon {
  height: 22px;
  width: 22px;
  display: inline-block;
}

.btn-download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-download-text-small {
  font-size: 12px;
}

.btn-download-text-large {
  font-size: 16px;
  font-weight: 700;
}

.subtext {
  color: #9b9b9b;
  font-size: 15px;
}

.list-tight {
  padding-left: 20px;
}

/* Homepage: same font size for all body text (p, li, feature desc, FAQ answer) */
main p,
main li,
main .hero-feature-desc,
main .faq-answer {
  font-size: 15px;
}

#what-makes-different {
  text-align: center;
}

.different-cards .content-card--different {
  background: transparent;
  border: none;
  box-shadow: none;
}

#what-makes-different .content-card--different {
  text-align: center;
}

#what-makes-different .content-card--different p {
  margin-left: auto;
  margin-right: auto;
}

#what-makes-different .content-card--different h3 {
  font-size: 1.6rem;
}

#what-makes-different .content-card-img {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin: 16px auto 0;
}

#security-default{
  padding-bottom: 0px;
}

.security-card {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.section-security-img {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 24px auto 0;
  border-radius: 12px;
}

.content-card {
  display: block;
  text-align: left;
  max-width: 100%;
  padding: 18px 20px;
  margin: 32px auto 0;
}

.content-card p {
  margin-top: 8px;
  font-size: 15px;
}

.content-card--can-do {
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
}

.content-card-can-do-text {
  flex: 1;
  min-width: 0;
}

.content-card-can-do-img {
  flex-shrink: 0;
  width: 50%;
  /*max-width: 360px;*/
  border-radius: 12px;
  display: block;
}

@media (max-width: 600px) {
  .content-card--can-do {
    flex-direction: column;
  }
  .content-card-can-do-img {
    width: 100%;
    max-width: none;
  }
}

.faq-card {
  margin: 16px auto;
  padding: 18px 20px;
  max-width: 720px;
  text-align: left;
  background: rgba(45, 45, 45, 0.9);
}

.faq-question {
  font-weight: bold;
  color: #ffffff;
  padding-left: 1.5em;
  position: relative;
}

.faq-question::before {
  content: "Q";
  position: absolute;
  left: 0;
  font-size: 0.85em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  width: 1.25em;
  line-height: 1.25em;
  text-align: center;
  display: inline-block;
}

.faq-answer {
  color: #b3b3b3;
  margin-top: 0.35em;
  padding-left: 1.5em;
}

.faq-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 16px 64px;
  text-align: left;
}

.faq-page-intro {
  margin: 12px 0 28px;
  color: #9b9b9b;
  font-size: 15px;
  line-height: 1.7;
}

.faq-page .wp-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.faq-page .wp-nav {
  margin-bottom: 0;
  font-size: 14px;
  min-width: 0;
}

.faq-page .wp-nav a {
  color: #b3b3b3;
  text-decoration: none;
}

.faq-page .wp-nav a:hover {
  color: #fff;
}

.faq-page .wp-nav-wrap .lang-dropdown {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
}

.wp-nav-wrap .lang-dropdown-summary {
  color: #b3b3b3;
  font-size: 14px;
  line-height: 1.2;
  padding: 0;
  text-decoration: none;
}

.wp-nav-wrap .lang-dropdown-summary:hover {
  color: #fff;
}

.faq-anchor-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.faq-anchor-link {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  color: #e6e6e6;
  text-decoration: none;
}

.faq-anchor-label {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}

.faq-anchor-desc {
  display: block;
  color: #9b9b9b;
  font-size: 14px;
  line-height: 1.5;
}

.faq-page-section {
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
}

.faq-page-section h2 {
  margin: 0 0 20px;
}

.faq-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-page .faq-card {
  margin: 0;
  max-width: none;
}

.faq-page .faq-answer p {
  margin: 0 0 12px;
}

.faq-page .faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-page-cta {
  margin-top: 48px;
  padding: 26px 24px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.faq-page-cta p {
  margin: 0 auto 18px;
  max-width: 560px;
}

.faq-page-cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

h2 {
  background: linear-gradient(90deg, #0f9fff, #cc00fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section h2 {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

h3 {
  color: #ffffff;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

h1 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.2;
  margin: 0px;
}

.logo img {
  width: 280px;
  height: auto;
}
.logo-text {
  font-weight: bold;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-twitter-icon {
  display: inline-flex;
  align-items: center;
}

.footer-twitter-icon img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-summary {
  list-style: none;
  cursor: pointer;
  color: #b3b3b3;
  font-size: 12px;
  padding: 4px 0;
  user-select: none;
}

.lang-dropdown-summary::-webkit-details-marker {
  display: none;
}

.lang-dropdown-summary::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.8;
}

.lang-dropdown[open] .lang-dropdown-summary::after {
  content: " ▴";
}

.lang-list {
  position: absolute;
  left: 0;
  top: 100%;
  margin: 6px 0 0 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 160px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.lang-list li {
  margin: 0;
}

.lang-list a {
  display: block;
  padding: 6px 14px;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.lang-list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Homepage: language dropdown opens upward on desktop; on mobile open downward to stay on screen */
.lang-dropdown--open-up .lang-list {
  top: auto;
  bottom: 100%;
  margin: 0 0 6px 0;
}

@media (max-width: 768px) {
  .lang-list {
    max-height: 50vh;
  }
  /* Inner pages: language trigger is on the right, so align menu to the right to avoid horizontal overflow */
  .wp-nav-wrap .lang-list {
    left: auto;
    right: 0;
  }
}

.step-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(45, 45, 45, 0.9);
}

.step-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0 0 6px;
}

.step-card p {
  margin: 0;
}

@media (max-width: 600px) {
  .faq-page .wp-nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-page .wp-nav-wrap .lang-dropdown {
    margin-left: 0;
  }

  .faq-anchor-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-width: 0;
  }

  .hero-right {
    justify-content: flex-start;
    min-width: 0;
  }

  .hero-phone-wrapper {
    max-width: 100%;
  }

  .hero-features,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-left .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-left .btn-row .btn-download {
    width: 100%;
    max-width: 100%;
  }

  .hero-left .btn-row .btn-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  main,
  footer {
    padding: 20px;
  }

  section {
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 601px) {
  header,
  main,
  footer {
    max-width: 1010px;
  }

  main,
  footer {
    padding: 24px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }
}
