/* KAZET.ai LP - Mobile-first, image stitching */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== LP WRAPPER ===== */
.lp-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  display: block;
}

/* ===== SECTIONS ===== */
.lp-section {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0; /* removes inline-block gap */
  font-size: 0;
}

/* ===== IMAGES ===== */
.lp-section picture {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lp-section img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  vertical-align: bottom; /* eliminates 4px gap under inline images */
}

/* ===== FIXED CTA BAR (mobile only) ===== */
#fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  background: linear-gradient(90deg, #22B8C7 0%, #11A7B7 100%);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

#fixed-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(135deg, #22B8C7 0%, #11A7B7 60%, #0e96a4 100%);
  border-radius: 36px;
  padding: 0 14px 0 14px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(17, 167, 183, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

/* subtle gloss sheen */
#fixed-cta__btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 100%);
  border-radius: 36px 36px 0 0;
  pointer-events: none;
}

.fcta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
}

.fcta-icon svg {
  width: 26px;
  height: 26px;
}

.fcta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.fcta-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 3px;
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}

.fcta-sub em {
  font-style: normal;
  color: #F6E27A;
  font-weight: 700;
}

.fcta-main {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1;
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  border-bottom: 2.5px solid #F6E27A;
  padding-bottom: 2px;
}

.fcta-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PC: hide entirely */
@media (min-width: 768px) {
  #fixed-cta {
    display: none !important;
  }
}

/* ===== FOOTER ===== */
.lp-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #b2e4e8;
  padding: 18px 20px 20px;
  /* extra bottom space so footer clears the fixed CTA bar on mobile */
  padding-bottom: calc(20px + 80px + env(safe-area-inset-bottom, 0px));
  font-size: 0;
}

@media (min-width: 768px) {
  .lp-footer {
    padding-bottom: 20px;
  }
}

.lp-footer__company {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.5;
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
}

.lp-footer__links a {
  font-size: 11px;
  color: #22B8C7;
  text-decoration: none;
  line-height: 1.5;
}

.lp-footer__links a:hover {
  text-decoration: underline;
}

.lp-footer__contact {
  font-size: 11px;
  color: #aaa;
  line-height: 1.5;
}

.lp-footer__contact a {
  color: #22B8C7;
  text-decoration: none;
}

.lp-footer__copy {
  display: block;
  font-size: 10px;
  color: #ccc;
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== DESKTOP fallback (centered, capped at 480px) ===== */
@media (min-width: 481px) {
  .lp-wrapper {
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
  }
}
