:root {
  --bg: #071315;
  --bg-soft: #0d1f22;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #eefbfb;
  --muted: #a7bcbc;
  --muted-strong: #d4eeee;
  --primary: #23d3c3;
  --primary-dark: #15978d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(35, 211, 195, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15), transparent 30rem),
    linear-gradient(135deg, #061012 0%, #08191c 45%, #041012 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 19, 21, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

/* Document pages scroll the header with their content. */
body:not([data-page="home"]) .site-header {
  position: static;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  border-radius: 9px;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1.16rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--text);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.language-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 7px 9px;
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.language-button:hover,
.language-button.active {
  color: #041516;
  background: var(--primary);
}

.section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.86fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
}

.hero-content h1,
.section-heading h2,
.download-card h2 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-content h1 {
  max-width: 770px;
  font-size: clamp(3.3rem, 8vw, 7rem);
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #041516;
  background: linear-gradient(135deg, var(--primary), #b7fff6);
  box-shadow: 0 18px 48px rgba(35, 211, 195, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 42px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  background: linear-gradient(145deg, #161f21, #050b0d);
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  pointer-events: none;
}

.phone-large {
  width: min(360px, 82vw);
  height: 690px;
  padding: 18px;
}

.phone-small {
  width: 220px;
  height: 430px;
  padding: 12px;
  border-radius: 34px;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 84px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(35, 211, 195, 0.3), transparent 9rem),
    linear-gradient(160deg, #0b272b, #061012);
}

.phone-small .phone-screen {
  border-radius: 25px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(35, 211, 195, 0.12), transparent),
    #081b1e;
}

.screenshot-fallback span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #042324;
  background: var(--primary);
  font-weight: 900;
}

.screenshot-fallback strong {
  font-size: 1.18rem;
}

.screenshot-fallback small {
  color: var(--muted);
  line-height: 1.45;
}

.floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  color: var(--muted-strong);
  font-weight: 700;
}

.floating-card-top {
  top: 100px;
  right: 0;
}

.floating-card-bottom {
  bottom: 110px;
  left: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(35, 211, 195, 0.14);
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.download-card h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.intro-grid,
.feature-grid,
.why-grid,
.steps-grid,
.privacy-grid,
.screens-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.feature-grid,
.why-grid,
.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid,
.screens-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.feature-card,
.why-card,
.step-card,
.privacy-card,
.screen-card,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.info-card,
.feature-card,
.why-card,
.step-card,
.privacy-card,
.screen-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.feature-card,
.why-card,
.privacy-card {
  min-height: 250px;
}

.info-card h3,
.feature-card h3,
.why-card h3,
.step-card h3,
.privacy-card h3,
.screen-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.info-card p,
.feature-card p,
.why-card p,
.step-card p,
.privacy-card p,
.screen-card p,
.download-card p,
.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

.info-card p,
.feature-card p,
.why-card p,
.step-card p,
.privacy-card p,
.screen-card p,
.faq-item p {
  margin: 12px 0 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #041516;
  background: var(--primary);
  font-weight: 900;
}

.step-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.privacy-card-wide {
  grid-column: span 3;
  min-height: auto;
  background:
    radial-gradient(circle at top left, rgba(35, 211, 195, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.075);
}

.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.screen-card .phone {
  margin-bottom: 24px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  min-height: 72px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
}

.faq-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #041516;
  background: var(--primary);
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.download {
  padding-bottom: 120px;
}

.download-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(35, 211, 195, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.075);
}

.download-actions {
  justify-content: center;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .brand,
  .main-nav,
  .language-switcher {
    justify-content: center;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text,
  .section-heading,
  .trust-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .intro-grid,
  .feature-grid,
  .why-grid,
  .privacy-grid,
  .steps-grid,
  .screens-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-card-wide {
    grid-column: span 2;
  }

  .hero-visual {
    min-height: 600px;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 22px, var(--max-width));
    padding: 64px 0;
  }

  .site-header {
    width: min(100% - 22px, var(--max-width));
    margin-top: 10px;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 2px;
  }

  .language-switcher {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .trust-row,
  .intro-grid,
  .feature-grid,
  .why-grid,
  .privacy-grid,
  .steps-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .privacy-card-wide {
    grid-column: span 1;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 20px;
  }

  .phone-large {
    height: 610px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .floating-card-top,
  .floating-card-bottom {
    justify-self: center;
  }

  .screen-card .phone-small {
    width: 240px;
    height: 460px;
  }

  .faq-item summary {
    font-size: 1.05rem;
    padding: 20px;
  }

  .faq-item p {
    padding: 0 20px 22px;
  }
}


/* WEB 1C: footer links and simple legal pages */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.legal-hero {
  padding-top: 76px;
  padding-bottom: 36px;
}

.legal-hero .section-heading {
  margin: 0 auto;
  text-align: center;
}

.legal-wrapper {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto 96px;
  display: grid;
  gap: 18px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(35, 211, 195, 0.08), transparent 18rem),
    var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
  padding: clamp(24px, 4vw, 36px);
}

.legal-card h2,
.legal-card h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.legal-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.legal-card h3 {
  font-size: 1.25rem;
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card p {
  margin: 14px 0 0;
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-note {
  border-color: rgba(35, 211, 195, 0.34);
  background:
    radial-gradient(circle at top left, rgba(35, 211, 195, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.075);
}

@media (max-width: 640px) {
  .legal-wrapper {
    width: min(100% - 22px, 940px);
    margin-bottom: 64px;
  }

  .legal-card {
    padding: 22px;
  }
}


/* WEB 2B: screenshots already include the phone frame, so the website no longer wraps them in another phone mockup. */
.app-shot {
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
  width: 100%;
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.34));
}

.app-shot-hero {
  width: min(390px, 84vw);
  max-height: 720px;
}

.app-shot-card {
  width: min(230px, 100%);
  margin-bottom: 24px;
}

.app-shot .screenshot-fallback {
  position: static;
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(35, 211, 195, 0.12), transparent),
    #081b1e;
}

.screen-card .app-shot {
  margin-bottom: 24px;
}

@media (max-width: 980px) {
  .app-shot-hero {
    width: min(360px, 82vw);
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .app-shot-hero {
    width: min(330px, 88vw);
  }

  .app-shot-card {
    width: min(260px, 100%);
  }

  .screens-grid {
    grid-template-columns: 1fr;
  }
}


/* WEB 2C: optimized responsive screenshots */
.app-shot picture {
  display: block;
  width: 100%;
}

.app-shot picture img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-card img {
  border-radius: 28px;
}

.app-shot-hero img {
  border-radius: 34px;
}

@media (min-width: 981px) {
  .app-shot-hero {
    transform: translateY(-8px);
  }
}


/* Protected public e-mail buttons. The real address is assembled only after a visitor click. */
.protected-email {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.protected-email-inline {
  display: inline;
}

.protected-email-button {
  cursor: pointer;
}

.protected-email-inline-button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px dotted rgba(35, 211, 195, 0.68);
  color: var(--primary);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.protected-email-inline-button:hover,
.protected-email-inline-button:focus-visible,
.protected-email-inline-link:hover,
.protected-email-inline-link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--text);
  outline: none;
}

.protected-email-link:not(.button),
.protected-email-inline-link {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid rgba(35, 211, 195, 0.55);
}


/* Restored MikeDev site footer */
.site-footer-mikedev {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.site-footer-brand {
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.site-footer-brand:hover {
  color: var(--primary);
}

.footer-email-button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.footer-email-button:hover,
.footer-email-button:focus-visible,
.footer-contact-email:hover,
.footer-contact-email:focus-visible {
  color: var(--primary);
  outline: none;
}

.footer-contact-email.protected-email-link {
  color: var(--muted);
  border-bottom: 0;
}
