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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f0f4f8;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.page {
  width: 100%;
  max-width: 420px;
}

.container {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.badge {
  display: inline-block;
  background: #e8f4fd;
  color: #007AFF;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.headline {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.2;
}

.subtext {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* iPhone CSS Mockup - kept small since it's decorative */
.iphone {
  width: 56px;
  height: 108px;
  background: #1a1a2e;
  border-radius: 14px;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 2.5px solid #2d2d44;
}

.iphone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 8px;
  background: #1a1a2e;
  border-radius: 0 0 6px 6px;
  z-index: 2;
}

.iphone-screen {
  position: absolute;
  top: 5px;
  left: 4px;
  right: 4px;
  bottom: 5px;
  background: linear-gradient(135deg, #007AFF, #00c6ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.screen-content {
  text-align: center;
}

.screen-icon {
  font-size: 26px;
}

.iphone-bar {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* Share requirement box */
.share-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef6ff;
  border: 2px solid #007AFF;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  text-align: left;
}

.share-box-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #007AFF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.share-box-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1px;
}

.share-box-desc {
  font-size: 13px;
  color: #6b7280;
}

/* Step progress indicator */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

.step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step.done {
  background: #007AFF;
  border-color: #007AFF;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.step-line {
  width: 36px;
  height: 3px;
  background: #d1d5db;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.step-line.done {
  background: #007AFF;
}

/* Buttons */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: #fff;
}

.btn svg {
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-label {
  flex: 1;
  text-align: left;
}

.btn-counter {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.btn-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-viber {
  background: #7360F2;
  box-shadow: 0 4px 14px rgba(115, 96, 242, 0.3);
}

.btn-viber:hover {
  box-shadow: 0 6px 20px rgba(115, 96, 242, 0.4);
}

/* Small phones (iPhone SE height ~548px viewport) */
@media (max-height: 620px) {
  .container {
    padding: 22px 20px;
  }

  .badge {
    margin-bottom: 8px;
  }

  .headline {
    font-size: 22px;
  }

  .subtext {
    margin-bottom: 10px;
  }

  .iphone {
    width: 44px;
    height: 84px;
    border-radius: 11px;
    margin-bottom: 10px;
  }

  .iphone-screen {
    border-radius: 8px;
  }

  .screen-icon {
    font-size: 20px;
  }

  .share-box {
    padding: 10px 14px;
    margin-bottom: 12px;
  }

  .share-box-number {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .steps {
    margin-bottom: 12px;
  }

  .step {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .step-line {
    width: 28px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* Desktop / wider screens */
@media (min-width: 600px) {
  .container {
    padding: 40px 30px;
  }

  .iphone {
    width: 80px;
    height: 156px;
    border-radius: 18px;
    margin-bottom: 24px;
  }

  .iphone-screen {
    border-radius: 14px;
  }

  .screen-icon {
    font-size: 34px;
  }

  .subtext {
    margin-bottom: 24px;
  }

  .share-box {
    padding: 16px 20px;
    margin-bottom: 20px;
  }

  .share-box-number {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .steps {
    margin-bottom: 24px;
  }

  .step {
    width: 36px;
    height: 36px;
  }

  .step-line {
    width: 40px;
  }
}
