/* App Page */

/* Hero */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #000000;
  overflow: hidden;
}

.app-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 64px 80px 80px;
}

.app-hero__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.app-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 28px;
}

.app-hero__rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 28px 0;
  width: 100%;
}

.app-hero__desc {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 0;
  flex: 1;
}

.app-hero__tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  margin-top: 48px;
}

/* Right column — phone image cropped at bottom */
.app-hero__right {
  position: relative;
  overflow: hidden;
}

.app-hero__img-wrap {
  position: absolute;
  inset: 0;
}

.app-hero__phone-img {
  display: block;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: top center;
}

/* Fade the bottom ~40% to black, cropping the phone naturally */
.app-hero__img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.5) 65%,
    #000000 85%
  );
}

@media (max-width: 900px) {
  .app-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-hero__right {
    height: 52vh;
  }

  .app-hero__img-wrap {
    position: relative;
    height: 100%;
  }

  .app-hero__phone-img {
    width: 100%;
    height: 100%;
    object-position: top center;
  }

  .app-hero__left {
    padding: 40px 24px 56px;
  }

  .app-hero__desc {
    max-width: 100%;
  }
}

/* Feature Showcase */
.app-showcase {
  background: var(--color-bg);
}

.app-showcase__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--color-border);
}

.app-showcase__item:last-child {
  border-bottom: none;
}

/* Flip: phone left, text right */
.app-showcase__item--flip {
  direction: rtl;
}

.app-showcase__item--flip > * {
  direction: ltr;
}

.app-showcase__left {
  padding: 80px 64px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-showcase__item--flip .app-showcase__left {
  padding: 80px 0 80px 64px;
}

.app-showcase__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.app-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.app-showcase__rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 28px 0;
  width: 100%;
}

.app-showcase__desc {
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.app-showcase__tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* Phone image — right column */
.app-showcase__right {
  position: relative;
  overflow: hidden;
  background: #000000;
  min-height: 560px;
}

.app-showcase__phone-img {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 130%;
  object-fit: cover;
  object-position: top center;
}

.app-showcase__phone-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.55) 65%,
    #000000 88%
  );
}

@media (max-width: 900px) {
  .app-showcase__item,
  .app-showcase__item--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .app-showcase__right {
    min-height: 320px;
    order: -1;
  }

  .app-showcase__phone-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .app-showcase__left,
  .app-showcase__item--flip .app-showcase__left {
    padding: 40px 24px 48px;
  }

  .app-showcase__desc {
    max-width: 100%;
  }
}

/* Security */
.security-note {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.security-note__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--color-accent);
}

.security-note p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* App CTA */
.app-cta {
  text-align: center;
}

.app-cta .section-heading {
  margin-bottom: 16px;
}

.app-cta p {
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  margin-bottom: 40px;
}



