:root {
  --ac-bg: #050914;
  --ac-bg-soft: #08111f;
  --ac-panel: rgba(8, 17, 31, 0.78);
  --ac-panel-strong: rgba(7, 13, 24, 0.92);
  --ac-line: rgba(96, 165, 250, 0.2);
  --ac-line-strong: rgba(96, 165, 250, 0.42);
  --ac-blue: #3b82f6;
  --ac-blue-soft: #60a5fa;
  --ac-text: #f7fbff;
  --ac-muted: #aebdd3;
  --ac-header-height: 56px;
}

html,
body {
  background:
    radial-gradient(circle at 84% 18%, rgba(59, 130, 246, 0.18), transparent 27rem),
    radial-gradient(circle at 12% 28%, rgba(14, 165, 233, 0.12), transparent 24rem),
    linear-gradient(180deg, #040812 0%, #07101d 44%, #050914 100%) !important;
}

html {
  scroll-padding-top: calc(var(--ac-header-height) + 18px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
}

header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000 !important;
  height: var(--ac-header-height);
  isolation: isolate;
  pointer-events: auto;
  background: rgba(3, 8, 15, 0.9) !important;
  border-bottom: 1px solid rgba(96, 165, 250, 0.18) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

header > div {
  max-width: 1280px;
  height: var(--ac-header-height);
  min-height: var(--ac-header-height) !important;
  margin: 0 auto;
  padding: 0 2rem !important;
}

header > div > div {
  height: var(--ac-header-height) !important;
  min-height: var(--ac-header-height) !important;
}

header img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.28), 0 8px 24px rgba(37, 99, 235, 0.3);
}

header span {
  color: var(--ac-text) !important;
  font-weight: 800 !important;
  font-size: 0.94rem !important;
  letter-spacing: 0 !important;
}

header a,
header button {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

.desktop-nav a {
  color: rgba(226, 236, 249, 0.72) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  padding: 0.38rem 0.65rem !important;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav a:hover {
  color: var(--ac-text) !important;
  background: rgba(96, 165, 250, 0.1);
}

.ac-lang-switcher {
  gap: 0.2rem !important;
  margin-left: 0.65rem !important;
  padding: 0.12rem !important;
  background: rgba(10, 18, 32, 0.78) !important;
  border-color: rgba(96, 165, 250, 0.24) !important;
}

.ac-lang-button {
  width: 1.85rem !important;
  height: 1.85rem !important;
}

.ac-lang-flag {
  width: 1.15rem !important;
  height: 0.76rem !important;
}

header button[aria-label="Open menu"] {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem !important;
  flex: 0 0 2.25rem;
}

section[id] {
  scroll-margin-top: calc(var(--ac-header-height) + 18px);
}

#hero {
  min-height: 100svh !important;
  padding: 8.5rem 0 5rem !important;
  align-items: center !important;
}

#hero > div:first-child img {
  opacity: 0.1 !important;
  filter: saturate(0.8) contrast(1.1);
  transform: scale(1.04);
}

#hero > div:first-child > div {
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.98) 0%, rgba(5, 9, 20, 0.62) 46%, rgba(5, 9, 20, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.2), rgba(5, 9, 20, 0.96)) !important;
}

#hero > .container,
section > .container {
  max-width: 1280px !important;
}

#hero > .container > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 4rem;
  align-items: center;
  max-width: 1180px !important;
  text-align: left !important;
}

#hero > .container > div > * {
  grid-column: 1;
}

#hero .inline-flex.rounded-full {
  justify-self: start;
  margin-bottom: 1.4rem !important;
  padding: 0.48rem 0.78rem !important;
  color: var(--ac-blue-soft) !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.38) !important;
  border-radius: 999px !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
}

#hero .flex.justify-center.mb-8 {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 6;
  justify-self: center;
  justify-content: center !important;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 !important;
  padding: 2.2rem;
  border: 1px solid var(--ac-line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(15, 27, 47, 0.88), rgba(4, 10, 20, 0.95)),
    radial-gradient(circle at 26% 18%, rgba(96, 165, 250, 0.18), transparent 18rem);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

