/* --- Global Reset & Defaults --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0a0a0a;
  --secondary-color: #555;
  --accent-color: #007aff;
  --bg-color: #fcfcfc;
  --border-color: #ddd;
}

html,
body {
  height: 100%;
}

/* --- Body + Global Background --- */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  position: relative; /* allows pseudo-layer */
}

/* ✅ Always-visible full background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: translateZ(0);
  will-change: transform;
}

/* --- Typography --- */
h2,
h3,
.mission-headline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Roboto', sans-serif;
}

/* --- Main Layout Container --- */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1100px;
  padding: 2rem;
}

/* --- Main Content --- */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 5vh;
  padding-bottom: 4rem; /* layout polish */
}

/* --- Logo --- */
.logo {
  margin-bottom: 2.5rem;
}
.logo h1 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}
.logo-image {
  height: 240px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* --- Headings rhythm --- */
h2 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* --- Mission --- */
.mission {
  max-width: 720px;
  margin-bottom: 3rem;
}
.mission-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-color);
  margin-bottom: 2rem;
}
.mission-explanation {
  text-align: left;
}
.mission-explanation p {
  font-size: 1.05rem;
  color: var(--secondary-color);
  line-height: 1.7;
}
@media (min-width: 960px) {
  .mission-explanation p {
    font-size: 1.125rem;
  }
}
.mission-explanation p + p {
  margin-top: 1.5rem;
}

/* --- Visual Mission --- */
.visual-mission {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 4rem auto;
  text-align: center;
  padding: 0 1rem;
}
.visual-mission h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.image-transform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.image-card,
.step,
.benefit-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  width: 100%;
  max-width: 380px;
}
.image-card h3 {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.image-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* --- Arrow Icon (fully fixed & centered) --- */
.arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  transform-origin: center center;
  transform: rotate(90deg);
  color: var(--accent-color);
}
.arrow-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Desktop layout (grid for perfect arrow centering) */
@media (min-width: 768px) {
  .image-transform {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    justify-items: center;
    column-gap: 2.25rem;
  }
  .image-card {
    max-width: 420px;
    width: 100%;
  }
  .arrow-icon {
    width: 96px;
    height: 96px;
    transform: rotate(0deg);
    margin: 0;
    align-self: center;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- How it works --- */
.how-it-works {
  width: 100%;
  max-width: 980px;
  margin: 3rem auto 4rem;
  text-align: left;
}
.how-it-works h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}
.process-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.step {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.step p {
  color: var(--secondary-color);
  line-height: 1.7;
}
@media (min-width: 820px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1160px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .step h3 {
    font-size: 1.1rem;
  }
}

/* --- Benefits --- */
.key-benefits {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 3rem;
  text-align: left;
}
.key-benefits h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.benefit-card p {
  color: var(--secondary-color);
  line-height: 1.7;
}
@media (min-width: 820px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Call to Action --- */
.cta {
  width: 100%;
  max-width: 560px;
  margin: 2rem auto 4rem;
  text-align: center;
}
.coming-soon {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.cta-inquiry {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}
.cta-email-button {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background-color: var(--accent-color);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}
.cta-email-button:hover {
  background-color: #0056b3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
  color: var(--secondary-color);
}

.legal {
  margin-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-size: 0.8rem;
  color: var(--secondary-color);
  line-height: 1.6;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.legal p {
  margin: 0;
}

.social-links {
  margin-bottom: 1rem;
}
.social-links a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.social-links a:hover {
  color: var(--accent-color);
}
.copyright {
  font-size: 0.85rem;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Section spacing helper --- */
section + section {
  scroll-margin-top: 72px;
  margin-top: 2rem;
}