#hero .flex.justify-center.mb-8::before,
#hero .flex.justify-center.mb-8::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#hero .flex.justify-center.mb-8::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

#hero .flex.justify-center.mb-8::after {
  inset: auto 1.4rem 1.4rem 1.4rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.95), rgba(59, 130, 246, 0.24));
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.44);
}

#hero .flex.justify-center.mb-8 img {
  position: relative;
  z-index: 1;
  width: min(78%, 326px) !important;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
}

#hero h1 {
  max-width: 680px;
  margin-bottom: 1.35rem !important;
  color: var(--ac-text) !important;
  font-size: 5.25rem !important;
  line-height: 0.96 !important;
  letter-spacing: 0 !important;
}

#hero p {
  max-width: 650px;
  margin-bottom: 2.4rem !important;
  color: var(--ac-muted) !important;
}

#hero .flex.flex-col,
#download .flex.flex-col {
  justify-content: flex-start !important;
}

#hero .flex.flex-col.sm\:flex-row,
#pricing .flex.flex-col.sm\:flex-row,
#download .flex.flex-col.sm\:flex-row {
  flex-wrap: wrap !important;
  max-width: 100%;
}

#hero .flex.flex-col.sm\:flex-row > *,
#pricing .flex.flex-col.sm\:flex-row > *,
#download .flex.flex-col.sm\:flex-row > * {
  flex: 0 1 auto;
  max-width: 100%;
}

#hero .mt-12 {
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  margin-top: 2rem !important;
}

#hero .mt-12 > div {
  min-height: 2.8rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.64);
  color: rgba(226, 236, 249, 0.82) !important;
}

#hero button,
#hero a[data-ac-app-store-link],
#hero a[data-ac-apk-link],
#pricing button,
#pricing a[data-ac-app-store-link],
#pricing a[data-ac-apk-link],
#download button,
#download a[data-ac-app-store-link],
#download a[data-ac-apk-link] {
  min-height: 3.35rem !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

#hero button:hover,
#hero a[data-ac-app-store-link]:hover,
#hero a[data-ac-apk-link]:hover,
#pricing button:hover,
#pricing a[data-ac-app-store-link]:hover,
#pricing a[data-ac-apk-link]:hover,
#download button:hover,
#download a[data-ac-app-store-link]:hover,
#download a[data-ac-apk-link]:hover {
  transform: translateY(-1px);
}

#hero .bg-primary,
#pricing .bg-primary,
#download .bg-primary,
a[data-ac-app-store-link] {
  background: linear-gradient(135deg, #2563eb, #60a5fa) !important;
  border: 1px solid rgba(147, 197, 253, 0.55) !important;
  color: #ffffff !important;
}

a[data-ac-apk-link] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(37, 99, 235, 0.72)) !important;
  border: 1px solid rgba(125, 211, 252, 0.55) !important;
  color: #ffffff !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

[data-ac-play-store-coming-soon="true"] {
  cursor: not-allowed !important;
}

a[data-ac-apk-link] svg {
  width: 1.05rem !important;
  height: 1.05rem !important;
}

#hero .border,
#pricing .border,
#download .border {
  background: rgba(8, 17, 31, 0.58) !important;
  border-color: rgba(96, 165, 250, 0.32) !important;
  color: rgba(237, 244, 255, 0.9) !important;
}

section.py-24 {
  padding-top: 6.5rem !important;
  padding-bottom: 6.5rem !important;
}

section:not(#hero) h2,
#pricing h2 {
  color: var(--ac-text) !important;
  letter-spacing: 0 !important;
}

section:not(#hero) h2 + p,
#download > .container > div > p {
  color: var(--ac-muted) !important;
}

#hero + section {
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.06), rgba(8, 17, 31, 0.42));
}

#hero + section .grid > div > div,
#features .grid > div > div,
#download .grid > div {
  border: 1px solid var(--ac-line) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(13, 25, 44, 0.78), rgba(7, 13, 24, 0.84)) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

#hero + section .grid > div > div {
  padding: 0.45rem !important;
}

#hero + section .grid img {
  border-radius: 6px !important;
}

.ac-gallery-section {
  overflow: visible !important;
}

.ac-gallery-section .container {
  max-width: 1280px !important;
}

.ac-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(0.75rem, 1.5vw, 1.35rem) !important;
  align-items: stretch !important;
}

.ac-gallery-card {
  min-width: 0 !important;
  cursor: zoom-in !important;
}

.ac-gallery-card > div {
  height: 100% !important;
  min-height: clamp(18rem, 29vw, 27rem) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ac-gallery-card img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}

.ac-gallery-card:focus-visible > div {
  outline: 2px solid rgba(96, 165, 250, 0.95);
  outline-offset: 4px;
}

#features {
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 130, 246, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(6, 12, 23, 0.36), rgba(5, 9, 20, 0.2));
}

#features .grid > div {
  min-height: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#features .grid > div > div {
  min-height: 100%;
  padding: 1.25rem !important;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

#features .ac-calculator-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
}

.ac-calculator-details {
  margin: 0.1rem 0 0 !important;
  padding-left: 1.1rem !important;
  display: grid;
  gap: 0.42rem;
  color: rgba(218, 232, 251, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ac-calculator-details li::marker {
  color: var(--ac-blue-soft);
}

#features .grid > div:hover {
  transform: none;
}

#features .grid > div:hover > div {
  transform: translateY(-2px);
  border-color: var(--ac-line-strong) !important;
  background: linear-gradient(180deg, rgba(19, 36, 62, 0.86), rgba(8, 17, 31, 0.9)) !important;
}

#features h3,
#download h3 {
  letter-spacing: 0 !important;
}

#features p,
#download p {
  color: rgba(196, 211, 231, 0.82) !important;
}

#pricing {
  background:
    radial-gradient(circle at 70% 22%, rgba(59, 130, 246, 0.16), transparent 27rem),
    linear-gradient(180deg, rgba(4, 8, 16, 0.96), rgba(6, 12, 23, 0.9));
}

#pricing > div:first-child img {
  opacity: 0.12 !important;
  filter: saturate(0.8) contrast(1.05);
}

#pricing .rounded-lg.border.bg-card {
  border-color: rgba(96, 165, 250, 0.44) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(13, 25, 44, 0.86), rgba(7, 13, 24, 0.94)) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

#pricing [data-i18n-price] {
  color: var(--ac-text) !important;
  letter-spacing: 0 !important;
}

#download {
  background:
    linear-gradient(180deg, rgba(5, 9, 20, 0.2), rgba(8, 17, 31, 0.54)),
    radial-gradient(circle at 50% 18%, rgba(96, 165, 250, 0.1), transparent 24rem);
}

#download > .container > div {
  text-align: left !important;
}

#download .flex.flex-col {
  align-items: flex-start !important;
}

#download .grid {
  align-items: stretch;
}

#download .grid > div {
  padding: 1.35rem !important;
  text-align: left !important;
}

footer {
  border-top: 1px solid rgba(96, 165, 250, 0.16) !important;
  background: rgba(3, 8, 15, 0.78) !important;
}

body > div:last-child > div:not(.min-h-screen) {
  border-color: rgba(96, 165, 250, 0.32) !important;
  border-radius: 8px !important;
  background: rgba(3, 8, 15, 0.94) !important;
  backdrop-filter: blur(18px);
}

@media (max-width: 980px) {
  header > div {
    padding: 0 1rem !important;
  }

  #hero {
    padding-top: 7rem !important;
  }

  #hero > .container > div {
    display: flex !important;
    flex-direction: column;
    gap: 1.8rem;
    text-align: center !important;
  }

  #hero .inline-flex.rounded-full,
  #hero .mt-12,
  #hero .flex.flex-col,
  #download .flex.flex-col {
    justify-content: center !important;
  }

  #hero .inline-flex.rounded-full {
    align-self: center;
    order: 1;
  }

  #hero .flex.justify-center.mb-8 {
    width: min(100%, 330px);
    order: 5;
  }

  #hero h1 {
    order: 2;
    font-size: 3.4rem !important;
  }

  #hero p {
    order: 3;
  }

  #hero > .container > div > .flex.flex-col {
    order: 4;
  }

  #hero > .container > div > div:last-child {
    order: 6;
  }

  #download > .container > div {
    text-align: center !important;
  }

  #download .flex.flex-col {
    align-items: center !important;
  }

  #download .grid > div {
    text-align: center !important;
  }

  .ac-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ac-gallery-card > div {
    min-height: clamp(15rem, 54vw, 28rem) !important;
  }
}

@media (max-width: 640px) {
  :root {
    --ac-header-height: 54px;
  }

  header span {
    font-size: 0.88rem !important;
  }

  #hero h1 {
    font-size: 3rem !important;
  }

  section.py-24 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  #pricing .rounded-lg.border.bg-card {
    padding: 2rem !important;
  }

  header {
    position: fixed !important;
  }

  header > div {
    padding: 0 0.7rem !important;
  }

  .ac-lang-switcher {
    margin-left: 0.35rem !important;
  }

  .ac-lang-button {
    width: 1.8rem !important;
    height: 1.8rem !important;
  }

  .ac-gallery-grid {
    gap: 0.75rem !important;
  }

  .ac-gallery-card > div {
    padding: 0.35rem !important;
    min-height: clamp(12rem, 68vw, 18rem) !important;
  }

  .ac-calculator-details {
    font-size: 0.82rem;
  }
}

a[data-ac-apk-link][aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
}

.ac-privacy-policy {
  padding: clamp(1.25rem, 4vw, 2rem) !important;
}

.ac-privacy-policy .ac-privacy-updated {
  margin: 0 0 1.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.ac-privacy-policy .ac-privacy-intro {
  margin: 0 0 2rem;
  padding: 1rem;
  border-left: 3px solid #3b82f6;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.7;
}

.ac-privacy-policy section {
  margin: 0 0 2rem;
}

.ac-privacy-policy section:last-child {
  margin-bottom: 0;
}

.ac-privacy-policy h2 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.25;
}

.ac-privacy-policy p {
  margin: 0 0 0.85rem;
  color: #e2e8f0;
  line-height: 1.75;
}

.ac-privacy-policy a {
  color: #60a5fa;
  text-underline-offset: 0.18em;
}

@media (max-width: 360px) {
  header a[href="#hero"] > span {
    display: none !important;
  }
}

body.ac-lightbox-open {
  overflow: hidden !important;
}

#ac-lightbox[hidden] {
  display: none !important;
}

#ac-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.ac-lightbox-figure {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 0.7rem;
}

.ac-lightbox-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1180px);
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 28px 95px rgba(0, 0, 0, 0.58);
}

.ac-lightbox-figure figcaption {
  min-height: 1.4rem;
  color: rgba(237, 244, 255, 0.86);
  font-weight: 800;
  letter-spacing: 0;
}

.ac-lightbox-close,
.ac-lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.78);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.ac-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 2rem;
  line-height: 1;
}

.ac-lightbox-nav {
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  font-size: 2.5rem;
  line-height: 1;
}

.ac-lightbox-prev {
  left: 1rem;
}

.ac-lightbox-next {
  right: 1rem;
}

@media (max-width: 640px) {
  #ac-lightbox {
    padding: 4.25rem 0.75rem 2.5rem;
  }

  .ac-lightbox-figure img {
    max-width: 96vw;
    max-height: calc(100dvh - 8rem);
  }

  .ac-lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
}
